skill-zoo
v0.3.1
Published
Agent-native CLI for Skill Zoo
Readme
Skill Zoo CLI
Agent-native command line control surface for Skill Zoo. It reads and writes the same local state as the desktop app; it is not a remote registry or a GUI replacement.
npm install -g skill-zoo
skill-zoo --helpCommand Map
Discover: list, status, paths
Explain: inspect, show
Maintain: doctor, doctor fix, consistency, refresh
Change: archive, restore
UI: wuiCommon Workflows
skill-zoo status
skill-zoo status --refresh --json
skill-zoo paths
skill-zoo doctor
skill-zoo doctor fix --dry-run
skill-zoo doctor fix --yes
skill-zoo consistency --json
skill-zoo list --agent codex
skill-zoo list --origin ssot
skill-zoo list --issue conflict
skill-zoo list --archived
skill-zoo show code-audit
skill-zoo inspect code-audit
skill-zoo refresh
skill-zoo archive code-audit --dry-run
skill-zoo archive code-audit --yes
skill-zoo restore code-audit-a1b2c3d4 --dry-run
skill-zoo restore code-audit-a1b2c3d4 --yes
skill-zoo wuiEach command supports help:
skill-zoo help archive
skill-zoo archive --helpReferences
Installed skills can be referenced by id, directory, or name. If a reference matches more than one installed skill, the command fails instead of guessing.
Archived skills are restored and inspected by archive id, for example code-audit-a1b2c3d4.
show prints the raw SKILL.md for an installed skill, or for an archived skill when used with --archived.
list filters apply to installed skills:
skill-zoo list --agent codex
skill-zoo list --origin ssot
skill-zoo list --issue any
skill-zoo list --issue conflictSafety
Run archive and restore with --dry-run first. In non-interactive shells, write commands require --yes.
doctor reports ok, warn, or error. Warnings are advisory; errors should block automation and write operations until resolved.
doctor fix repairs only low-risk health issues: stale skill cache and invalid symlinks that should point at an existing Skill Zoo skill. It never moves or deletes real skill directories.
consistency reports app-aligned skill consistency issues for agents to inspect: duplicate same-content skills, conflicting same-name skills, and SKILL.md frontmatter names that differ from directory names. Consistency warnings do not fail automation by default.
The CLI does not directly notify a running desktop app. The desktop app watches local Skill Zoo state and should usually refresh after CLI changes; if the GUI still looks stale, run skill-zoo refresh or refresh/restart the app.
Local Development
bun run dev -- wuiLocal Web UI
skill-zoo wui starts a lightweight local management console at 127.0.0.1:8280 and opens it in your browser.
skill-zoo wui
skill-zoo wui --port 8281 --no-openThe WUI is a local console for auditing installed skills, reading SKILL.md, running doctor/refresh, and safely previewing archive/restore changes. It is intentionally smaller than the desktop app and does not try to replace desktop-only workflows.
The server binds to localhost and uses a per-session token in the opened URL for API calls.
Automation
Human output is the default. Add --json when another tool or agent needs stable fields such as ok, data, changes, or error.
Use --home <path> for tests and isolated automation only.
Local State
The CLI uses these local files and directories:
~/.agents/skills
~/.agents/.skill-lock.json
~/.skill-zoo/metadata.json
~/.skill-zoo/skills-cache.json
~/.skill-zoo/archive/manifest.jsonDo not edit those protocol files by hand for normal archive or restore tasks.
