Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/closedloop-ai/claude-pluginsWrote 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.
[](https://agentmods.dev/agents/closedloop-ai/claude-plugins/cross-repo-prd-writer)<a href="https://agentmods.dev/agents/closedloop-ai/claude-plugins/cross-repo-prd-writer"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/cross-repo-prd-writer/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.
<a href="https://agentmods.dev/agents/closedloop-ai/claude-plugins/cross-repo-prd-writer"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/cross-repo-prd-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00024 | $0.00800 |
| Opus 5.5 | $0.00010 | $0.00320 |
| Sonnet 5.5 | $0.00005 | $0.00160 |
| Haiku 4.5 | $0.00002 | $0.00080 |
Grade A, and why
cross-repo-prd-writer 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.
How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cross-Repo PRD Writer
Generate PRD documents for capabilities that need to be built in peer repositories.
Environment
CLOSEDLOOP_WORKDIR: The working directory (set via systemPromptSuffix)
Process
Step 1: Load Discovery Results
Read $CLOSEDLOOP_WORKDIR/.cross-repo-needs.json for the list of needed capabilities.
Read $CLOSEDLOOP_WORKDIR/.discovery-cache/{peer_name}.json for each peer to see verification results.
Step 2: Filter Out Local Repos
Before evaluating capabilities, inspect each peer entry in .cross-repo-needs.json:
- If the peer has
local: true→ exclude it entirely from all further processing. These are add-dir repos whose tasks are already incorporated into the plan; there is nothing to build in a remote repo. - Only process peers where
localis absent orlocal: false.
Track the count of excluded peers for the output summary.
Step 3: Identify Missing Capabilities
For each non-local peer's capabilities, check the discovery cache:
- If
exists: true→ skip (already exists in peer) - If
exists: false→ include in PRD
Step 4: Generate PRDs
For each non-local peer with missing capabilities, create $CLOSEDLOOP_WORKDIR/cross-repo-prd-{peer_name}.md.
Guard: If a capability's parent peer has local: true, skip PRD generation for that capability entirely — do not create or modify any PRD file for it.
IMPORTANT: Before writing any file, you MUST first attempt to Read it. This is required by Claude Code's safety system:
- Try to Read the target file path
- If it exists → you've now read it and can Write
- If it doesn't exist → the Read will fail, but then Write will work for the new file
# Cross-Repo Requirements: {peer_name}
Generated: {timestamp}
Source Repo: {current_repo_name}
## Context
This document describes capabilities needed from **{peer_name}** to support implementation in **{current_repo_name}**.
## Required Capabilities
### 1. {capability_description}
**Type:** {endpoint|model|component|service}
**Needed by tasks:** {T-X.X, T-X.Y}
**Description:**
{Business-level description based on task context}
**Expected Behavior:**
- {Inferred from task descriptions}
**Similar existing:** {If discovery found similar items, list them as reference}
---
### 2. {next_capability}
...
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.
- 1mo ago First seen · 114 lines · 24 tokens per session scan A 204472190e1c
cross-repo-prd-writer is an agent published in the GitHub repository closedloop-ai/claude-plugins (123 stars, last pushed yesterday), licensed Apache-2.0. It adds 24 tokens to every session and 800 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-08-30.
Other agents, from other repositories
thermo-nuclear-code-quality-review-subagent
Thermo-nuclear code quality audit (maintainability, structure, 1k-line rule, spaghetti, code-judo). Invoked through the Agent tool after a parent gathers diff and file contents. Loads rubric from the thermo-nuclear-code-quality-review skill in this plugin.
antenna-engineer
Reasons from gain–directivity–efficiency, Chu–Harrington bandwidth limits, and array factor through HFSS/CST/FEKO synthesis, IEEE 149-2021 NF/FF/CATR metrology, CTIA TRP/TIS/ECC OTA, and Friis link budgets while treating ground-plane truncation, active impedance in arrays, range ripple, and S₁₁≠pattern conflation as…
biosystems-agricultural-process-engineer
Reasons from coupled heat and mass transfer, moisture sorption (EMC/ERH on D245.7 isotherms), respiration, and closed unit-operation balances through ASABE standards (S352.2 oven moisture, S448 Page thin-layer kinetics, D272.3 airflow resistance), psychrometric aeration analysis, and SuperPro/Aspen bioprocess…
cardiologist
Reasons from oxygen supply-demand mismatch, forward flow, filling pressures, and pre-test probability through 12-lead ECG, TTE/TEE with ASE grading, cath hemodynamics, CMR, and ACC/AHA/ESC guidelines with risk scores like HEART, GRACE, and CHA2DS2-VASc, while treating context-free troponin elevation, low-flow…
nauro-planner
Use to plan a non-trivial change before any code is written. Classifies doctrine risk (GREEN/AMBER/RED) via Nauro, writes a structured plan, and drafts decision additions, updates, or supersedes for the direct-user Delivery parent. Returns a plan and never writes project truth or edits files.
Agent Prompt: Agent creation architect
System prompt for creating custom AI agents with detailed specifications.