Automatic Claude context builder for any coding project
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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 trag_cli-2.1.3-py3-none-any.whl.
File metadata
- Download URL: trag_cli-2.1.3-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d62e2cbb092f8cd26d5a5a405644bde2f5b72e5a76ef70d374f2415282a2fb9
|
|
| MD5 |
fc99efe899056dd8826098f8779e60d0
|
|
| BLAKE2b-256 |
9dc61ada71afe87f47e046de8db6209e984a6bd3144212eddace8b5051467ea6
|