build-agent · anthropics — Claude Code skill: what it does, how to install
build-agent turns a chore you do by hand into a named skill. You call it by name or run it on a schedule.
Apache-2.0 386 installs ★ 36,654 updated 2026-10-24
npx skills add anthropics/knowledge-work-plugins --skill build-agent -a claude-codeWhat build-agent does
build-agent starts from a task you just did in the conversation, or from your account of the last time you did it. The corrections you made along the way matter most, since they show where your judgment sits. Next it separates what stays fixed, such as order and sources, from what changes each run and from the points where you decide.
Approval gates go where a step sends, publishes, spends or deletes, and where you hesitated. It won't ask before every step. The finished SKILL.md uses your vocabulary: if you say "carrier file", the skill says carrier file. Then it runs the skill on a case whose answer you already know and sets the result beside yours. If they differ, it rewrites the skill and runs it again.
Last, it registers the skill with smb-router so a plain request reaches it, and offers a schedule. For team sharing it spells out who gets the skill and what data it can reach. A shared skill that emails anyone should stay draft-only, because someone who didn't build it doesn't know its assumptions. build-agent won't write a skill that sends or spends without approval gates, whatever you ask.
What it helps with
- turn a weekly reconciliation into a skill you call by name
- put a recurring task on a schedule, such as every Monday
- pull the rules out of a conversation where you corrected the agent as you went
- place approvals only on irreversible steps and the ones you hesitated over
- share a skill with the team after agreeing what data it can reach
Example prompts for the agent
- I build this report by hand every week. Make it a skill I can ask for by name.
- Use build-agent to turn what we just walked through into a reusable skill.
- Automate this so it runs every Monday.
How to install build-agent
1Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill build-agent -a claude-code2Manually: put the files in place
~/.claude/skills/build-agent/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/build-agent/
1Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill build-agent -a codex2Manually: put the files in place
.agents/skills/build-agent/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill build-agent -a cursor2Manually: put the files in place
.cursor/skills/build-agent/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install anthropics/knowledge-work-plugins small-business/skills/build-agent2Manually: put the files in place
.github/skills/build-agent/SKILL.md1Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill build-agent -a gemini-cli2Platform CLI
gemini skills install https://github.com/anthropics/knowledge-work-plugins --path small-business/skills/build-agentManually: put the files in place
.devin/skills/build-agent/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill build-agent -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about build-agent
How do I install build-agent in Claude Code?
Run npx skills add anthropics/knowledge-work-plugins --skill build-agent -a claude-code. The skill file ends up at ~/.claude/skills/build-agent/SKILL.md.
What does build-agent do?
It takes a repeated task you do by hand and writes a skill for it, with approval gates. It then tests the skill on a case you know, registers it with smb-router and offers a schedule.
Can the skills it builds send things without asking me?
No. build-agent does not write skills that send or spend without approval gates. For shared skills that send anything, it recommends draft-only mode.
Source text
SKILL.md · Apache-2.0
--- name: build-agent description: > Turns a task the owner keeps doing by hand into a named, reusable skill they can trigger by name or put on a schedule. Watches them do it once or listens to them describe it, works out what varies and what stays fixed, writes the skill with approval checkpoints in the right places, registers it with the router, and shares it with the team. This is how a business gets a workflow nobody shipped for them. Use this whenever the owner describes something repetitive they wish were automatic — including phrasings like "I do this every week," "can you remember how to do this," "make this a thing I can just ask for," "build me an agent," "automate this for me," "turn this into a workflow," or "I want this to happen every Monday." Reach for it when they describe a routine, even without asking for automation. allowed-tools: Read, WebFetch --- # Build Agent Turn something the owner does every week into something they ask for by name. This is what keeps the plugin from having to ship every industry's workflow. No catalog can cover a septic contractor's permit routine or an insurance agency's carrier commission reconciliation. Those owners can build them. ## Step 1 — Watch it happen, or hear it described Two starting points, and the first is much better. **Best: they just did it in this conversation.** If the owner has walked through the task with you — pulled the files, made the decisions, corrected you twice — that transcript is the specification. Extract it rather than re-interviewing them. The corrections they made are the most valuable part, because they encode judgment the owner would never have thought to state. **Otherwise: they describe it.** Ask them to walk through the last time they did it, concretely. Real specifics beat an abstract description every time — "last Tuesday I pulled the carrier file, matched it against what we'd booked, and chased six discrepancies" tells you more than "I reconcile commissions." Read `reference/capture.md` for how to get a complete picture without an interrogation. ## Step 2 — Separate what varies from what stays fixed This is the whole craft of the step. A skill that hardcodes last Tuesday's specifics only works on last Tuesday. For each part of the task, decide: - **Fixed** — the sequence, the sources, the output format, the rules - **Varies** — dates, names, amounts, which file, which customer - **Judgment** — the parts where the owner decides, which become approval gates The corrections the owner made while walking through it usually mark the judgment points. When someone says "no, not that one — we skip anything under USD 50," that is a rule. When they say "hmm, depends," that is an approval gate. ## Step 3 — Find the approval gates Every step that sends, spends, publishes, or deletes needs a gate. So does every step where the owner hesitated. Do not gate everything — a skill that asks permission nine times is worse than doing it by hand. Gate the consequential and the ambiguous, and let the rest run. Read `reference/skill_authoring.md` for where gates belong and how to phrase them. ## Step 4 — Write it Produce a real skill in the same shape as everything else in this plugin: a `SKILL.md` with frontmatter and numbered steps, plus a `reference/` folder if the detail warrants it. Requirements it must meet, same as every shipped skill: - Name and folder match, lowercase with hyphens - Description says what it does **and** when to trigger, in third person - A real fallback for when a connector is missing - Approval gates on anything consequential - Never invents a number; missing data is reported as missing **Write it in the owner's terms, not in generic business language.** If they call it "the carrier file," the skill says carrier file. A skill full of unfamiliar vocabulary is one they will not trust to run unattended. ## Step 5 — Test it on a real case, before they rely on it Run the new skill against a case the owner already knows the answer to — ideally the exact one they walked through. Show the output next to what they got by hand. This is the step that determines whether the skill gets used. An owner who has seen it reproduce a known-good result will schedule it. One who hasn't will run it manually and check it every time, which saves nothing. If it doesn't match, fix the skill and run it again. Do not ask the owner to accept a near-miss. ## Step 6 — Register and set the cadence Add it to `smb-router` so plain-English requests reach it, and record the trigger phrases the owner actually uses. If it is a recurring task, offer to schedule it. Scheduling is what converts "a skill I could run" into "something that happens without me," which is the outcome they wanted. ## Step 7 — Share it, with approval Offer to share with the team. Say what sharing means: who gets it, what data it can reach, and what it can do unattended. **Be specific about the risk when a skill sends, spends, or writes.** A skill that emails customers, running for someone who did not build it and does not know its assumptions, is a real hazard. Recommend draft-only for shared skills that send anything. ## What not to do - **Do not re-interview about a task they just walked through.** The transcript is the spec. - **Do not hardcode the example.** Names, dates, and amounts vary; the sequence does not. - **Do not gate every step.** Nine approvals is worse than doing it by hand. - **Do not skip the test run.** An untested skill gets checked manually forever, which saves nothing. - **Do not write it in generic business language.** Their words, or they won't trust it. - **Do not build something that sends or spends without approval gates.** Ever, regardless of what the owner asks for. ## After the build The owner now has a named skill they can trigger or schedule. If the new skill hit a tool that isn't connected, "connect to my ERP" (`build-connector`) is the natural next step — it turns the missing system into a working source. Also nearby: "brief me" to fold the new output into the daily picture, and "Monday brief" if the skill should feed the weekly one. Offer at most three, and skip any offer the owner already declined this session. ## Reference files - `reference/capture.md` — getting a complete picture of the task without an interrogation - `reference/skill_authoring.md` — the structure, frontmatter, and where approval gates belong - `reference/gotchas.md` — the failure modes that produce a skill nobody uses
© anthropics · Apache-2.0 · anthropics/knowledge-work-plugins
Similar skills
All skills for Automation and no-code: n8n, Zapier, Make →build-agent by other authors comes first.