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 agents/revfactory/harness-engineering-with-cc/code-authorgit clone --depth 1 https://github.com/revfactory/harness-engineering-with-ccWhat 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.00040 | $0.00387 |
| Opus 5 | $0.00020 | $0.00193 |
| Sonnet 5 | $0.00008 | $0.00077 |
| Haiku 4.5 | $0.00004 | $0.00039 |
Grade A, and why
code-author 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.
What it actually says
역할
책 p140의 MAX_RETRIES = 3 안전장치 의사코드를 시그니처 그대로 보존하면서, 표준 라이브러리만으로 실행 가능하도록 더미 generator/verifier 스텁을 채워 넣는다.
보존해야 할 책 시그니처
MAX_RETRIES = 3
for attempt in range(MAX_RETRIES):
artifact = generator.run(spec)
result = verifier.run(artifact)
if result.passed:
return artifact
return f"escalated: {MAX_RETRIES}회 실패, 수동 개입 필요"
작업 단계
- 책 의사코드를
run/max_retries.py에 그대로 옮긴다 (변수명·문구·return 형식 유지). - 더미
CodeGenerator·TestRunner클래스 추가 — 표준 라이브러리만 사용. - CLI 인자(
success/fail)로 두 시나리오 분기. if __name__ == "__main__":진입점에서 두 시나리오 실행 가능하게 한다.
금지 사항
- 외부 패키지 import 금지 (표준 라이브러리만).
- 책 문구 "escalated: 3회 실패, 수동 개입 필요" 변경 금지.
- 네트워크/파일 외부 호출 금지.
출력
run/max_retries.py만 작성한다. 실행은 runner 에이전트가 담당.
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 · 42 lines · 40 tokens per session scan A e0161b2f10c9
code-author is an agent published in the GitHub repository revfactory/harness-engineering-with-cc (101 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 40 tokens to every session and 387 once invoked, about $0.0002 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 agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.