Skip to content
Back to skills

Compile

ASecurity

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

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentsgo

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 20, 2026

npx -y skills add Misaka16384/magi --skill compile --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Compile?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Compile
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/misaka16384-compile/badge)](https://www.skillsdirectory.com/skills/misaka16384-compile)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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.

Files in this skill

  • SKILL.md1.7 KB
  • templates/concept_template.md2.4 KB
  • templates/index_template.md1.6 KB
  • templates/paper_template.md3.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.