manage

manage is a skill for Claude Code from Borda/AI-Rig. It costs 173 tokens per session (8,913 once invoked), scanned B, original, Apache-2.0.

A lifecycle manager for creating, editing, renaming, and deleting Claude Code agents, skills, rules, and hooks.

In plain words
What is it for?
Use it to create or update agents, skills, and rules, rename components safely, edit hook files, remove obsolete items, and clean up broken references.
Why use it?
It keeps related references and the project inventory consistent when configuration components change.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the foundry plugin — 10 skills, 10 agents shipped together

Good fit Use it to create or update agents, skills, and rules, rename components safely, edit hook files, remove obsolete items, and clean up broken references.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Borda/AI-Rig
Claude Code
/plugin install foundry

Made for: Claude Code.

Or install foundry, the plugin that ships this one along with the rest of its 10 skills, 10 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for manage

README.md
[![agentmods](https://agentmods.dev/badge/skills/borda/ai-rig/manage/github.svg)](https://agentmods.dev/skills/borda/ai-rig/manage)
Your own site
<a href="https://agentmods.dev/skills/borda/ai-rig/manage"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/manage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for manage

Your own site · 80×15
<a href="https://agentmods.dev/skills/borda/ai-rig/manage"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/manage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 173 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,913 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00173 $0.08913
Opus 5.5 $0.00069 $0.03565
Sonnet 5.5 $0.00035 $0.01783
Haiku 4.5 $0.00017 $0.00891

Measured 18d ago against content hash 1de7b194d127, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

manage scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Use Grep (pattern `[a-z]+:[a-z]+(-[a-z]+)*` to find cross-plugin references, or `See [a-z-]+ agent` for cross-references, glob `{agents/*.md,skills/**/*.md}`, path `SOURCE_ROOT`, output mode `content`). Avoid broad kebab
plugins/cc_foundry/skills/manage/SKILL.md · 412 lines

How it starts

The opening of the file, as written. The whole thing — 412 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Note: disable-model-invocation: true — /foundry:manage user-invoked only, no Skill() chaining from orchestrators. When suggesting /foundry:manage as follow-up, invoking skill must present as user-run command, not auto step.

Manage lifecycle of agents, skills, rules, hooks in .claude/; plugin-source Markdown content-edits with --local. Handles creation with rich domain content, atomic renames with cross-ref propagation, content editing (routed by file type — Step 4), clean deletion with broken-ref cleanup.

  • $ARGUMENTS: required, one of:

    • create agent <name> "description" — create new agent with generated domain content
    • create skill <name> "description" — create new skill with workflow scaffold
    • create rule <name> "description" — create new rule file with frontmatter and sections
    • update <name> <new-name> — rename; type auto-detected from disk
    • update <name> "change description" — content-edit (routing: Step 4)
    • update <name> <spec-file.md> — content-edit from spec file (routing: Step 4)
    • delete <name> — delete; type auto-detected from disk (agents, skills, rules, hooks); asks user if ambiguous
    • add perm <rule> "description" "use case" — add permission to settings.json allow list and permissions-guide.md
    • remove perm <rule> — remove permission from settings.json allow list and permissions-guide.md
  • Names must be kebab-case (lowercase, hyphens only)

  • Descriptions must be quoted when containing spaces

  • Permission rules use Claude Code format: WebSearch, Bash(cmd:*), WebFetch(domain:example.com)

  • --skip-audit — optional flag: skip Step 9 /foundry:audit validation (use inside audit fix loop to avoid recursion)

  • --local — resolve plugin-source agents, skills or rules for update content-edit only; use a quoted directive or spec file. Creation, rename, deletion, hooks and permission operations reject this flag. foundry:curator owns source agent/skill Markdown edits; the parent owns rule Markdown edits. The installed cache is never an edit target.

  • Spec-file paths must be quoted — update <name> <spec-file.md> requires spec path quoted if it contains any whitespace (e.g. update my-agent "docs/My Spec.md"); unquoted paths with spaces split into multiple arguments, trigger argument-shape mismatch. Recommended: keep spec filenames free of spaces.

Update/delete mode — name looked up across agents, skills, rules and hooks automatically:

  • One match on disk → proceed with that type
  • Multiple matches → use the single type-selection AskUserQuestion in Step 1
  • No match → report error and stop

Update second-argument discrimination:

  • Two bare kebab-case args (second arg no spaces, no .md extension) → rename mode, confirmed interactively before any write (Step 1 rename confirmation gate) — an unquoted change directive such as update my-agent add-error-handling has this exact shape and would otherwise delete my-agent
  • One name + quoted string → content-edit mode (routing: Step 4)
  • One name + path ending in .md → content-edit mode (routing: Step 4)

Examples:

  • /foundry:manage create agent task-planner "Planning specialist for decomposing epics into actionable tasks"
  • /foundry:manage update my-agent "add a section on error handling patterns"
  • /foundry:manage update optimize docs/specs/YYYY-MM-DD-<spec-name>.md
  • /foundry:manage delete old-agent-name
  • /foundry:manage add perm "Bash(jq:*)" "Parse and filter JSON" "Extract fields from REST API responses"
  • AGENTS_DIR: .claude/agents

  • SKILLS_DIR: .claude/skills

  • RULES_DIR: .claude/rules

  • HOOKS_DIR: .claude/hooks

  • AVAILABLE_COLORS: red, blue, green, yellow, purple, orange, pink, cyan

  • AGENT_WATCH_DIR: .temp/manage · deadlines: web-explorer 300 s · sw-engineer 900 s · curator 900 s

Every spawn in this skill (Step 4 mode files, Step 5 cross-ref curator, Step 9 targeted curator, challenger gate) follows _shared/agent-spawn-protocol.md §Deadlines. Spawns here are sequential, one agent in flight at a time, so every spawn response overwrites .temp/manage/agent-watch-manage.tsv with that one agent's row (<name>\t<deliverable or ->\t<deadline>) via the Write tool — never a waiting tool (ScheduleWakeup, ListAgents, Monitor), probe, or sleep. On its completion notification run the check block once, before reading its output:

Read the full file on GitHub · 412 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 18d ago Changed · +14 lines · -39 tokens per session 1de7b194d127
  2. 28d ago Changed · +2 lines 56204b9ab2d1
  3. 1mo ago Changed · -406 lines · +27 tokens per session 3b4eb34a16ba
  4. 1mo ago Changed 1672db43d39a
  5. 1mo ago Changed · +12 lines 0e683c399f51
  6. 2mo ago Changed · -5 lines 3890b0806eee
  7. 2mo ago Changed · +9 lines e3507d666043
  8. 2mo ago Changed 87374318e623
  9. 2mo ago Changed 8ae66c01dc2f
  10. 2mo ago First seen · 786 lines · 185 tokens per session scan B 74441c3cf864

Subscribe to this mod's changes

manage is a skill published in the GitHub repository Borda/AI-Rig (31 stars, last pushed yesterday), licensed Apache-2.0. It adds 173 tokens to every session and 8,913 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

manage compared with skills from other repositories

manage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
manageBorda/AI-RigSkill31yesterdayApache-2.0B173Claude Code
i18n-parityhoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA95Claude Code, Codex
file-headershoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA101Claude Code
productivity-scorehoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA67Claude Code, Codex
dashboard-statushoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA69Claude Code, Codex
dag-maphoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA65Claude Code, Codex
regression-watchhoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA82Claude Code, Codex