add-buddy
Skill9 starsChanged 8 months agoMITView on GitHub
Register a new AI CLI as a buddy — interactive wizard or one-liner
- Installs packages
In this repository11 other files it gives its agents.
- brainstormSkill
- campfireSkill
- codex-reviewSkill
- codexSkill
- forgeSkill
- gemini-reviewSkill
- geminiSkill
- leaderboardSkill
- opencode-reviewSkill
- opencodeSkill
- tribunalSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 11 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Run the registration script directly:
- Distinctive: line 38
Verify the buddy was registered:
- Distinctive: line 44
Check if the binary is available:
- Distinctive: line 55
Ask for the binary name (what to type on the command line to run it).
- Distinctive: line 56
Ask for display name (defaults to the ID).
- Very specific: line 57
Ask which modes it supports: exec (run tasks), review (code review), or both.
- Distinctive: line 58
Ask for install hint (optional — shown when the binary isn't found).
- Distinctive: line 59
Ask for timeout (default 360s).
- Distinctive: line 60
Run the registration script with gathered info.
- Distinctive: line 61
Test if the binary exists on PATH.
- Distinctive: line 76
If the binary isn't found:
- Distinctive: line 86
Test the binary: after registration. Report found/not-found status.
≈ “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
/add-buddy — Register a New AI Buddy
Register any CLI-based AI tool as a buddy so it participates in /forge, /brainstorm, and /tribunal.
How to invoke
One-liner:
/add-buddy --id aider --binary aider --display "Aider" --modes execInteractive (just the name):
/add-buddy aiderStep-by-step workflow
If args are complete (--id and --binary provided):
- Run the registration script directly:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/buddy-register.sh" \
--id "ID" \
--binary "BINARY" \
--display "DISPLAY_NAME" \
--modes "MODES" \
--install-hint "HINT" \
--timeout SECS- Verify the buddy was registered:
cat "${HOME}/.claudes-ai-buddies/buddies/ID.json"- Check if the binary is available:
source "${CLAUDE_PLUGIN_ROOT}/hooks/lib.sh"
ai_buddies_find_buddy "ID" && echo "Found" || echo "Not found"- Report the result.
If interactive (only name/id provided):
- Ask for the binary name (what to type on the command line to run it).
- Ask for display name (defaults to the ID).
- Ask which modes it supports:
exec(run tasks),review(code review), or both. - Ask for install hint (optional — shown when the binary isn't found).
- Ask for timeout (default 360s).
- Run the registration script with gathered info.
- Test if the binary exists on PATH.
- Report success.
Output format
Registered buddy 'aider':
Binary: aider
Display: Aider
Modes: exec, review
Status: FOUND on PATH (/usr/local/bin/aider)
The buddy will now appear in /forge, /brainstorm, and /tribunal.If the binary isn't found:
Status: NOT FOUND — install with: pip install aider-chat
The buddy is registered but won't participate until the binary is available.Rules
- ID must be alphanumeric (plus hyphens/underscores). Reject anything else.
- Don't overwrite builtin buddies (claude, codex, gemini, opencode). Warn and ask for a different ID.
- Test the binary after registration. Report found/not-found status.
- Never pass secrets in registration.
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.

