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 skills/regenrek/codex-proofloop/proofloop-sol-lunanpx skills add regenrek/codex-proofloop --skill proofloop-sol-lunagit clone --depth 1 https://github.com/regenrek/codex-proofloopWhat 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.00058 | $0.00757 |
| Opus 5 | $0.00029 | $0.00378 |
| Sonnet 5 | $0.00012 | $0.00151 |
| Haiku 4.5 | $0.00006 | $0.00076 |
Grade A, and why
proofloop-sol-luna 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 2d 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 — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Proofloop: Sol and Luna
Keep Sol responsible for intake, architecture, the sole-writer patch, integration, and the final decision. Luna is optional and read-only. This variant runs directly in Codex and does not require an orchestrator, pane manager, watcher, daemon, or long-lived heartbeat.
Start from project policy
-
Find the repository root and read every applicable
AGENTS.md. -
Locate the project profile named there. If none exists, adapt assets/project-profile.template.json and the AGENTS.md template inside the project.
-
Create one run contract from assets/run-contract.template.json. Keep paths project-relative and use one literal focused validation command.
-
Validate both documents:
python3 scripts/validate_config.py path/to/project-profile.json path/to/run-contract.json
Stop if policy, scope, ownership, or the source task is ambiguous. Never inspect credential contents or copy credentials into prompts, logs, contracts, or evidence.
Run the loop
- Validate the profile and run contract.
- Before the first edit, run
python3 scripts/test_distillation_gate.py snapshotwith absolute project, profile, and contract paths. - Execute BUILD or HARDEN exactly as the contract declares.
- Run the literal focused validation command.
- Run
test_distillation_gate.py settlewith the same three paths. - If
luna_modeselectsbounded-verifier, start one fresh read-only Luna review only after the candidate is frozen. If the host cannot provide that capability, stop and report it; never fake the review or replace it with a background watcher. - Let Sol integrate the result and return one evidence-backed handoff.
The test lifecycle is BUILD -> ACCEPT -> HARDEN -> DISTILL -> PROMOTE OR DROP. Do not add tracked
tests while implementation is still changing. Temporary probes belong only in the declared ephemeral
directory and must be removed before settlement. Acceptance starts a new HARDEN contract and a new
baseline; never switch phases inside one contract.
What ships with it
9 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.
- agents/openai.yaml 254 B
- assets/AGENTS.md.template.md 2.0 KB
- assets/project-profile.template.json 1.8 KB
- assets/run-contract.template.json 1.7 KB
- assets/test-admission.template.json 1.0 KB
- references/orchestration.md 2.1 KB
- references/testing.md 4.9 KB
- scripts/test_distillation_gate.py 19 KB runs code
- scripts/validate_config.py 22 KB runs code
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.
- 2d ago First seen · 65 lines · 58 tokens per session scan A 44ce0589bc7b
proofloop-sol-luna is a skill published in the GitHub repository regenrek/codex-proofloop (38 stars, last pushed 21d ago), licensed MIT. It adds 58 tokens to every session and 757 once invoked, about $0.0003 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-30.
Other skills, from other repositories
agent-integration
Run all three agent integration phases sequentially: research, write-tests, and implement using E2E-first TDD (unit tests written last). For individual phases, use /agent-integration:research, /agent-integration:write-tests, or /agent-integration:implement. Use when the user says "integrate agent", "add agent…
engram-testing-coverage
TDD and coverage standards for Engram. Trigger: When implementing behavior changes in any package.
test-generation
Use when the user asks for tests, mentions TDD, or when new code has been written and needs test coverage.
code-assist
Guides implementation of code tasks using test-driven development in an Explore, Plan, Code, Commit workflow. Acts as a Technical Implementation Partner and TDD Coach — following existing patterns, avoiding over-engineering, and producing idiomatic, modern code.
tdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
css-design-tdd
Test-driven CSS design system modifications. Run checks before/after CSS changes to verify token usage, variable definitions, fallbacks, and consistency. Use when modifying CSS tokens, fixing design inconsistencies, or auditing CSS architecture.