Skip to main content

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

  1. After every git commit, the hook runs mind sync in the background
  2. mind sync scans transcript directories for files newer than last sync
  3. Extracts user + assistant text (skips tool calls, thinking blocks)
  4. Calls claude -p (or configured LLM) with extracted content + current mind.md
  5. LLM rewrites mind.md in 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

project_mind-0.1.9.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

project_mind-0.1.9-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file project_mind-0.1.9.tar.gz.

File metadata

  • Download URL: project_mind-0.1.9.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

Hashes for project_mind-0.1.9.tar.gz
Algorithm Hash digest
SHA256 fab06ecb1bb7d74d330a1106d45323f5c2dd6c8267e9a5277f27d5d47aaa058a
MD5 80ae0d0e0b561f963b5bb0ed4665ab7e
BLAKE2b-256 63e453bfd916772442f4f3c480ccc2cdc4bf3c6bfbdf9ddd5f3bb6c4ece7871a

See more details on using hashes here.

File details

Details for the file project_mind-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: project_mind-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for project_mind-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 cee25c505ed82a66520ca690bf9d0e3a2d2d90421bdfee9ec69ebd5cf40fedf4
MD5 49a7fa0de69b99a3b1d691fd7aa2ff5d
BLAKE2b-256 4093addbdf95d43399ecf9afbfc845cf2027b0750e90e4d53dbc37df67d1592a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page