Help us improve
Share bugs, ideas, or general feedback.
From bopen-tools
Decommissions bOpen team agents by coordinating plugin/code removal with Satchmo and ClawNet infrastructure teardown with Johnny, including bots, sandboxes, and BAP identities.
npx claudepluginhub b-open-io/claude-plugins --plugin bopen-toolsHow this skill is triggered — by the user, by Claude, or both
Slash command
/bopen-tools:agent-decommissioningThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Safely retire a bOpen team agent — removing it from the plugin, ClawNet, routing, and all references. This is a coordinated two-specialist workflow.
Safely removes plugin assets (skills, agents, rules, scripts, hooks) by detecting dependencies and cleaning up references. Invoke via /safe-remove for decluttering.
Provides end-to-end checklist for onboarding new bOpen agents: design identity/expertise, create folder/symlink structure, Paperclip registration, roster addition, optional ClawNet bot deployment.
Guides creation and configuration of autonomous agents for Claude Code plugins, covering frontmatter, triggering descriptions, system prompts, tools, teams, permissions, and best practices.
Share bugs, ideas, or general feedback.
Safely retire a bOpen team agent — removing it from the plugin, ClawNet, routing, and all references. This is a coordinated two-specialist workflow.
Satchmo (agent-builder) owns the plugin/code side. Johnny (clawnet-mechanic) owns ClawNet infrastructure teardown.
Neither should proceed without the other completing their side.
Before touching anything, confirm the intent and scope.
Confirm retirement vs. update — Is this agent being permanently retired, or does it need an update/rename? If unsure, ask before proceeding.
Check for dependents — Search for references to the agent across the plugin repo:
cd ~/code/prompts
grep -r "<agent-name>" agents/ skills/ .claude-plugin/ --include="*.md" --include="*.json" -l
Check Martha's routing rules — Read the front-desk agent to find any routing logic that dispatches to this agent:
grep -i "<agent-name>" ~/code/prompts/agents/front-desk.md
Check skills-lock.json:
grep "<agent-name>" ~/code/prompts/skills-lock.json 2>/dev/null
Determine if the agent has a live ClawNet bot — Run clawnet bot list (or ask Johnny) to check. If a bot exists, Johnny must handle teardown before Satchmo removes the plugin file.
Document findings before proceeding. If other agents or skills reference the retiring agent, plan those updates as part of this workflow.
If the agent has a live ClawNet bot deployment, delegate to Johnny (clawnet-bot:clawnet-mechanic) for full infrastructure teardown. Do not skip this phase if a bot exists — orphaned sandboxes waste resources.
Invoke: Skill(clawnet:clawnet-cli) before issuing any ClawNet commands.
Johnny's teardown steps:
Identify the bot:
clawnet bot list
Locate the bot by name or associated agent identity.
Stop the sandbox:
clawnet bot stop <bot-name>
Archive or remove the BAP identity — The bot has a Bitcoin Attestation Protocol identity. Archive it if the identity history matters; remove it if a clean break is preferred. Johnny knows the right call here based on the bot's history.
Remove from ClawNet bot registry:
clawnet bot delete <bot-name>
Confirm deletion with clawnet bot list — the bot should no longer appear.
Signal completion to Satchmo — Once the sandbox is stopped and bot removed, Johnny confirms so Satchmo can proceed with plugin removal.
Key repos for Johnny: ~/code/clawnet and ~/code/clawnet-bot.
Proceed only after Phase 2 is complete (or confirmed that no bot exists).
Working directory: ~/code/prompts (bopen-tools plugin source).
Remove the agent file:
rm ~/code/prompts/agents/<agent-name>.md
Remove the agent's avatar (if one exists):
ls ~/code/prompts/agents/avatars/
rm ~/code/prompts/agents/avatars/<agent-name>.*
Update .claude-plugin/plugin.json — If the agent was explicitly listed in the plugin manifest, remove its entry. Read the file first:
cat ~/code/prompts/.claude-plugin/plugin.json
Edit to remove the agent reference, then bump the plugin version (patch bump for removal).
Check skills-lock.json for any references to the agent and remove them.
Search for residual references across the plugin repo:
grep -r "<agent-name>" ~/code/prompts --include="*.md" --include="*.json" -l
Fix or remove any remaining references.
Update Martha (front-desk) — Remove the routing rule that dispatches to the retired agent. Read ~/code/prompts/agents/front-desk.md, find the routing entry, and delete it. Martha must not route to an agent that no longer exists.
Update bOpen.ai roster — If there is a roster file or UI that lists team members, remove the retired agent's entry.
Update any agents whose prompts reference the retired agent — From the Phase 1 grep results, edit each file that mentions the retiring agent and remove or update the reference. Common locations:
## Skills sections<agent-name> for X"Stage all changes:
cd ~/code/prompts
git status
git add -A
Review the diff — Confirm only the expected files are changed. No unintended modifications.
Commit:
git commit -m "Remove <agent-name> agent (decommissioned)"
Push to master — Pushing to master IS publishing. The marketplace picks up the latest commit automatically:
git push origin master
After publishing, confirm the decommissioning is clean.
Confirm the agent no longer appears in the plugin — After users run claude plugin update bopen-tools@b-open-io, the agent should not appear in claude agent list.
Verify Martha no longer routes to the retired agent — Test with a query that would previously have been routed to the retired agent. Martha should either return "not available" or route elsewhere.
Check for broken references — Search the updated repo one more time:
grep -r "<agent-name>" ~/code/prompts --include="*.md" --include="*.json"
This should return no results.
Confirm no orphaned sandbox — Johnny verifies clawnet bot list no longer shows the removed bot.
| Task | Owner |
|---|---|
| Confirm retirement intent | Satchmo |
| Dependency audit | Satchmo |
| ClawNet bot stop | Johnny |
| BAP identity teardown | Johnny |
| Bot registry removal | Johnny |
Agent .md file removal | Satchmo |
| Avatar removal | Satchmo |
| Plugin manifest update | Satchmo |
| Martha routing update | Satchmo |
| Roster update | Satchmo |
| Cross-agent reference cleanup | Satchmo |
| Publish (git push) | Satchmo |
| Post-publish verification | Both |
~/code/prompts~/code/prompts/agents/~/code/prompts/agents/avatars/~/code/prompts/.claude-plugin/plugin.json~/code/prompts/agents/front-desk.md~/code/clawnet and ~/code/clawnet-bot