Skip to content

fix(playbooks): skill-authoring fails to load when Bash is not granted #16145

Closed

Description

@kyle-sexton

Problem

The playbooks:skill-authoring skill fails to load in every claude plugin eval run of its own cases. In 72 of 72 runs measured on 2026-11-14 (6 skill-authoring-* cases, sonnet and opus, 3 runs per side, at ac51b1c41e and fc4b95cc0f, Claude Code 2.1.325), each Skill call ends with:

Shell command permission check failed for pattern "!`command`": Permission to use Bash has been denied.

The only place that pattern appears in the skill is prose, at plugins/playbooks/skills/skill-authoring/SKILL.md:181: the sentence that explains dynamic-context injection writes the syntax itself inside a code span (an exclamation mark followed by a backticked command). The loader reads it as a real pre-computed command. The cases grant no Bash, so the permission check fails and the skill body never loads. plugins/evals/skills/plugin-eval/SKILL.md carries the same kind of text and loaded in every one of its runs, so the difference between the two files is part of what to find.

Effect: the six skill-authoring eval cases measure a session without the skill, on both sides of any compare. The two-version compare for issue 15707 could not measure the playbooks plugin for this reason. In an ordinary session the same line may run command or prompt for it on every load; that is not yet checked.

Outcome

playbooks:skill-authoring loads in an eval run that grants no Bash, and its prose can still show the injection syntax.

Done when

  • The cause is confirmed by a run, not by reading: one skill-authoring-* case run with the line changed loads the skill (the trace shows the skill body, and no Shell command permission check failed line).
  • The prose still shows readers the injection syntax, written so the loader does not execute it (the pull request states which escape or wording the loader ignores, with the docs line or the run that proves it).
  • Every other tracked SKILL.md is checked for the same pattern in prose, and the pull request lists what it found.
  • 6 runs of the six skill-authoring-* cases on sonnet at the fixed head: the skill fires in every should-trigger run, recorded in the pull request with the per-case scores.
  • The before/after eval docs/review/skills-and-agents.md requires for a skill-body change is in the pull request body; the BEFORE side is expected to show the load failure, and the body says so.

Out of scope

  • The validity gate and the static validator not flagging this (filed separately).

Activity

  1. added
    needs-triage
    on Nov 14, 2026
  2. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Low
    Uncertainty: Knowable
    Flags: none
    Blocked by: none

    Understood: the playbooks:skill-authoring skill fails to load in eval runs that grant no Bash. The loader reads the injection syntax written as prose at SKILL.md:181 as a real shell command. The fix is to reword or escape that line so the syntax still shows but doesn't run, then confirm it with an eval run. You also want the other SKILL.md files checked for the same pattern.

    The outcome and done-when items are exact, so nothing is missing. I found no duplicate among the open issues and no merged pull request that already fixes this.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 14, 2026
  4. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"b92b40454e4f3323f23e48ed4cf1b1b82d68d521eeda99ea907d486cd3b201c2","body_sha256":"216208cc8ab0b3c706b27eee42d4d95aa3211a387e7cfba891acaed0d513fbc9"}

  5. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor
    No description provided.
  6. added
    host-run
    on Nov 14, 2026
  7. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped on this issue (host-only): the run reports the work needs a host run the lane cannot make.
    It added host-run and set Work status to confirmed: an agent run on a host builds it, and it waits on no decision from a person.

    In the run's words:

    host-only: the fix is in the working tree, but done-when items 1, 4 and 5 each need claude plugin eval runs of the six skill-authoring-* cases (before/after on sonnet), and this lane cannot run claude or any command beyond its named wrappers. A host run must record those evals in the PR body.

    What the run says it did not do:

    • Done-when 1: confirm the cause by running one skill-authoring-* case with the changed line and seeing the skill body and no 'Shell command permission check failed' line. Needs claude plugin eval on a host; this lane cannot run it
    • Done-when 4: 6 runs of the six skill-authoring-* cases on sonnet at the fixed head, with per-case scores. Needs a host eval run
    • Done-when 5: the before/after eval docs/review/skills-and-agents.md requires for a skill-body change, with BEFORE expected to show the load failure. Needs a host eval run
    • Done-when 2 rests on the documented rule (cited in verification) and on plugin-eval/SKILL.md:463 using the same form and loading in every run, per the issue's own measurement. No run in this lane confirmed it
    • Tidy: the markdown passes on SKILL.md:182 were skipped because the hunk changes one byte inside a code span and no words. The ai-slop detector script could not run under this lane's Bash limits, so the fragment line got only a rubric read (no tells)
    • Unrelated untracked dotfiles (.bashrc, .gitconfig, .idea, .mcp.json and others) appear in git status. They are runner or sandbox artifacts, left untouched and not part of this change

    Partial work is on the branch work-resolve-issue/issue-16145-43562306750-1. The next run continues from it while it is not behind the default branch, and otherwise starts fresh.

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43562306750

    To hand it back to the lane, remove host-run and set Work status to agent-ready again.

  8. removed
    host-run
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Work status

    confirmed

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions