Repository navigation
Skill Authoring
How to write a skill for an augur plugin. This page holds the main points and the rules specific to this marketplace; the official docs hold the detail. Read the linked section before going deeper than this page.
Sources (read 2026-11-22; re-read before relying on a number):
- Skill authoring best practices: the main how-to. Cited below as BP
- Agent Skills overview: how skills load, and each surface. OV
- Claude Code skills: Claude Code's extra frontmatter and behaviour. CC
- Equipping agents for the real world with Agent Skills: why skills work this way
- Agent Skills specification: the open SKILL.md format
A skill loads in three levels, so only what the task needs costs tokens (OV "How Skills work"):
| Level | What | When it loads | Cost |
|---|---|---|---|
| 1. Metadata |
name and description
|
Always, at startup | About 100 tokens per skill |
| 2. Body | The rest of SKILL.md
|
When the description matches the task | Keep under 5k tokens |
| 3. Bundled files |
references/*.md, scripts, templates |
Only when the body points Claude at them | Nothing until read; a script's output only, never its code |
Design every skill around this:
- The description decides whether the skill is ever used. Level 1 is all Claude sees when choosing.
-
The body is a map, not a manual. Core steps and decisions in
SKILL.md; detail in files it names. -
Reference files MUST link directly from
SKILL.md. One level deep: a file that links to another file risks Claude reading it only partially (BP "Avoid deeply nested references").
-
name: at most 64 characters; lowercase letters, numbers, and hyphens; MUST NOT containanthropicorclaude. Gerund form is preferred (processing-pdfs); avoid vague names (helper,utils,data). -
description: non-empty, at most 1,024 characters, no XML tags.
A good description (BP "Writing effective descriptions"):
- Third person. "Answers questions about…", not "I can help…" or "You can use this to…".
- Says what it does and when to use it, with the words a user would actually type. "Helps with documents" never triggers reliably.
- Under 500 lines. Split into reference files as it nears that (BP).
- Claude is already smart. Cut every sentence Claude does not need; explain only what is specific to us (BP "Concise is key").
- Match freedom to risk. Plain guidance where many approaches work; exact steps where one mistake is costly, such as writes to live data (BP "Set appropriate degrees of freedom").
- Workflows get a checklist and a check. Number the steps, and for risky work loop "validate, fix, repeat" before moving on (BP "Use workflows", "Implement feedback loops").
- One default, not a menu. Give one way to do it, plus an escape hatch.
- One term per thing. Do not alternate "connector", "server", and "integration" for the same thing.
- No dates or "new as of". Time-sensitive notes go stale; keep them out.
The three patterns (BP "Progressive disclosure patterns"):
-
Guide plus references.
SKILL.mdgives the overview and linksreferences/<topic>.mdfor each deep area. - By domain. One file per domain (for example one per ERP area), so Claude reads only the relevant one.
-
Conditional detail. The common case inline; "for X, read
references/x.md" for the rest.
Rules:
- Name files for their content (
references/pricing-rules.md, notdoc2.md). Forward slashes only. - A reference file over 100 lines starts with a table of contents.
- For a script, say whether Claude should run it or read it.
These come from where our plugins run (Platform-Support#what-each-surface-loads) and MUST hold for every skill:
-
Chat-safe frontmatter. Only
name,description,license,compatibility,metadata,allowed-tools. Any other key (when_to_use,disable-model-invocation,argument-hint,model,paths, …) is a hard error on claude.ai (CC).claude plugin validatedoes not catch it; review MUST. -
No local machinery. No reliance on Bash,
gh, git,jq, local files, the clipboard, or Chrome: chat has none.!`command`injection does not run on claude.ai (CC). Anything Claude Code-only MUST say so.-
Exception: workflow skills (augur-build's
wiki,repo,code) exist to run git,ghand the project's scripts. They MAY rely on them when they say what happens on each surface (a table or a short paragraph) and do something useful in chat without them (draft, review). Invoking one of their subcommands is the approval for the writes that subcommand lists; that replaces "ask before every write" below for those writes only.
-
Exception: workflow skills (augur-build's
-
Tools by connector name, not prefix. BP asks for fully qualified tool names (
ServerName:tool_name). The raw prefixes differ by surface (mcp__claude_ai_<Connector>__…vsmcp__plugin_<plugin>_<key>__…), so name the connector by its display name and the tool by what it does: "the Augur API connector's discovery tool". Connector names: Plugin-Format#connectors. - Do not repeat the connector. Each augur server sends its own instructions (workflow, scoping, write rules). A skill adds what sits around the connector, and MAY restate a safety rule (such as confirm before writing) on purpose.
- Ask before every write. A skill that can change live data MUST show the exact change and wait for a yes. Low freedom, per BP.
- Public text. "ERP", Prophet 21 named minimally, no internal table or field names, no client names or ids, even as examples (Development#banned-strings-check).
- Skills, not commands. Commands are the older format and load as skills in chat anyway.
BP "Build evaluations first" and "Develop Skills iteratively", in short:
- Write three realistic tasks the skill must handle, and note how Claude does without it.
- Write the minimum that fixes the gaps.
- Test in a fresh session on each surface (Testing#each-plugin), and with the models users will run.
- Watch how Claude navigates: files it skips, reads twice, or reads in an odd order point to a structure problem.
There is no built-in eval runner on claude.ai; test by hand there. Claude Code's skill-creator skill can help draft and measure a skill.