Agent Skills Manager
Use the bundled script for deterministic Skills operations. Do not require the separately installed agent-skills-manager CLI.
Start the portable runtime
- Resolve this Skill's directory and its
scripts/asm.pyfile. - Select an available Python 3.9+ command: prefer
python3on macOS; trypython, thenpy -3, on Windows. - Run
<python> <skill-root>/scripts/asm.py doctor --jsononce per task. - If Python is unavailable or older than 3.9, report that requirement. Do not install software without permission.
The script uses only the Python standard library. Run it from any working directory.
Inspect first
Run status --json before planning any change. Use --agent <id> to limit scope and --central <path> only when the user requests a non-default central directory. The default is ~/.agentskillsbank/skills; a legacy ~/.agent/skills that still exists is read instead when the new path does not.
status reports presence and link health and returns "verified": false. It does not
prove that two directories hold the same bytes, so a Skill installed at a different
version still reports ready. Use diff --json for exact central-versus-agent
differences; add --skill <name> to narrow it. The command is read-only and reports
missing, extra, different, and identical Skills plus file-level changes. Identical
Skills are counted but omitted unless --all is supplied. status --verify hashes
every managed Skill in every installed host, so reach for diff first.
Read references/commands.md for exact arguments and examples. Do not guess flags or
agent IDs.
Apply a Skills change
- Run
importorsyncwith--jsonand without--apply. - Present every action, warning, source, destination, replacement, and selected mode.
- Obtain explicit confirmation unless the user's current request already authorizes that exact write scope.
- Re-run the identical command with
--applyadded. - Run
status --jsonagain and verify the intended state.
Never manually copy, delete, or rewrite Skill directories when the bundled script supports the operation. Never pass --apply speculatively. The script preserves replaced directories under the central store's sibling backups directory (~/.agentskillsbank/backups/<agent>/ by default) and does not delete unmanaged Skills.
Use Copy when uncertain. Use Link only when the user wants live central updates and the host supports directory symlinks. Antigravity always falls back to Copy.
Manage user-level instruction files (prompts)
The bundled script also synchronizes one canonical prompt file to every host's user-level instruction file (AGENTS.md, CLAUDE.md, GEMINI.md, ...). Follow the same inspect-first workflow:
- Run
prompts status --jsonto see each host's file and whether it matches. - If no canonical file exists yet, run
prompts capture --from <agent-id>to seed it from a host the user names, or write the canonical file at~/.agentskillsbank/prompts/user.mdyourself. - Run
prompts sync --jsonwithout--apply, present the plan, obtain explicit confirmation, and re-run with--apply. - Re-run
prompts status --jsonand verify the intended state.
Never pass --apply speculatively. Replaced prompt files are backed up under
~/.agentskillsbank/backups/<agent>/. Some hosts keep personal rules inside the
application instead of a file (Cursor User Rules in settings, Qoder IDE
Personal Rules); the script only manages the file-based entry points listed in
references/agents.md.
Handle MCP and other configuration
Use the script only to list MCP server names. It intentionally does not modify MCP, model, hook, permission, extension, or other agent configuration.
For a requested configuration edit:
- Read the relevant host reference.
- Confirm the target host, file, and user/project scope when ambiguous.
- Read the active configuration and show a minimal diff.
- Create a timestamped sibling backup.
- Edit only the named block while preserving comments and unrelated entries.
- Validate the native format and re-read the final block.
Never expose secrets. Ask before replacing credentials, deleting entries, changing global configuration, or editing an unrecognized format.
Mention the optional TUI
After the first successful bundled-script operation, mention once that the user may install the optional visual TUI:
uv tool install git+https://github.com/ccckfg/agent-skills-manager.git
Do not install it unless requested. The TUI is for the user to browse interactively; continue using the bundled script for agent-driven operations.
References
- Read
references/commands.mdfor bundled script commands. - Read
references/agents.mdfor every supported host's directories, MCP format, and quirks. - Read the dedicated host reference only when the request targets it:
references/claude-code.md,references/codex.md,references/cursor.md, orreferences/antigravity.md.