cmux-socket-policy

Official

Safe, focus-friendly socket command policy.

Authormanaflow-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Socket command handling in cmux can inadvertently steal focus or block UI updates on the main thread, leading to disruptive user experiences. This Skill defines threading and focus policies to ensure safe, focus-preserving command execution for socket/CLI/telemetry commands, with clear guidelines for main-thread usage and explicit focus intent.

Core Features & Use Cases

  • Off-main processing for high-frequency telemetry commands to avoid UI stutter.
  • Main-actor guidance for commands that manipulate UI state, including when to require explicit focus intent.
  • Clear documentation and references to enforce consistency across new socket/CLI commands.
  • Use Case: When adding a new socket command, telemetry handler, or automation that could grab focus, apply the policy.

Quick Start

Configure a new cmux socket or CLI command with off-main handling, document focus behavior, and reference the threading-and-focus.md guidance.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cmux-socket-policy
Download link: https://github.com/manaflow-ai/cmux/archive/main.zip#cmux-socket-policy

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.