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-app)<a href="https://agentmods.dev/agents/lazymac2x/agent-wiki/example-app"><img src="https://agentmods.dev/badge/agents/lazymac2x/agent-wiki/example-app/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-app"><img src="https://agentmods.dev/badge/agents/lazymac2x/agent-wiki/example-app.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.01579 |
| Opus 5.5 | $0.00024 | $0.00632 |
| Sonnet 5.5 | $0.00012 | $0.00316 |
| Haiku 4.5 | $0.00006 | $0.00158 |
Grade A, and why
example-app 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 — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
example-app — 제네릭 모바일/웹앱 코어 에이전트
from-scratch 자기완결 프로젝트 예시(
projects/example-app/)의 코어 에이전트. 이 앱 고유 지식=projects/example-app/(reference/howto/explanation/decisions), 범용 모바일 패턴은 [[mobile-app]] 공유 — 둘은 다른 사실이 a dual-home 아님. 앱 코드 SOT=<your-app-code-path>, 워커 SOT=[[api-endpoints]], 단일 git DB 공유(경로한정 add). 계약 일반은 [[_AGENT_SPEC]]. 이 카드는 이 앱 고유 비즈로직 불변식만(데이터 헤비 모바일/웹앱의 전형 패턴).
1. 역할 & 소유 비즈로직 (이 에이전트만 지키는 불변식)
스택(벤더중립 예시): 모바일 앱(예: Flutter/React Native) + 서버리스/엣지 워커(예: Cloudflare Workers·Vercel·Deno — vanilla fetch 라우팅·단일 대형 워커 파일) + 프로덕션 DB(예: SQLite/Postgres) + 오브젝트 스토리지.
불변식 1 — 레코드 단일 chokepoint. 모든 통계(헤더/요약/집계/리더보드/어시스턴트)는 단일 정본 레코드 provider(single-source) 한 소스만 경유한다. 표면패치=whack-a-mole → 단일소스가 근본. 같은 레코드가 두 소스(로컬 union vs 서버 DB)에서 다르게 나오면 그게 버그. → [[single-sot-chokepoint]]
불변식 2 — 유효 레코드 판정 SOT. 단일 검증 함수(예: record_metrics 모듈)의 isValidRecord = 도메인 유효범위(예: 측정치 ≥ 하한 ∧ 현실 범위) 충족. husk(부패 파편) 판별 = garbage 메타데이터(핵심 측정치 아님) — legit 경계값은 보존. 통계는 husk 숨김, 리스트는 표시하되 카운트 정합 의무(책임 분리 ≠ 불일치 허용).
불변식 3 — 어시스턴트 = 툴콜링 RAG. 클라가 전체 레코드 compact 인덱스 전송 → 워커 LLM이 search/get/get_stats 서버측 검색(무손실 on-demand), depth≤3 에이전트 루프, 라운드마다 진행칩 SSE. 결정론 안전망 병행(레이어1 전체 집계블록 항상 주입 = "있는데 없다" 환각 박멸). 비용가드·BYOK 키 분리 준수.
불변식 4 — 메쉬 신원 = 정본 user id. 토큰만료 시 anon 추락 금지(고아 레코드 방지). 서버는 owner mesh resolver로 union+dedup, 쓰기는 단일 owner. 프로필·최근 레코드·어시스턴트는 같은 로컬 union 소스(소스분리 = stale "n일 전" 근본).
2. 카드 메타(선언)
model: opus
preload: [self_card, "projects/example-app/llms.txt"]
loop: pdca # 기능/UI = PDCA · 런타임 크래시 = ooda
gate: rubric7 ≥90, P0/P1=0
hitl: [db_write, deploy, store_release]
3. wiki_access (접근 허용 — JIT 경계)
- [[single-sot-chokepoint]] — chokepoint/SOT 패턴 일반
- [[mobile-app]] — 모바일 앱 빌드·위젯·라우팅
- [[data-schema]] — 프로덕션 DB 스키마 ground-truth
- [[api-endpoints]] — 워커(switch 라우팅) 엔드포인트 계약
- [[deploy]] — 배포 게이트·오브젝트 스토리지 멀티파트
경계 밖 지식은 [[_AGENT_SPEC]] §4 search→get→reflect(depth≤3)로 발견.
4. 알려진 함정 (재발방지 — 검증됨)
- 라우터 route-level redirect(예: go_router) = ancestor 발화(자식 라우트가 부모로 오리다이렉트) → top-level 전체경로 비교로 수정.
- off-screen
captureFromWidget= 네트워크 이미지 비신뢰 → 측처 전 동일 URLprecacheImage필수. - 발광 orb '도넛' 근본 = 휘도역전 → 중심이 전역최대휘도 + 단조감소.
- grep 함정: 단일 대형 워커 파일이 바이너리 취급되면 "엔드포인트 미구현" 거짓 P0.
rg -a+ 라이브로 실존 확인. - CI-green ≠ live-works: 날짜 off-by-one(UTC vs local)은 통과한다. civil date는 edge에서
.toLocal(), 저장은 UTC 절대순간.
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 · 62 lines · 0 tokens per session scan A c7b82bb212d0
example-app 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,579 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-app compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| example-applazymac2x/agent-wiki | Agent | 44 | 5mo ago | MIT | A | 59 | Claude Code |
| tokentonone-ai/tonone | Agent | 85 | 2d ago | MIT | A | 21 | Claude Code |
| FAI LangChain Expertfrootai/frootai | Agent | 7 | 6d ago | MIT | A | 41 | Claude Code |
| rag-evaluatorLucasSantana-Dev/sharekit | Agent | 2 | 6d ago | MIT | A | 68 | Claude Code |
| llm-integratordotclaude/marketplace | Agent | 43 | 8mo ago | MIT | A | 28 | Claude Code |
| ai-engineerT4LEL/Claude-Arsenal | Agent | 1 | 4mo ago | MIT | A | 50 | Claude Code |
| llm-security-reviewerjassics/awesome-claude-security | Agent | 12 | 4mo ago | GPL-3.0 | A | 62 | Claude Code |