Skip to content
Data
Skill

/ingest

Turn whatever the human has — a PDF, a link, a DOI, a screenshot of a citation — into raw/ sources this project can compile.

From plugin
magi
711 skills1 hook

Claude Code

$ npx -y skills add misaka16384/magi --skill ingest --agent claude-code

SKILL.md

ingest.SKILL.md
name: ingest
description: "Turn whatever the human has — a PDF, a link, a DOI, a screenshot of a citation — into raw/ sources this project can compile."
commands:
  ingest: "Ingest papers, articles and notes into raw/."
origin: magi

ingest

When to use

Anything new is arriving: files in `inbox/`, a link or DOI in the chat, a citation the human read out.

Method

1. Files already in `inbox/`, or a path you were given: `magi ingest auto` — it routes by type and finalizes. Stop here unless it refuses. (A run that skipped cleanup: `magi ingest finalize <the file> --project-dir .`.) 2. A link, DOI, arXiv id or citation: identify it first — that step needs you, not the pipeline. `magi ingest url "<id>" --expect "<title fragment>" --go` fetches it and lands what came through unflagged; anything flagged → step 3. 3. `magi ingest review` lists what is waiting. Show its findings to the human before committing — surface `identity-mismatch`, `figure-count-mismatch` and `image-path-not-portable` every time: the file is not what its name says. `math-damage` counts formulas that will fail `magi math check`: say the number. 4. Once the human has seen the list: `magi ingest review --approve-all` (or `--item <id> --decision approve` per row), then `magi ingest review --commit`. 5. After a batch: `magi math check --json` — a `$$` that lost its pair swallows the paragraph after it and is still valid LaTeX. Work the list with `tidy`; papers from an older arXiv-HTML ingest first get `magi math repair --dry-run`.

Rules

  • **Never** transcribe pages through vision because a converter failed: it costs

one sub-agent call per page. Not until a person has said yes; 10 at once.

  • **Never** commit a batch the human has not seen the findings for.
  • A converter that exits non-zero: report its stderr and stop. An unreadable

file: name it and carry on. Report **partial** work as partial — "9 of 12".

  • Which project a source belongs to is never your guess: when it is

ambiguous, stop and ask. Collect the questions the work you delegated could not ask (Invariant 4) and put them all at once.

Read more
@misaka16384
Ships withmagi

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

Stars on GitHub

Momentum

stars in total
7
Star history of Misaka16384/Wikify on GitHub, a chart by star-history.com

Other skills on magi.

adopt

adopt

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

@misaka16384@misaka16384Install Skill
ask

ask

Answer a question from this project's own knowledge — retrieved, read and cited, never from memory.

@misaka16384@misaka16384Install Skill
brief

brief

Write the one thing a person reads after an unattended run — its report — and the lecture notes that prepare them for it, in…

@misaka16384@misaka16384Install Skill
compile

compile

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

@misaka16384@misaka16384Install Skill
discuss

discuss

Talk a run over with the person until it can be written down — motivation, directions, what is not worth it, when to stop, their…

@misaka16384@misaka16384Install Skill
magi

magi

Entry point for a MAGI research project: run magi next, do what it says, and call the skill it names.

@misaka16384@misaka16384Install Skill

More skills from other plugins.

context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem04d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog11d41k
@posthog@posthogInstall Skill

Questions about ingest.

Which coding agents can use ingest?
ingest installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.