Skills Skills

Skills

A skill is a versioned SKILL.md that your organization publishes once. Forgebench installs it on developers' machines, requires it where you say, and reports which skills were used. To require skills or use them in agents, see Govern skills.

Get skills on your machine

You need CLI 1.6.2 or later. Check with forgebench --version, upgrade with forgebench update.

  1. Open the skills menu

    forgebench skills

    Choose Update my skills. If you aren't signed in, your browser opens for SSO.

  2. Choose where they go

    First it lists the coding tools it found and asks which to install for: Claude Code, Codex or both. For Claude Code it then asks where:

    • My user folder: every project (~/.claude/skills, ~/.codex/skills).
    • This project only: the repository's .claude/skills.
    • Another folder: any path you type. Only the menu offers this. In a plain forgebench skills sync, use --dir PATH.

    If you chose only Codex, there is no project question. Forgebench remembers your choices. Run with --reconfigure to choose again.

  3. Check that you're up to date

    Choose Check my skills, or run:

    forgebench skills status

    It exits 1 if your machine differs from your organization's policy.

The menu has these choices:

ChoiceWhat it does
Check my skillsShows whether your skills match your organization's rules, and lets you update right away.
Update my skillsInstalls the skills your organization requires and refreshes any that are out of date.
Get more skillsLists the skills in Forgebench so you can pick ones to install.
Share my skillsPublishes skills from your projects so others can use them.
Pin skills to this projectFixes exact skill versions for this project, so everyone on it gets the same ones.
Skills used on this branchSummarizes the governed skills your sessions used on this branch, for a pull request.
Auto-updateTurns on or off updating your skills each time Claude Code starts.

Without the menu, run forgebench skills sync. In a script or CI it installs for the tools it finds in your user folder, never asks questions and never opens a browser. Set FORGEBENCH_API_KEY there instead.

Add or remove an optional skill

forgebench skills sync --ref skill:eng/tdd@3
forgebench skills remove skill:eng/tdd

Keep skills up to date

forgebench skills autosync enable
forgebench skills autosync enable --notify-only   # tell me, don't change anything
forgebench skills autosync disable

When a Claude Code session starts, Forgebench checks for updates, at most once every 6 hours. It doesn't slow the session or open a browser. Codex isn't covered.

What sync does to your files

Each skill goes in <repository>-<name>/SKILL.md, for example eng-release-notes/SKILL.md.

  • Your own skills are safe. If you already have a skill in that folder name, Forgebench installs the required one next to it as <name>-forgebench. Both have the same name:, so your tool may load either. Yours is never changed.
  • Your edits. Kept on optional skills. A required skill is put back to the pinned version.
  • Git. In a project or --dir folder, sync adds one .gitignore that keeps what it installed out of your commits. To give a team the same versions, run forgebench skills lock --add skill:eng/tdd@3.
  • Paused or retired skills are removed on the next sync.
FlagWhat it does
--projectInstall into this repository's .claude/skills.
--dir PATHInstall into any skills folder. Works with status and remove too.
--dry-runShow what would change. Write nothing.
--pruneRemove required skills your admin withdrew.
--forceOverwrite local edits and same-named skills Forgebench didn't install.

Publish a skill

  1. Import from your repository

    forgebench skills import              # .claude/skills, .codex/skills or skills/
    forgebench skills scan --root ~/code  # find skills across all your repositories

    Add --dry-run to see the plan first. In the console, use Skills → New skill or Import to write one or upload a SKILL.md or CSV.

  2. Fix the findings

    Publishing checks the skill. Start the description with when to use the skill, in at least 3 words and under 300 characters (2,000 is the hard limit). Keep the body under about 1,500 tokens. Most findings are warnings. A string that looks like a credential is an error: the skill still publishes, but you can't require it until you remove it.

Each skill has a reference like skill:eng/release-notes@3. Editing publishes the next version. Agents and requirements pin an exact version, so publishing @4 doesn't change @3.

StateWhat it means
RegisteredPublished, not used yet.
ActiveUsed at least once, or required.
PausedAgents skip it and machines remove it on the next sync. You can resume it.
RetiredPaused for good. History stays.
DeprecatedStill works. Points to its replacement.

Report usage

Run forgebench sync as usual. It reports the skills a session loaded. The gateway records the skill on any call that carries one. Neither needs a skills sync.

ToolInstallUse reported
Claude CodeYesYes
CodexYesOnly skills Codex was handed in the request. A skill the model reads itself isn't seen.
OpenCode, Copilot, Gemini CLINoYes, through the gateway
Cursor, AntigravityNoNo

In CI, after a merge:

forgebench skills tag                # label the current versions

To see which governed skills your sessions used on the current branch, for a pull request description:

forgebench skills pr                          # print the summary
forgebench skills pr --out skills-used.md     # save it
forgebench skills pr --base origin/main       # compare with another base branch

The summary is built on your machine from your local sessions. In the menu, use Skills used on this branch.

Read the report

Open Skills. Admins see names. Nobody else does.

  • Dashboard: sessions per day, use by tool and a team by skill grid. An outlined cell is a skill the team is required to use, shown as people who used it out of members, for example 3/5.
  • Skills: each skill's requirement, reach, developers and agents. Open a row for its versions and calls.
  • View calls opens Calls filtered to what you were looking at. In the API, GET /v1/calls takes skill_id, has_skill, harness, session_id, identity_id and team_id.

Cookie settings

Our Cookie Policy lists every cookie and what it does.