Topical Takes
Short, opinionated posts on eBPF, Linux internals, and the tools we all run in production.
How Do I Give Claude Code Access to My Database Queries on Linux? (2026)
There are three levels of database access you can give a coding agent, and they answer different questions. A read-only role explains query plans, pg_stat_statements ranks expensive statements, and a socket reader like sqlsnoop shows the statements your app actually sent, with bound values and the sending process, without a credential or a connection to the database.
Can an AI Agent Debug My Database Without Connecting to It? (Linux 2026)
An agent can read every statement your app sends Postgres or MySQL off the socket, with bound values and the sending process, without a role, a password or a connection. That covers N+1 patterns, query storms and unexpected senders. Query plans still need EXPLAIN. Where the line falls, and what the capture still exposes.