
$0.60 per session, just on orientation. Here is what my AI agent was doing before writing any code.
GitHub: github.com/glincker/stacklit | npm: npx stacklit init I have been counting. Every time I open Claude Code on a repo, it reads 8 to 12 files before doing anything useful. read_file src/auth/service.ts . read_file src/db/connection.ts . One after another. Just orientation. Figuring out what goes where. On a medium repo, that costs about 400,000 tokens. The agent burns through its context window before writing a single line. Second session? Same files. Same cost. There is no memory. No map. No way for one agent's exploration to benefit the next. The file nobody made yet .gitignore tells git what to skip. package.json tells npm what to install. But nothing tells AI agents how your code is organized. So I made it. npx stacklit init One command scans your codebase and generates stacklit.json : { "modules" : { "src/auth" : { "purpose" : "Authentication and session management" , "files" : 8 , "lines" : 1200 , "exports" : [ "AuthProvider" , "useSession()" , "loginAction()" ], "depends_o
Continue reading on Dev.to
Opens in a new tab



