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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c49b983e8c0f068bda194bf9082b752c1a90248e99bde1c0db907982835528d2
|
|
| MD5 |
96b4f071bbd96f085bd06f7eee9b6626
|
|
| BLAKE2b-256 |
1a221205856f4c38078fc7381977d4312bac4b6bde9f580f3ecebdaed2dbd566
|
Provenance
The following attestation bundles were made for context_mixer-0.2.0.tar.gz:
Publisher:
build.yml on svetzal/context-mixer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
context_mixer-0.2.0.tar.gz -
Subject digest:
c49b983e8c0f068bda194bf9082b752c1a90248e99bde1c0db907982835528d2 - Sigstore transparency entry: 264593581
- Sigstore integration time:
-
Permalink:
svetzal/context-mixer@cc73cdb0e46af2cc4373be04038ea484ba17f723 -
Branch / Tag:
refs/tags/RELEASE-0.2.0 - Owner: https://github.com/svetzal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@cc73cdb0e46af2cc4373be04038ea484ba17f723 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fa1d5c7455082a53a6e526da8b3d88d43f1684bd82d41d5bf3bee9b243f0ac8
|
|
| MD5 |
c76c88036e6cac15ed0019bbde476364
|
|
| BLAKE2b-256 |
f5ca2c475fa532f6b9852ea4ac1a78f2e4a0aa132a03a20a1f38c172eb2dcb4b
|
Provenance
The following attestation bundles were made for context_mixer-0.2.0-py3-none-any.whl:
Publisher:
build.yml on svetzal/context-mixer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
context_mixer-0.2.0-py3-none-any.whl -
Subject digest:
1fa1d5c7455082a53a6e526da8b3d88d43f1684bd82d41d5bf3bee9b243f0ac8 - Sigstore transparency entry: 264593587
- Sigstore integration time:
-
Permalink:
svetzal/context-mixer@cc73cdb0e46af2cc4373be04038ea484ba17f723 -
Branch / Tag:
refs/tags/RELEASE-0.2.0 - Owner: https://github.com/svetzal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@cc73cdb0e46af2cc4373be04038ea484ba17f723 -
Trigger Event:
release
-
Statement type: