@xcraftmind/mastermind
v5.0.0
Published
Local-first repository context for coding agents: codegraph, cited project knowledge, change impact, and evidence-backed workflows.
Maintainers
Readme
@xcraftmind/mastermind
Mastermind indexes your code and documentation locally, gives coding agents
that context over MCP and prompt hooks, and checks a task's evidence before the
task counts as done. This package ships the prebuilt native binary as both
mastermind and mmcg, plus the workflow skills for Claude Code and Codex. It
indexes source code, Markdown and Vue SFC script blocks.
Quick start
You need Node.js 24 or later, and no Rust toolchain. Run this inside your repository:
npm install -g @xcraftmind/mastermind
mastermind init
mastermind status --jsoninit sets up the clients it finds, indexes the repository and saves its
choices in .mastermind/setup.json. Restart the client afterwards and review
the hook definitions in /hooks.
| Command | Purpose |
|---|---|
| mastermind update | Updates in the existing npm scope and refreshes the installed workflows. --dry-run previews with no network calls |
| mastermind ui --since main | Opens the read-only review UI against a Git baseline |
| mastermind --help | Setup and project commands |
| mmcg --help | The complete native CLI |
| Platform | Support |
|---|---|
| macOS arm64 or x64 | Native tools, hooks and managed mining |
| Linux arm64 or x64, glibc or musl | Native tools, hooks and managed mining |
| Windows x64 | Local indexing and client setup with --mining off. No native hooks or managed mining |
The platform binaries are separate packages, listed in the package manifest.
Documentation
| Guide | Covers | |---|---| | Getting started | Setup, clients, mining modes, updates and removal | | Workflow | Scope, checks, review and completion | | Persona hooks | Capture, candidate review and the optional separate miner | | Other MCP clients | Cursor, Continue and any stdio MCP client | | CLI and index | Native commands and language coverage | | MCP tools | The MCP server and its tools |
