fix(skill_triggered): detect skill engagement by regex, not the Skill tool#17
Closed
Mihaiii wants to merge 1 commit into
Closed
fix(skill_triggered): detect skill engagement by regex, not the Skill tool#17Mihaiii wants to merge 1 commit into
Mihaiii wants to merge 1 commit into
Conversation
… tool
Neither Antigravity CLI nor Codex CLI has a Skill tool — only Claude Code
does. Both engage a skill by reading its SKILL.md off disk: Antigravity via
its file-view/read tool (view_file -> Read), Codex via shell (cat/sed,
recorded as Bash). The Delegate SDK harness likewise has no Skill tool.
Detection now matches a skill-specific regex over the serialized command
parameters instead of inspecting cmd.tool_name == "Skill":
skills/<name>/ # skill files read off disk (repo path or
# .agents/skills/ symlink), any tool's params
"skill": "<name>" # Claude's Skill-tool arg, optionally namespaced
This scores identically across all agents and requires no Skill tool.
Add tests for a Read tool whose path ends in SKILL.md (Antigravity's
.agents/skills/ layout) and a guard that a SKILL.md outside any skill dir
does not false-positive.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author
|
Closing as redundant. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Neither Antigravity CLI nor Codex CLI has a Skill tool — only Claude Code does. Both engage a skill by reading its SKILL.md off disk: Antigravity via its file-view/read tool (view_file -> Read), Codex via shell (cat/sed, recorded as Bash).
Detection now matches a skill-specific regex over the serialized command parameters instead of inspecting cmd.tool_name == "Skill".
This scores identically across all agents and requires no Skill tool.
Add tests for a Read tool whose path ends in SKILL.md (Antigravity's .agents/skills/ layout) and a guard that a SKILL.md outside any skill dir does not false-positive.