Agent Skills
An Agent Skill is a folder with a SKILL.md that an agent
loads when its description matches the task: the same folder works in several hosts. Récit writes
its skills from one source, the guides served by the MCP server, and never
by hand.
Bash
The guides need @recit/mcp, and a bible needs @recit/: both are optional packages of the
CLI, and the command says so when one is missing. @recit/ is not on npm yet: --bible
works from a clone of Récit until it is published.
Skills of the guides
Each guide recit:// becomes the skill recit-<name>: recit-,
recit-, recit- (the guided writing workshop, recit://),
recit-, recit-, recit-, recit-world, recit-,
recit-, recit-, recit-motion, recit-deck, recit-pixel, and one per
format with a guide (recit-report, recit-, recit-book…). Its body is the guide, word
for word, after one line saying it is generated; its metadata names the guide and the version of
the CLI.
The skill of a character
With --bible, each character of the bible gets a folder named
after its id:
| File | What it holds |
|---|---|
SKILL.md | who the character is, its voice, its values, what it never says, the rules, its identity block, what no image shows, its poses |
references/ | the whole bible, the source of everything else |
references/ | the sets, their light, props and shots |
references/ | the drawing styles |
references/ | the image prompts of the character, derived from the bible, with their fingerprints |
assets/ | its reference images, and their provenance when registered |
With it, an agent writes in the voice of the character without Récit. A trait the author has not
validated yet ({inferred} in the bible) stays marked as such in the skill, and the skill tells the
agent never to present it as a fact.
For opencode
With --target opencode, each skill is written as an opencode role in .opencode/,
where opencode reads the roles of the project (--output still changes the folder):
Bash
Each file carries the skill's description, mode: (no model, so the project keeps its
own), and a permission block that lets the role edit the project (edit: allow), asks before
running shell commands (bash "*": ask), and denies publishing, network fetches and paths outside
the project ("*git push*":, "*git *push*":, "*git tag*":, "*git *tag*":,
"*publish*":, "*vercel*":, webfetch:, external_), followed by
the skill's body. When a skill has attached files — such as a character from --bible — they go in
.opencode/ next to <name>.md, with a line at the top of the body pointing to
.opencode/ relative to the project root.
Rules
- Every skill is checked against the specification before a file is written: a name of 1 to 64
lowercase letters, digits and single hyphens, equal to its folder; a description of 1 to 1024
characters that says what the skill does and when to use it; a body under 500 lines; files one
level deep in
scripts/,references/orassets/. - A generated folder or role file is written again in full on the next export. A folder or file that
recit skills exportdid not write is never overwritten: the command stops and names it. - Never edit a generated
SKILL.mdor.opencode/: edit the guide or the bible, then export again.agent/ <name>.md