Kbmanager

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

Kbmanager is an AI agent skill from the GitHub repository MechMath/MechMath-agent-team. KBManager skill bundle overview for maintaining a persistent mathematical research wiki with orchestrated source management, ingest, query, maintenance, and Lean archive workflows.

How to use this skill

Skill file

KBManager Skills Index

KBManager is a persistent mathematical research knowledge base maintained by

Codex. Use this index when the user asks generally to work with KBManager or

you need to pick the right workflow.

Architecture

KBManager uses an incrementally maintained, persistent wiki rather than

reconstructing knowledge through retrieval on every query. It has three layers:

  1. ${DATA_DIR:-data}/raw_sources/ is the immutable source of truth.
  2. ${DATA_DIR:-data}/wiki/ is the compiled, interlinked Markdown knowledge

base.

  1. AGENTS.md and the skills in this directory define the behavioral schema

that maintains those artifacts.

Cross-referencing and synthesis happen primarily during ingest. Queries begin

with wiki/index.md and retrieve only the relevant cards. wiki/log.md is an

append-only chronological record using

## [YYYY-MM-DD] action | Title.

Human edits to wiki pages are authoritative. Researchers may inspect and edit

the wiki directly, including through Obsidian; later operations must read the

current files before changing them. Create scoped Git checkpoints after major

ingest, archive, repair, or reorganization operations unless the human asks

otherwise.

Skills

| Skill | Use |

|-------|-----|

| orchestrator | Route KBManager workflows through specialist subagents |

| source-management | Fetch public resources, queue inaccessible resources, register local files into hash-addressed raw sources |

| ingest | Dispatch registered files to the right ingest mode |

| ingest-source | Ingest external references into Source_* pages and concept cards |

| ingest-analysis | Ingest problem-solving notes into reusable Analysis_*, PartialProof_*, or Obstruction_* proof memory |

| query | Answer from $DATA_DIR/wiki/ and persist only non-obvious new insights |

| wiki-maintenance | Check wiki health and backfill missing semantic links |

| lean-archive | Organize Lean 4 source files and create wiki proof cards |

Core Files

Default Selection

analysis-style, or Lean archive handling.

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.