Dev & Engineering

cmux Ghostty Submodule Workflow Skill

Standardizes Ghostty submodule commits, GhosttyKit.xcframework rebuilds, and parent pointer updates for cmux contributors, preventing dangling submodule pointers that break CI and checkouts.

54/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 28k
Last updated
1d ago
License
NOASSERTION
git-submodulesghosttymacoszig
+3xcframeworkgit-workflowterminal-emulator

What does this skill do, and when should you use it?

This is the skill at skills/cmux-ghostty in the manaflow-ai/cmux repository, aimed at contributors working on cmux itself. It prescribes the commit-and-push workflow for the Ghostty submodule, the Release-optimized GhosttyKit.xcframework build command, and the safe order for updating the parent repo's submodule pointer. Its core value is preventing a subtle class of git accidents: committing submodule changes on a detached HEAD, which leaves the parent pointing at a SHA unreachable from any remote branch and breaks future checkouts or CI jobs. It also mandates keeping docs/ghostty-fork.md current with fork changes and conflict notes.

  • Rebuilds GhosttyKit.xcframework with ReleaseFast via zig build -Demit-xcframework=true -Dxcframework-target=universal -Doptimize=ReleaseFast inside the ghostty submodule
  • Identifies the manaflow-ai/ghostty fork remote with git remote -v (usually origin), then creates branches, commits, and pushes inside the submodule
  • Adds ghostty-org/ghostty as an upstream remote, fetches/merges upstream main, and pushes back to the fork
  • Commits the updated ghostty submodule pointer in the parent repository only after the submodule commit is pushed
  • Verifies reachability with git merge-base --is-ancestor HEAD origin/main
  • Maintains fork change and conflict notes in docs/ghostty-fork.md
Good fit
  • A contributor modifying the ghostty submodule in cmux who needs to rebuild GhosttyKit.xcframework; a maintainer syncing changes from upstream ghostty-org/ghostty into the manaflow-ai/ghostty fork; a developer updating the parent repo's submodule pointer who wants to guarantee the SHA is reachable from a remote branch; a team defining a safe push order for a multi-submodule repo (ghostty, vendor/bonsplit, homebrew-cmux).
Not a fit
  • Everyday cmux users who never touch the source — the skill is for contributors, not app users
  • Non-macOS or non-zig environments — the xcframework build depends on macOS and the zig toolchain
  • Generic submodule projects unrelated to cmux — the fork remote names and submodule list (ghostty, vendor/bonsplit, homebrew-cmux) are cmux-specific

How do you install this skill?

Before you use it
  • This is a narrow workflow skill for cmux repository contributors, not general Ghostty terminal users; the skill's license metadata is NOASSERTION — verify GPL-3.0-or-later applicability yourself before use.
  • Push and merge instructions write to external repositories; if the upstream or fork remote is unreachable (e.g., from mainland-China networks), the workflow breaks and no alternative is provided.
  • Build commands depend on the zig and Xcode toolchains with no version requirements or failure-diagnosis guidance.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
  • Local filesystem
Install first
  • git
  • zig
  • macOS (for building GhosttyKit.xcframework)

The source does not document install commands. The skill lives at skills/cmux-ghostty/ in the manaflow-ai/cmux repo (SKILL.md plus references/submodule-safety.md). In an Agent Skills-compatible client, copy the folder into your skills directory per that client's convention, e.g.:

git clone https://github.com/manaflow-ai/cmux.git
cp -r cmux/skills/cmux-ghostty ~/.claude/skills/

(The exact destination depends on your client; the source does not spell out this step.)

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • I changed code in the ghostty submodule inside cmux — walk me through committing and pushing it to the manaflow-ai/ghostty fork, then updating the parent submodule pointer
  • Merge upstream ghostty-org/ghostty main into our fork and sync the parent repo pointer
  • Rebuild GhosttyKit.xcframework and make sure ReleaseFast optimizations are used
  • Check that my latest submodule commit is reachable from origin/main so CI won't fail to fetch it

The skill triggers on its SKILL.md description: when modifying the ghostty submodule, rebuilding GhosttyKit.xcframework, updating the parent submodule pointer, or documenting fork conflict notes, the agent follows these rules. Key flow: run git remote -v first to find the fork remote; commit and push inside the submodule to a remote branch; verify reachability with merge-base; only then commit the pointer update in the parent. Details are in the bundled references/submodule-safety.md (ordered safe sequence and fork documentation expectations). The xcframework build command is:

cd ghostty && zig build -Demit-xcframework=true -Dxcframework-target=universal -Doptimize=ReleaseFast

What are this skill's strengths and limitations?

Pros
  • Authored in the official cmux repo, so the rules match the project's actual fork and submodule structure
  • Explicitly guards against dangling submodule pointers — a common, silent git failure — with a runnable verification command
  • Handles the historical remote-naming difference (fork may be origin or manaflow), reducing copy-paste errors
  • Ships references/submodule-safety.md with a more detailed ordered sequence
Limitations
  • Only applies to cmux and its submodule layout; limited transferability
  • The build step requires the zig toolchain on macOS; other platforms cannot perform the xcframework build
  • Installation and triggering are not verbatim documented in the source; relies on generic Agent Skills support in the client
  • The repo's license is marked NOASSERTION on GitHub (README states GPL-3.0-or-later plus some BSL 1.1 components) — confirm terms before reusing skill content

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
cmux Ghostty Submodule Workflow Skill this page 54 · Use with care ★ 28k 1d ago NOASSERTION
cmux Debugging Skill 56 · Use with care ★ 28k 1d ago NOASSERTION
cmux Workspace Skill 64 · Recommended ★ 28k 1d ago NOASSERTION
cmux Customization 55 · Use with care ★ 28k 1d ago NOASSERTION
cmux Custom Sidebar 50 · Use with care ★ 28k 1d ago NOASSERTION

The source does not compare this skill against other skills or tools; what distinguishes it from generic git guidance is that it is tailored to the manaflow-ai/ghostty fork and cmux's submodule set.

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
54/ 100 5-point scale 2.7 / 5
1Trust17 / 25 · 3.4/5

The skill provides instructional guidance only for git submodule and GhosttyKit build workflows; no network calls, credential handling, or destructive operations. 'Push submodule before updating parent pointer' and the merge-base reachability check reflect a defensive process. Deducted for: no explicit user confirmation, rollback guidance, or failure-recovery steps; external effects of remote pushes are not disclosed as data flow.

2Reliability9 / 20 · 2.3/5

Instructions are self-consistent, handle the historical remote-naming difference (git remote -v first), and provide a merge-base --is-ancestor verification command. Deducted for: static review cannot execute; no failure feedback for merge conflicts, fetch failures, or non-fast-forward pushes; tests and edge-case coverage are thin.

3Adaptability9 / 15 · 3.0/5

Frontmatter description and triggers are clear (modifying the ghostty submodule, rebuilding GhosttyKit.xcframework, updating the pointer); non-fit boundaries are implicit (cmux contributors only). Deducted for: very narrow audience, no environment-fit notes, no disclosure of dependence on GitHub/Ghostty upstream reachability, no Chinese-language consideration.

4Convention9 / 15 · 3.0/5

Good document layering: SKILL.md main flow plus references/submodule-safety.md plus agents/openai.yaml interface; stable naming. Deducted for: skill-level license metadata is NOASSERTION; no versioning, changelog, or explicit update path; the repo mixes GPL-3.0-or-later and BUSL-1.1 and the skill does not state which terms apply.

5Effectiveness6 / 15 · 2.0/5

The core task (safely committing/pushing the submodule and updating the parent pointer) is complete and directly usable, and prevents the real orphaned-SHA pain point versus unguided manual work. Deducted for: static review cannot verify build command reproducibility; output quality and cost/benefit lack execution evidence.

6Verifiability4 / 10 · 2.0/5

Key claims (safe sequence, orphaned-SHA risk) are partially corroborated by in-repo CI workflows (submodule SHA download logic). Deducted for: no third-party execution evidence, no tests directly covering this skill path, and no fact/inference separation.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Oct 10, 2026 Reviewed revision 3dd1fe78859f Review evidence[1][2][3][4][5][6][7][8][9][10][11][12]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Who is this skill for?
Only contributors to cmux who touch the ghostty submodule or rebuild GhosttyKit.xcframework. Pure users of the cmux app do not need it.
Why push the submodule before updating the parent pointer?
If the parent pointer targets a SHA unreachable from any remote branch (e.g., committed on a detached HEAD or temp branch), future checkouts or CI jobs fail to fetch it. The skill requires a `git merge-base --is-ancestor` check.
Which remote do I push to?
The manaflow-ai/ghostty fork. Confirm with `git remote -v`: in a normal checkout it is origin; older setups may name the fork manaflow, so substitute accordingly.
What environment does it need?
git, plus the zig toolchain on macOS for the xcframework build. The skill itself is plain Markdown instructions with no scripts.

More skills from this repository

All from manaflow-ai/cmux

Dev & Engineering

cmux Debugging Skill

Gives AI agents the project-specific debugging conventions for cmux — a Ghostty-based macOS terminal — so probes, profiling, and UI changes never break typing latency or live agent sessions.

★ 28k FS 56 Use with care 1d ago
Dev & Engineering

cmux Workspace Skill

Lets an AI coding agent work safely inside the cmux workspace that invoked it, without disturbing the workspace or window the user is actually looking at.

★ 28k FS 64 Recommended 1d ago
Dev & Engineering

cmux Customization

A skill for safely customizing the cmux terminal: edit cmux., Dock config and Ghostty preferences to tailor actions, layouts, shortcuts and notifications without breaking existing config.

★ 28k FS 55 Use with care 1d ago
Dev & Engineering

cmux Custom Sidebar

Turn a plain-language request into a hot-reloading custom cmux sidebar — no Xcode, no build step, no signing.

★ 28k FS 50 Use with care 1d ago
Dev & Engineering

cmux Core Control

Deterministically control cmux terminal topology — windows, workspaces, panes, surfaces, focus, and attention cues — via the cmux CLI, built for AI coding agent automation.

★ 28k FS 47 Use with care 1d ago
Dev & Engineering

cmux Keyboard Shortcuts

Turns your key preferences into working cmux shortcut bindings, with templates, snapshots, and rollback instead of blind JSON edits.

★ 28k FS 58 Recommended 1d ago
Dev & Engineering

cmux Settings Management Skill (cmux-settings)

Safely view, edit, and roll back cmux's cmux. configuration with hot reload — changes apply on save, no app restart.

★ 28k FS 58 Recommended 1d ago
Automation & Ops

cmux Cloud VM Skill

Lets an AI agent operate cmux Cloud machines through the cmux CLI: run durable remote commands and coding agents on persistent terminals, then present verified results to the user.

★ 28k FS 56 Use with care 1d ago
Dev & Engineering

cmux-capture: Screenshot and Record cmux Windows

Capture screenshots or recordings of a cmux window from the CLI to supply real evidence for PRs, bug reports, and visual verification — with no screen recording permission required.

★ 28k FS 55 Use with care 1d ago
Dev & Engineering

cmux Review — Pre-merge Agent Code Review

Reviews agent-written code changes before merge, using an independent review subagent to surface correctness defects and evidence-based verification, while suppressing style noise.

★ 28k FS 55 Use with care 1d ago
Dev & Engineering

cmux Dev Workflow Skill

A standardized contributor workflow for cmux: tagged native builds, Xcode project normalization, and sidebar extensions — without disturbing a running cmux instance.

★ 28k FS 53 Use with care 1d ago
Dev & Engineering

cmux Release Skill

A release-workflow skill for cmux maintainers covering version bumps, changelog assembly, pretag guard, tagging, and release asset verification.

★ 28k FS 53 Use with care 1d ago
Productivity & Collaboration

cmux Markdown Viewer

Opens .md files in a formatted panel beside your cmux terminal with live reload, keeping plans, docs, and notes visible as they change.

★ 28k FS 52 Use with care 1d ago
Dev & Engineering

cmux Diagnostics

Collects support-safe, read-only diagnostics for cmux so you can pinpoint failing hooks, notifications, session restore, and CLI control without leaking secrets.

★ 28k FS 51 Use with care 1d ago
Dev & Engineering

cmux Shared Behavior Rules

Codifies one shared implementation and verification path for cmux behaviors exposed through multiple entrypoints, so fixes never land on one surface and leave others stale.

★ 28k FS 48 Use with care 1d ago
Dev & Engineering

cmux Architecture Skill

Load cmux's package architecture, layering, dependency inversion, and Swift 6 concurrency rules before adding or heavily rewriting Swift files, packages, coordinators, services, or public APIs in the cmux repository.

★ 28k FS 63 Recommended 1d ago
Dev & Engineering

cmux-browser: Browser Automation Skill for cmux

Open sites, inspect browser surfaces, wait for page state, and extract data through the cmux CLI without stealing focus — built for parallel AI coding agent workflows.

★ 28k FS 60 Recommended 1d ago
Dev & Engineering

cmux Testing Skill

Pick the right scoped local/CI verification for the cmux repo, add behavior-grounded tests, and keep Swift test targets correctly wired in the Xcode project.

★ 28k FS 60 Recommended 1d ago
Dev & Engineering

cmux Socket Policy Skill

Gives AI coding agents the threading and focus rules for cmux socket/CLI work, so telemetry stays off the main thread and automation never steals your app focus.

★ 28k FS 58 Recommended 1d ago
Dev & Engineering

cmux Localization Rules & Audit Skill

Enforces localization rules and a verifiable audit workflow for every cmux user-facing string change, so no hardcoded English text ever lands.

★ 28k FS 56 Use with care 1d ago

Related skills