Skip to content

Skills

A skill is a folder of instructions for one kind of task, such as drafting release notes or reviewing a migration. The terminal client finds skills on disk and tells the model each skill’s name and description. When a task matches one, the model loads its instructions with the read_skill tool and follows them. You can also run a skill yourself with /skill:<name>.

Skills follow the Agent Skills format. They are only instructions. A skill cannot turn on a tool, so it can do no more than the run already allows.

The terminal client reads skills from folders on disk. The hosted API keeps a skill library instead, managed on the web app’s Skills page.

The client looks in these folders, in this order:

Folder Scope
Each folder named with --skill This run
<workspace>/.felix/skills/ This project
<workspace>/.agents/skills/ This project
.agents/skills/ in each folder above the workspace, up to the repository root This project
~/.felix/skills/ ($FELIX_HOME/skills/ when FELIX_HOME is set) Personal
~/.agents/skills/ Personal

The project folders are read only once you trust the workspace; until then it supplies only its AGENTS.md or CLAUDE.md. Without a repository, no folder above the workspace is read.

A folder that holds a SKILL.md file is a skill. Skills can be grouped in subfolders, such as .agents/skills/release/notes/. Once the client finds a SKILL.md, it does not look further down that folder, so a SKILL.md nested inside a skill is just one of that skill’s files.

The search skips hidden folders, node_modules, and what a .gitignore or .ignore in a skills folder ignores. A symbolic link to a folder or SKILL.md is followed when its target is inside one of the skill folders; any other link is skipped with a warning. If two skills have the same name, the first one found is kept, so a project skill wins over a personal skill with that name. The rest are skipped with a warning.

Skills are found when the client starts. To pick up a new skill, run /reload in the full-screen client, or restart. Edits to an existing SKILL.md take effect the next time it is read.

A skill folder has a SKILL.md and, if needed, other files the instructions refer to:

.agents/skills/release-notes/
SKILL.md
references/format.md
scripts/collect.sh

SKILL.md starts with frontmatter between --- lines, then the instructions:

---
name: release-notes
description: Draft release notes from merged changes. Use when preparing a release.
---
Read CHANGELOG.md and the merged changes since the last tag.
Follow references/format.md for the layout.
Field Required Meaning
name No The skill’s name. Lowercase letters, digits and single hyphens, at most 64 characters. Defaults to the folder name. Another name is normalised (My_Skill becomes my-skill) and loaded with a warning.
description Yes What the skill does and when to use it, at most 1024 characters. The model sees this text, and only this text, when choosing a skill.
disable-model-invocation No true keeps the skill out of the model’s list, so it runs only when you type /skill:<name>.
user-invocable No false refuses /skill:<name>, so only the model uses the skill.
context No fork: with --delegate, the model passes read_skill a task and a child agent runs the skill; without delegation, the model follows it in place.
argument-hint No Read, but not shown yet.

Other fields are ignored. The frontmatter is YAML (the core schema); lists and one level of mapping, such as metadata, are kept. Frontmatter that is not valid YAML, or not a mapping, is invalid.

A description that says when to use the skill, not only what it does, helps the model pick it at the right time.

When at least one skill is found, the client adds the read_skill tool and lists each skill’s name and description in the system prompt. The instructions themselves stay on disk until the model asks for them.

read_skill input Returns
name The whole SKILL.md, the skill’s folder, and a list of its other files.
name and file One file from the skill’s folder, by a path relative to it, such as references/format.md.
name and task For a context: fork skill with delegation on, the child agent’s reply.

read_skill only reads. It refuses absolute paths, paths that leave the skill’s folder, and symbolic links. It returns text, so it cannot read a script’s output: running a bundled script needs run_command, which is on by default, or run_skill_script, which --tools +run_skill_script adds.

--tools can leave read_skill out. The skill list is then left out of the system prompt too, so the model is never told about skills it cannot load. --no-tools has the same effect.

A skill with disable-model-invocation: true is not listed, and read_skill refuses its SKILL.md; only its bundled files stay readable, for a skill you ran with /skill:<name>.

In pnpm chat or the full-screen client, start a prompt with /skill:<name>. In the full-screen client, /skills lists the skills and prompt templates it found:

pnpm chat --model <model> "/skill:release-notes for version <version>"

The client replaces the command with the skill’s instructions, without the frontmatter. The rest of your prompt fills $ARGUMENTS (all of it) and $ARGUMENTS[N] or $N (the Nth argument, counting from 0) where the instructions use them. Instructions without $ARGUMENTS get the rest of your prompt appended as ARGUMENTS: <text>. This works for every skill except one with user-invocable: false, including ones the model is not shown. A name that does not match a skill stops the prompt with Unknown skill: <name>.

When pnpm chat starts, it prints a skill: warning on stderr for each skill it skipped, and why; the full-screen client shows the same warnings on its notice line.

What Limit
Skills 100. The search stops at the hundredth.
Folders searched 500 across all locations.
Folder depth Four levels below each location.
SKILL.md and each file read_skill reads 1 MiB, UTF-8 text. Binary files are refused.
Files listed with a skill 50, at most three folders deep. Symbolic links are left out.
name Lowercase letters, digits and single hyphens; at most 64 characters. Others are normalised.
description Required; at most 1024 characters.

A skill with missing or invalid frontmatter, a name with nothing usable left once normalised, no description, or a SKILL.md that cannot be read is skipped with a warning.

Project skills come from the repository you are working in, and load only once you trust it. Read them as you would any other instructions in it before you rely on them.

A prompt template is a Markdown file that becomes a /name command in the terminal client (the full screen and pnpm chat). Typing the command sends the file’s text as the prompt, with your arguments filled in. Unlike a skill, a template is not shown to the model and is expanded in full every time.

Folder Scope
~/.felix/prompts/ ($FELIX_HOME/prompts/ when FELIX_HOME is set) Personal
<workspace>/.felix/prompts/ This project, once you trust the workspace. A template here replaces a personal one with the same name.

Only .md files directly in these folders are read. The file name is the command, so .felix/prompts/review.md is /review. Names use lowercase letters, digits and single hyphens, at most 64 characters. exit, skill and retry are reserved.

---
description: Review staged changes
argument-hint: "[focus]"
---
Review the staged changes, focusing on ${1:-correctness}.
pnpm chat --model <model> '/review "error handling"'

Frontmatter is optional. /skills in the full-screen client lists each template with its description; argument-hint is read but not shown yet.

In the template Becomes
$1, $2, … That argument, or nothing.
$@ or $ARGUMENTS All arguments, separated by spaces.
${1:-text} Argument 1, or text when it is missing or empty.
${@:-text} or ${ARGUMENTS:-text} All arguments, or text when there are none.
${@:N} Arguments from N on.
${@:N:L} L arguments starting at N.

Arguments are split on spaces. Quotes at the start of an argument group words, so "two words" is one argument; a quote that is never closed stays as text. Substitution happens once, so an argument that contains $1 is sent as written. A template never runs anything.

A /name that matches no template is sent as typed. /compact, /think and /model run as commands before any template is looked up, and a /skill:<name> prompt is expanded as a skill, never as a template.

Limit
Template size 64 KiB
Templates 200

An oversized file, a bad name, malformed frontmatter or an empty body is skipped with a prompt template: warning when the client starts. Templates are read when the client starts; run /reload in the full-screen client, or restart, to pick up changes.

The hosted API keeps its skills in a library: each skill has numbered versions, and only the published (live) one reaches conversation runs. Conversation runs list the live skills, load one with activate_skill and read_skill_file, and a person can run one as /<name>. The model can draft skills with create_skill and update_skill; a draft reaches no run until someone publishes it. The library needs server threads and an R2 bucket bound to the API Worker as SKILLS.

A version moves through these states:

State Meaning
draft Waiting for review. Every new version starts here.
live Published: what conversation runs use. Publishing a draft replaces the live version.
superseded Was live before. Publishing it again rolls the skill back.
rejected Closed without publishing; it can never be published.

The Skills page in the web app lists the library, with drafts waiting for review first. It appears where /health reports skills: true. Each skill has six tabs, and admins a seventh:

Tab Shows
Overview The description, the live and newest versions, and the live SKILL.md, rendered. An imported skill has Check the source, which asks GitHub whether the folder has changed, and offers to import the change as a draft.
Files The files of a version, with each file’s size and SHA-256. Markdown is rendered, with the source a click away.
Versions Any two versions’ SKILL.md as a diff, the other files that differ, and every version with who made it and why.
Gate One version’s review checks and quality score, how it may be run, its diff against the live version, and the decision with the publish gate’s verdict.
Feedback File feedback on a version (the live one unless you choose another): what should change and why, and optionally a suggested change. Every piece of feedback on the skill, filtered by state. Admins accept or reject what is pending; see Feedback.
Evaluations A version’s evaluations, newest first: each one’s state, who asked and when, its scores without and with the skill and the uplift, whether it counts for the publish gate, and the scores and the judge’s reasons per scenario. Admins get Evaluate. With two or more versions evaluated, Uplift by version compares them; see Evaluations.
Edit Admins: the newest version’s files in an editor. Add and delete files, edit any file (Tab indents; Esc then Tab leaves the editor), and preview Markdown. Save as draft (⌘ S) saves a new version built on the one you started from, which waits for review. What the library would refuse is listed before you save. If someone saved a newer version meanwhile, the save is refused and you choose: keep your edits on the newest, or load the newest and drop them. Edit beside the conversation opens the same editor in the side pane, next to the conversation the tab is on, where an edit in progress survives switching tabs and reloading; Edit on a skill the agent drafted in a conversation opens it there too.

Admins (and the API token) also get Upload, Import from GitHub, New version, Publish, Roll back and Reject. Each publish names the version it replaces before it is sent, and is refused if another version went live in the meantime; the page then asks again, naming what is live now. Reject takes an optional note saying why, shown with the rejected version. Members see the same pages without those controls.

An admin archives a skill that should no longer be offered: Archive skill, at the foot of its Overview, asks first. Conversation runs stop using it (it leaves the catalog, the model’s skill list and /<name>), and nothing is deleted: its versions, its live version, its feedback and its evaluations are kept. Its page then says Archived on every tab, with Unarchive for admins, which brings the skill back exactly as it was, live version included.

While a skill is archived it takes no publish, rollback or new version: New version, Edit, Publish, Roll back and Reject are gone from its page, and so is Improve with AI on its feedback. Its name stays taken, so a new skill cannot be saved under it. The library list sets archived skills aside; Show archived lists them in their own section, and the page’s address keeps that view (?archived=1). Members see that a skill is archived, with no controls.

Upload takes a folder holding SKILL.md (or files chosen one by one). Hidden files, files that are not UTF-8 text and paths a skill cannot hold are left out and listed, and the rest is checked against the library’s rules before anything is sent. The review checks measure how likely the skill is to be picked and followed; by themselves they never block a publish, but the publish policy can set a minimum for the score they make. Rendered skills show no raw HTML and load no images.

The publish policy decides whether a version may go live. With nothing set there is no gate. It has three rules:

Rule Range A version passes when
min_quality 0 to 100 Its quality score (the share of review checks met, as a percentage) is at least this.
require_eval yes or no It has a succeeded evaluation that counts.
min_eval_uplift -100 to 100, or none Its newest evaluation that counts has at least this uplift. Set without require_eval, a version with no evaluation fails too.

For a version an agent wrote, only an evaluation on the bundle’s own evals/ scenarios counts: generated and default scenarios are written from the agent’s own text. The Evaluations tab says, for each succeeded evaluation, whether it counts and why not.

A rollback to a version that was live before is held to min_quality only, so an evaluation rule set since does not stop it.

The deployment’s settings (FELIX_SKILL_PUBLISH_MIN_QUALITY, FELIX_SKILL_PUBLISH_REQUIRE_EVAL and FELIX_SKILL_PUBLISH_MIN_EVAL_UPLIFT; see Deploy) are a floor. Admins can tighten it for the library under Publish policy at the foot of the Skills page, and never loosen it: a value set looser than the deployment’s is kept, and the deployment’s stays in force. The table shows each rule as the library set it beside the one in force, marking where the deployment’s setting won. Reset to the deployment’s settings drops the library’s rules. Members see the table.

The gate’s verdict is shown beside every Publish: on the Versions and Gate tabs, on a skill the agent proposes in a conversation, and on the Evaluations tab when the policy needs an evaluation. A draft the gate would refuse offers Edit to fix instead of Publish. Each publish or rollback asks the gate again before it is sent, and the library decides again when it arrives; a refused publish lists the reasons and changes nothing.

The policy has no security-scan rules and no waiting period for imports: this deployment does not scan skills for security issues, and does not record when an imported file was first seen.

Anyone signed in can say what a skill should do differently. Feedback waits as pending until an admin decides it; filing it changes nothing in the library. Admins see what waits across every skill under Feedback waiting for a decision on the library page, and on each skill’s Feedback tab.

  • Accept with Improve with AI (on by default) has the deployment’s default model rewrite the skill’s SKILL.md from the feedback, building on the version the feedback is about. The rewrite is saved as a draft by skill-improver, which waits for review like any other: it never goes live by itself. The feedback then reads applied and links the draft, with its diff against that version and Apply to editor to keep editing it.
  • Accept without it records the decision and nothing else. Where the deployment has no RUNS binding, rewrites cannot run and the choice is not offered.
  • Reject asks for a note saying why, kept on the feedback.

A rewrite is failed, with the reason, when the skill gained a newer version after the feedback was filed (file it again on the version you now mean), when that version was rejected, when no model answered, or when the model’s reply is not a valid SKILL.md for the same skill. A rewrite that shows no progress for five minutes is shown as stalled; it is tried at most three times.

An evaluation asks whether answers get better with a version of a skill than without it. Each scenario is answered twice by the deployment’s default model, once without the skill and once with its instructions, and the same model, acting as a judge, scores both answers from 0 to 100 against the scenario’s criteria. The judge never sees the skill and is not told which answer had it. The evaluation reports each side’s average, rounded, and the uplift: the with-skill score minus the baseline. An evaluation fails rather than guess when the judge gives no usable score.

The scenarios come from, in order:

  1. The bundle’s own: evals/scenarios.json (a list) and each evals/<name>/scenario.json (one each), at most 10. Each is {"name": …, "prompt": …, "criteria": …}; criteria is optional, and may be a list.
  2. Otherwise, up to 5 the model writes from the SKILL.md.
  3. Otherwise, 3 general ones built around the skill’s description.

A version’s first evaluation fixes its scenarios, so evaluating it again answers the same ones. For a version an agent wrote, generated and default scenarios come from the agent’s own text: only the bundle’s own evals/ scenarios test it independently, and the Evaluations tab says so.

Admins start one with Evaluate. One can be in flight per version, and five across the library. While it runs the tab re-reads it every few seconds. An evaluation fails with its reason when no model is configured, the model or the judge did not answer, the version’s SKILL.md cannot be read, it makes no progress for ten minutes, or after three attempts. Evaluating needs the RUNS binding and a model; without them the tab says it cannot run here.

Route Who Does
GET /v1/skills Anyone signed in The live catalog: each published skill as conversation runs see it.
GET /v1/skill-library Anyone signed in Every skill, archived ones included (with archived_at), with its live and newest version, how many drafts wait (drafts_waiting), the newest version’s state (newest_status), when it was made and its quality score (newest_created_at, newest_quality_score, whatever its state), and the newest waiting draft (newest_draft).
GET /v1/skill-library/<name> Anyone signed in A skill and all its versions.
GET /v1/skill-library/<name>/versions/<n>/files/<path> Anyone signed in One file of a version, as text.
GET /v1/skill-library/<name>/upstream Anyone signed in For an imported skill, whether its GitHub folder has a newer commit.
POST /v1/skill-library Admins Save {files, reason?, parent_version?} as a draft: a new skill, or with parent_version (the newest version) a new version of one.
POST /v1/skill-library/import Admins Import a public GitHub folder as a draft; see Import from GitHub.
POST /v1/skill-library/<name>/versions/<n>/publish Admins Make a draft live, or roll back to a superseded version. Optional {expected_live_version}: the version you saw live (null for none); the publish is refused if something else is live by then, or if the publish policy refuses it.
GET /v1/skill-library/<name>/versions/<n>/preview Anyone signed in What the publish gate would decide: policy_passes, the reasons, and the checks (quality, evaluation) and policy it used. Changes nothing.
GET /v1/skill-library/-/policy Anyone signed in The publish policy in force, the deployment’s floor (settings), the library’s own rules (library, or null), where the policy in force came from (source: settings, library or library+settings) and its revision.
PATCH /v1/skill-library/-/policy Admins Set some of the library’s rules: {expected_revision, min_quality?, require_eval?, min_eval_uplift?} (min_eval_uplift: null clears it). expected_revision is the revision you read.
DELETE /v1/skill-library/-/policy Admins Drop the library’s rules, so the deployment’s settings alone decide. Optional ?expected_revision=.
POST /v1/skill-library/<name>/archive Admins Archive the skill: conversation runs stop receiving it, everything is kept. No body. Answers {skill, changed}; skill.archived_at and archived_by say when and who, and changed is false if it was already archived.
POST /v1/skill-library/<name>/unarchive Admins Restore an archived skill as it was, live version included. No body. Answers {skill, changed}.
POST /v1/skill-library/<name>/versions/<n>/reject Admins Close a draft. Optional {note} (at most 1,000 characters), kept on the version as rejection_note.
GET /v1/skill-library/<name>/feedback Anyone signed in The skill’s feedback, newest first. Optional status, limit (1–100, default 50) and cursor (the page’s next_cursor). Each page also says improve_available.
POST /v1/skill-library/<name>/feedback Anyone signed in File {body, suggested_patch?, target_version?} as pending feedback (body at most 8,000 characters, suggested change 32,000).
GET /v1/skill-library/-/feedback Anyone signed in Every skill’s feedback in one status (pending by default), oldest first, paged the same way.
POST /v1/skill-library/-/feedback/<id>/accept Admins Accept pending feedback. {improve?, note?}: with improve (the default) a rewrite is saved as a draft.
POST /v1/skill-library/-/feedback/<id>/reject Admins Reject pending feedback with {note} (required, at most 2,000 characters).
GET /v1/skill-library/<name>/evals Anyone signed in The skill’s evaluations, newest first; optional version for one version’s. The answer also says evals_available.
POST /v1/skill-library/<name>/evals Admins Evaluate {version}. Answers 202 with the queued evaluation.

Uploads, imports, publications, rejections, archiving and unarchiving, feedback (filed, accepted, rejected), evaluations (queued, finished), publish policy changes and resets, and publishes the gate refused are in the audit log; a note or a feedback’s text is recorded there only by its length, never its text. A refusal is {"error": {"code": …}}:

Code Meaning
forbidden Only admins and the API token change the library.
skills_not_configured The deployment has no SKILLS binding.
invalid_bundle The bundle breaks the format; problems lists how.
bundle_too_large Over 200 files or 8 MiB.
skill_exists A new skill took a name already in use (an archived skill keeps its name); upload a new version instead.
skill_archived The skill is archived, so it takes no publish, rollback or new version, and its feedback no improvement; unarchive it first.
parent_changed Someone saved a newer version first; read the newest and try again.
too_many_drafts The model has 20 drafts waiting; decide some first.
library_full The library holds 1,000 skills.
live_changed Another version went live after the one in expected_live_version; check what is live and decide again.
version_rejected A rejected version cannot be published.
version_live The live version cannot be rejected.
invalid_skill_request The request is malformed, such as a note over 1,000 characters.
unknown_skill, unknown_version, unknown_file No such skill, version or file.
not_imported The skill’s newest version was not imported, so it has no source to check.
skill_file_unavailable A stored file no longer matches its digest.
feedback_conflict The feedback was already decided.
feedback_cap_reached 50 pieces of feedback are pending on the skill; decide some first.
unknown_feedback No such feedback.
improve_not_configured The deployment cannot run rewrites (no RUNS binding); accept with improve: false.
eval_in_progress An evaluation of this version is already queued or running.
eval_cap_reached Five evaluations are in flight across the library; try again when one finishes.
evals_not_configured The deployment cannot run evaluations (no RUNS binding or no model).
gate_refused The publish policy refused the version (HTTP 409); reasons says why.
policy_changed The publish policy changed after the revision you read; read it again.
invalid_policy A rule is out of range or unknown, or the change names none.
publish_policy_invalid The deployment’s FELIX_SKILL_PUBLISH_* settings do not parse (HTTP 503).