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.
Open the skills menu
forgebench skillsChoose Update my skills. If you aren't signed in, your browser opens for SSO.
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
--reconfigureto choose again.- My user folder: every project (
Check that you're up to date
Choose Check my skills, or run:
forgebench skills statusIt exits 1 if your machine differs from your organization's policy.
The menu has these choices:
| Choice | What it does |
|---|---|
| Check my skills | Shows whether your skills match your organization's rules, and lets you update right away. |
| Update my skills | Installs the skills your organization requires and refreshes any that are out of date. |
| Get more skills | Lists the skills in Forgebench so you can pick ones to install. |
| Share my skills | Publishes skills from your projects so others can use them. |
| Pin skills to this project | Fixes exact skill versions for this project, so everyone on it gets the same ones. |
| Skills used on this branch | Summarizes the governed skills your sessions used on this branch, for a pull request. |
| Auto-update | Turns 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/tddKeep skills up to date
forgebench skills autosync enable
forgebench skills autosync enable --notify-only # tell me, don't change anything
forgebench skills autosync disableWhen 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 samename:, 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
--dirfolder, sync adds one.gitignorethat keeps what it installed out of your commits. To give a team the same versions, runforgebench skills lock --add skill:eng/tdd@3. - Paused or retired skills are removed on the next sync.
| Flag | What it does |
|---|---|
--project | Install into this repository's .claude/skills. |
--dir PATH | Install into any skills folder. Works with status and remove too. |
--dry-run | Show what would change. Write nothing. |
--prune | Remove required skills your admin withdrew. |
--force | Overwrite local edits and same-named skills Forgebench didn't install. |
Publish a skill
Import from your repository
forgebench skills import # .claude/skills, .codex/skills or skills/ forgebench skills scan --root ~/code # find skills across all your repositoriesAdd
--dry-runto see the plan first. In the console, use Skills → New skill or Import to write one or upload aSKILL.mdor CSV.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.
| State | What it means |
|---|---|
| Registered | Published, not used yet. |
| Active | Used at least once, or required. |
| Paused | Agents skip it and machines remove it on the next sync. You can resume it. |
| Retired | Paused for good. History stays. |
| Deprecated | Still 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.
| Tool | Install | Use reported |
|---|---|---|
| Claude Code | Yes | Yes |
| Codex | Yes | Only skills Codex was handed in the request. A skill the model reads itself isn't seen. |
| OpenCode, Copilot, Gemini CLI | No | Yes, through the gateway |
| Cursor, Antigravity | No | No |
In CI, after a merge:
forgebench skills tag # label the current versionsTo 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 branchThe 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/callstakesskill_id,has_skill,harness,session_id,identity_idandteam_id.

