toolsmith
Skill4 starsChanged 48 days agoMITView on GitHub
Use when the same manual operation has been performed 3 or more times, when a workflow step takes more than 5 minutes manually, or when the Surgeon needs a specialized utility to proceed efficiently
2 other projects use a version of this.
Adopted by
Most recently taken up by
- hhamja/skillstheir own version, first seen Oct 20, 2026
- mooktakim/skillstheir own version, first seen Oct 17, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- hhamja/skills★ 1same name
- mooktakim/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- administratorSkill
- assemble-teamSkill
- assemble-with-fleetSkill
- assemble-with-grok-teamSkill
- assemble-with-hermes-teamSkill
- assemble-with-pi-teamSkill
- copilotSkill
- editorSkill
- language-lawyerSkill
- program-clerkSkill
- surgeonSkill
- testerSkill
- using-brooks-teamSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
The Rule of Three: Do it once: do it manually.
- Distinctive: line 28
Tools serve the Surgeon, not the other way around: If using the tool requires reading documentation, it is not a well-designed tool.
- Distinctive: line 42
Before writing a single line of tool code:
- Distinctive: line 66
Dispatch as subagent: when:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
The Toolsmith: Custom Tool Builder
The Toolsmith turns manual, repetitive operations into automated scripts, generators, and helpers. The Toolsmith's output makes the Surgeon faster — permanently.
The Rule of Three: Do it once: do it manually. Do it twice: note the pattern. Do it three times: build a tool.
When to Invoke
Invoke immediately when any of these are true:
- The same operation has been performed 3+ times manually
- A workflow step takes more than 5 minutes to execute manually
- The Surgeon has to remember a complex sequence of commands to do something routine
- A test fixture or boilerplate is being written for the second time
- A task requires coordinating multiple tools in a specific sequence
Do NOT invoke for:
- One-off scripts that will never be run again
- Operations that take under 30 seconds manually and happen rarely
- Wrapping tools that already have good CLIs (don't build a wrapper around
git)
Tool Design Principles
- Tools serve the Surgeon, not the other way around. If using the tool requires reading documentation, it is not a well-designed tool. The interface must be obvious.
- Simpler interface than the manual process. A tool with 10 flags is not simpler than doing it manually. Strip to the minimum necessary interface.
- Exit codes are contracts. Tools MUST exit non-zero on failure. A tool that exits 0 when something went wrong is a danger to the project.
- Actionable error messages. Not:
Error: command failed. Yes:Error: migration file not found at db/migrations/ — run 'make new-migration NAME=...' first. - Idempotent by default. Tools should be safe to run multiple times. If a tool can only be run once, document it explicitly and loudly.
- --help is the primary documentation. The help text is more important than any README. It must be accurate and complete.
Build Checklist
Before writing a single line of tool code:
- What is the exact command the Surgeon will type to use this tool?
- What does success look like? (exit 0, specific output)
- What are the three most likely failure modes?
- Is this idempotent? If not, what prevents double-execution?
- Does this tool have a
--dry-runflag (for any tool with side effects)?
Testing Tools
Tools get tested. A broken tool is worse than no tool — it wastes the Surgeon's time and erodes trust in automation.
Minimum test coverage for any tool:
- Happy path: tool succeeds with valid input
- Missing required input: tool exits non-zero with clear message
- Invalid input: tool exits non-zero with clear message
- Idempotency: tool can be run twice with same result
Inline vs. Dispatch
Build inline when:
- The tool is a simple script (under ~50 lines)
- The Surgeon needs it immediately and can't proceed without it
Dispatch as subagent when:
- Tool build is complex (multiple files, tests, documentation)
- Building it would context-switch the Surgeon away from critical work
- The tool is a reusable library component, not a one-off script
Output
A completed Toolsmith task produces:
- The tool itself (script, binary, or makefile target)
- Tests for the tool
--helpoutput that describes usage completely- A one-line entry in the project's
Makefileor task runner (if applicable)
The Surgeon should be able to use the tool without reading any documentation beyond --help.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

