Borrowing it
Nothing to install: this file belongs to fivetaku/llm-wiki. 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/fivetaku/llm-wiki/main/.claude/commands/compile.mdgit clone --depth 1 https://github.com/fivetaku/llm-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/commands/fivetaku/llm-wiki/compile)<a href="https://agentmods.dev/commands/fivetaku/llm-wiki/compile"><img src="https://agentmods.dev/badge/commands/fivetaku/llm-wiki/compile/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/fivetaku/llm-wiki/compile"><img src="https://agentmods.dev/badge/commands/fivetaku/llm-wiki/compile.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.00131 | $0.01591 |
| Opus 5.5 | $0.00052 | $0.00636 |
| Sonnet 5.5 | $0.00026 | $0.00318 |
| Haiku 4.5 | $0.00013 | $0.00159 |
Grade A, and why
compile 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 2mo 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 — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/compile — 정제 (inbox 소스 → 위키)
10-inbox/의 미컴파일 소스를 읽어 위키 페이지로 합성하고, 라우터·타입 인덱스·aliases·overview를 갱신한 뒤 원본을 20-raw/로 옮깁니다. 단순 복사가 아니라 기존 페이지 갱신·교차참조·정본화·모순 표시.
사용법
/compile (inbox의 미컴파일 소스 전부)
/compile 10-inbox/2026-06-14-article.md (특정 소스만)
실행 흐름
Step 1: 현황 + 미컴파일 식별
30-wiki/index.md(루트 라우터)·log.md로 기존 주제·페이지를 파악.10-inbox/의 소스 = 미컴파일 (인자가 있으면 그 소스만).- 소스가 어느 **주제(topic)**인지 정한다 (기존 재사용 우선). 새 주제면
30-wiki/{topic}/골격 생성:index.md(주제 라우터)·aliases.md·overview.md·indexes/·sources/·entities/·concepts/.
Step 2: 소스 읽기 + 핵심 (소크라테스 게이트)
- 소스를 읽는다. 이미지/PDF면
conventions.md §122단계 읽기. - 핵심 takeaway 3~5개를 공유하고 모순·약점·근거 부족을 짚어 되묻는다 (배치 모드면 생략). 다듬어진 결론만 위키로 승격.
Step 3: 소스요약 페이지
40-templates/source.md→30-wiki/{topic}/sources/{date-slug}.md.- frontmatter
source_file은 이동 후 경로(20-raw/{파일명})로 기록(Step 7에서 이동).summary필수(인덱스 재사용).
Step 4: 엔티티/개념 페이지 (정본화 + 중복 점검)
- 소스에 등장한 인물·조직·개념마다 페이지 생성/갱신. 여러 소스가 쌓이면 전역 ≥2회 등장만 페이지 승격, 1회는 상위 페이지 plain text 씨앗(질문 시 lazy). 단일 소스면 핵심 엔티티 중심.
- 생성 전 중복 점검: 해당 타입 인덱스(
indexes/{type}.md) +aliases.md로 동일 표기/별칭 점검 → 이미 있으면 새로 만들지 말고 갱신·병합(정본명·aka·aliases 갱신). - 정본명(
canonical) 결정 →aliases.md에 별칭 등재 (라우팅 키). - 모든 사실 주장 뒤
[[sources/...]]provenance(extracted/inferred/ambiguous). 출처 없는 추론은(추론). 동명은[[type/이름|이름]]경로 링크 + 라우터 충돌 노트. [[링크]]는 대상 페이지가 실제 있을 때만, 없으면 plain text(씨앗).
Step 5: 인덱스·종합 갱신 (라우팅의 핵심)
- 타입 인덱스
indexes/{type}.md에 신규/변경 페이지 줄 등재 — 줄 description은 페이지summary재사용. 샤드가 ≤50K 토큰 넘으면 정본명 첫 글자로 재분할(한글은 둘째 샤드). - 주제 라우터
{topic}/index.md: 타입별 개수·동명 충돌 노트·푸터 합계만 갱신(엔티티 줄은 라우터에 넣지 않음). - 루트 라우터
30-wiki/index.md: 새 주제면 주제 줄 추가. overview.md갱신(큰 그림).
Step 6: self-audit
- 만든 엔티티/개념 페이지 vs 타입 인덱스 등재 = diff 0 확인(누락 없음).
tier: auto페이지는30-wiki/{topic}/auto-generated.md대장에 등록(미검수 표시).
Step 7: 원본을 raw로 이동 (보관)
mv 10-inbox/{파일} 20-raw/{파일}. 파일명 유지(Step 3의source_file링크 보존).- inbox에 남은 = 미컴파일, raw에 있는 = 컴파일 완료.
- 동명 충돌·이동 실패 시 덮어쓰지 말고 알린다.
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.
- 2mo ago First seen · 82 lines · 131 tokens per session scan A d7e569f492bd
compile is a command published in the GitHub repository fivetaku/llm-wiki (85 stars, last pushed 4mo ago), licensed MIT. It adds 131 tokens to every session and 1,591 once invoked, about $0.0005 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.
compile compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| compilefivetaku/llm-wiki | Command | 85 | 4mo ago | MIT | A | 131 | Claude Code |
| checklistgithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 148k | yesterday | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 148k | yesterday | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 148k | yesterday | MIT | A | 14 | Claude Code |