RepoLens – An interactive local codebase packer and token optimizer (TUI/CLI) written in Go
Summary
RepoLens is a zero-dependency Go tool that packs local codebases into a single file for LLM context, featuring an interactive TUI file explorer, live token counting, comment stripping, and secret scanning.
Similar Articles
SecureLens - A self-hosted AppSec agent and CLI scanner
SecureLens is an open-source, self-hosted security auditing tool that uses an LLM-powered async pipeline to triage codebases and probe web infrastructure, with an interactive REPL for follow-up questions and patch generation.
Repo-Local Documentation System for Humans & Agents
A documentation system designed for both humans and AI agents, scoped to a local repository.
A fully local, self-hosted repo index for coding agents (Rust, MIT, runs offline)
Basemind is an open-source tool that indexes repositories locally and serves context to coding agents via the MCP protocol, offering code maps, git history, and document RAG without cloud dependencies.
ContextSniper: AntTrail's Token-Efficient Code Memory for Repository-Level Program Repair
ContextSniper is a token-efficient code memory layer for repository-level program repair using LLM agents. It reduces token usage by up to 51.5% and cost by up to 36.4% while maintaining similar resolution rates on SWE-bench Lite.
@tom_doerr: Reduces Claude Code and Cursor token costs by 60-95% https://github.com/yvgude/lean-ctx
lean-ctx is an open-source Rust-based context runtime that reduces token costs for AI coding agents like Claude Code, Cursor, Copilot, and others by 60–95% through file read compression and shell output optimization. It operates as a Shell Hook and MCP Server with 56 tools and multiple read modes.