Expose Claude skills through available commands#652
Open
benjaminshoemaker wants to merge 1 commit into
Open
Conversation
Author
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.

Summary
Refs zed-industries/zed#55983.
This updates
@anthropic-ai/claude-agent-sdkto0.2.139, whosesupportedCommands()output includes Claude skills from.claude/skills. Sinceclaude-agent-acpalready publishessupportedCommands()as ACPavailable_commands_update, this makes Claude skills discoverable in ACP clients such as Zed's Agent Panel using Claude's native/skill-nameconvention.The newer SDK also adds a
permission_deniedsystem message variant, so this PR handles it with the existing ignored system-status events to keep the message handling exhaustive.Testing
npm run buildnpm run test:runnpm run checkgit diff --check.claude/skills/test-skill/SKILL.md:query(...).supportedCommands()returnedtest-skillwith its description and argument hint.claude-agent-acppackage:ai_coding_project_base, which has project skills under.claude/skills.Claude Agentthread./ for commands./and saw project skills in the completion menu, includingauto-verify,verify-task,ui-ux-pro-max,discover, andgo.Screenshots
I verified this visually in Zed's Agent Panel, but did not commit screenshots into the repo. The relevant visible state was the slash-command completion menu listing project skills such as
auto-verify,verify-task,ui-ux-pro-max,discover, andgoin aClaude Agentthread.Notes
This intentionally uses Claude Agent SDK's existing command discovery instead of adding a parallel skill scanner in the ACP adapter.
Release Notes: