-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Skill tool fails immediately when invoking code-review plugin (Execute skill error, ~24ms) #1145
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingp2Non-showstopper bug or popular feature requestNon-showstopper bug or popular feature request
Description
Describe the bug
When code-review@claude-code-plugins is configured as a plugin, the plugin installs successfully and appears correctly in the skill list, but the Skill tool call fails immediately (~24ms) with a generic error. Claude then falls back to performing the review inline without the plugin.
Environment
- Claude Code version: 2.1.90
- claude-code-action:
anthropics/claude-code-action@v1(SHA:58dbe8ed6879f0d3b02ac295b20d5fdfe7733e0c) - Session ID:
b27886c8-78cf-4530-aafe-930f542ef645 - Trigger:
issue_comment
Steps to reproduce
- Configure the workflow with
code-review@claude-code-pluginsplugin (see workflow below). - Trigger via PR comment (
@claude please review this PR). - Plugin installs and is listed in skills correctly.
- Claude invokes
Skilltool with{ "skill": "code-review:code-review", "args": "--comment" }. - Tool returns
is_error: trueafter ~24ms.
What happens
From the session log (show_full_output: true):
✔ Successfully installed plugin: code-review@claude-code-plugins (scope: user)
...
"skills": ["code-review:code-review", ...] ← plugin registered correctly
...
# Claude invokes Skill tool:
{ "name": "Skill", "input": { "skill": "code-review:code-review", "args": "--comment" } }
# Immediate failure (~24ms later):
{ "type": "tool_result", "content": "Execute skill: code-review:code-review", "is_error": true }
"tool_use_result": "Error: Execute skill: code-review:code-review"
The error message is just the execution command echoed back with no stack trace or detail, suggesting an unhandled exception in the skill execution layer.
Expected behavior
The code-review:code-review skill executes and performs the review using the plugin's logic.
Actual behavior
Skill tool fails immediately. Claude falls back to performing an inline review without the plugin.
Workflow config
- uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
plugin_marketplaces: https://github.com/anthropics/claude-code.git
plugins: code-review@claude-code-plugins
claude_args: >-
--allowedTools Read,Write,Edit,Bash(git:*),
mcp__github_inline_comment__create_inline_comment,
Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)
prompt: |
If asked to review code or a pull request, you MUST use `/code-review:code-review --comment`.Notes
- The
rate_limit_event(overageStatus: rejected) fires at the same timestamp but is unrelated —status: allowedconfirms the request went through. - Related but different issue: code-review plugin completes review but produces empty result — no PR comment posted #1087 (plugin completes but posts no comment — different failure mode).
- Plugin path on runner:
/home/runner/.claude/plugins/marketplaces/claude-code-plugins/plugins/code-review
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingp2Non-showstopper bug or popular feature requestNon-showstopper bug or popular feature request