radin-updatelisted
Install: claude install-skill shortcuts/dotfiles
# radin: Update
`install.sh` covers fresh interactive install only. Skill re-applies against
already-installed radin so `~/.claude/agents/` and `~/.claude/skills/`
overwrite with the latest changes. Companion-tool installers in `install.sh`
already skip-if-installed, so re-run safe.
`install.sh`'s source resolution has two modes — check which one applies
before doing anything else:
- **Downloaded tarball** (the normal `curl | bash` path): source lives at
`~/.claude/radin` (or `RADIN_ROOT_OVERRIDE`), marked by a `.radin-version`
file, no `.git` dir. Nothing to pull — just re-run `install.sh`, which
re-downloads the latest release (or `main`) itself.
- **Manual dev clone** (someone hacking on radin itself, ran `git clone` +
`./install.sh`): source has a `.git` dir. Needs an explicit `git pull`
before re-running `install.sh`.
## Step 1: Locate source
Read `~/.claude/.radin/install_root` — `install.sh` writes the resolved
source path there each run. File missing (install predates this skill): ask
user for the path instead of guessing.
## Step 2: Branch on source mode
```bash
SRC="$(cat "$HOME/.claude/.radin/install_root")"
if [ -d "$SRC/.git" ]; then
MODE=git-clone
elif [ -f "$SRC/.radin-version" ]; then
MODE=tarball
else
echo "unrecognized source at $SRC, stop"; exit 1
fi
```
### git-clone mode
Confirm clean working tree before touching anything:
```bash
cd "$SRC"
git status --porcelain
```
Anything printed: stop, report — don't pull over uncommitted l