wiki_compilelisted
Install: claude install-skill Misaka16384/magi
# LLM Wiki — Compile Skill (wiki_compile)
> **CLI (read first):** This skill drives the `magi` CLI (MAGI research workspace tool, assumed installed on PATH). If unsure of your surroundings, run `magi sync` first to locate the workspace. For the full syntax of any command: `magi <command> --help`.
> `<SKILL_DIR>` = the directory this SKILL.md lives in (used only for skill-local assets).
This skill handles the AI-driven "compilation" of high-entropy raw source texts into beautiful, structured, and interconnected literature cards and concept sheets.
> **Tooling (framework-agnostic):** This skill is written tool-agnostic. Map each capability to your own agent's tool — *read-file* (`Read` in Claude Code, `view_file` in Antigravity), *sub-agent / parallel task* (`Task`/`Agent` in Claude Code, `invoke_subagent` in Antigravity), *web-search* (`WebSearch` in Claude Code, `search_web`), *shell* (`Bash`/`PowerShell`). Use the closest equivalent your framework provides; if a parallel sub-agent tool is unavailable, perform the steps sequentially yourself.
When the user asks to compile the wiki or process raw files, follow this parallelized workflow:
### Phase 1: Preparation
1. **Detect Uncompiled Sources**: Run the helper command to detect uncompiled files programmatically:
`magi wiki uncompiled --topic-dir \"<TOPIC_DIR>\"`
This command output will list the relative paths of uncompiled source files.
### Phase 2: Parallel Compilation (Subagents)
2. **Invoke Subagents**: Use