Persistent AI context management for multi-tool development — syncs Claude, Gemini, Cursor, Codex and Copilot transcripts into a single LLM-tuning file.
Project description
mind
Persistent AI context management for multi-tool development.
Reads conversation transcripts from Claude Code, Gemini, Cursor, Codex, and Copilot
after every git commit. Synthesizes them into _mind/mind.md — a token-efficient
LLM-tuning file injected into every future session.
Install
pip install project-mind
Setup (per project)
cd your-project
mind init
This creates _mind/, installs a git hook, and writes mind.toml.
Usage
mind sync # run manually (hook calls this automatically after commits)
mind evolve # full re-synthesis from all transcripts
mind status # show tracked tools and last sync time
Supported Tools
| Tool | Transcript location |
|---|---|
| Claude Code | ~/.claude/projects/{slug}/*.jsonl |
| Gemini | ~/.gemini/tmp/{project}/chats/*.json |
| Cursor | ~/.cursor/projects/{slug}/agent-transcripts/ |
| Codex | ~/.codex/history.jsonl |
| Copilot | VS Code workspaceStorage/{hash}/state.vscdb |
Configuration (mind.toml)
[project]
name = "my-project"
[llm]
provider = "claude" # claude | gemini | codex
[tools]
enabled = ["claude", "gemini", "cursor", "codex", "copilot"]
[limits]
max_messages_per_sync = 150
mind_max_lines = 150
How it works
- After every
git commit, the hook runsmind syncin the background mind syncscans transcript directories for files newer than last sync- Extracts user + assistant text (skips tool calls, thinking blocks)
- Calls
claude -p(or configured LLM) with extracted content + currentmind.md - LLM rewrites
mind.mdin place — compressing old entries, adding new ones
mind.md format
## behavior ← user corrections — never compressed
## context ← project state — rewritten each sync
## active ← in-flight tasks
## decisions ← architectural choices
## lessons ← what worked / failed
## history ← compressed timeline
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file project_mind-0.1.10.tar.gz.
File metadata
- Download URL: project_mind-0.1.10.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10e677e14c96316ba04df4a22b7529a8cb509573eff5473ff5d882994814f6b1
|
|
| MD5 |
72ad0fad25a9a54c59a98ae006f0f951
|
|
| BLAKE2b-256 |
76826ad841299cc22717078c9c9d71ee0a1186332a45204257f0b272c248b7c6
|
File details
Details for the file project_mind-0.1.10-py3-none-any.whl.
File metadata
- Download URL: project_mind-0.1.10-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d6e8e616317197f8669a3068f7a738900c3fbb7cd69c28134d6758ee032ed86
|
|
| MD5 |
01c5ce0abb2e2f8f504bc35f9a40885c
|
|
| BLAKE2b-256 |
dd611d047eca44448fd2c8f168fa257a8e900ef80ee21955c20f5eb5509a36e6
|