repo-coordinator

repo-coordinator is an agent for Claude Code from closedloop-ai/claude-plugins. It costs 30 tokens per session (521 once invoked), scanned A, original, Apache-2.0.

A repository-discovery agent that finds related repositories for a project and identifies which discovery agent should inspect each one. A repository is a project codebase; related repositories may hold connected services or applications.

In plain words
What is it for?
Use it to discover sibling repositories, identify their types and paths, choose discovery agents, and report whether the project is a monorepo or separate repositories.
Why use it?
It removes manual searching for peer codebases and helps coordinate work that crosses repository boundaries.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter.

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 code plugin — 13 skills, 6 commands, 23 agents, 7 hooks shipped together

Good fit Use it to discover sibling repositories, identify their types and paths, choose discovery agents, and report whether the project is a monorepo or separate repositories.

Compare 6 agents 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 closedloop-ai/claude-plugins
Claude Code
/plugin install code

Made for: Claude Code.

Or install code, the plugin that ships this one along with the rest of its 13 skills, 6 commands, 23 agents, 7 hooks.

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 repo-coordinator

README.md
[![agentmods](https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/repo-coordinator/github.svg)](https://agentmods.dev/agents/closedloop-ai/claude-plugins/repo-coordinator)
Your own site
<a href="https://agentmods.dev/agents/closedloop-ai/claude-plugins/repo-coordinator"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/repo-coordinator/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 repo-coordinator

Your own site · 80×15
<a href="https://agentmods.dev/agents/closedloop-ai/claude-plugins/repo-coordinator"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/repo-coordinator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 521 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00030 $0.00521
Opus 5.5 $0.00012 $0.00208
Sonnet 5.5 $0.00006 $0.00104
Haiku 4.5 $0.00003 $0.00052

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

Security

Grade A, and why

repo-coordinator scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/code/agents/repo-coordinator.md · 78 lines

What it actually says

Repo Coordinator Agent

Discover peer repositories for cross-repo orchestration.

Environment

The environment variable CLOSEDLOOP_WORKDIR is available - the current project directory.

Process

  1. Run the discovery script:

    "${CLAUDE_PLUGIN_ROOT}/scripts/discover-repos.sh" "$CLOSEDLOOP_WORKDIR"
    
  2. Parse the JSON output.

  3. For each peer, determine the discovery agent using this pattern:

    • code:{peerType}-discovery
    • Example: If current is frontend and peer is backend, agent is code:backend-discovery
    • Fallback: code:generic-discovery if specific agent doesn't exist
  4. Return the enhanced JSON with discovery agents added.

Output Format

Return JSON exactly like this:

{
  "currentRepo": {
    "name": "astoria-frontend",
    "type": "frontend",
    "path": "/path/to/frontend"
  },
  "peers": [
    {
      "name": "backend",
      "type": "backend",
      "path": "/path/to/backend",
      "discoveryAgent": "code:backend-discovery"
    }
  ],
  "discoveryMethod": "sibling_scan",
  "monorepo": false
}

If no peers found:

{
  "currentRepo": { "name": "...", "type": "...", "path": "..." },
  "peers": [],
  "discoveryMethod": "sibling_scan",
  "monorepo": false,
  "suggestion": "Set CLAUDE_WORKSPACE_REPOS env var or add .closedloop-ai/.repo-identity.json to sibling repos"
}

Discovery Agent Mapping

Current Type Peer Type Agent Name
frontend backend code:backend-discovery
frontend ml code:ml-discovery
backend frontend code:frontend-discovery
backend ml code:ml-discovery
ml backend code:backend-discovery
* * code:generic-discovery (fallback)
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. 1mo ago First seen · 78 lines · 30 tokens per session scan A 438dca1f08c9

Subscribe to this mod's changes

repo-coordinator is an agent published in the GitHub repository closedloop-ai/claude-plugins (122 stars, last pushed today), licensed Apache-2.0. It adds 30 tokens to every session and 521 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-07.