Install, update, check, delete, recommend and fill agent skills, agents and rules with the astp CLI (@fozy-labs/astp). Use when the user asks to add, update, list, remove or choose astp bundles, skills or blocks, when `astp.lock` is involved, or when a file contains a <SETUP_REQUIRED> or <FILL_INSTRUCTION> block.
Ships in astp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Request: $ARGUMENTS
Written for astp 0.4. Run astp --help and astp <command> --help for what each command and flag does.
Run astp if it is on PATH, otherwise npx -y @fozy-labs/astp. Below 0.4 (astp --version) the commands here do not exist: tell the user to update astp.
Route by the first rule that matches:
ask, or the request is a question or asks what to install in the project: Ask.fill, or the request asks to fill <SETUP_REQUIRED> or <FILL_INSTRUCTION> blocks: Fill.Without a terminal the CLI cannot prompt, so always pass --platform claude-code and --target <target>, and give install a bundle name. Ask the user which target when it is not clear. The project root is ./.claude/; the user root is $CLAUDE_CONFIG_DIR, else ~/.claude/.
| Goal | Command |
|---|---|
See bundles (description, use-when, installed state) | astp list --platform claude-code --target <target> --json |
See units and blocks of a bundle (description, use-when, tags) | astp list <bundle> --platform claude-code --target <target> --json |
| Install a whole bundle | astp install <bundle> --platform claude-code --target <target> |
| Add units or blocks | astp install <bundle> --skill <name> --block <name> --platform claude-code --target <target> |
| Check, then update | astp check --platform claude-code --target <target>, then astp update --platform claude-code --target <target> |
Restore the locked state without changing astp.lock | astp sync --platform claude-code --target <target> |
| Remove | astp delete <bundle> [--skill <name>] --platform claude-code --target <target> |
--skill or --block: a plain install <bundle> also brings back what the user declined.astp.lock with the installed files; never edit it by hand. Use sync to restore it and update to advance it.install, sync or update leaves <SETUP_REQUIRED> or <FILL_INSTRUCTION> blocks, run Fill.--forceastp skips files the user changed and files it does not own. When the output reports skipped or kept files, tell the user which ones and run --force only with their OK, including the --force commands astp prints: it overwrites or deletes them.
Read-only unless the user asks what to install for the project and approves the selection:
astp list --platform claude-code --target <target> --json and astp list <bundle> --platform claude-code --target <target> --json for the relevant bundles (plus astp check --platform claude-code --target <target> or <target-root>/astp.lock when installed state matters), then answer without changing files./astp ask with no question, or a request to recommend): inspect the project (package.json, directory layout, CLAUDE.md, existing .claude/), match it against the description and use-when fields from astp list --platform claude-code --target <target> --json and astp list <bundle> --platform claude-code --target <target> --json for candidate bundles, propose the matching bundles, units and optional blocks with a one-line reason per item, and install only what the user approves.<SETUP_REQUIRED> or <FILL_INSTRUCTION>: in the path passed to /astp fill [path], else across the target root (the platform's project root by default, or the user root when specified).<FILL_INSTRUCTION> (from a fresh install or a conflict wrapper left by update) carries its own instruction: fill it with content from the real project, asking the user whenever the environment does not provide a reliable choice. Avoid duplicating agent instructions: duplication can waste context and cause behavior the user does not expect. The <FILL_INSTRUCTION> is written for agents (for you), not the user: do not recite or paraphrase it to them. Start with a simpler explanation, adding context before questions and spelling out options and consequences, then adapt dynamically to the user's understanding of the topic and its concepts.<FILL_INSTRUCTION>…</FILL_INSTRUCTION> and the file's <SETUP_REQUIRED>…</SETUP_REQUIRED> block once no <FILL_INSTRUCTION> remains. Keep the <block_name>…</block_name> tags around each block: astp tracks blocks by them.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/astp:astp ask [question] | fill [path] | install <bundle> | update | check | list [bundle] | delete <bundle> | <free text>from astp
npx claudepluginhub fozy-labs/astp --plugin astp