[BUG] Skill tool fails to activate plugin-dev skills - missing build.sh script
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
The Skill tool fails when attempting to activate any skill from the plugin-dev plugin (part of
the claude-code-plugins marketplace) due to a missing build script. This prevents users from
accessing authoritative plugin development guidance during slash command creation, agent
development, and plugin auditing workflows.
Steps to Reproduce
- Ensure claude-code-plugins marketplace is installed
- Attempt to activate any plugin-dev skill:
Skill --skill plugin-dev:command-development
# or
Skill --skill plugin-dev:agent-development
# or any other plugin-dev skill
- Observe error
Expected Behavior
The skill should load and display its content (guidance for command development, agent
development, hook development, etc.) to inform the user's workflow.
Actual Behavior
Error is returned:
Bash command failed for pattern "!bash ~/.claude/plugins/marketplaces/claude-code-pl": [stderr]
ugins/plugins/plugin-dev/scripts/build.sh
bash: ~/.claude/plugins/marketplaces/claude-code-plugins/plugins/plugin-dev/scripts/b
uild.sh: No such file or directory
Analysis: The Skill tool appears to be attempting to execute a build script to dynamically
generate skill content, but this script doesn't exist in the plugin-dev plugin installation.
Environment
- Platform: Linux (WSL2)
- OS Version: Linux 6.6.87.2-microsoft-standard-WSL2
- Claude Code Version: [current version]
- Marketplace: claude-code-plugins
- Plugin: plugin-dev
- Skill Names Affected: All plugin-dev skills
- plugin-dev:command-development
- plugin-dev:agent-development
- plugin-dev:hook-development
- plugin-dev:skill-development
- plugin-dev:mcp-integration
- plugin-dev:plugin-structure
- plugin-dev:plugin-settings
Impact
Severity: Medium-High
User Impact:
- Cannot access authoritative plugin development criteria during audits
- Slash command and agent creation workflows lack proper guidance
- Plugin quality validation operates without official standards
- Users must rely on general knowledge instead of plugin-dev best practices
Workaround: None available - skills simply don't load
Use Case Example
When using /audit-request command to audit a slash command, the specification
requires mandatory skill evaluation:
## MANDATORY SKILL EVALUATION - PHASE 0.5
CRITICAL BLOCKING INSTRUCTION: You MUST complete this skill evaluation
phase BEFORE Phase 1 (Discovery & Parsing). Auditing plugin components
without authoritative skill criteria makes your compliance assessment WORTHLESS.
For EACH skill below, explicitly output:
- YES with specific reason this skill applies to current audit
- NO with specific reason this skill doesn't apply
For each skill evaluated as YES, immediately invoke using Skill tool:
```bash
Skill --skill plugin-dev:command-development
This workflow is completely blocked by the missing build script.
### Additional Context
File Path Expected: ~/.claude/plugins/marketplaces/claude-code-plugins/plugins/p
lugin-dev/scripts/build.sh
Possible Root Causes:
- The build script was never included in the plugin-dev plugin package
- The script exists elsewhere but path configuration is incorrect
- The Skill tool is incorrectly trying to execute a build script when it should directly load
skill content
- Installation process failed to create/copy the build script
Related Files (if they help):
- Plugin manifest:
.claude/plugins/marketplaces/claude-code-plugins/plugins/plugin-dev/.claude-plugin/plugin.json
- Skills directory:
.claude/plugins/marketplaces/claude-code-plugins/plugins/plugin-dev/skills/ (may contain skill
markdown files)
### Suggested Fix
If skills are markdown files in a skills/ directory, the Skill tool should directly read those
files rather than executing a build script. If dynamic generation is required, the build script
should either:
- Be included in the plugin package
- Have a fallback to read pre-generated content
- Be documented in the plugin-dev installation instructions
What Should Happen?
The skill should load and display its content (guidance for command development, agent
development, hook development, etc.) to inform the user's workflow.
Error Messages/Logs
Bash command failed for pattern "!`bash ~/.claude/plugins/marketplaces/claude-code-pl
ugins/plugins/plugin-dev/scripts/build.sh`": [stderr]
bash: ~/.claude/plugins/marketplaces/claude-code-plugins/plugins/plugin-dev/scripts/b
uild.sh: No such file or directory
Steps to Reproduce
Prerequisites
- Have Claude Code installed with claude-code-plugins marketplace
- Verify plugin-dev plugin exists:
ls ~/.claude/plugins/marketplaces/claude-code-plugins/plugins/plugin-dev
- Expected: Shows README.md, agents/, commands/, skills/ directories
Reproduction Steps
Step 1: Attempt to activate the command-development skill
Skill --skill plugin-dev:command-development
Step 2: Observe the error
Bash command failed for pattern "!bash /home/chnzca/.claude/plugins/marketplaces/claude-code-pl": [stderr]
ugins/plugins/plugin-dev/scripts/build.sh
bash: /home/chnzca/.claude/plugins/marketplaces/claude-code-plugins/plugins/plugin-dev/scripts/b
uild.sh: No such file or directory
Step 3: Verify the build script is indeed missing
ls ~/.claude/plugins/marketplaces/claude-code-plugins/plugins/plugin-dev/scripts/
Expected error: No such file or directory
Step 4: Verify the skill content exists but isn't being loaded
cat ~/.claude/plugins/marketplaces/claude-code-plugins/plugins/plugin-dev/skills/command-develop
ment/SKILL.md | head -20
Expected: Shows complete skill content (proves content exists and doesn't need building)
Expected Behavior
The skill should load and display its content to provide command development guidance.
Actual Behavior
Error about missing build.sh script, skill fails to load despite SKILL.md existing and being
complete.
Affects
All 7 plugin-dev skills:
- plugin-dev:command-development
- plugin-dev:agent-development
- plugin-dev:hook-development
- plugin-dev:skill-development
- plugin-dev:mcp-integration
- plugin-dev:plugin-structure
- plugin-dev:plugin-settings
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.0.59
Claude Code Version
2.0.50
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
_No response_
This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗