Skip to content
Data
Skill

/compile

Compile raw sources into dense, interlinked reference and concept cards, and mine the concepts a compiled card left implicit.

From plugin
magi
78 skills1 hook
Install
$ npx -y skills add Misaka16384/Wikify --skill compile --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/compile

Context preview

The summary Claude sees to decide when to auto-load this skill.

Compile raw sources into dense, interlinked reference and concept cards, and mine the concepts a compiled card left implicit.

SKILL.md

compile.SKILL.md
name: compile
description: "Compile raw sources into dense, interlinked reference and concept cards, and mine the concepts a compiled card left implicit."
commands:
  compile: "Compile raw sources into wiki cards, and enrich thin ones."
origin: magi

compile

When to use

`magi next` reports a compile backlog, or `magi wiki uncompiled` lists sources with no card.

Method

1. `magi wiki uncompiled` — the backlog. Nothing else decides what is next. 2. One sub-agent per source, at most 10 at once. Each reads the raw file and writes one card using `<SKILL_DIR>/templates/paper_template.md`, creating concepts with `magi wiki add-concept --name/--source/--content` as it goes. 3. Every claim's `SOURCE:` points at the `raw/` file, never at another card. 4. Thin cards: `magi wiki placeholders <card.md>` and `magi stats concept-density <card.md>`, one card at a time. Under ~5 links or ~2 per 1000 words, mine the source for the concepts it actually contains — never invent one it does not. 5. `magi lint --fix` first, then `magi wiki reindex`. That order matters: reindex reads what lint has already normalised. 6. `magi graph build` and `magi index` to make it findable.

Rules

  • **Never** start the fan-out without saying how many: "12 sources, so 12

sub-agent calls" is a sentence a person can stop. Ten concurrent is the ceiling.

  • **Never** write a card that reads complete while a section is `[STUB:

Awaiting synthesis]` without saying so in your report. **Partial** work is reported as partial.

  • Collect the questions your sub-agents could not ask (Invariant 4) and put

them to the human once, when the batch reports back.

  • Cards are compiled, not authored: to change one, change the source and

recompile.

  • `\text{[omitted: …]}` in a formula is a figure the conversion removed: never quote it as the author's words.
Read more
Ships withmagi

MAGI 是一个 agent-native 的科研工作环境:人是驾驶员,LLM agent 是机体,确定性的 magi CLI 是拘束具——三者同步率越高,科研越快。它把学术论文(PDF/LaTeX)摄入、编译为 Obsidian 兼容的概念卡片项目,并用三核架构管理完整的科研状态: 进入任意项目先跑 magi sync——它输出同步率、三核状态和逐条可执行的修复提示。magi radar 是文献雷达:定时发现相关新论文,并侦察"知识上应引用我方论文却未引用"的候选。同一份 skills 通吃 Claude

Get the whole plugin
Stats
7
Stars
1
Forks
Active
Maintenance
Python
Language
12d ago
Last commit
3mo ago
Created

Repo: Misaka16384/Wikify

Other skills on magi.

adopt
Skill

adopt

Take a folder that already holds research — papers, notes, code, half-written drafts — into MAGI, without breaking what is already there.

research
Skill

research

Investigate a question across the project from several angles at once, verify what comes back, and land it as propositions plus at most one synthesis.