The Claude Code Changelog
All Episodes
Claude Code 2.1.335: The New Harness Audit Command

Claude Code 2.1.335: The New Harness Audit Command

0:00|0:00

Version 2.1.335 introduces harness audit, a subcommand that scans your codebase for outdated agent scaffolding and proposes cleanup diffs. We also cover updates to prompt auditing, remote MCP connectors, Tab completion, and a critical fix for config file wipes.


Chapter 1

Claude Code v2.1.335 and Harness Audit

Lachlan Reed

Claude Code version two point one point three three five just dropped, and if you have been nursing an older agent harness along, there is a new command you will want to run today. This is Claude Code Changelog, brought to you by Jellypod AI. I am Lachlan Reed, here with James Turner, and we are looking at what shipped on December second and third.

James Turner

The headliner in two point one point three three five is a new subcommand inside the claude api skill called harness audit. If you run slash claude api harness audit inside your repo, it scans your codebase for agent harness code that was written around older model limitations. Specifically, it looks at loop limits, sub agents, context management, injected reminders, and session start code, and then it proposes fixes as a diff.

Lachlan Reed

That is huge for anyone who built custom orchestration six months ago. You put in tight iteration caps, manual context pruning workarounds, or heavy handed system reminders because the older models needed guardrails. Then you upgrade the model, and all that scaffolding just sits there, throttling performance or adding unnecessary complexity. Hunting through every prompt and loop by hand is brutal.

James Turner

To use it, just open a Claude Code session in the repository containing your custom agent or SDK harness code and run slash claude api harness audit. It will output a reviewable diff before touching anything. Also worth noting, in the same release, slash claude api prompt audit got an update too. It now flags broad ask first rules, always delegate instructions, and treat earlier answers as done lines, while keeping the stop early guidance the model actually needs.

Lachlan Reed

One caveat to watch out for. The changelog does not specify which exact languages, frameworks, or older model thresholds harness audit targets. Yeah, so do not just blindly accept every diff it proposes. If you have a strict loop limit or a session start check that exists for cost control, rate limits, or compliance, you want to keep that. Review the diff line by line.

James Turner

Beyond harness audit, there are a few solid quality of life updates in two point one point three three five. First, on paid plans, you can now run claude mcp add with the web flag to add a remote MCP server as a claude dot ai connector straight from your terminal. Second, Tab completion now works for slash model, slash effort, slash mcp, slash advisor, slash tui, and slash color arguments. And in those menus, plus slash plugin and slash config, pressing Enter now runs what you typed unless you arrow down to a row.

Lachlan Reed

A couple more quick wins. If you are in fullscreen mode outside VS Code, inside a git repo, and your terminal is at least one hundred ten columns wide, you can now click a file path in a reply or tool row to open the file beside the chat at that exact line. There is also a new Interrupt hook event that fires when a turn is interrupted and tells you whether a person, another session, or the system stopped it. Linux users get slash desktop and claude dash dash desktop support, and they fixed a nasty bug where tilde slash dot claude dot json could get wiped to default settings at startup if your drive threw an I O error or timed out.

James Turner

That config fix alone saves a lot of headaches. Update to two point one point three three five, run slash claude api harness audit on your agent repos, and see what legacy scaffolding you can clear out. Thanks for listening.