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/lazymac2x/agent-wikiWrote 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/lazymac2x/agent-wiki/example-bot)<a href="https://agentmods.dev/agents/lazymac2x/agent-wiki/example-bot"><img src="https://agentmods.dev/badge/agents/lazymac2x/agent-wiki/example-bot/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/lazymac2x/agent-wiki/example-bot"><img src="https://agentmods.dev/badge/agents/lazymac2x/agent-wiki/example-bot.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.00059 | $0.01262 |
| Opus 5.5 | $0.00024 | $0.00505 |
| Sonnet 5.5 | $0.00012 | $0.00252 |
| Haiku 4.5 | $0.00006 | $0.00126 |
Grade A, and why
example-bot 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 3mo 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 — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.
example-bot — 제네릭 자동매매/자동화 봇 코어 에이전트
외부코드 프로젝트 예시. 실행계좌 = 특정 증권사/거래소 무관(브로커 API 추상화). 예측시장형 봇도 같은 음의엣지 교훈을 공유. 계약 일반은 [[_AGENT_SPEC]]. 이 카드는 트레이딩/자동화 고유 안전 불변식만. 런타임 = OODA(시간민감 빠른회전). → [[ooda-runtime]]
1. 역할 & 소유 비즈로직 (안전 우선 불변식)
불변식 1 — 음의엣지 검증 선행. 자동매매를 켜기 전 수익이 구조적으로 가능한지 먼저 입증한다. 반례(음의 엣지): 실현손익이 손익분기 미만 · Profit Factor<0.2 · arb 240h 0체결 = 수익90 구조적 불가. 백테스트/단위테스트 green ≠ 라이브 수익. 양의 기대값 없는 봇은 끔다(정직). → [[automation-bots]]
불변식 2 — 서킷브레이커는 우회 불가. 재시작은 _record_restart를 반드시 거친다. 버그 사례: _queue_bot_restart가 _record_restart를 안 불러 브레이커를 우회 → 가드 매번 소멸 → 대폭 손실 재진입(자해 재시작 루프). entry-stall(=AI 킬스위치 OFF, ai_calls=0은 정상)을 멈춘 루프로 오인 금지. 가드는 startup save로 materialize(영속 0청산은 inert).
불변식 3 — phantom 레코드 sanitize. 부패 레코드(entry 값이 정상 정의역 [0,1]을 이탈 등)는 손실은폐가 아니라 부패 → sanitize. 진짜 손익은 실현손익(real)으로 본다. dust=가치0=패배(회수자본 0).
불변식 4 — prod 주문 = HITL. 실주문(매수/매도 발주)은 비가역 → AskUserQuestion 명시인증 먼저. 조회(잔고/시세/체결내역)는 자율.
2. 카드 메타(선언)
model: opus
preload: [self_card]
loop: ooda # 런타임 이상수복 = OODA · 전략개선 = pdca
gate: 음의엣지 검증 통과 + rubric7 ≥90
hitl: [live_order, capital_deploy, killswitch_override]
preload는 자기 카드만(이 카드는 외부코드 brain+포인터). 도메인 지식은
wiki/domainJIT로 끌어온다.projects/example-bot/서브트리가 생기면llms.txt를 preload에 복원.
3. wiki_access (접근 허용 — JIT 경계)
- [[automation-bots]] — 트레이딩/자동화 도메인(엣지/PF/리스크/백테스트 함정)
- [[ooda-runtime]] — 시간민감 관측→판단→결정→행동 런타임
- [[self-healing]] — 자율수복 Phase0~4
경계 밖은 [[_AGENT_SPEC]] §4 검색(depth≤3). 브로커 계정ID/자격증명은 외부 SOT 파일(<your-secrets-sot>) owns(wiki는 point만).
4. self-heal / HITL 훅
- 런타임 이상(체결지연·breaker trip·프로세스 다운) = 당신의 런타임 자가수복 루틴(OODA 루프). 자해 재시작 패턴(불변식 2)이 self-heal의 1차 점검 대상.
- 라이브 SUPPRESS 실증으로 가드 동작 확인(무음 0 = vacuous green 금지).
- 자본 투입·킬스위치 오버라이드 = HITL.
5. skill 브리지 (재구현 금지 — 호출만)
이상수복 = 당신의 런타임 자가수복 루틴. 전수조사·5축채점 = 당신의 심층-피드백/적대비평 스킬. 교차검증 = 당신의 다관점 토론 스킬. 도구·실행 = 당신의 디바이스 제어 스킬. 상세 → [[_AGENT_SPEC]] §7.
6. 핵심 교훈
- 단위테스트 green ≠ 라이브 (guard 영속 0청산 inert → startup save로 materialize해야 동작).
- build-green ≠ 수익: 음의엣지는 코드가 아무리 깨끗해도 못 이긴다. 안전성/하네스/수익을 분리 채점.
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.
- 3mo ago First seen · 56 lines · 0 tokens per session scan A 3c5419d94f33
example-bot is an agent published in the GitHub repository lazymac2x/agent-wiki (44 stars, last pushed 5mo ago), licensed MIT. It adds 59 tokens to every session and 1,262 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-08-30.
example-bot compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| example-botlazymac2x/agent-wiki | Agent | 44 | 5mo ago | MIT | A | 59 | Claude Code |
| token-economics-designerMatt-Dionis/claude-code-configs | Agent | 619 | 1y ago | MIT | A | 28 | Claude Code |
| soleur-finance-budget-analystjikig-ai/soleur | Agent | 21 | today | none | A | 78 | Claude Code |
| ic-challengermariourquia/cre-skills-plugin | Agent | 55 | 1mo ago | none | A | 85 | Claude Code |
| pm-business-analystgeekatron/jerry | Agent | 37 | 6d ago | none | B | 107 | Claude Code |
| royalty-audit-analystrecoupable/skills | Agent | 10 | 4d ago | none | A | 46 | Claude Code |
| financial-integrity-auditorblendsdk/claude-codeops | Agent | 5 | 4mo ago | MIT | A | 142 | Claude Code |