Query

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

Query is an AI agent skill from the GitHub repository MechMath/MechMath-agent-team. Use when answering a research question from the KBManager wiki and optionally preserving a non-obvious synthesis, partial progress, or obstruction card.

How to use this skill

Skill file

Query KBManager

Use this skill when the human asks about knowledge already compiled into

${DATA_DIR:-data}/wiki/.

Workflow

  1. Read ${DATA_DIR:-data}/wiki/index.md in full.
  2. Identify every plausibly relevant page. Include source, concept, analysis,

partial-proof, obstruction, and Lean cards when they may affect the

answer.

  1. Deep-read relevant wiki pages.
  2. Follow one level of relevant [[WikiLink]] expansion.
  3. Answer with inline wiki citations like [[PageName]].
  4. Clearly distinguish:

Persisting New Knowledge

Only write files if the query produces something a future reader could not

trivially reconstruct from existing pages.

Qualifies:

Does not qualify:

If it qualifies:

  1. Create ${DATA_DIR:-data}/wiki/Analysis_<Topic>.md,

${DATA_DIR:-data}/wiki/PartialProof_<Topic>.md, or

${DATA_DIR:-data}/wiki/Obstruction_<Topic>.md.

  1. Update ${DATA_DIR:-data}/wiki/index.md.
  2. Append ${DATA_DIR:-data}/wiki/log.md:

```markdown

## [YYYY-MM-DD] query | <Question summary>

```

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

If it does not qualify, answer without writing files.

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.