Architecture Patterns
KartikLabhshetwar/better-shot
Deep dive into software architecture for macOS. An agent skill from KartikLabhshetwar/better-shot.
Sets threading and focus rules for adding or changing cmux socket and CLI commands, so telemetry stays off the main thread and automation never steals app focus.
$ npx skills add manaflow-ai/cmux --skill cmux-socket-policy -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install manaflow-ai/cmux cmux-socket-policy --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-socket-policy .claude/skills/cmux-socket-policy && 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-socket-policy" agent skill from https://github.com/manaflow-ai/cmux/tree/main/skills/cmux-socket-policy into .claude/skills/cmux-socket-policy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cmux-socket-policy", 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-socket-policyType 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-socket-policy -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install manaflow-ai/cmux cmux-socket-policy --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-socket-policy .agents/skills/cmux-socket-policy && 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-socket-policy" agent skill from https://github.com/manaflow-ai/cmux/tree/main/skills/cmux-socket-policy into .agents/skills/cmux-socket-policy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cmux-socket-policy", 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-socket-policy -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install manaflow-ai/cmux cmux-socket-policy --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-socket-policy .cursor/skills/cmux-socket-policy && 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-socket-policy" agent skill from https://github.com/manaflow-ai/cmux/tree/main/skills/cmux-socket-policy into .cursor/skills/cmux-socket-policy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cmux-socket-policy", 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-socket-policy--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-socket-policy -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install manaflow-ai/cmux cmux-socket-policy --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-socket-policy .gemini/skills/cmux-socket-policy && 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-socket-policy" agent skill from https://github.com/manaflow-ai/cmux/tree/main/skills/cmux-socket-policy into .gemini/skills/cmux-socket-policy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cmux-socket-policy", 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-socket-policyInstalls 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-socket-policy -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-socket-policy .github/skills/cmux-socket-policy && 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-socket-policy" agent skill from https://github.com/manaflow-ai/cmux/tree/main/skills/cmux-socket-policy into .github/skills/cmux-socket-policy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cmux-socket-policy", 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-socket-policy -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-socket-policy --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-socket-policy .opencode/skills/cmux-socket-policy && 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-socket-policy" agent skill from https://github.com/manaflow-ai/cmux/tree/main/skills/cmux-socket-policy into .opencode/skills/cmux-socket-policy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cmux-socket-policy", 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-socket-policySets threading and focus rules for adding or changing cmux socket and CLI commands, so telemetry stays off the main thread and automation never steals app focus.
The threading rules say that high-frequency telemetry commands such as the report commands, ports_kick and status or log updates must not use DispatchQueue.main.sync. Their arguments are parsed, validated, deduplicated and coalesced off the main thread, and only minimal UI or model changes are scheduled with main.async. Commands that directly change AppKit or Ghostty UI state may run on the main actor, and a new socket command defaults to off-main handling with a code comment explaining any need for the main thread.
The focus rules say socket and CLI commands must not activate the app, raise windows or change in-app selection unless they carry explicit focus intent, such as window, workspace, surface or pane focus commands. Open commands focus only when run interactively and stay in the background for agents and scripts, with focus and no-focus flags to override. A third section notes that every v2 method could be a remote relay payload, so the relay policy denies by default and allowlisting needs a security analysis. Two reference files go deeper.
Read from SKILL.md and the folder at commit bbb3633. 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.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
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 Socket Policy loads about 631 tokens when it runs, and up to ~1.8k if it reads all its reference files. Until then it costs about 63 tokens; SKILL.md has 272 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 272 words (~631 tokens).
“Every v2 method is a potential cmux ssh relay payload. RemoteRelayCommandPolicy denies by default; allowlisting a method needs the security analysis and policy tests in remote relay authorization.”
SKILL.md and 3 other files (references) in skills/cmux-socket-policy of manaflow-ai/cmux.
Open the folder on GitHubat commit bbb3633
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 Socket Policy 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 Socket Policy this skillmanaflow-ai/cmux | 28k | 1 repos | ~631 | Automated safety check: Pass | Custom licence | |
| Architecture PatternsKartikLabhshetwar/better-shot | 2.4k | 2 repos | ~1.4k | Automated safety check: Pass | Custom licence | |
| Akka.NET Best PracticesAaronontheweb/dotnet-skills | 1.2k | 1 repos | ~3.3k | Automated safety check: Pass | MIT | |
| Exa Reference Architecturejeremylongshore/tons-of-skills-marketplace | 2.8k | — | ~1.2k | Automated safety check: Pass | MIT | |
| macOS DevelopmentKartikLabhshetwar/better-shot | 2.4k | 2 repos | ~735 | Automated safety check: Pass | Custom licence | |
| Swift ExpertJeffallan/claude-skills | 12k | — | ~1.5k | Automated safety check: Pass | MIT |
KartikLabhshetwar/better-shot
Deep dive into software architecture for macOS. An agent skill from KartikLabhshetwar/better-shot.
Aaronontheweb/dotnet-skills
Guidance for Akka.NET actor systems covering EventStream versus DistributedPubSub, supervision, Props versus DependencyResolver, work distribution and testable cluster code.
jeremylongshore/tons-of-skills-marketplace
Design an Exa architecture that separates query policy, retrieval, content handling, asynchronous state, citations, and evidence.
KartikLabhshetwar/better-shot
Comprehensive macOS development guidance including Swift 6+, SwiftUI, SwiftData, architecture patterns, AppKit bridging, and macOS 26 Tahoe APIs.
Jeffallan/claude-skills
Builds Swift apps for Apple platforms with SwiftUI, protocol-oriented design, async/await, actors and Sendable checks, verified with swift build and swift test.
dpearson2699/swift-ios-skills
Build, review, or improve networking code in iOS/macOS apps using URLSession with async/await, structured concurrency, and modern Swift patterns.
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.
Works with
Categories
Sets threading and focus rules for adding or changing cmux socket and CLI commands, so telemetry stays off the main thread and automation never steals app focus. sync.async.
cmux Socket Policy fits situations like: adding a new socket command to cmux; changing CLI commands that could pull focus to the app window; writing telemetry commands that update status or progress frequently; allowlisting a method for the remote relay.
Run `npx skills add manaflow-ai/cmux --skill cmux-socket-policy -a claude-code`. Or copy the skill folder (skills/cmux-socket-policy in manaflow-ai/cmux) into .claude/skills/cmux-socket-policy in your project. Claude Code loads it when a task matches its description.
Run `npx skills add manaflow-ai/cmux --skill cmux-socket-policy -a codex`. Or copy the skill folder (skills/cmux-socket-policy in manaflow-ai/cmux) into .agents/skills/cmux-socket-policy 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-socket-policy -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-socket-policy, .gemini/skills/cmux-socket-policy, .github/skills/cmux-socket-policy and .opencode/skills/cmux-socket-policy in your project.
SKILL.md names no scripts, command-line tools or credentials: cmux Socket Policy is instructions for the agent only. Our summary lists: The cmux repository.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. 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 Socket Policy has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 631 tokens (SKILL.md is roughly 2.5k 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.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with cmux Socket Policy: Architecture Patterns (KartikLabhshetwar/better-shot, 2.4k stars), Akka.NET Best Practices (Aaronontheweb/dotnet-skills, 1.2k stars), Exa Reference Architecture (jeremylongshore/tons-of-skills-marketplace, 2.8k stars) and macOS Development (KartikLabhshetwar/better-shot, 2.4k 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,076 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 10, 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.