@heleyang/skillman
v0.1.9
Published
Install local skill directories into agent skill folders with symlinks.
Maintainers
Readme
skillman
中文: README-CN.md
skillman installs local skill directories into common agent skills directories with symlinks.
It is meant for the Vercel Skills-style workflow where one source skill can be made available to several local agents without copying files.
Features
- Installs with directory symlinks.
- Updates stale or incorrectly pointed links with
--force. - Uses agent names and paths aligned with
npx skills, includingclaude-code,codex,cursor,opencode,trae, andwindsurf. - Uses the user home directory as the default root for built-in targets, such as
~/.agents/skillsand~/.trae/skills. - Use
--root .for the current project; use-g, --globalfor each agent's official global skills directory. - Supports custom target skills directories.
- Provides a grouped interactive TUI when target flags are omitted.
- The TUI always includes
.agents/skills, default-selects common additional agents, and stores your last additional agent choices in~/.skillman/config.json. - Supports recursive installation from a parent directory containing multiple skills.
- Provides a
statuscommand to report links as current, missing, stale, or conflict. - Provides a
removecommand to remove installed skill symlinks.
Install
npm install -g @heleyang/skillmanInstall locally from this repo:
pnpm install
pnpm run build
pnpm link --globalUsage
Install one skill into ~/.trae/skills:
skillman install ./my-skill --agent traeInstall into all known user-directory skills targets:
skillman install ./my-skill --allInstall into each agent's official global skills directory:
skillman install ./my-skill --agent codex --agent claude-code --globalUse the npx skills-style wildcard agent:
skillman install ./my-skill --agent '*'Install into the current project:
skillman install ./my-skill --agent agents --agent trae --root .That creates links like:
./.agents/skills/my-skill -> /absolute/path/to/my-skill
./.trae/skills/my-skill -> /absolute/path/to/my-skillUse a custom exact skills directory:
skillman install ./my-skill --target ~/.config/my-agent/skillsInstall every child directory that contains SKILL.md:
skillman install ./skills --recursive --allPreview changes:
skillman install ./my-skill --all --dry-runRefresh an existing link that points somewhere else:
skillman install ./my-skill --agent trae --forceRun the install command without target flags to use the TUI. The agent picker always includes the universal .agents/skills target, then shows Additional agents in the same multiselect. Common additional targets such as trae and trae-cn, plus your last additional selections, are checked by default; the additional selection is saved to ~/.skillman/config.json.
skillman install ./my-skillCheck current link status:
skillman status ./my-skill --agent traeOutput JSON for scripts:
skillman status ./my-skill --agent '*' --jsonRemove an installed skill symlink:
skillman remove ./my-skill --agent traeIf an existing link points somewhere else, --force is required to remove it; non-symlink files or directories are never removed.
The legacy entrypoint is still supported: skillman ./my-skill --agent trae is equivalent to skillman install ./my-skill --agent trae.
The root command skillman is equivalent to skillman --help.
Built-In Targets
| Agent | --agent | Default Directory | Official Global Directory |
| --- | --- | --- | --- |
| Universal | agents, universal | ~/.agents/skills | ~/.agents/skills (agents), ~/.config/agents/skills (universal) |
| Claude Code | claude-code (claude) | ~/.claude/skills | ~/.claude/skills |
| Codex | codex | ~/.agents/skills | ~/.codex/skills |
| Cursor | cursor (cursor-cli) | ~/.agents/skills | ~/.cursor/skills |
| Gemini CLI | gemini-cli (gemini) | ~/.agents/skills | ~/.gemini/skills |
| OpenCode | opencode | ~/.agents/skills | ~/.config/opencode/skills |
| Roo Code | roo | ~/.roo/skills | ~/.roo/skills |
| Trae | trae | ~/.trae/skills | ~/.trae/skills |
| Trae CN | trae-cn | ~/.trae-cn/skills | ~/.trae-cn/skills |
| Windsurf | windsurf | ~/.windsurf/skills | ~/.codeium/windsurf/skills |
It also supports more keys from the npx skills supported agents table, such as aider-desk, amp, antigravity, cline, crush, goose, kiro-cli, qwen-code, tabnine-cli, zed, and zencoder. Run skillman --help to see the current full key list.
Built-in targets use the user home directory as their default root, so --agent trae writes to ~/.trae/skills and --agent agents writes to ~/.agents/skills. Use --root . to install into the current project; use -g, --global to install into each agent's official global skills directory.
Documentation Maintenance
When updating docs, keep README.md and README-CN.md aligned in section structure, command examples, and target tables.
