add-tool
Skill1 starsChanged 2 months agoMITView on GitHub
Add a new MCP tool, or a whole new service integration, to Capes following the project conventions
- Reads credentials
10 other projects use a version of this.
Adopted by
Most recently taken up by
- ooloth/dotfilestheir own version, first seen Oct 5, 2026
- alunduil/alunduil-chezmoitheir own version, first seen Oct 4, 2026
- hhopke/intervals-icu-mcptheir own version, first seen Sep 2, 2026
- thecoderpanda/fde-starter-kittheir own version, first seen Sep 2, 2026
- PinMeTo/pinmeto-location-mcptheir own version, first seen Jul 29, 2026
- agenticstack-sh/agenticstack-skillstheir own version, first seen Jun 8, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- hhopke/intervals-icu-mcp★ 87same name
- takeshy/obsidian-llm-hub★ 36same name
- ooloth/dotfiles★ 24same name
- Cognigy/cognigy-plugin★ 16same name
- PinMeTo/pinmeto-location-mcp★ 15same name
- microsoft/PilotSwarm★ 4same name
- agenticstack-sh/agenticstack-skills★ 2same name
- alunduil/alunduil-chezmoi★ 2same name
- thecoderpanda/fde-starter-kit★ 2same name
- ficaviolaodorata520/met-museum-mcp-server★ 0same 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 repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- deploySkill
- run-testsSkill
- security-auditSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 1 is distinctive, and 6 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Add the tool described by $ARGUMENTS to this repository.
- Very specific: line 9
Read .claude/rules/tools.md, .claude/rules/dashboard.md's database section, and the module closest to the new service (pulse/discord.py for …
- Very specific: line 12
Read secrets with await creds.get("NAME") inside the function (checks the database, falls back to the env var of the same name) -- not …
- Very specific: line 13
Add the env vars to .env.example, docs/setup/vercel.md, and the installer prompts in scripts/capes.mjs (both install() and addEnv()) if the …
- Very specific: line 14
Add tests: offline where possible (see tests/gmail_offline.py, which fakes the remote server), otherwise an opt-in end-to-end script that …
- Very specific: line 16
Verify: run /run-tests, then python tests/check_docs.py, then confirm tools/list contains the new tool.
- Distinctive: line 19
Do not put real credentials, IDs or personal data anywhere in the repository.
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Add the tool described by $ARGUMENTS to this repository.
- Read
.claude/rules/tools.md,.claude/rules/dashboard.md's database section, and the module closest to the new service (pulse/discord.pyfor REST APIs,pulse/gmail.pyfor blocking libraries needing theContextVarpattern). - If the service is new, create
pulse/<service>.pyfrom${CLAUDE_SKILL_DIR}/template.py.txtand import it in bothapi/index.pyandscripts/gen_tools_doc.py(it has its own separatepulseimport list -- easy to update one and forget the other;tests/protocol.pycatches it if you do). Register it inpulse/connectors.py(aConnector(...), leavedb_backedat its defaultTrueunless there's a real reason not to). If the service already exists, add the function to its module. - Pick the honest
hint(read,write,destructive). Write a description a language model can act on, with argument descriptions and enums. - Read secrets with
await creds.get("NAME")inside the function (checks the database, falls back to the env var of the same name) -- notos.getenvdirectly. RaiseToolErrorwith a fix-it message when a token or permission is missing. - Add the env vars to
.env.example,docs/setup/vercel.md, and the installer prompts inscripts/capes.mjs(bothinstall()andaddEnv()) if the service needs credentials. - Add tests: offline where possible (see
tests/gmail_offline.py, which fakes the remote server), otherwise an opt-in end-to-end script that never runs against real user data by default. - Documentation: run
python scripts/gen_tools_doc.pyto regeneratedocs/usage/tools.md(never hand-edit it), thendocs/setup/<service>.md(how to get the credentials and permissions), a row in the README services table, the tool names in the README tool list, and a line indocs/usage/troubleshooting.md. - Verify: run
/run-tests, thenpython tests/check_docs.py, then confirmtools/listcontains the new tool. - Report what you added, what you tested, and anything you could not test.
Do not put real credentials, IDs or personal data anywhere in the repository.
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.

