
I built a CLI that gives any AI instant context about your project
Every time I start a new AI session, I spend the first few minutes explaining the same things: "This is a FastAPI project" "We use SQLAlchemy for the ORM" "The main entry point is src/api/main.py " "Recent work has been on the auth module" It's tedious. And AI tools like Claude Code, ChatGPT, and Gemini start cold every session. So I built ctx . pip install ctx ctx save myproject # scan project, save as context pack ctx inject myproject # paste into any AI chat instantly ctx inject myproject --target claude # write CLAUDE.md for Claude Code What it does ctx save scans your project and builds a context pack automatically: Stack detection — finds pyproject.toml , package.json , Cargo.toml , go.mod , Gemfile , etc. Structure map — directory tree of your src/ , tests/ , api/ folders Git log — last 10 commits so the AI understands what you've been working on README summary — first few lines as project context Your notes — add anything extra on top The result is a clean Markdown file that an
Continue reading on Dev.to Python
Opens in a new tab


