Claude Skill

skillfold-cli

Use skillfold to manage project and user skills for Claude Code, Codex, and Cursor. Declare skills in skillfold.yaml, pin them in skillfold.lock, and install them reproducibly.

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Virus-scanned Reviewed automatically before listing.

Full trust report

Download byronxlg-skillfold-library_skills_skillfold-cli-e2a80db.zip · 1 KB
Part of byronxlg/skillfold — 12 skills

Install

skills CLI npx skills add https://github.com/byronxlg/skillfold/tree/main/library/skills/skillfold-cli
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install byronxlg-skillfold@llmmart
Git git clone https://github.com/byronxlg/skillfold.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole byronxlg/skillfold collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Skillfold CLI

You use skillfold, a declarative skill manager for agent skills. Projects declare the skills they use in skillfold.yaml; skillfold installs them for the selected tools and pins exact revisions in skillfold.lock.

Manifest

skillfold.yaml at the project root:

skills:
  commit-helper: ./skills/commit-helper                     # local directory
  frontend-design: github:owner/repo/path/to/skill@v1.2.0   # GitHub (tag, branch, or SHA)
  planning: npm:skillfold/planning@2.0.0                    # npm package

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

A trailing @ref after the last / pins a version. Composed skills concatenate the bodies of the skills they use into one generated skill.

Commands

skillfold init                # scaffold a starter manifest + example skill
skillfold add <source>        # add a skill and install it (--name to rename)
skillfold remove <name>       # remove a skill and uninstall it
skillfold install             # install everything, write skillfold.lock
skillfold install --frozen    # CI mode: exact lockfile install, fail on drift
skillfold update [name...]    # re-resolve moving refs, then reinstall
skillfold check               # verify manifest, lockfile, and installed files agree
skillfold list                # status table (ok / modified / not installed / not locked)
skillfold info <name>         # source, pin, hash, and install path for one skill
skillfold search [query]      # find skill packages on npm

Add -g / --global to use ~/.config/skillfold/skillfold.yaml (or $XDG_CONFIG_HOME/skillfold/skillfold.yaml). Global skills install into the selected tools' user-level directories, including ~/.claude/skills, ~/.agents/skills, and ~/.cursor/skills. Run skillfold migrate -g to copy a legacy ~/.claude config, preserving pins and relative source paths.

Rules

  • Commit both skillfold.yaml and skillfold.lock. Never edit the lockfile by hand.
  • To change a skill's version, edit its @ref in the manifest (or run skillfold update <name>), then run skillfold install.
  • Never edit installed files for managed skills; edit the source (local directory or upstream) and reinstall. skillfold list shows modified when installed files drifted.
  • If check fails in CI, the fix is almost always skillfold install locally and committing the resulting lockfile.
  • Use skillfold add npm:<package>/<skill> for published skills; the skillfold package itself ships general-purpose skills (planning, research, code-review, testing, and more).
Files (skillfold)
  • SKILL.md 2.8 KB
    ---
    name: skillfold-cli
    description: Use skillfold to manage project and user skills for Claude Code, Codex, and Cursor. Declare skills in skillfold.yaml, pin them in skillfold.lock, and install them reproducibly.
    ---
    
    # Skillfold CLI
    
    You use skillfold, a declarative skill manager for agent skills. Projects declare the skills they use in `skillfold.yaml`; skillfold installs them for the selected tools and pins exact revisions in `skillfold.lock`.
    
    ## Manifest
    
    `skillfold.yaml` at the project root:
    
    ```yaml
    skills:
      commit-helper: ./skills/commit-helper                     # local directory
      frontend-design: github:owner/repo/path/to/skill@v1.2.0   # GitHub (tag, branch, or SHA)
      planning: npm:skillfold/planning@2.0.0                    # npm package
    
    compose:
      reviewer:
        description: Review code changes together with their tests.
        use: [code-review, testing]
    ```
    
    A trailing `@ref` after the last `/` pins a version. Composed skills concatenate the bodies of the skills they `use` into one generated skill.
    
    ## Commands
    
    ```bash
    skillfold init                # scaffold a starter manifest + example skill
    skillfold add <source>        # add a skill and install it (--name to rename)
    skillfold remove <name>       # remove a skill and uninstall it
    skillfold install             # install everything, write skillfold.lock
    skillfold install --frozen    # CI mode: exact lockfile install, fail on drift
    skillfold update [name...]    # re-resolve moving refs, then reinstall
    skillfold check               # verify manifest, lockfile, and installed files agree
    skillfold list                # status table (ok / modified / not installed / not locked)
    skillfold info <name>         # source, pin, hash, and install path for one skill
    skillfold search [query]      # find skill packages on npm
    ```
    
    Add `-g` / `--global` to use `~/.config/skillfold/skillfold.yaml` (or `$XDG_CONFIG_HOME/skillfold/skillfold.yaml`). Global skills install into the selected tools' user-level directories, including `~/.claude/skills`, `~/.agents/skills`, and `~/.cursor/skills`. Run `skillfold migrate -g` to copy a legacy `~/.claude` config, preserving pins and relative source paths.
    
    ## Rules
    
    - Commit both `skillfold.yaml` and `skillfold.lock`. Never edit the lockfile by hand.
    - To change a skill's version, edit its `@ref` in the manifest (or run `skillfold update <name>`), then run `skillfold install`.
    - Never edit installed files for managed skills; edit the source (local directory or upstream) and reinstall. `skillfold list` shows `modified` when installed files drifted.
    - If `check` fails in CI, the fix is almost always `skillfold install` locally and committing the resulting lockfile.
    - Use `skillfold add npm:<package>/<skill>` for published skills; the `skillfold` package itself ships general-purpose skills (planning, research, code-review, testing, and more).
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.

Related