adopt
Take a folder that already holds research — papers, notes, code, half-written drafts — into MAGI, without breaking what is…
Repair what the mechanical passes cannot: broken LaTeX from conversion, sprawling tags, and concepts that are secretly the same concept.
Claude Code
$ npx -y skills add misaka16384/magi --skill tidy --agent claude-code
Codex
$ npx skills add misaka16384/magi --skill tidy -a codex -y
Cursor
$ npx skills add misaka16384/magi --skill tidy -a cursor -y
Gemini CLI
$ npx skills add misaka16384/magi --skill tidy -a gemini-cli -y
GitHub Copilot
$ npx skills add misaka16384/magi --skill tidy -a github-copilot -y
OpenCode
$ npx skills add misaka16384/magi --skill tidy -a opencode -y
Windsurf
$ npx skills add misaka16384/magi --skill tidy -a windsurf -y
name: tidy description: "Repair what the mechanical passes cannot: broken LaTeX from conversion, sprawling tags, and concepts that are secretly the same concept." commands: tidy: "Fix conversion damage, tag sprawl and duplicate concepts." origin: magi
`magi math check` reports errors, tags have sprawled into near-duplicates, or two concept cards are about the same thing.
**Maths.** Mechanical first, each run undoable with `magi math undo`: for arXiv-HTML papers `magi math repair --dry-run` then `magi math repair`; then `magi math format --dry-run` and `magi math format`. Then `magi math check --json`: fix one file's *first* entry and re-check — one unclosed `$$` reports as many errors as it swallows. `likely-macro` is a package or the author's macro, not a typo: define it in `math.preamble` or `<paper>.macros.tex`, never in the formula; check the PDF first (`magi ingest crop <pdf>`). A figure inside a formula becomes `\text{[omitted: <what it was>]}` — that shape exactly.
**Tags.** `magi tags extract .`, read the counts, and write the mapping that collapses synonyms, acronyms and plurals into one tag. Show it to the human before `magi tags apply . <tag_map> <alias_map>` — it rewrites every card. Two tags that are aliases of each other usually mean two cards about one concept.
**Concepts.** `magi link --dedup-only` proposes merges. Confirm each is really one concept, then `magi wiki refactor-concept --project-dir . --old <a> --new <b>`. A sub-concept merges into its parent; read it back with `magi wiki context --name <c>` first.
Close with `magi lint --fix` and `magi index`.
by hand.
only route that fixes the links too.
at the end and report what is still broken as **partial**, not as done.
MAGI 是一个 agent-native 的科研工作环境:人是驾驶员,LLM agent 是机体,确定性的 magi CLI 是拘束具——三者同步率越高,科研越快。它把学术论文(PDF/LaTeX)摄入、编译为 Obsidian 兼容的概念卡片项目,并用三核架构管理完整的科研状态: 进入任意项目先跑 magi sync——它输出同步率、三核状态和逐条可执行的修复提示。magi radar 是文献雷达:定时发现相关新论文,并侦察"知识上应引用我方论文却未引用"的候选。同一份 skills 通吃 Claude
Take a folder that already holds research — papers, notes, code, half-written drafts — into MAGI, without breaking what is…
Answer a question from this project's own knowledge — retrieved, read and cited, never from memory.
Write the one thing a person reads after an unattended run — its report — and the lecture notes that prepare them for it, in…
Compile raw sources into dense, interlinked reference and concept cards, and mine the concepts a compiled card left implicit.
Talk a run over with the person until it can be written down — motivation, directions, what is not worth it, when to stop, their…
Turn whatever the human has — a PDF, a link, a DOI, a screenshot of a citation — into raw/ sources this project can compile.
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…