cmux
ما الذي تفعله
تتيح هذه المهارة لوكيل الذكاء الاصطناعي التحكم في ترتيب تطبيق cmux. يمكنه إنشاء الانقسامات ونقل الألسنة بين اللوحات ومعرفة مكان تشغيله. وهي مخصصة لمن يريد أن يفتح الوكيل طرفيات جديدة أو يرتب اللوحات.
متى تستخدمها
- ✓عندما تريد من الوكيل فتح انقسامات طرفية جديدة وتشغيل أمر في كل منها.
- ✓عندما تحتاج إلى نقل لسان طرفية أو متصفح إلى لوحة أخرى أو إعادة ترتيبه.
- ✓عندما تريد وميضًا بصريًا يُظهر أي لوحة تحتاج إلى انتباهك.
رابط المهارة
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“قسّم نافذة cmux لدي إلى اليمين، وشغّل خادم التطوير في اللوحة الجديدة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يستخدم الوكيل سطر أوامر cmux لقراءة التخطيط الحالي، ثم ينشئ اللوحات أو ينقلها أو يركّز عليها باستخدام أسماء مرجعية قصيرة مثل pane:1.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
cmux Core Control
Non-browser cmux topology and routing.
- Window: top-level macOS cmux window.
- Workspace: tab-like group within a window.
- Pane: split container in a workspace.
- Surface: a tab within a pane (terminal or browser panel).
Fast start
cmux identify --json # current caller context
cmux list-windows / list-workspaces / list-panes
cmux list-pane-surfaces --pane pane:1
cmux new-workspace
cmux new-split right --surface surface:1
cmux new-split down --command "npm run dev" # new terminal runs the command in a live shell
cmux move-surface --surface surface:7 --pane pane:2 --focus true
cmux split-off --surface surface:7 right
cmux reorder-surface --surface surface:7 --before surface:3
# workspace context-menu actions (color, description, rename, pin, ...)
cmux workspace-action --action set-color --color Blue
cmux workspace-action --action set-description --description "Ship checklist"
# attention cue
cmux trigger-flash --surface surface:7
Handle model
Output defaults to short refs (window:N, workspace:N, pane:N, surface:N). UUIDs are accepted as input; request UUID output only when needed with --id-format uuids|both.
Initial command on new terminals
new-workspace, new-split, new-pane, and new-surface accept --command <text>. cmux starts the terminal's normal interactive shell and delivers the text plus one Enter at spawn time, so the command runs immediately and the shell stays alive after it exits. No follow-up send or send-key enter is needed, and the text is passed literally (quoting, &&, pipes, and $VARS are interpreted by the new shell). The flag is terminal-only: it is rejected with --type browser|simulator|agent-session, blank text is ignored, and new-workspace --layout ignores it because layout surfaces define their own commands. Details: references/panes-surfaces.md.
Settings
cmux-owned settings live in ~/.config/cmux/cmux.json. cmux docs settings prints the docs URL, schema URL, raw GitHub resources, cmux.json paths, and reload command. cmux settings, cmux settings cmux-json, and cmux settings shortcuts open the UI.
cmux reload-config reloads both cmux.json and ~/.config/ghostty/config, refreshing terminals in place with no app restart.
Terminal rendering (font, cursor style, theme, scrollback, background-opacity, background-blur) belongs in Ghostty config, not cmux settings. Everything else (app behavior, sidebar, notifications, browser behavior, automation, workspace colors, cmux-owned shortcuts) is cmux settings. Before editing, copy any existing cmux.json to a timestamped .bak next to it. Legacy ~/.config/cmux/settings.json and ~/Library/Application Support/com.cmuxterm.app/settings.json are read only as fallback for missing keys.
For a completed download, the CLI can inspect the bounded history owned by the target browser surface without consuming a waiter:
cmux browser --surface <surface> download list
cmux browser --surface <surface> download list --limit 5 --json
Use the browser skill for the full response fields and wait/path compatibility details.
Deep-dive references
| Reference | When to Use |
|---|---|
| references/handles-and-identify.md | Handle syntax, self-identify, caller targeting |
| references/windows-workspaces.md | Window/workspace lifecycle, reorder/move, and context-menu actions (color, description, rename) |
| references/panes-surfaces.md | Splits, surfaces, move/reorder, focus routing |
| references/trigger-flash-and-health.md | Flash cue and surface health checks |
| ../cmux-workspace/SKILL.md | Current caller workspace rules and non-disruptive automation |
| ../cmux-settings/SKILL.md | Safe cmux.json settings edits and validation |
| ../cmux-browser/SKILL.md | Browser automation on surface-backed webviews |
| ../cmux-markdown/SKILL.md | Markdown viewer panel with live file watching |
| ../cmux-capture/SKILL.md | Screenshots and clips of a cmux window for evidence |
الأسئلة الشائعة
هل يجب أن أعرف أسماء اللوحات؟
لا. يستطيع الوكيل سرد النوافذ ومساحات العمل واللوحات واختيار المناسب من القائمة.
هل يمكن لطرفية جديدة أن تشغّل أمرًا مباشرة؟
نعم. يمكن للانقسامات الجديدة والأسطح أن تبدأ بأمر يعمل في صدفة حية.
هل يعمل هذا مع ألسنة المتصفح أيضًا؟
نعم. اللسان قد يكون طرفية أو لوحة متصفح، وتتعامل معه الأوامر نفسها.
التفاصيل
الوصف الأصلي من المؤلف
End-user control of cmux topology and routing (windows, workspaces, panes/surfaces, focus, moves, reorder, identify, trigger flash). Use when automation needs deterministic placement and navigation in a multi-pane cmux layout.
repo: manaflow-ai/cmux
الشعبية
- نجوم GitHub
- 29k
- الترتيب
- #9804
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
cmux-browser
29kيتيح لوكيلك فتح مواقع الويب في cmux، وقراءة صفحاتها والنقر عليها واستخراج المعلومات منها، دون أن يسرق التركيز من عملك.
cmux-capture
29kيتيح لوكيلك التقاط لقطة شاشة أو تسجيل قصير لنافذة cmux، حتى تعرض تغييرًا بصريًا أو خطأً بدليل حقيقي.
cmux-cloud-vm
29kيتيح لوكيلك تشغيل أوامر وبدء وكلاء البرمجة وعرض مساحات العمل على أجهزة cmux Cloud الخاصة بك، مع استمرار العمل بعد إغلاق اللوحات.
cmux-cua
29kيتيح لوكيلك تشغيل تطبيقات macOS حقيقية عبر محرك Computer Use الخاص بـ cmux، فيقرأ شجرة إمكانية الوصول وينقر ويكتب ويمرر نيابةً عنك.
مهارات مشابهة
knowledge-automation
394kيساعد وكيلك على إعداد مهمة متكررة تضيف المحتوى الجديد إلى خزنة Knowledge حسب جدول زمني، ثم يتحقق من أنها تعمل.
knowledge-source-ingest
394kيساعد وكيلك على إبقاء خزنة المعرفة محدّثة بالعناصر الجديدة من قنوات الدردشة أو الخلاصات أو صناديق البريد، دون إعادة إضافة ما لديه.
benchmark
280kيساعد وكيلك على قياس سرعة الشيفرة وأدائها، ويفيد في التأكد من أن الأشياء سريعة وفي إيجاد مشكلات البطء.