Borrowing it
Nothing to install: this file belongs to ultra-ai-dle/frogger. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ultra-ai-dle/frogger/develop/.claude/commands/docs-audit.mdgit clone --depth 1 https://github.com/ultra-ai-dle/froggerWrote 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/commands/ultra-ai-dle/frogger/docs-audit)<a href="https://agentmods.dev/commands/ultra-ai-dle/frogger/docs-audit"><img src="https://agentmods.dev/badge/commands/ultra-ai-dle/frogger/docs-audit/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/commands/ultra-ai-dle/frogger/docs-audit"><img src="https://agentmods.dev/badge/commands/ultra-ai-dle/frogger/docs-audit.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.00000 | $0.02753 |
| Opus 5.5 | $0.00000 | $0.01101 |
| Sonnet 5.5 | $0.00000 | $0.00551 |
| Haiku 4.5 | $0.00000 | $0.00275 |
Grade A, and why
docs-audit 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 27d 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 — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/docs-audit — Markdown 문서 전수 정합성 점검·수정
입력
$ARGUMENTS— (선택) 특정.md파일 경로 또는 디렉토리. 미지정 시 저장소 전체(mocks/제외) 스캔.
배경·목표
- 이 저장소의 Markdown 문서가 코드·실제 동작과 어긋난 상태이며, 그 문서를 신뢰해 코딩·문서 작성이 이어지면서 오류가 전파되고 있다.
- 목표:
mocks/이하를 제외한 모든 Markdown을 현재 코드베이스 기준으로 검토하고, 불일치·과장·구식 설명을 수정한다. 본문뿐 아니라.md안의 다이어그램(Mermaid 등) 도 동일하게 코드·실제 동작과 맞는지 검증한다(다이어그램은 오해를 크게 키우므로 특히 엄하게 본다). - 원칙: 기존 Markdown의 주장은 검증 전까지 신뢰하지 않는다. 반드시 소스 코드·설정·타입 정의와 대조한다.
/api/explain 처리 원칙 (삭제 예정)
POST /api/explain(및app/api/explain/)은 삭제 예정이다. 저장소에 라우트 파일이 남아 있어도, 문서·점검 관점에서는 제공되지 않는 기능·없는 API로 취급한다.- 문서에서 할 일:
- 제품 기능·아키텍처·다이어그램·클라이언트 흐름에 explain을 넣지 않거나, 이미 있으면 삭제·축약한다.
- "향후 연동""라우트만 존재" 등 코드 존재를 전제로 한 설명도 지양하고, 분석은
/api/analyze중심만 남긴다. - 예외적으로 히스토리/내부 메모에 한 줄 남길 때만 "삭제 예정이었던 엔드포인트" 수준으로 적을 수 있다.
- 이번 작업에서 코드를 삭제할 의무는 없다(문서 정합성 작업이 우선). 다만 문서는 위 정책에 맞춘다.
범위
- 포함: 저장소 전체의
**/*.md(예:docs/,app/**/CLAUDE.md,.cursor/rules/,prompts/등). - 제외:
mocks/디렉터리 내부의 모든 파일(해당 경로는 조사·수정 대상에서 제외).
작업 순서 (권장)
1. 인벤토리
mocks/밖의 모든.md파일 목록을 만든다(경로·대략적 역할 한 줄씩).
2. 코드 "진실의 원천" 우선순위
문서 주장과 대조할 때 아래를 우선한다.
src/types/prova.ts— 파이프라인 타입·스키마src/features/execution/runtime.ts,public/worker/*.js— 실행·Worker·Javafetch경로app/api/analyze/route.ts,app/api/java/execute/route.ts— API 계약 (/api/explain은 아래 삭제 예정 정책에 따라 문서 검증 대상에서 제외)src/hooks/useProvaExecution.ts,src/store/useProvaStore.ts— 클라이언트fetch·상태src/lib/ai-providers.ts— AI 프로바이더·폴백(문서에 "Gemini만" 등 단정이 있으면 코드와 일치하는지 확인)env.example, 배포 관련 env — 문서의 환경변수·URL 설명CLAUDE.md/docs/features/*.md등 아키텍처 문서는 상호 참조하되, 최종 판단은 위 구현 파일에 맡긴다.
3. 문서 유형별 점검 항목
각 .md를 읽으며 아래를 체크리스트로 처리한다.
- API 경로·메서드: 실제
app/api/**/route.ts존재 여부, 요청/응답 본문 필드명이 타입과 일치하는지. - 클라이언트 네트워크: "한 번의 디버깅에
fetch몇 번" 등은useProvaExecution·runtime기준으로 검증. - Web Worker / postMessage / Java 원격 실행: 역할 혼동(HTTP vs IPC) 문구 정정.
/api/explain: 위 「/api/explain처리 원칙(삭제 예정)」 절에 따라 문서에서 제거·비기능으로 정리한다. "코드에 파일이 있다"는 이유로 기능으로 서술하지 않는다.- AI 프로바이더:
callWithFallback·AI_PROVIDER등과 모순되는 "단일 프로바이더만" 같은 단정 수정. - 다이어그램(Mermaid 등): 아래 §4 다이어그램 정합성을 따른다.
- 폴더 구조·파일 경로: 문서에 적힌 경로가 실제와 같은지 확인.
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.
- 27d ago First seen · 137 lines · 0 tokens per session scan A 73ddf2face2b
docs-audit is a command published in the GitHub repository ultra-ai-dle/frogger (8 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,753 tokens. 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-10-02.
Other commands, from other repositories
implement-fix
Minimal pipeline for test-fixing tasks.
plan
Create a validated planning document with adversarial critique before implementation.
sweep
Codebase hygiene sweep — /refactor --quick alias, or --tests for test pruning analysis.
triage
Periodic-aggregation root-cause triage of the open auto-improvement queue.
session-catchup
Start-of-session rehydration. Reads NEXTSESSION.md + UPDATES.md tail + last 3 ADs, runs drift check on prior verification commands, proposes next move. See session-loop skill.
health-check
Validate all plugin components are working correctly (agents, hooks, commands).