@skillset/cli
v0.27.0
Published
Source-first compiler for provider-native agent loadouts.
Downloads
769
Maintainers
Readme
Skillset
Skillset is a source-first compiler for provider-native agent loadouts.
Write a skill, instruction, agent, hook, or plugin once in a repository-owned source tree. Skillset validates that source, then renders reviewable Claude, Codex, and Cursor files without installing or activating them.
Install
Install the native global command once with npm:
npm install --global skillsetInitialize an existing repository, inspect the plan, and write the source scaffold:
skillset init
skillset init --yesThe npm route uses a small Node 18 launcher to select the matching native package; it does not require Bun. On macOS, brew install outfitter-dev/tap/skillset installs the native executable with neither Node nor Bun required at command runtime. See Install Skillset for Homebrew, direct GitHub assets, the complete slimmer @skillset/cli Bun distribution, CI, local dependency, and contributor paths.
Add authored source under .skillset/, then preview and write provider-native output:
skillset check
skillset build
skillset build --yes
skillset check --only outputsinit and build preview by default. --yes confirms the exact plan. Start with the first-author journey or run the checked-in first-author example.
Why Skillset
Agent platforms overlap, but their file layouts and native capabilities do not. Maintaining parallel source trees makes shared intent drift and tempts authors to pretend unlike features are portable.
Skillset keeps one adaptive source where meanings genuinely match, preserves provider-native escape hatches where they do not, and makes unsupported destinations visible before output ships. Read Why Skillset for the design tradeoffs.
The model
skillset.yaml + .skillset/ authored source
|
validate, derive, render
|
provider-native repository filesskillset.yamlselects targets and workspace behavior..skillset/contains the source humans and agents edit.skillset checkvalidates source and reports generated drift.skillset buildpreviews a deterministic output plan.skillset build --yeswrites repo-local provider output and lock provenance.
Skillset renders files. It does not install, trust, activate, symlink, or mutate user-level provider configuration. Build and activation are separate workflows.
What it can author
Skillset currently handles standalone skills, project instructions and agents, plugins, resources, hooks, provider-native components, change records, and release projections. Support is intentionally explicit: see the generated feature support matrix for current target evidence and the CLI reference for every public command.
Generated output stays native to each provider. A shared instruction may become Claude rules, a directory-local Codex AGENTS.md, and Cursor .mdc rules. A feature without a faithful destination is diagnosed or handled by the workspace's explicit unsupported-destination policy.
Work safely
The everyday loop is small:
# Validate source and generated readiness.
skillset check
# Inspect pending output without writing.
skillset diff
# Explain one source or generated path.
skillset explain .agents/skills/my-skill/SKILL.md
# Watch source and preview continuously.
skillset devUse skillset dev --write only when you want clean source edits to update repo-local outputs continuously. Use skillset reconcile when a managed generated file was edited and a human must choose source or output authority. Confirmed replacement paths retain backup or rollback evidence.
Adopt existing work
skillset init surveys an existing repository for local skills, plugins, and instruction files. skillset import copies one selected provider-native source into .skillset/ without overwriting existing source:
skillset import /path/to/SKILL.md
skillset import /path/to/pluginImport reports what it recognized, preserved, and could not adapt. It never scans or changes user-level provider configuration unless you explicitly choose a provider's local import root.
Documentation
Choose the path that matches your question:
- Start: first-author journey, why Skillset, and build versus activation.
- Look something up: generated reference, CLI commands, support matrix, and glossary.
- Understand the project: use the documentation map, which routes reader, maintainer, project, and decision material by intent.
- Contribute: contributor guide, security policy, and documentation system.
Develop the compiler
Clone the repository, install the pinned toolchain, and run the aggregate check:
git clone https://github.com/outfitter-dev/skillset.git
cd skillset
./scripts/bootstrap.sh repo
bun run checkUseful focused commands:
bun run typecheck
bun run test:focused -- path/to/test.ts
bun run docs:generate
bun run docs:check
bun run skillset:check
bun run skillset:check:outputsPackage releases are GitHub Actions-owned. Package-facing changes use Changesets; local development must not publish or mutate user-level provider configuration.
License and security
Skillset is available under the MIT License. Report vulnerabilities through the private process in SECURITY.md, not a public issue.
