New tool 'skilldiff' detects behavioral regressions in AI coding agent skill files
A developer has released an open-source tool called skilldiff, designed to catch unintended behavioral changes when editing SKILL.md instruction files used by AI coding agents like Claude Code, Cursor, and Codex. The tool runs a skill file in a real agent environment against a fixture repository, comparing outputs from the old and new versions of the file across a pull request. Unlike standard text diffs, skilldiff tracks what the agent actually does — including files modified, commands executed, and tools invoked — rather than just what text changed. A built-in assertion system flags forbidden actions, such as an agent unexpectedly creating or modifying files it was not supposed to touch. In CI mode, the tool replays recorded traces deterministically without requiring an API key, and can post behavior reports directly to pull requests to block regressions from merging.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in