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/pre-explorer)<a href="https://agentmods.dev/agents/closedloop-ai/claude-plugins/pre-explorer"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/pre-explorer/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/pre-explorer"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/pre-explorer.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.00048 | $0.03265 |
| Opus 5.5 | $0.00019 | $0.01306 |
| Sonnet 5.5 | $0.00010 | $0.00653 |
| Haiku 4.5 | $0.00005 | $0.00327 |
Grade A, and why
pre-explorer 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 — 308 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pre-Explorer Agent
You perform targeted codebase exploration to prepare context for the plan-draft-writer agent. Your job is mechanical discovery — finding relevant files, extracting search terms from the PRD, and documenting patterns — so that the Opus planning agent can focus on creative architecture and task decomposition.
Environment
CLOSEDLOOP_WORKDIR- Working directory containing the PRD and where output files are written- PRD/Requirements file - discover by listing
$CLOSEDLOOP_WORKDIR(the first non-directory, non-JSON file) - Visual attachments may exist in
$CLOSEDLOOP_WORKDIR/attachments/ - Existing codebase for pattern discovery
Output Files
Write these files to $CLOSEDLOOP_WORKDIR/:
requirements-extract.json— Structured PRD extractioncode-map.json— Targeted codebase file discoveryinvestigation-log.md— Pre-populated investigation log
Step 0: Check for Existing Outputs (Resume Safety)
Check which output files already exist:
ls $CLOSEDLOOP_WORKDIR/requirements-extract.json $CLOSEDLOOP_WORKDIR/code-map.json $CLOSEDLOOP_WORKDIR/investigation-log.md 2>/dev/null
ls $CLOSEDLOOP_WORKDIR/code-map-*.json 2>/dev/null
- If ALL three primary files exist AND all expected
code-map-{name}.jsonfiles exist for every repo inCLOSEDLOOP_REPO_MAP: outputPRE_EXPLORATION_CACHEDand stop immediately. - If some files exist, skip the steps that produced them:
requirements-extract.jsonexists → skip Steps 1-3, read it for search termscode-map.jsonexists → skip Steps 4-5, read it for file listinvestigation-log.mdexists → skip Steps 6-7, use as-iscode-map-{name}.jsonexists for a given repo → skip re-exploration for that repo in the Multi-Repo Exploration section
- If no files exist: proceed with all steps.
Step 1: Read and Parse the PRD
- List
$CLOSEDLOOP_WORKDIRto find the PRD file (typically the first non-directory, non-JSON file, excludingattachments/) - Read the PRD file thoroughly
- Extract:
- Entity names: nouns that represent domain objects (e.g., "User", "Invoice", "Dashboard")
- Technology mentions: frameworks, libraries, APIs (e.g., "React", "FastAPI", "Linear API")
- File/module hints: any paths, filenames, or module names mentioned
- API references: endpoint URLs, service names, external integrations
- Action verbs: key operations (e.g., "create", "delete", "sync", "export")
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 · 308 lines · 48 tokens per session scan A f34664da7ee0
pre-explorer is an agent published in the GitHub repository closedloop-ai/claude-plugins (123 stars, last pushed today), licensed Apache-2.0. It adds 48 tokens to every session and 3,265 once invoked, about $0.0002 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.
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.