Fossil is a specialized static analysis toolkit designed to combat the code quality issues prevalent in "vibe-coded" projects, where AI agents generate a significant portion of the codebase. Traditional linters often miss the specific problems that arise from this workflow, such as orphaned functions, structural code duplication, temporary AI scaffolding markers, and uncleaned temporary files. Fossil addresses these challenges by building a comprehensive code graph, allowing it to trace function connectivity and identify issues that simple text search cannot. It functions both as a CLI tool for developers and as an MCP server, empowering AI agents with a deeper understanding of the codebase to improve their output and reduce costly LLM inference rounds.
