Codesight: AI Context Engine Cuts 30K-60K Tokens from Claude Code Sessions

What Codesight Does
Codesight is a GitHub project that creates structured context for AI coding agents like Claude Code and Cursor. Instead of forcing the AI to read through entire repositories to understand code structure, Codesight pre-processes the codebase and provides a map of routes, database schemas, components, environment variables, and hot files.
Key Features from the Source
- Smart parsing for TypeScript, Python, and Go that understands actual routes, models, and components instead of guessing
- AST parsing for Next.js + Prisma added through developer collaboration
- Eval suite with ground truth for testing
- Token telemetry to measure usage
- Config + profiles for Claude Code and Cursor
- HTML report and MCP server
- Blast radius feature: shows exactly which files, routes, and tests depend on a given file, allowing Claude to answer "if I change this, what breaks?" without guessing
Development Process
A developer found Codesight while searching for solutions to stop Claude Code from wasting tokens understanding repositories. After emailing the maintainer with specific pain points from their TypeScript/Next.js project, they engaged in rapid iteration: the developer ran Codesight on their repo, sent concrete issues like "this Next.js route detection missed X" or "the Prisma schema parsing needs Y," the maintainer shipped updates, and the developer retested and provided more feedback.
This collaboration transformed Codesight from a "rough script" to a tool the developer plans to use daily for their Claude Code workflow.
Performance Impact
The developer reports being "90% convinced" that Codesight cuts the "wasted exploration" phase that previously consumed 30,000-60,000 tokens per deep session on their project.
📖 Read the full source: r/ClaudeAI
👀 See Also

Open-Source Tool Measures AI Coding Agent Autonomy with Local Data Analysis
Codelens-AI is an open-source CLI tool that analyzes Claude Code session files alongside git history to calculate autonomy metrics like Autopilot Ratio and Self-Heal Score. The tool runs locally with zero setup using npx claude-roi and keeps all data on your machine.

mindpm: A Free MCP Server for Persistent Project Memory with Claude
mindpm is a free, open-source MCP server that provides Claude with a local SQLite database to track tasks, decisions, notes, and session summaries across conversations. Setup takes 30 seconds with the command: claude mcp add mindpm -e MINDPM_DB_PATH=~/.mindpm/memory.db -- npx -y mindpm.

Simplifying OpenClaw Hosting: BestClaw Keeps SSH and User-Friendly Functionality
BestClaw emerges as a straightforward solution for OpenClaw hosting, balancing ease of use with crucial SSH access, as discussed on r/openclaw.

Open-Source MCP Server Turns Claude into an Autonomous Literary Agent for Querying Publishers
The Agentic Publishing Node is an MCP server that lets Claude automatically cross-reference manuscripts against literary agent wishlists, generate query letters, format to Shunn standard, and log pitches — all from local markdown files.