Skip to main content

Zero model drift between AI agents. Universal session continuity CLI and Python library for Claude, GPT, Gemini, and any LLM.

Project description

contextkeeper

mcp-name: io.github.TheRealDataBoss/contextkeeper

PyPI version Python License npm

Zero model drift between AI agents. Universal session continuity protocol and CLI for Claude, GPT, Gemini, and any LLM.


The Problem

You switch from Claude to GPT mid-project. You open a new chat. You spend 20 minutes re-explaining your stack, your decisions, your constraints. Again. The AI confidently suggests something you already ruled out three sessions ago.

Every AI session starts with amnesia. contextkeeper fixes this.

It gives every project a structured state file — synced to GitHub — that any AI agent can read in under 60 seconds.


Install

pip install contextkeeper
# or
npm install -g contextkeeper

How It Works

contextkeeper init → generates STATE_VECTOR.json + HANDOFF.md contextkeeper sync → pushes state to your GitHub bridge repo contextkeeper bootstrap → generates a paste-ready prompt for any AI paste it in → full context in < 60 seconds

Works with Claude, ChatGPT, Gemini, Llama, Mistral, or any LLM that can read a URL.


Quickstart

cd my-project
contextkeeper init

# sync state to GitHub
contextkeeper sync

# generate bootstrap prompt and copy to clipboard
contextkeeper bootstrap -p my-project --clipboard

# paste into Claude, GPT, Gemini — full context restored instantly

Commands

Command Description
contextkeeper init Auto-detect project type, generate STATE_VECTOR.json + HANDOFF.md
contextkeeper sync Push state files to your GitHub bridge repo
contextkeeper bootstrap Generate paste-ready AI prompt, optionally copy to clipboard
contextkeeper status Show all tracked projects in the bridge repo
contextkeeper doctor 8-point health check — token, git, schema, GitHub API

init

contextkeeper init [-p PROJECT] [-t TYPE] [--bridge REPO]

sync

contextkeeper sync [--bridge REPO] [--dry-run]

bootstrap

contextkeeper bootstrap -p PROJECT [--bridge REPO] [--clipboard]

status

contextkeeper status [--bridge REPO] [--json]

doctor

contextkeeper doctor

Requirements

  • Python 3.10+
  • git on PATH
  • GitHub PAT token (for sync)

License

MIT © TheRealDataBoss

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

contextkeeper-0.5.0.tar.gz (41.2 kB view details)

Uploaded Source

Built Distribution

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

contextkeeper-0.5.0-py3-none-any.whl (40.9 kB view details)

Uploaded Python 3

File details

Details for the file contextkeeper-0.5.0.tar.gz.

File metadata

  • Download URL: contextkeeper-0.5.0.tar.gz
  • Upload date:
  • Size: 41.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for contextkeeper-0.5.0.tar.gz
Algorithm Hash digest
SHA256 791950a7d665e9744b3295e5bc691503cd4ddbddf1646f919eca82cb674907c8
MD5 2170ad03448e34c6323955a0e7288185
BLAKE2b-256 cd0aed4e502811721f54791a390eac86f2a8d6f2d865b3985ab11054f4bf607b

See more details on using hashes here.

File details

Details for the file contextkeeper-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: contextkeeper-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 40.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for contextkeeper-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61d1dae27da592d7216e50af7aba5a636e274e4c6d14f825a8381789b8ae1b2c
MD5 3e8436ab3d55273da4e1c20841705585
BLAKE2b-256 216da375b6ab0a25f333011669c7e9bfd03e9e998f89a3141d8fd4ff7f56d9da

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