Skip to main content

A tool to create, organize, merge and deploy reusable context instructions across multiple GenAI coding assistants

Project description

Context Mixer

A command-line tool to create, organize, merge and deploy reusable context instructions across multiple GenAI coding assistants.

Purpose

Context Mixer helps developers manage context fragments for different AI coding assistants (e.g., GitHub Copilot, Cursor/Windsor, Claude, Junie) in a structured, version-controlled way.

Features

  • Mix & Slice context fragments into variant-specific bundles
  • Ingest & Normalize existing context artifacts from multiple projects
  • Maintain a Source-of-Truth Library under Git for history and collaboration
  • Token Optimization to fit assistant limits

Installation

# Install with pipx (recommended)
pipx install context-mixer

# Or with pip
pip install context-mixer

# For development
git clone https://github.com/svetzal/context-mixer.git
cd context-mixer
pip install -e ".[dev]"

Requirements

  • Python 3.12+
  • Git
  • Access to either Ollama (local) or OpenAI (remote) LLM services

Quick Start

# Initialize a new context library
cmx init

# Assemble contexts for a specific target
cmx assemble --target copilot

# Slice fragments by tags
cmx slice lang:python layer:testing

# Ingest existing contexts
cmx ingest ./my-project

# Sync with remote repository
cmx sync

License

MIT

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

context_mixer-0.2.0.tar.gz (68.6 kB view details)

Uploaded Source

Built Distribution

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

context_mixer-0.2.0-py3-none-any.whl (86.5 kB view details)

Uploaded Python 3

File details

Details for the file context_mixer-0.2.0.tar.gz.

File metadata

  • Download URL: context_mixer-0.2.0.tar.gz
  • Upload date:
  • Size: 68.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for context_mixer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c49b983e8c0f068bda194bf9082b752c1a90248e99bde1c0db907982835528d2
MD5 96b4f071bbd96f085bd06f7eee9b6626
BLAKE2b-256 1a221205856f4c38078fc7381977d4312bac4b6bde9f580f3ecebdaed2dbd566

See more details on using hashes here.

Provenance

The following attestation bundles were made for context_mixer-0.2.0.tar.gz:

Publisher: build.yml on svetzal/context-mixer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file context_mixer-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: context_mixer-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 86.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for context_mixer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1fa1d5c7455082a53a6e526da8b3d88d43f1684bd82d41d5bf3bee9b243f0ac8
MD5 c76c88036e6cac15ed0019bbde476364
BLAKE2b-256 f5ca2c475fa532f6b9852ea4ac1a78f2e4a0aa132a03a20a1f38c172eb2dcb4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for context_mixer-0.2.0-py3-none-any.whl:

Publisher: build.yml on svetzal/context-mixer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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