T-RAG
Automatic Claude context builder for any coding project.
One command → scans your entire project → auto-detects what changed → builds a context summary → paste into Claude.ai → Claude instantly knows your full project state.
No Git needed. No weekly plan needed. No manual writing. Works for everyone.
Install
pip install trag-cli
That's it. No other setup needed.
Use
Go into any project folder and run:
trag
First time:
- Saves a baseline snapshot of all your files
- Builds full project context
Every time after:
- Automatically shows what changed since last run
- Builds updated context ready to paste into Claude
Options
trag # scan current folder
trag --project /my/project # scan a specific folder
trag --plan todo.txt # use a specific plan/todo file
trag --no-embed # faster mode (skip ChromaDB)
trag --init # create optional notes file
trag --version # show version
How change tracking works
T-RAG saves a snapshot of your file hashes inside trag_data/trag_snapshot.json in your project folder. Next run it compares and finds exactly what changed — no Git needed, fully local.
Each project has its own snapshot because trag_data/ is created inside each project folder.
Optional: weekly plan / todo
If you have a todo.txt, weekly_plan.txt, or tasks.txt in your project, T-RAG reads it automatically and includes your plan status in the context.
Optional: smarter AI reasoning (Ollama)
T-RAG works well without Ollama. For smarter AI-powered project summaries:
# Install Ollama from https://ollama.com then:
ollama pull qwen2.5-coder:7b
T-RAG auto-detects Ollama — nothing else to configure.
Metadata
Release files for trag-cli 2.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trag_cli-2.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / trag_cli-2.1.3-py3-none-any.whl
| Download URL | trag_cli-2.1.3-py3-none-any.whl |
|---|---|
| Size | 19.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1d62e2cbb092f8cd26d5a5a405644bde2f5b72e5a76ef70d374f2415282a2fb9
|
|
BLAKE2b-256 checksum How to use checksums |
9dc61ada71afe87f47e046de8db6209e984a6bd3144212eddace8b5051467ea6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for trag-cli 2.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.