[FEATURE] expand ${CLAUDE_PLUGIN_ROOT} in "allowed-tools" portion of skills

Resolved 💬 3 comments Opened Mar 6, 2026 by arista-allan Closed Apr 19, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

The YAML preamble for skills could be a lot more flexible in supporting skill scripts if it expanded this env variable, allowing skill authors to whitelist skill scripts.

Proposed Solution

This would now work, where the update script is part of the skill:

allowed-tools: allowed-tools: Bash(python3 ${CLAUDE_PLUGIN_ROOT}/scripts/update_docs_cache.py)

If you elect to NOT support this feature, then at least issue a diagnostic if env vars are detected in allowed-tools

Alternative Solutions

_No response_

Priority

High - Significant impact on productivity

Feature Category

Developer tools/SDK

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗