Skip to content

Write a skill

A skill only helps if it works for someone months later who never talked to you. The spec, the validator, and the review exist to make that true. Plan on a few hours for a first draft with the skill creator, and some back and forth in review.

Check the Skills page so you don’t duplicate a skill, then propose it. A maintainer confirms it’s one method before you start writing.

The easiest way is the skill creator, which comes with the library. Install the library, then say:

I want to turn [your method] into a skill for the library.

besci-skill-creator asks about your method one question at a time, each with a suggested answer. It reads any source you give it first. Then it writes the whole skill folder. In Claude Code it saves the files directly; in the Claude app it gives you the files and a .skill file to upload.

To write by hand instead, copy template/skill-template/ to skills/<your-skill-name>/ and follow the skill spec.

skills/decompose-comb-barriers/
├── SKILL.md                      instructions: header, then eight fixed sections
├── evals/evals.json              four test cases
├── CHANGELOG.md                  one entry per version
├── references/worked-example.md  one full example
├── references/evidence.md        the sources and where they've been tested
├── references/                   other material, loaded when a step needs it
├── scripts/                      optional: code the skill runs
└── assets/                       optional: templates used in the output

SKILL.md has eight sections, in this order: What it does, When to use it, Before you start, What it draws on, How to do it, Output template, Where it goes wrong, and When to bring in a specialist. Keep it to about 1,000 words and move detail to references/.

Names start with a verb from the library’s list and use lowercase words joined by hyphens: decompose-comb-barriers, not comb-barrier-decomposer. Use American spelling.

The skill creator runs the validator for you and shows you a real output, so you can say what an expert would object to. For a deeper check, run besci-eval on the folder. It checks the structure, whether the skill runs on the right requests, and what the skill changes compared with the AI working alone. Its report is worth pasting into your pull request.

From a copy of the repository, you can run the validator yourself:

uv sync
uv run scripts/besci_validate.py skills/<your-skill-name>

Errors (codes starting with E) block a merge. Warnings (codes starting with W) need a decision.

All three routes end in a pull request.

Send the .skill file to a maintainer. They submit it for you, and you stay the author.

Use the upload form on the library site with a contributor key from a maintainer. Or open the inbox/ folder on GitHub, choose Add file → Upload files, drop the .skill file, and pick Create a new branch for this commit and start a pull request. Either way, a bot unpacks it into skills/<name>/, runs the validator, and posts the report on the pull request.

Add the folder under skills/, run the validator, push a branch, and open a pull request. The pull request template has a checklist.

The validator’s report appears on your pull request. Then a maintainer reviews the content: is it one method, does it run on the right requests, are the citations real, is the output template useful, and do the test cases read like real requests. Expect questions, and answer them in the pull request or push changes.

When it’s approved, the maintainer marks the skill published and merges it. The library site, the navigator, and the plugin pick it up on their own.

Open a pull request that raises metadata.version and adds an entry at the top of CHANGELOG.md saying what changed and why. Raise the last number for wording changes, the middle number for new behavior, and the first number when the output template changes shape. If the change answers an expert review, cite it in the entry; see Expert reviews.

Set metadata.status to deprecated, add a changelog entry that names the replacement if there is one, and open a pull request. Authors can retire their own skills at any time. Retired skills leave the catalog but stay in the repository’s history, so projects that cited them can still find them.

  • Write for someone who has never met a behavioral scientist. Define terms the first time you use them.
  • Have the skill ask questions before it produces anything.
  • Explain why a technique works, not only what it is.
  • Cite what you draw on, and check each citation. Leave out anything you can’t check.
  • Don’t add a README.md to a skill folder.