.NET CLI tools in the AI fury or how to guide agents during production investigations
Christophe Nasarre discusses how to integrate diagnostic tools like dotnet-dump, dotnet-counters, and dotnet-dstrings with AI agents like Cursor, GitHub Copilot, Claude Code, and Visual Studio.
In the article, the author describes three scenarios: turning your own CLI utilities into MCP servers with typed tools and ready-made workflows, using SKILL.md files to manage existing console utilities without changing their code, and a more advanced option — managing graphical applications like Windbg through a special bridge.
According to Christoph, this approach allows AI to be entrusted not only with writing code, but also with a full-fledged investigation of problems in production, from finding memory leaks to analyzing locks and the causes of high application latency.