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.

48/ 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
cmuxterminal-multiplexeroptimistic-uibehavior-testing
+3climacosregression-testing

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

This skill is a behavioral convention document inside the manaflow-ai/cmux repository, aimed at developers or coding agents working on cmux, a Ghostty-based macOS terminal. It sets three rules: when a behavior is exposed through multiple surfaces (keyboard shortcut, command palette, context menu, CLI/socket command, settings UI, debug menu), implement one shared action/model path; optimistic updates must keep a single mutation path with request-id or snapshot tracking and explicit rollback on failure; and when a user reports tests missed a bug, behavior-level coverage around the exact repro path must be added before the fix is claimed complete. It contains no scripts — it is instruction text that an agent reads and follows.

  • Enumerates the surfaces a behavior may span (keyboard shortcut, command palette, context menu, CLI/socket, settings UI, debug menu) and mandates one shared action/model path
  • Forbids patching a single surface while others keep duplicated logic
  • Specifies the optimistic-update convention: record pending state with a request id or previous snapshot, reconcile from the authoritative result, and roll back or surface an error state on failure
  • When tests missed a bug, requires behavior-level coverage on the exact repro path before declaring the fix done
Good fit
  • An agent adding a new entrypoint to an existing cmux feature (e.g., a command-palette entry for a settings action) that must reuse the shared path instead of copying logic
  • Fixing a bug in optimistic UI updates where a defined mutation path and rollback convention are needed
  • Responding to a user report that tests missed a bug, by adding behavior-level coverage on the repro path first
  • Reviewing a change to check whether it patched one surface but left the others with stale duplicated logic
Not a fit
  • Not applicable outside the cmux codebase — the entrypoint list (debug menu, CLI/socket commands, etc.) is written around cmux's own structure
  • Not for end users or people who merely run the cmux terminal; it targets contributors and agents modifying cmux's code

How do you install this skill?

Before you use it
  • This is a static source review; nothing was executed and confidence is low.
  • The skill is a convention document with no scripts or tests; its effect depends on whether the agent follows the instructions and cannot be statically verified.
  • File-level license metadata is NOASSERTION; the applicable license is the repo-level GPL-3.0-or-later (with BUSL-1.1 for web/ and related directories).
  • The publisher is not verified by the FollowSkills registry; identity is unknown.
  • Content is English-only with no Chinese support; value is bound to the cmux (macOS) ecosystem and is largely inapplicable to other repositories.
  • No version number or changelog; instructions may drift as the repository evolves.
Before you start
Your agent needs
  • Local filesystem
Install first
  • cmux (the macOS terminal app from manaflow-ai/cmux)

The skill lives at skills/cmux-shared-behavior/ in the manaflow-ai/cmux repo (one of 25 bundled skills). The source documents no dedicated install command for this skill — it ships with the repository; clone the repo and place the skill folder into your agent's skills directory.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/manaflow-ai/cmux.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/skills/cmux-shared-behavior" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

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

  • I'm adding a command-palette entry to cmux's notification-clearing action — what does the cmux-shared-behavior skill require?
  • A user says our tests missed a split-pane resize bug; add behavior-level coverage on the exact repro path per the shared behavior rules before we call it fixed
  • This setting's optimistic update is duplicated across the keyboard shortcut and CLI paths — refactor it to one shared mutation path

The skill triggers via its description: whenever a task involves a behavior exposed through multiple entrypoints, optimistic updates, or a test that missed a bug, the agent loads it and follows the rules. Typical flow: before changing a cmux behavior, check which surfaces expose it, implement a single shared action/model path, and verify each entrypoint; for optimistic updates, follow the single-mutation-path convention; for reported missed bugs, add behavior-level tests on the exact repro path first. The skill ships no runnable scripts or commands.

What are this skill's strengths and limitations?

Pros
  • Rules are concrete and actionable: named surface list, a specified mutation-path pattern, and a defined missed-bug workflow
  • Lightweight plain text any file-reading agent can follow, with no runtime dependencies
  • Derived from real maintenance conventions of the cmux codebase, addressing a genuine class of problem there (duplicated multi-surface logic)
Limitations
  • Only relevant to the cmux codebase; little transferable value for other projects
  • Convention-only — no accompanying scripts or automated enforcement
  • Repository license is flagged NOASSERTION on GitHub; the skill file's exact licensing scope needs separate verification

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 Shared Behavior Rules this page 48 · Use with care ★ 28k 1d ago NOASSERTION
cmux Workspace Skill 64 · Recommended ★ 28k 1d ago NOASSERTION
cmux Diagnostics 51 · Use with care ★ 28k 1d ago NOASSERTION
cmux Testing Skill 60 · Recommended ★ 28k 1d ago NOASSERTION
cmux Settings Management Skill (cmux-settings) 58 · Recommended ★ 28k 1d ago NOASSERTION

Unlike generic code-style or testing-convention skills, this is an architecture-level behavior convention for a single app (cmux); cmux's GUI-plus-CLI surface model differs from tmux-style pure CLI multiplexers, and this rule exists to keep those surfaces consistent.

How did FollowSkills review this skill?

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

The skill is pure guidance: it requests no permissions, runs no scripts, touches no network, and handles no sensitive data, so least-privilege is trivially satisfied and there is no red-line risk. However, data-flow transparency and rollback are normative prose rather than verifiable mechanisms; source attribution rests on repo-level licensing (GPL-3.0-or-later, file metadata NOASSERTION) and an unverified publisher, so full marks are withheld.

2Reliability8 / 20 · 2.0/5

The instructions are self-consistent and non-contradictory; the three rules (shared entrypoints, single optimistic-update path with rollback, missed-bug coverage) are clearly stated. But as an abstract convention with no scripts, examples, edge-case handling or failure-feedback design, static review can only confirm readability, not key-path reproduction; heavily deducted.

3Adaptability6 / 15 · 2.0/5

The trigger description is fairly precise (behaviors exposed through multiple entrypoints, optimistic UI/CLI flows, missed-bug scenarios) and the audience is cmux contributors/agents. But no non-fit boundaries, no input/output examples, no Chinese-language support, and value is bound to the cmux/macOS ecosystem, limiting general applicability.

4Convention8 / 15 · 2.7/5

Name and description match the content and the structure is short and clear; the repo has clearly layered GPL-3.0 + BUSL licensing and active CI maintenance signals. But the skill itself has no version, changelog, FAQ, examples, or known-limitation disclosure, and file-level license metadata is NOASSERTION.

5Effectiveness6 / 15 · 2.0/5

As a coding-convention skill, its value — injecting multi-entrypoint consistency and optimistic-update rollback rules into agent behavior — is plausible and non-trivial. But static review cannot verify it actually improves outputs, and there are no representative outputs to audit; deducted.

6Verifiability3 / 10 · 1.5/5

The skill content is author-asserted engineering convention with no tests or example outputs that could be independently reproduced. The repository has real CI and test suites, but none covering this skill's own key paths; only thin primary material (SKILL.md, agents/openai.yaml) is auditable.

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]

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

Do I need the cmux app to use this skill?
The skill text can be read standalone, but its rules only matter when modifying the cmux codebase; it has no practical use otherwise.
Does it execute anything automatically?
No. It is an instruction document with no scripts; its effect depends on the agent loading and following it on relevant tasks.
What does the optimistic-update rule mean?
It concerns UI updates that assume success before confirmation; the skill requires one mutation path project-wide, reconciliation via a request id or previous snapshot, and explicit rollback on failure — never per-entrypoint optimistic copies.
Do the repo's other skills share these capabilities?
This repository bundles 25 skills; this profile covers only skills/cmux-shared-behavior/SKILL.md and nothing can be inferred about its siblings from it.

More skills from this repository

All from manaflow-ai/cmux

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 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 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 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
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
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 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 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 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
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 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 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
Automation & Ops

cmux Computer Use Skill

Lets AI coding agents inside cmux drive real macOS apps through a local computer-use engine, strictly on explicit user request.

★ 28k FS 50 Use with care 1d ago
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 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.

★ 28k FS 54 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 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
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

Related skills