Swift Concurrency
jamesrochabrun/skills
Guide for building, auditing, and refactoring Swift code using modern concurrency patterns (Swift 6+).
Architecture rules for cmux's move to Swift Packages: acyclic whole-domain packages, minimal public API, group folders, Xcode project wiring and Swift 6 concurrency.
$ npx skills add manaflow-ai/cmux --skill cmux-architecture -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install manaflow-ai/cmux cmux-architecture --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/manaflow-ai/cmux.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cmux-architecture .claude/skills/cmux-architecture && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cmux-architecture" agent skill from https://github.com/manaflow-ai/cmux/tree/main/skills/cmux-architecture into .claude/skills/cmux-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cmux-architecture", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/manaflow-ai/cmux/tree/main/skills/cmux-architectureType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add manaflow-ai/cmux --skill cmux-architecture -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install manaflow-ai/cmux cmux-architecture --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/manaflow-ai/cmux.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/cmux-architecture .agents/skills/cmux-architecture && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cmux-architecture" agent skill from https://github.com/manaflow-ai/cmux/tree/main/skills/cmux-architecture into .agents/skills/cmux-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cmux-architecture", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add manaflow-ai/cmux --skill cmux-architecture -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install manaflow-ai/cmux cmux-architecture --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/manaflow-ai/cmux.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/cmux-architecture .cursor/skills/cmux-architecture && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cmux-architecture" agent skill from https://github.com/manaflow-ai/cmux/tree/main/skills/cmux-architecture into .cursor/skills/cmux-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cmux-architecture", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/manaflow-ai/cmux.git --path skills/cmux-architecture--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add manaflow-ai/cmux --skill cmux-architecture -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install manaflow-ai/cmux cmux-architecture --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/manaflow-ai/cmux.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/cmux-architecture .gemini/skills/cmux-architecture && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cmux-architecture" agent skill from https://github.com/manaflow-ai/cmux/tree/main/skills/cmux-architecture into .gemini/skills/cmux-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cmux-architecture", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install manaflow-ai/cmux cmux-architectureInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add manaflow-ai/cmux --skill cmux-architecture -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/manaflow-ai/cmux.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/cmux-architecture .github/skills/cmux-architecture && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cmux-architecture" agent skill from https://github.com/manaflow-ai/cmux/tree/main/skills/cmux-architecture into .github/skills/cmux-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cmux-architecture", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add manaflow-ai/cmux --skill cmux-architecture -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install manaflow-ai/cmux cmux-architecture --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/manaflow-ai/cmux.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/cmux-architecture .opencode/skills/cmux-architecture && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cmux-architecture" agent skill from https://github.com/manaflow-ai/cmux/tree/main/skills/cmux-architecture into .opencode/skills/cmux-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cmux-architecture", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cmux-architectureArchitecture rules for cmux's move to Swift Packages: acyclic whole-domain packages, minimal public API, group folders, Xcode project wiring and Swift 6 concurrency.
cmux is migrating from a single app target into Swift Packages under a Packages directory, and each new package must be ergonomic, acyclic and whole-domain. That means internal access by default with public only for what consumers use, a strict dependency graph checked again for every new edge, and one package owning a full domain such as settings, appearance, workspace, terminal, browser or command palette. When unsure, the guidance is to extract leaf-first, starting with packages that have no internal dependencies.
Packages live in exactly one of three group folders, Shared, iOS or macOS, and the workspace file mirrors that structure. The folder is the source of truth: to move a package the agent uses git mv and then runs a Python script with its write flag, never hand-editing workspace groups, and CI fails on drift. Wiring a package into the Xcode project needs pbxproj entries in both the app and test targets. Existing packages predate the policy and should not be used as design references.
The description also lists refactor layering, dependency inversion, file organization, DocC documentation, testability and Swift 6 concurrency rules, with reference files on concurrency carve-outs, file API discipline, package boundaries and Swift 6 compatibility.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 1e82fa4. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
python3swiftgitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
cmux Swift Package Architecture loads about 4.2k tokens when it runs, and up to ~6k if it reads all its reference files. Until then it costs about 83 tokens; SKILL.md has 2,101 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 2,101 words (~4,245 tokens).
“cmux is migrating from a single app target into Swift Packages under Packages/. Every new package must be:”
SKILL.md and 5 other files (references) in skills/cmux-architecture of manaflow-ai/cmux.
Open the folder on GitHubat commit 1e82fa4
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in manaflow-ai/cmux, which our catalogue first saw on October 7, 2026.
cmux Swift Package Architecture next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| cmux Swift Package Architecture this skillmanaflow-ai/cmux | 28k | 1 repos | ~4.2k | Automated safety check: Pass | Custom licence | |
| Swift Concurrencyjamesrochabrun/skills | 216 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Swift Concurrencysupabitapp/supaterm | 172 | — | ~3.3k | Automated safety check: Pass | Custom licence | |
| Py Rigmudrii/hermesd | 118 | — | ~6.3k | Automated safety check: Pass | MIT | |
| Swift ConcurrencyAFK-surf/OpenBridge | 430 | — | ~2.8k | Automated safety check: Pass | MIT | |
| Architecture Reviewassafkip/kipi-system | 112 | — | ~817 | Automated safety check: Pass | MIT |
jamesrochabrun/skills
Guide for building, auditing, and refactoring Swift code using modern concurrency patterns (Swift 6+).
supabitapp/supaterm
Diagnose data races, convert callback-based code to async/await, implement actor isolation patterns, resolve Sendable conformance issues, and guide Swift 6 migration.
mudrii/hermesd
A skill your agent uses when building, reviewing, or refactoring Python code that requires strong maintainability discipline: SRP, DRY, OCP, explicit dependency injection, TDD/ATDD workflow, strict…
AFK-surf/OpenBridge
Expert guidance on Swift Concurrency best practices, patterns, and implementation.
assafkip/kipi-system
Surfaces architectural friction in real code — shallow modules, tight coupling, untested seams — and proposes deepening refactors using Ousterhout's deep-module principle (small interface hiding a…
henrypldev/react-native-nitro-mlx
Diagnose Swift Concurrency issues, refactor callback-based code to async/await, and guide Swift 6 migration when working with tasks, actors, @MainActor, Sendable, data races, thread safety, or…
manaflow-ai/cmux
Runs a read-only health check for cmux and explains what it finds, covering the CLI and socket, settings, agent hooks, session restore and notifications.
manaflow-ai/cmux
Reads and changes cmux preferences in `~/.config/cmux/cmux.json` through a helper that validates each change before writing, covering terminal, browser, viewers and shortcuts.
manaflow-ai/cmux
Sets the backend TypeScript and Cloud VM rules for cmux: Effect-based services, thin route handlers, Postgres as source of truth, migrations and provider secrets.
manaflow-ai/cmux
Covers debug logging, the Debug menu, profiling rules and runtime pitfalls for working on the cmux macOS terminal app.
manaflow-ai/cmux
Workflow rules for the Ghostty submodule in cmux: rebuilding GhosttyKit.xcframework, pushing fork changes and updating the parent submodule pointer safely.
manaflow-ai/cmux
Runs the cmux release process: gathers per-PR changelog lines since the last tag, bumps the version, guards against a bad tag, then tags and pushes the macOS DMG release.
Categories
Architecture rules for cmux's move to Swift Packages: acyclic whole-domain packages, minimal public API, group folders, Xcode project wiring and Swift 6 concurrency. cmux is migrating from a single app target into Swift Packages under a Packages directory, and each new package must be ergonomic, acyclic and whole-domain. That means internal access by default with public only for what consumers use, a strict dependency graph checked again for every new edge, and one package owning a full domain such as settings, appearance, workspace, terminal, browser or command palette.
cmux Swift Package Architecture fits situations like: adding a new Swift package to the cmux repository; rewriting or moving Swift files, coordinators, services or repositories; deciding what a package should expose publicly; moving a package between the Shared, iOS and macOS groups.
Run `npx skills add manaflow-ai/cmux --skill cmux-architecture -a claude-code`. Or copy the skill folder (skills/cmux-architecture in manaflow-ai/cmux) into .claude/skills/cmux-architecture in your project. Claude Code loads it when a task matches its description.
Run `npx skills add manaflow-ai/cmux --skill cmux-architecture -a codex`. Or copy the skill folder (skills/cmux-architecture in manaflow-ai/cmux) into .agents/skills/cmux-architecture in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add manaflow-ai/cmux --skill cmux-architecture -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cmux-architecture, .gemini/skills/cmux-architecture, .github/skills/cmux-architecture and .opencode/skills/cmux-architecture in your project.
Going by SKILL.md and its folder, cmux Swift Package Architecture needs the command-line tools its instructions call (python3, swift and git). Our summary lists: Swift and Xcode; Python 3, for the workspace group check script.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
cmux Swift Package Architecture has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with cmux Swift Package Architecture: Swift Concurrency (jamesrochabrun/skills, 216 stars), Swift Concurrency (supabitapp/supaterm, 172 stars), Py Rig (mudrii/hermesd, 118 stars) and Swift Concurrency (AFK-surf/OpenBridge, 430 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
manaflow-ai (a GitHub organization) maintains it in manaflow-ai/cmux, which has 28,092 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 11, 2026.
Source: manaflow-ai/cmux on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.