Ingest source

From MechMath/MechMath-agent-team · View interactive version

Ingest source is an AI agent skill from the GitHub repository MechMath/MechMath-agent-team. Use when ingesting external mathematical references such as books, papers, chapters, or lecture notes into KBManager source pages and concept cards.

How to use this skill

Skill file

Source-Style Ingest

Use this mode for external mathematical knowledge whose durable value is

definitions, statements, proofs, examples, hypotheses, and bibliography.

Inputs

Start from a registered file under ${DATA_DIR:-data}/raw_sources/<hash12>/.

The dispatcher skill ingest handles locating, duplicate checks, and human

acknowledgement before this workflow writes.

Workflow

  1. Read the full source:

extraction.

  1. Create ${DATA_DIR:-data}/wiki/Source_<ShortTitle>.md with frontmatter,

summary, key concepts, quotes/evidence, and connections.

  1. Read current concept pages before editing. Human edits are ground truth.
  2. Update existing Concept_* pages touched by the source.
  3. Create new Concept_* pages only for durable concepts central to the source.
  4. Create or update Obstruction_* pages when the source exposes a durable

ruled-out assumption, incompatible convention, counterexample signal, or

dependency gap that future queries should not rediscover from scratch.

  1. Update ${DATA_DIR:-data}/wiki/index.md:
  1. Append one ingest entry to ${DATA_DIR:-data}/wiki/log.md.
  2. Queue important bibliography references that are foundational, directly used,

not already ingested, and not already queued.

  1. Update ${DATA_DIR:-data}/sources_manifest.md as ingested with `Wiki page:

[[Source_<ShortTitle>]]`.

  1. Commit changed wiki/manifest/queue files unless the human asks not to.

Quality Bar

Do not dump summaries. Compile durable knowledge:

when durable

Formats

Use the templates in ../ingest/reference-manifest-format.md. Use notation

rules from ../ingest/reference-math-notation.md.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.