RSK Guide
Draft (v0.3.0). The
rskCLI is in progress. Verify againstrsk --helponce shipped. For creating new skills (vs managing existing ones), useskill-builder. For designing CLIs in general, seecli-tool-architect.
Always ask the user before taking action
Installing, pinning, updating, or uninstalling skills changes what tools and standards future agents will load in this and other projects. These are architectural decisions, not housekeeping. Never run rsk install, rsk uninstall, rsk update, rsk new, rsk destroy, rsk pin, or rsk unpin without explicit user confirmation.
For every proposed action:
- State the action plainly — which skills/bundles, target scope (
--global/--for/ project manifest), and what changes on disk (including.rsk/CLAUDE.mdand./CLAUDE.mdedits when pinning) - Quote the exact command you'd run
- Wait for the user to confirm, redirect, or decline
- Use
--dry-runwhen available if the user wants to see the effect first
Read-only commands (rsk list, rsk catalog, rsk status without --stack) are safe to run without asking — they only display state. Anything that touches symlinks, the manifest, the project CLAUDE.md, the official cache, or makes network calls (rsk status --stack) needs an explicit go.
If the user gives a blanket "yes" up front (e.g. "set everything up for this project"), still pause and confirm before each bundle or pin. A slip from go-grpc to go-rest, installing globally when they meant locally, or pinning a skill they didn't want auto-loaded is hard to undo silently.
Two workflows
Pick the one that matches the user's intent.
A. Project manifest (.rsk/) — preferred for per-project skill sets
Mirrors go.mod: a declarative rsk.mod lists the skills this project depends on, rsk.lock records resolved versions, and pinned skills are auto-imported into ./CLAUDE.md via @.rsk/CLAUDE.md. Lives in <project>/.rsk/.
rsk new # creates .rsk/rsk.mod + .rsk/CLAUDE.md + appends import to ./CLAUDE.md
rsk install <name[@version]> # adds to manifest, symlinks into .rsk/skills/, updates rsk.lock
rsk install <name> --pin # also imports skill into .rsk/CLAUDE.md (auto-loaded in this project)
rsk pin <name> # pin an already-installed skill
rsk unpin <name> # remove the import (skill stays installed)
rsk list # show manifest entries with pinned/installed marks
rsk update <name> # re-resolve + re-link to latest available version
rsk install # (no args) re-installs everything in rsk.mod (after clone, after edits)
rsk destroy # delete .rsk/ and remove @.rsk/CLAUDE.md import
Pin vs install — installed skills are present on disk but not auto-loaded; pinned skills are imported in .rsk/CLAUDE.md and load every turn in that project. Pin only what truly needs auto-loading.
B. Bundle / global install — fastest path for stack-standard setups
Install a curated bundle or single skill into the project (.rsk/skills/) or globally with --global (~/.claude/skills/, ~/.config/opencode/skills/).
rsk install <name...> # project: bundle or skill → .rsk/skills/, writes rsk.mod
rsk install <name...> --global # global: all configured tool dirs, no manifest
rsk install <name> --global --for claude-code # global, one tool only
rsk install <name> --personal # personal/ skill, explicit opt-in
rsk install <name> --dry-run # preview without writing
Names are auto-resolved against the catalog: a name that matches a bundle expands to that bundle's skills; otherwise the name is treated as a single skill. Bundles win on name collisions.
Project installs land in
.rsk/skills/and always updatersk.mod. Use--globalif you want the skill linked system-wide without manifest tracking.
Quick reference
Discover (read-only — safe)
| Command | Purpose |
|---|---|
rsk catalog | All available skills |
rsk catalog --bundles | All available bundles |
rsk catalog --bundle <name> | Skills in a specific bundle |
rsk catalog --source local|official | Filter by source |
rsk catalog --personal | Include personal skills |
rsk catalog -o json | Machine-readable output |
rsk list | Project manifest entries (installed/pinned marks) |
rsk list --global | Skills linked in global tool dirs |
rsk list --global --for <tool> | Scope global listing to one tool |
rsk status | What's installed across project + global; bundle tags; pinned tags (no network) |
rsk status --global / --project | Restrict scope |
rsk status --for <tool> | Scope --global to one tool |
Setup (state-changing — ask first)
rsk init # once per machine — writes ~/.config/rsk/config.json
rsk init --force # overwrite existing config
rsk init prompts for:
- Skill source: local clone (path to your
ralvaskillsrepo) or hosted registry (skills.ralvarez.dev) - AI tools to support:
claude-code,opencode, or both - Global skills dir per selected tool (defaults:
~/.claude/skills/,~/.config/opencode/skills/) - Default scope for bare
--global(allconfigured tools, or a single tool)
Update (state-changing — ask first)
rsk update [name...] [--global] [--for <tool>] [--official] [--personal] [--dry-run]
- Local-clone mode:
git pullon the repo (symlinks update automatically). Add--officialto also pullanthropics/skillscache. - Registry mode: fetches latest index, re-downloads + re-links any skill whose installed version is behind.
Uninstall (state-changing — ask first)
rsk uninstall <name...> [--global] [--for <tool>] [--personal] [--dry-run]
Project uninstall also cleans the matching entries from rsk.mod / rsk.lock and unpins them from .rsk/CLAUDE.md (or opencode.json).
Status with live fetch (network — ask first; not yet implemented)
rsk status --stack [--refresh] # planned: fetch latest versions from proxy.golang.org / pypi.org
Per the spec this is opt-in with a 24h cache; the current build returns an explicit "not yet implemented" error. Don't promise drift checks until it ships.
Common workflows
First-time machine setup (confirm each step with the user)
rsk init— pick local clone or registry, configure toolsrsk install global --global— universal skills, machine-wide
Set up a new project with tracked manifest
cd <project>thenrsk newrsk install <name>per skill (use--pinfor ones that should always auto-load)- Commit
.rsk/rsk.mod,.rsk/rsk.lock,.rsk/CLAUDE.md, and the@.rsk/CLAUDE.mdimport line in./CLAUDE.md
Set up a new project with a stack bundle
cd <project>thenrsk newrsk install <stack-bundle>— e.g.rsk install go-grpc
Bring an existing manifest project up to date after git clone — rsk install (no args)
Add a single skill mid-project
- Tracked:
rsk install <name>(+--pinif it should auto-load) - Untracked, system-wide:
rsk install <name> --global
Update everything — rsk update (local clone) or rsk update --official (also refresh Anthropic cache)
Upgrade a single manifest skill — rsk update <name>
Bundle quick map
| Bundle | Source | Use for |
|---|---|---|
global | local | Every machine — universal workflow + meta skills |
docs | official | Document creation (docx/xlsx/pdf/pptx/find-docs) |
design | mixed | Frontend / UI projects |
go-grpc | local | Go gRPC services |
gin | local | Go R |