codesight — Summary
codesight is a universal AI context generator that compiles a codebase into a compact, token-efficient summary file (CODESIGHT.md) using AST-precision analysis and pattern detection across 30+ frameworks and 14 languages. Its primary value proposition is reducing per-conversation token spend by 7–130x by replacing raw file exploration with pre-compiled, structured maps of routes, schemas, components, middleware, and dependency graphs. The tool operates entirely locally with zero dependencies and zero API calls, running in ~200ms via a single npx codesight invocation. Beyond the base context map, codesight v1.6.2+ adds a wiki mode that generates a persistent .codesight/wiki/ knowledge base organized by domain (auth, database, payments, UI), allowing AI sessions to start with a 200-token index rather than the full 5K-token context map. An MCP server mode exposes 13 tools directly to Claude Code, Cursor, and any MCP-compatible client, and a --init flag generates platform-specific config files (CLAUDE.md, .cursorrules, codex.md, AGENTS.md) automatically. Unlike seed frameworks that focus on agent behavior rules or orchestration, codesight is a static analysis tool: it occupies the "input preparation" layer before any AI session begins, making it most similar to agent-os in its "write files that agents read" philosophy but differentiated by AST-precision extraction rather than manual template content.