skillman
AGENTS.md2 starsChanged 10 months agoMITView on GitHub
skillman is a CLI wrapper to manage project skills and lock them in skills.json. It provides a declarative way to install skills per project, similar to how package managers work with package.json. colors.ts — ANSI escape codes for terminal styling: gitignore.ts — .gitignore management: Sources can include inline skills using colon or comma-separated syntax, or skills.sh URLs:
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 109
Use explicit .ts extensions in imports
- Distinctive: line 144
When making changes to the project (new APIs, architectural changes, updated conventions):
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Project Overview
skillman is a CLI wrapper to manage project skills and lock them in skills.json. It provides a declarative way to install skills per project, similar to how package managers work with package.json.
Architecture
src/
├── cli.ts # CLI entry point with parseArgs
├── config.ts # skills.json config management
├── skills.ts # Skills CLI execution
└── utils/
├── colors.ts # ANSI color codes for terminal output
└── gitignore.ts # .gitignore file management
test/index.test.ts # Tests using vitestConfig (src/config.ts)
findSkillsConfig(cwd?)— Findsskills.jsonby traversing up from cwdreadSkillsConfig(options?)— Reads and validatesskills.json(options:{ cwd?, createIfNotExists? })updateSkillsConfig(updater, options?)— Generic update with callback (options:{ cwd?, createIfNotExists? }, defaultscreateIfNotExists: true)addSkill(source, skills?, options?)— Adds a skill source (options:{ cwd?, createIfNotExists? }, defaultscreateIfNotExists: true)- Auto-injects
$schemafield during validation if missing
Skills CLI (src/skills.ts)
findSkillsBinary(options?)— Finds localskillsbinary in node_modules/.bin (options:{ cache? }, cached by default)installSkills(options?)— Spawnsskills addfor each source with progress logging; options:{ cwd?, agents?, global?, yes? }installSkillSource(entry, options)— Installs a single skill source; options:{ cwd?, agents?, global?, yes?, prefix? }
CLI Entry (src/cli.ts)
main(argv?)— CLI entry point using Node.jsparseArgsparseSource(input)— Parses source input into{ source, skills }; supports:- Colon/comma format:
owner/repo:skill1,skill2orowner/repo:skill1:skill2 - skills.sh URLs:
https://skills.sh/owner/repo/skill-name
- Colon/comma format:
Utils (src/utils/)
colors.ts — ANSI escape codes for terminal styling:
c.reset,c.bold,c.dim— formattingc.red,c.green,c.yellow,c.blue,c.magenta,c.cyan— colors- Auto-disabled when stdout is not a TTY
gitignore.ts — .gitignore management:
findGitignore(cwd?)— Finds.gitignoreby traversing up from cwd (async)addGitignoreEntry(entries, options?)— Adds entry/entries if not present; acceptsstring | string[](options:{ cwd?, createIfNotExists? })
skills.json Schema
interface SkillsConfig {
$schema?: string; // auto-injected if missing
skills: SkillSource[];
}
interface SkillSource {
source: string; // e.g., "vercel-labs/skills"
skills?: string[]; // specific skills to install (empty/omitted = all)
}CLI Commands
skillman # Install skills (default)
skillman install, i [--global] [--agent <name>...] # Install skills from skills.json
skillman add <source>... [--agent <name>...] # Add skill source(s) to skills.jsonSource Format
Sources can include inline skills using colon or comma-separated syntax, or skills.sh URLs:
skillman add vercel-labs/skills # Add all skills from source
skillman add owner/repo:pdf,commit # Add specific skills inline
skillman add org/repo-a:skill1 org/repo-b:skill2 # Multiple sources
skillman add https://skills.sh/owner/repo/pdf # skills.sh URL (https)
skillman add skills.sh/owner/repo/pdf # skills.sh URL (no protocol)Options
--agent <name>— Target agent (default:claude-code, repeatable)-g, --global— Install skills globally (forinstallcommand)-h, --help— Show help-v, --version— Show version
Development
pnpm install # Install dependencies
pnpm dev # Run tests in watch mode
pnpm build # Build with obuild
pnpm test # Full test suite with coverage
pnpm lint # Lint and format check
pnpm typecheck # TypeScript type checkingCode Style
- ESM only (
"type": "module") - Use explicit
.tsextensions in imports - Uses
obuildfor building,oxlint/oxfmtfor linting/formatting - TypeScript strict mode enabled
Integration
Skillman delegates actual skill installation to Vercel's skills CLI. It first checks for a local skills binary in node_modules/.bin, falling back to npx skills:
# Uses local binary if available, otherwise:
npx skills add <source> --skill <name> --agent <agent-name> --yesAutomatic .gitignore
During install, skillman automatically adds .agents to .gitignore (creating the file if needed).
Install Output
Installation shows colored progress with timing:
🤹 Installing 2 skills...
◐ [1/2] Installing vercel-labs/skills (pdf, commit)
✔ Installed vercel-labs/skills (2s)
◐ [2/2] Installing anthropics/courses
✔ Installed anthropics/courses (1s)
🎉 Done! 2 skills installed in 3s.Maintaining Documentation
When making changes to the project (new APIs, architectural changes, updated conventions):
AGENTS.md— Update with technical details, architecture, and best practices for AI agentsREADME.md— Update with user-facing documentation (usage, installation, examples) for end users
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

