cmux-ghostty — Claude Code skill: what it does, how to install
Enforces workflow guidelines for the Ghostty submodule and GhosttyKit compilation in cmux. Useful when syncing the fork or committing submodule pointers.
npx skills add manaflow-ai/cmux --skill cmux-ghostty -a claude-codeWhat cmux-ghostty does
This skill defines exact rules for touching the ghostty submodule in the cmux codebase. It instructs agents to compile GhosttyKit.xcframework using Zig with ReleaseFast optimization for universal targets. It also demands updating docs/ghostty-fork.md whenever fork modifications or merge conflicts occur.
Its core rule prevents broken parent repository references. You must push your submodule commits to the remote fork branch before updating the pointer in cmux. Committing on a detached HEAD breaks CI runs for other developers because the remote cannot fetch missing commits. The skill provides git merge-base inspection commands to verify commit reachability before committing to the parent project.
What it helps with
- compile GhosttyKit.xcframework with universal Zig release build
- sync the ghostty submodule fork with ghostty-org upstream
- verify submodule commit reachability before updating parent pointers
- document conflict notes in docs/ghostty-fork.md
Example prompts for the agent
- Rebuild GhosttyKit.xcframework for cmux with release flags
- Pull the latest upstream commits from ghostty-org into our fork
- Verify the ghostty submodule pointer before committing in cmux
How to install cmux-ghostty
1Skills CLI (Vercel)
npx skills add manaflow-ai/cmux --skill cmux-ghostty -a claude-code2Manually: put the files in place
~/.claude/skills/cmux-ghostty/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/cmux-ghostty/
1Skills CLI (Vercel)
npx skills add manaflow-ai/cmux --skill cmux-ghostty -a codex2Manually: put the files in place
.agents/skills/cmux-ghostty/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add manaflow-ai/cmux --skill cmux-ghostty -a cursor2Manually: put the files in place
.cursor/skills/cmux-ghostty/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install manaflow-ai/cmux cmux-ghostty2Manually: put the files in place
.github/skills/cmux-ghostty/SKILL.md1Skills CLI (Vercel)
npx skills add manaflow-ai/cmux --skill cmux-ghostty -a gemini-cli2Platform CLI
gemini skills install https://github.com/manaflow-ai/cmux --path skills/cmux-ghosttyManually: put the files in place
.devin/skills/cmux-ghostty/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add manaflow-ai/cmux --skill cmux-ghostty -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set12
The whole set →Similar
Questions about cmux-ghostty
How to install cmux-ghostty in Claude Code?
Run the command npx skills add manaflow-ai/cmux --skill cmux-ghostty -a claude-code. You can also place the skill file manually at ~/.claude/skills/cmux-ghostty/SKILL.md.
What does the cmux-ghostty skill do?
It outlines standard steps for rebuilding GhosttyKit and safely committing Git submodule changes. It applies to ghostty, vendor/bonsplit, and homebrew-cmux.
What tool builds GhosttyKit.xcframework?
The framework requires Zig, compiling with flags -Demit-xcframework=true, -Dxcframework-target=universal, and -Doptimize=ReleaseFast.