/meta:new-skillfrom meta
Use this skill to author a brand-new skill FROM SCRATCH — deciding its plugin/domain, folder name, file placement, and writing its SKILL.md, frontmatter, and initial metadata.yaml sidecar. Triggers for "create/add/write a new skill for X", "where does the SKILL.md go", "what's the naming convention or folder structure for a new skill", or "what goes in the description frontmatter" — including standing up a NEW domain plugin with its plugin.json, and choosing between a marketplace skill and one local to a single repo. This is about scaffolding a NOT-YET-EXISTING skill's structure and location, NOT about tuning, evaluating, or fixing an EXISTING skill's trigger behavior (skill-creator), and NOT about refreshing an EXISTING skill's metadata.yaml after its body/tools/scripts/hooks changed — that is the separate `meta:update-skill` skill. Also NOT for ordinary code, components, or config in a project. If the skill already exists, use `meta:update-skill` or `skill-creator` instead.
Ships in meta. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
In: a skill that does not exist yet · the marketplace repo · a person to answer the authoring questions · a domain, existing or about to be created.
Out: plugins/<domain>/skills/<name>/ holding SKILL.md, metadata.yaml,
evals/rubric.json — its trigger and acceptance halves — plus evals/result.json once measured ·
a one-line entry in README.md · for a new domain, its plugin.json · the owning plugin's version bumped.
Skills live in a marketplace plugin, never as loose flat folders. A skill belongs to a domain (the plugin); the domain is the folder, not a prefix on the skill name.
plugins/<domain>/skills/<skill-name>/SKILL.md
plugins/<domain>/.claude-plugin/plugin.json # one per domain
| Scope | Location |
|---|---|
| Shared across the org | this repo — plugins/<domain>/skills/<name>/ (the aquivalabs marketplace) |
| One specific repo only | that repo's .claude/skills/<name>/ for a quick repo-local skill |
There are no flat skills/<name>/ skills anymore, and nothing is "copied to a global location" —
a skill exists once, in its plugin, and is pulled via the marketplace.
The skill folder name is just <skill-name> — the domain is already the plugin folder. Use an
optional subcategory prefix inside the name when a domain needs grouping.
Format: <subcategory>_<skill-name> (or plain <skill-name> when no subcategory).
In use, skills are namespaced by domain: <domain>:<skill-name>.
| Domain (plugin) | Skill folder | Used as |
|---|---|---|
frontend-css | rem, scss-modules | frontend-css:rem, frontend-css:scss-modules |
frontend-js | conventions | frontend-js:conventions |
frontend-react | component-structure, hooks-registry | frontend-react:component-structure, frontend-react:hooks-registry |
git | commit | git:commit |
meta | new-skill, ockham | meta:new-skill, meta:ockham |
Within a domain the short name is fine (commit, rem) — the <domain>: namespace disambiguates, so
it never collides with a project's own skill. Split a broad domain into finer plugins
(frontend-css, frontend-react, frontend-js) when you want to enable subsets independently.
No name: frontmatter field. The skill folder name is authoritative and the callable id is derived
as <domain>:<folder> (e.g. folder new-skill in plugin meta → meta:new-skill). Do not add a
name: key — it is redundant, and a colon form (meta:new-skill) is invalid there anyway (the field
allows only [a-z0-9-]). Frontmatter is just description:.
---
description: Use when <triggering conditions>. <One phrase of purpose.>
<Do NOT use for Y (use Z instead) — only if a competing skill exists.>
---
# Skill Title
## Contract
**In:** what must be in place before this can be used.
**Out:** what exists afterwards — a printed line, a file, a property of the code.
---
## Instructions
Step-by-step instructions for Claude to follow.
Use ## sections, code blocks, tables as needed.
---
## Before you finish
1. Run <the check> → expect <result>.
2. Not clean? Fix it and repeat from 1.
3. You are done only when every line holds.
There is no ## When to Activate section. It duplicates the description, and the body is read
only AFTER the skill has been chosen — by which point activation already happened. Anything genuinely
about triggering belongs in the description; anything else is ordinary body prose.
## Before you finish is a PROCEDURE — take this, run that, what counts as clean. The list of
expectations is not repeated there; it lives once, in evals/rubric.json.
Answer the nine questions first, with the human — before writing any body. The answers ARE the
contract, the boundary and the acceptance criteria; written afterwards they get invented to fit
whatever was already typed. Full worked examples → references/authoring-method.md.
WHY IT EXISTS
1a Name ONE live occasion where it should fire. Not a category — what are you
actually doing at that moment.
1b What comes out in that case WITHOUT it? Show it, don't describe it.
1c And WITH it? Show that too.
HOW IT IS USED
2a What has to be in place for it to work at all?
2b What exists at the end? Show it literally.
2c What checks that? Name a command — or, if there is none, say where to look.
THIS ONE, OR THE NEIGHBOUR
3a Take one query it must fire on. Who else answers it? Name them.
3b If someone did — which of you wins, and under what condition?
3c What work looks like yours but isn't? Name it, and whose it is.
If 1b shows no problem, the skill should not exist — say so and stop. That is the whole point
of asking 1b first, and it is what both Anthropic's guidance and superpowers:writing-skills
demand before a line is written.
Where the answers land: 1b/1c → the eval queries · 2a/2b → ## Contract · 2c →
## Before you finish and evals/rubric.json · 3b → the boundary sentence in the
description · 3c → the negative eval cases.
Pick the domain (existing plugin) the skill belongs to, and a <name> per the convention above.
Create plugins/<domain>/skills/<name>/SKILL.md using the structure above.
Make the description: frontmatter specific enough that Claude activates it only when truly relevant.
New domain only: also create plugins/<domain>/.claude-plugin/plugin.json
({name, description, version, keywords, author:{name:"Roman Maslennikov", email:"[email protected]"}} — version is semver,
keywords an array for marketplace discovery), then enable <domain>@bladeforge in the
consuming repo's .claude/settings.json → enabledPlugins. .claude-plugin/marketplace.json is
hand-maintained — add the entry yourself. There is no generator: sync.sh was deleted in
c4f210e and nothing replaced it. The marketplace-sync CI check only verifies that every
plugins/<name>/ has an entry and vice versa; it never compares the description text, so drift
there is silent. Adding a skill to an existing domain needs no manifest change.
Add the skill's one-line entry to README.md by hand. Nothing generates it, and nothing
generates marketplace.json either. What IS generated is catalog.json, rebuilt by
scripts/gen_catalog.py and pushed by the scout-publish workflow after a merge — run it
locally to check your metadata.yaml compiles.
Run the metadata interview and write plugins/<domain>/skills/<name>/metadata.yaml. Every
skill ships this sidecar. Ask the human ONE field at a time, in this order:
| field | rule |
|---|---|
purpose | One-line human gloss. REQUIRED, non-blank. |
category | Recommended — EXACTLY ONE purpose bucket from the glossary below (a legacy skill may omit it). What the skill is FOR, so the catalog and showcase group by purpose, not by plugin namespace. |
best-for | Adoption-fit sentence. Optional — may be blank. |
needs | Other skill ids (<domain>:<name>) this one depends on. [] if none. |
changes.tags | MULTI-SELECT from the fixed glossary below. [] if the skill changes nothing. |
changes.notes | Free text. REQUIRED non-blank if other is among changes.tags. |
category glossary (pick the ONE that best fits; validated by scout_validate.py when set):
| category | means |
|---|---|
frontend | building UI — CSS, JS, React, i18n |
salesforce | the Salesforce platform — Apex, LWC, org tooling |
quality | review, critique, security, tests, error handling |
docs | docs, writing, diagrams, voice |
authoring | building skills themselves — scout, meta |
workflow | process — commits, planning, routing, triage |
changes.tags glossary (present these plain-language meanings when asking):
| tag | means |
|---|---|
git | touches git — commits, pushes, branches, rewrites history |
files | writes or edits files on disk |
network | goes to the network — HTTP calls, downloads, external APIs |
org | changes a Salesforce org — deploys, DML, writes records/metadata |
money | moves money — payments, billing, real financial operations |
other | none of the above — MUST be described in changes.notes |
Tag by what the skill CAN do when fully used, not just its default path. A skill that only reads
by default but conditionally shells out to git / gh / an API when the user asks still carries that
tag — say the default is read-only in changes.notes. Under-tagging a latent mutation is the failure
here, not over-tagging.
Do NOT ask about activates-when or schema-version — both are derivable, not authored:
activates-when is copied verbatim from the description: frontmatter by the catalog compiler
at build time, and schema-version is the constant 1. Write the sidecar in one atomic step
(temp file + rename, or equivalent) so a crash mid-write never leaves a half-written
metadata.yaml:
schema-version: 1
category: quality # exactly one purpose bucket from the glossary above
purpose: One-line human gloss — required, non-blank.
best-for: Adoption-fit sentence — optional, may be blank.
needs: [salesforce:dx_mcp] # skill ids in this marketplace; [] = nothing
changes:
tags: [org, network] # multi-select from the glossary; [] = none
notes: Free text.
Write the trigger half of evals/rubric.json — the queries that test whether the skill fires. An array of
{query, should_trigger}: the positives come from answer 1b/1c, the negatives from 3c (the work that
looks like yours but isn't). A handful each — enough to pin both edges of the boundary.
[
{ "query": "convert the px in this stylesheet to rem", "should_trigger": true },
{ "query": "make these sizes scale with the base font", "should_trigger": true },
{ "query": "fix the border-width on this chart svg", "should_trigger": false }
]
Write the acceptance half of evals/rubric.json — the list of expectations about the RESULT, straight from
answer 2c. Its own half of rubric.json, never folded into the trigger cases: those answer did the skill fire,
this one answers did the result come out right, and merging them lets a skill that fires
reliably while changing nothing read as green.
[
"no px remains in sizes or spacing in the changed styles",
"every size is expressed in rem against a 16px base"
]
A skill that produces nothing to check — one that only explains how a system is built — writes the reason instead, and the gate lets it through:
{ "not-applicable": "explains the data-router; produces nothing to check" }
Bundling a script the skill will call (scripts/*.py, scripts/*.sh)? If a line in that
script performs a mutation the scout gate would otherwise flag as suspicious (e.g. a stray
git push in a helper that never actually runs it), you may suppress that one false-positive by
adding a trailing # scout-ignore comment on that exact line — it is an authored escape hatch,
not a way to hide real behavior. Full guidance on when this is appropriate lives in the scout
skill; this is just the naming convention.
Editing an EXISTING skill or plugin? Bump its plugin.json version (semver). The installed
plugin cache is keyed by version — /plugin update only reinstalls a plugin when its version
changed. Edit a skill's body or description without bumping the owning plugin's version and the
change lives in git + the marketplace but never loads in a session: the stale cache keeps
serving the old copy and reload-skills reports "no changes". One bump per plugin per change set.
(For refreshing an existing skill's metadata.yaml after a later edit, use meta:update-skill
instead of repeating the interview here.)
The deep, tested methodology for writing a good skill lives in superpowers:writing-skills — read it
before authoring anything non-trivial. Do not duplicate it here. The house-enforced essentials:
description: purpose is allowed, procedure is not. Triggering conditions plus ONE phrase of
what the thing is. Never the steps — a description reading "dispatches subagent per task with code
review between tasks" made an agent run ONE review and never open the body, where the flowchart
showed two. Rewritten without the workflow, the same agent read the body and did both. A procedure
in the description is a shortcut agents take.description too, if a competitor exists. Use when X. Do NOT use for Y (use Z instead). It belongs there because the description is the only text read BEFORE the skill
is chosen — a boundary in the body arrives after the decision it was meant to inform. State a
CONDITION, not territory: where two skills share ground, "I own X" settles nothing, but "anonymous
Apex is mine, the MCP has no tool for it" does.references/. Push deep tables/examples into plugins/<domain>/skills/<name>/references/
and link one level deep — the SKILL.md stays an overview + quick-reference.## Contract says WHAT is promised.
## Before you finish says HOW to check it — steps, not claims. evals/rubric.json holds the
LIST of expectations, once. Every skill carries all three; one that produces nothing to check writes
not-applicable with a reason in the acceptance file rather than skipping it.references/. If no, the length is earned — record in one line why. Extract one level deep only,
and each extracted file must stand alone: an agent may read only its first hundred lines.references/, and the eval fixtures (class/object/field/org/ticket/repo/component/route names) —
must be invented for a neutral demo product (Order__c, WidgetConfig, myOrg, /api/items), reused
across skills. NEVER paste a real name from a work codebase: a real identifier is a leak, not a better example.Full house checklist (naming, plugin.json, sync, before-you-finalize) → references/authoring-best-practices.md.
The nine questions with worked examples, and the evidence behind every rule above →
references/authoring-method.md.
Invoke meta:skill-eval and follow it. Do not just run a command you remember: that skill
decides --type (a context-dependent skill is judged by no-regression, not by its absolute score),
forbids skill-creator's run_eval/run_loop (it counts a trigger only when Skill/Read is the
first tool call, so real tasks score a false ~0), and states what counts as a failure — a
should-NOT-trigger query that fires is a real defect, not a rounding error.
A guide skill also needs its EFFECT measured, not just its trigger. meta:skill-eval scores
whether the description fires; it says nothing about whether the guidance improves the output once it
does. If this skill's job is to shape what an agent produces — an authoring guide, a review lens, a
house-convention skill — it should also get the quality stage once it has a quality runner: 15 or
more tasks built with /claude-api build-eval, each run with the skill and without it, saved with
save-result.mjs --quality. eval-gate does not demand that record yet. docs/mechanisms/skill-eval.md describes the run. Skip it only for a
skill that produces nothing to shape.
Run the scripts from the repository, not from the installed plugin cache. The cache is keyed
by version and lags behind. meta:skill-eval holds the full procedure; in short:
node scripts/hillclimb/new-flow.mjs <skill-dir> # once per skill
node scripts/hillclimb/trigger-runner.mjs --flow <flow> --variant baseline \
--model claude-opus-5-5 --reps 5 --concurrency 8 # approve the harness first: meta:skill-eval step 3
node scripts/hillclimb/save-result.mjs <flow> baseline
A new skill is also climbed, because a fresh description almost always misses something. After
the baseline, run /claude-api hillclimb on the same flow and let it change only the
description: line. Then record its outcome — the winner is the variant hillclimb wrote to
_state.json.best:
node scripts/hillclimb/save-result.mjs <flow> <best-variant> --climb
eval-gate refuses a new skill without that record. "No headroom" and "within noise" are valid
verdicts; a missing record is not. The loop is Anthropic's — never write a loop of your own.
If meta:skill-eval is not installed at all, say it is required, ask for the meta plugin to be
enabled, and stop. Do not measure with skill-creator instead — a wrong harness produces the false
zeros the skill exists to prevent, and a false zero is worse than no number.
The measurement is not optional and has no escape hatch. If there is no live clone to run the
script from (a sandbox or detached worktree with no scripts/ reachable), the skill is not
finished — get a working clone and run the measurement before you call it done. Do not skip it, do
not defer it, do not write a placeholder result.json. A skill that ships unmeasured is the failure
this section exists to prevent.
ls plugins/<domain>/skills/<name>/ → SKILL.md, metadata.yaml, evals/rubric.json,
and evals/result.json once measurement has run (measurement is mandatory —
no clone reachable means not done, not skipped). The three authored files — SKILL.md, metadata.yaml,
evals/rubric.json — must all be present; result.json is produced by the measurement step, not authored.## Contract heading and no ## When to Activate heading. A plain
grep over-counts on any skill that quotes markdown in an example — read the hits rather than
trusting the number.python3 scripts/gen_catalog.py → exits clean.python3 scripts/validate_eval.py plugins/<domain>/skills/<name>/evals/rubric.json → prints
a hash rather than an error.plugin.json version is bumped — without it the skill never loads in a session.meta:skill-eval was invoked and its script run from the repo → evals/result.json exists, no
should-NOT-trigger query fired, and the verdict was read rather than glanced at.cerberus:security-scan was walked over the new skill's material and the eight-point confirmation
written to evals/result.json under security — all points with verdicts, and scanned_hash
from python3 scripts/validate_security.py --print-material-hash <skill-dir>. The pre-push
eval-gate blocks a skill that ships material without a fresh one; consumer safety has no skip flag.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub aquivalabs/bladeforge --plugin meta10 skills in this plugin
/lean-writingLean Writing — specs & brainstorming resultsUse this skill to WRITE terse technical documents. Trigger when asked to write, draft, summarize, present, or update a spec, design doc, RFC, brainstorming/exploration summary, or a decision log of options considered — e.g. "write the spec for…", "draft a design doc…", "write up the options we considered…", "present the brainstorming results…", "summarize the exploration we did…" — even if the user never says "concise". Produce short plain sentences, bullets over prose, no filler; caveman-simple but technically precise. NOT for normal conversation, code, or commit/jira messages, and NOT for reviewing or auditing an already-written doc for clarity or bloat (that's meta:wittgenstein)./model-routingModel Routing — the right model for every agentUse whenever the plan is to spawn, fan out, or parallelize agents — ANY multi-agent work, not just when models are mentioned. Triggers: "spawn/kick off subagents", "a bunch of agents in parallel", fleets that audit/comb/sweep/hunt across files, verify or skeptic stages, reviewer fan-outs, loop-until-done runs, authoring or editing a Workflow script (agent()/parallel()/pipeline()), or writing agent-definition frontmatter. Every spawned agent must get an EXPLICIT model tier assigned BEFORE it launches: reserve expensive head models for a small bounded set of final judges/synthesizers; mid-tier for judgment (review, verify, hunt); cheap tier for mechanical sweeps (grep, list, count, rename). Activate even when the user says nothing about models or cost — an omitted model silently inherits the pricey session model, and fan-out multiplies that waste by the agent count.