Your agent skills, declared and pinned_

Stop copying SKILL.md folders between repos. Declare skills in one file, pin them in a lockfile, and install the same files for Claude Code, Codex, and Cursor.

$
npm install -g skillfold
agent
~/project $ cat skillfold.yaml
targets: [claude, cursor]
skills:
  commit-helper: ./skills/commit-helper
  code-review: npm:skillfold/code-review
  testing: npm:skillfold/testing

~/project $ skillfold install
  + commit-helper            ./skills/commit-helper
  + code-review              npm:skillfold/code-review -> 2.9.0
  + testing                  npm:skillfold/testing -> 2.9.0

3 installed, 0 unchanged -> .claude/skills, .cursor/skills
lockfile: skillfold.lock

~/project $ skillfold check
ok: 3 skills in sync
01Features

Skills, treated like dependencies

Commit skillfold.yaml and skillfold.lock; the installed directories can be gitignored. Teammates run skillfold install and get the same skills.

01Pinned

Remote skills are pinned to a commit SHA or exact version, plus a sha256 hash. install keeps existing pins; update moves them.

02Safe

Hand-written skills can sit next to managed ones. Skillfold never overwrites or deletes a directory it did not install, unless you pass --force.

03Checked in CI

skillfold install --frozen installs exactly what the lockfile pins and fails on any drift or hash mismatch, like npm ci. If you commit the installed files instead, skillfold check verifies them offline.

04Composition

Combine several skills into one generated SKILL.md, such as a reviewer built from your code-review and testing skills. Supporting files come along.

02Manifest

One file, three kinds of sources

A trailing @ref pins a tag, branch, or SHA on GitHub, or a version on npm. @installed follows the version of the npm package your project has installed. Manifest reference

# skillfold.yaml
skills:
  # local directory, relative to the manifest
  commit-helper: ./skills/commit-helper

  # GitHub: owner/repo/path
  frontend-design: github:anthropics/skills/skills/frontend-design@main

  # npm: package/skill
  code-review: npm:skillfold/code-review
  testing: npm:skillfold/testing@2.9.0

compose:
  reviewer:
    description: Review code changes together with their tests.
    use: [code-review, testing]

# single .md instruction files, installed as each agent's rules
rules:
  code-style: ./rules/code-style.md

targets: [claude, codex, cursor]  # default: [claude]
03Commands
initstarter manifest and example skill
add <source>add a skill and install it
remove <name>remove a skill or rule
install [--frozen]install, write the lockfile
update [name...]re-resolve refs, move pins
checkverify installed files, offline
liststatus of every skill and rule
info <name>source, pin, hash, path
search [query]find skill packages on npm
-g, --globalmanage user-level skills
04Install

Requires Node 20+.

$
npm install -g skillfold

Private GitHub repos use your gh or git sign-in, or GITHUB_TOKEN.

Publish your own

Any GitHub repo with a SKILL.md directory is already a source. On npm, an agentskills map makes each skill addable by name, and the skillfold-skill keyword lists the package in skillfold search.

Publishing guide ↗
05Blog

Notes from the lockfile

News on agent configuration and skill supply chains. All posts · RSS