Skip to content

skill.md is bash-only and unrunnable on Windows; 0.9.35 removed the last PowerShell step #2528

Closed

Description

@tannermosher2015-debug

Environment

  • Reproduced against graphifyy 0.9.35 (inspected from the published wheel) and 0.9.25 (installed)
  • Windows 11, PowerShell 5.1, host is Claude Code
  • Skill installed via graphify install to ~/.claude/skills/graphify/

Summary

The bundled skill.md cannot be followed on Windows, and 0.9.35 made this worse than 0.9.25 by removing the only PowerShell-aware step.

The regression

In 0.9.25, Step 1 (interpreter detection) was a powershell fenced block that resolved the interpreter through uv tool dir, with pipx and active-venv fallbacks.

In 0.9.35 that same step is a bash block that resolves via which graphify, commented as being for "modern Mac/Linux". The uv tool dir branch is gone.

Measured across the two files:

signal 0.9.25 0.9.35
powershell fences 2 0
occurrences of "PowerShell" 4 0
occurrences of "Windows" 2 0
$(cat ...) invocations 12 13
bash fences 16 18

So on 0.9.35 there is no Windows-runnable step at all.

Why the remaining steps do not run on Windows

Steps 2, 3 (Parts A, B0, B3), 4, 4.5, 5 and 9 invoke Python as:

$(cat graphify-out/.graphify_python) -c "..."

$(...) and cat are POSIX. Step 9 also cleans up with rm -f and find ... -delete, neither of which exists in PowerShell.

An agent following the skill verbatim fails at Step 2 and must hand-translate every remaining step, re-quoting multi-line embedded Python for a different shell each time.

Suggested fix

Writing each step's Python to a real .py file, rather than passing it via -c, would make the steps shell-agnostic. The interpreter path is already persisted in graphify-out/.graphify_python, so only the invocation differs:

# posix
$(cat graphify-out/.graphify_python) step.py

# powershell
& (Get-Content graphify-out\.graphify_python) step.py

That avoids maintaining parallel blocks and removes the cross-shell quoting problem entirely. Restoring a Windows branch in Step 1's interpreter detection would also be needed, since uv tool is a common install path there.

Second, unrelated issue: Part B assumes unlimited concurrent subagents

Step B1 sizes semantic chunks at 20 to 25 files. Step B2 says to dispatch every chunk in one message, marked MANDATORY. Neither version mentions a host concurrency cap.

On a 504-file corpus this produced 21 chunks, and the 21st returned:

Concurrent subagent limit reached. You can run 20 subagents at once.

It fails safe (B3 detects the missing chunk file on disk), but costs a round trip and the recovery is undocumented. The cap belongs to the host, not to graphify, and on Claude Code it is configurable, so a hardcoded number would be wrong. Sizing by chunk count rather than files per chunk would be robust:

chunks = ceil(uncached_files / MAX_PARALLEL)   # MAX_PARALLEL default 20

Minor

graphify update . after adding a .graphifyignore rule correctly fails closed and points at --force. That behaviour is good; it is just undocumented in the skill's ignore guidance, and a plain update is the natural first attempt.

Activity

  1. changed the title [-]SKILL.md steps 2-9 are bash-only and fail on Windows, though step 1 is PowerShell[/-] [+]skill.md is bash-only and unrunnable on Windows; 0.9.35 removed the last PowerShell step[/+] on Aug 7, 2026
  2. safishamsi commented on Aug 7, 2026

    @safishamsi
    Member

    Fixed in v0.9.36. The Windows skill variant is now emitted as PowerShell for its later steps too (here-string interpreter invocations and Remove-Item cleanup) instead of bash-only shell; POSIX skills are unchanged and step parity is enforced by a generator check. For the record, this was a pre-existing cross-platform gap, not a 0.9.35 regression (the skill files were byte-identical between 0.9.34 and 0.9.35). A follow-up will extend the same PowerShell translation to the references sidecar. Thanks for the detailed report.

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions