MonoMind AI Lab · Open source · MIT
Shared project context that outlives any one person, agent, or chat. A context pipeline you build straight into a repository or project folder — plain Markdown, Git-tracked, owned by the project.
Part 1 · Why
Project Context answers four questions through a small set of typed Markdown records and a maintenance protocol that works across repositories and agent harnesses.
Active state, blockers, and what happens next.
Accepted choices, with the rationale intact.
Verified lessons future collaborators should reuse.
Links to the source, dataset, review, or record.
Part 1 · Why
Seven steps, from the first prompt to the next collaborator inheriting the result.
A short installation prompt points to the canonical initializer skill.
Asks onboarding questions, identifies project type, finds overlapping context.
Profile, exact file changes, and any optional tools — proposed before writing.
Creates only approved files, preserves existing material, verifies idempotency.
Routed through NOW.md, decisions, learnings, and linked evidence.
Only durable decisions and verified reusable learnings get promoted.
Any later person or agent reads the same plain Markdown.
Part 2 · How it works
One durable layer that collaborators and agents both read and write — with three optional tools that enrich it without ever becoming required.
Current state & blockers
Constraints & rationale
Verified, reusable lessons
Git-tracked · plain Markdown · evidence-linked · portable
Code symbols, relationships, impact
Cross-file, cross-format navigation
Maintained derived documentation
Part 2 · How it works
People provide intent and approve changes. Agents read the skills, run the tooling, and maintain the files. You are never expected to invoke skills or run Python yourself.
| Person | AI agent |
|---|---|
| Pastes the short installation prompt | Loads and follows project-context-init/SKILL.md |
| Answers whether the project is new and what it is for | Classifies the project and reviews overlapping context |
| Approves the proposed plan and each eligible optional tool | Creates only approved files, installs opted-in tools, verifies the result |
| Optionally reads, reviews, or edits the Markdown | Uses and maintains the context automatically during later work |
Part 3 · Install
No skill launcher and no Python runtime are required for the agent-guided path. Copy this into an agent that can access the target repository or project folder.
Install Project Context in the current repository or project folder using https://github.com/monomind-ai-lab/project-context. Read and follow `skills/project-context-init/SKILL.md`, starting with its required onboarding question. Show me the proposed plan and wait for my approval before making changes.
Harnesses that support the convention find the installed project-context and project-context-init skills directly.
A block added to AGENTS.md or CLAUDE.md routes any agent to project-context/SKILL.md — even with no skill launcher.
Part 3 · Install
A seven-step protocol runs before anything is written to disk.
Installs both skills under .agents/skills/, creates the selected profile, preserves custom files, and refreshes only the managed instruction block. The CLI never stores the free-text purpose.
Part 4 · What you get
Start lightweight and grow, or begin with the full evidence structure. Every installation records its profile, repository type, and template version in .project-context.json.
Best for small repositories, evaluation, and first-time adoption.
Best for long-lived projects, teams, and evidence-rich workflows.
Part 4 · What you get
The context files summarize only the durable state and point collaborators to the evidence they need.
| File | What it answers |
|---|---|
| NOW.md | What is true now, what is active, and what happens next? |
| DECISIONS.md | Which accepted choices constrain future work, and why? |
| LEARNINGS.md | Which verified lessons should future collaborators reuse? |
| Linked evidence | Which source, document, dataset, review, result, or record supports the context? |
Part 5 · Operate
At the start of work
Current state, active work, next actions
For the task topic
Into detailed evidence
Against current primary artifacts and evidence
At a milestone or handoff
Progress and validation
Into NOW.md
Not every choice is durable
Instead of silently rewriting history
Part 5 · Operate
For existing repositories the skill classifies the project, then looks for material that may already serve the same purpose.
Part 5 · Operate
A read-only check that reports issues without rewriting your custom knowledge.
python3 skills/project-context-init/scripts/project_context_init.py doctor --target /path/to/repository
All expected records present
Updates reported for deliberate review
Flags current state going stale
Across decisions and learnings
Relative Markdown evidence links
Part 5 · Operate
Knowing which layer wins is what keeps generated material from quietly becoming the source of truth.
| Layer | Role | Authority |
|---|---|---|
| Primary artifacts | Actual project truth | Highest for factual claims |
| project-context/ | Current state, decisions, learnings, evidence routing | Canonical project continuity |
| Agent instructions | Tell agents how to use context | Pointer and protocol only |
| Indexes & wikis | Discovery and explanation | Derived — never current-state authority |
Part 6 · Extend
Project Context works without any of these. The initializer filters the list by repository type and observed contents, then requires a separate informed decision for every eligible tool.
| Tool | Choose it when |
|---|---|
| GitNexus | A code or mixed repository contains a meaningful software system. Surfaces code symbols, relationships, impact, and execution flows. |
| Graphify | A substantial corpus needs cross-file or cross-format navigation across code, documents, research artifacts, and media. |
| OpenWiki | A stable, complex project has a clear audience for a maintained derived wiki. |
It does not ask writing projects about code analysis, or present every add-on as a default checklist.
Opt-in · never required
Part 6 · Extend
What the installer promises never to do to a repository it does not own.
Part 7 · Reference
An agent-facing installation and operating package: two reusable skills, a safe initializer, templates, prompts, and validation tests.
Part 7 · Reference
Every primary artifact leaves a citable trace — and stays exactly where it belongs.
Get started
Paste the installation prompt into any AI agent that can read and edit your repository. It will ask what it needs, show you the plan, and wait for your approval before writing a single file.