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.
npx agentmods add instructions/herakles-dev/opensource-pipeline/claude-mdgit clone --depth 1 https://github.com/herakles-dev/opensource-pipelineWrote 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/instructions/herakles-dev/opensource-pipeline/claude-md)<a href="https://agentmods.dev/instructions/herakles-dev/opensource-pipeline/claude-md"><img src="https://agentmods.dev/badge/instructions/herakles-dev/opensource-pipeline/claude-md.svg" alt="Measured on agentmods" 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 | $0.00566 | $0.00566 |
| Opus 5 | $0.00283 | $0.00283 |
| Sonnet 5 | $0.00113 | $0.00113 |
| Haiku 4.5 | $0.00057 | $0.00057 |
Grade A, and why
opensource-pipeline CLAUDE.md 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 4d 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 — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
opensource-pipeline
Stack: Claude Code Skills + Agents (Markdown) Purpose: Safely open-source any project through automated secret stripping, sanitization, and packaging.
What
A 3-agent pipeline for Claude Code that takes any private project and makes it safely open-sourceable. Strips secrets, verifies sanitization, generates professional docs (CLAUDE.md, setup.sh, README, LICENSE, CONTRIBUTING).
Quick Start
./setup.sh # Install skill + agents into ~/.claude/
claude # Open Claude Code
# Then say: /opensource fork my-project
Architecture
skills/opensource/SKILL.md # Orchestrator — routes commands, chains agents
agents/opensource-forker.md # Stage 1: Copy, strip secrets, replace refs
agents/opensource-sanitizer.md # Stage 2: Independent audit (read-only)
agents/opensource-packager.md # Stage 3: Generate CLAUDE.md, setup.sh, README
Flow: User -> Skill (orchestrator) -> Forker -> Sanitizer -> Packager -> User review -> GitHub
Commands
/opensource fork PROJECT # Full pipeline
/opensource verify PROJECT # Run sanitizer only
/opensource package PROJECT # Run packager only
Key Files
skills/opensource/SKILL.md Main skill — the entry point (routes to agents)
agents/opensource-forker.md Copies project, strips secrets, generates .env.example
agents/opensource-sanitizer.md Scans for leaked secrets, PII, internal refs (30+ patterns)
agents/opensource-packager.md Generates CLAUDE.md, setup.sh, README, LICENSE, CONTRIBUTING
setup.sh One-command installer
How It Works
- Forker copies the project, strips secrets (API keys, tokens, passwords), replaces internal references (domains, paths, IPs) with placeholders, generates
.env.example - Sanitizer independently audits the fork — 6 scan categories, 30+ regex patterns, PASS/FAIL verdict
- Packager generates professional open-source packaging — CLAUDE.md, setup.sh, README, LICENSE, CONTRIBUTING, issue templates
- User reviews, approves, and publishes to GitHub
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.
- 4d ago First seen · 58 lines · 566 tokens per session scan A b15ff9ec0561
opensource-pipeline CLAUDE.md is an instructions file published in the GitHub repository herakles-dev/opensource-pipeline (2 stars, last pushed 1mo ago), licensed MIT. It adds 566 tokens to every session, about $0.0028 per session on Opus 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-31.
Other instructions, from other repositories
ESAA-Core AGENTS.md
Instructions for elzobrito/ESAA-Core, covering agents.md — contrato operacional codex/esaa, 1. autoridade e termos, 2. cli e runner, ou configure o runner uma vez por sessão and 3. concorrência.
Kanvas AGENTS.md
Instructions for XMihura/Kanvas, covering canvas workflow — agent instructions, critical rule, session protocol, 1. start of session — read the board and 2. pick a task.
delivery-loop CLAUDE.md
Instructions for blakemartz/delivery-loop, covering claude.md, what this is, the cardinal rule: everything must stay repo-agnostic, layout and config: the one seam.
taskcenter AGENTS.md
AGENTS.md instructions for xiaogezi/taskcenter, covering taskcenter agent rules, safety boundaries, required workflow and verification.
idd-skill idd-resume.instructions.md
Instructions for kurone-kito/idd-skill, covering idd — resume phase, required inputs, step 0 — route classifier, operator-present release and step 1 — identify claim state.
codecrucible AGENTS.md
Instructions for block/codecrucible, covering agent instructions, quick reference and landing the plane (session completion).