用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/yofine/Mexus --skill dispatch命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | dispatch |
| description | Ensure a real Mission Agent Pane exists for an agent in the active Mission. |
| argument-hint | <agent-name> |
/dispatchUse this skill when the user invokes /dispatch <agent-name>.
This command opens Panes only. It does not write kanban, does not decide assignments, and does not execute the target Agent's task inline.
Validate that <agent-name> is present.
Run mexus mission active --json and parse the active Mission name from the JSON response. If there is no active Mission, fail with:
No active Mission. Run `/mission-activate <name>` first.
Run mexus pane list --mission <active> --json. If any returned Pane has mission.agentName === <agent-name>, print:
Pane already exists for <agent-name> (id: <id>, status: <status>). The Mission Inbox pipeline will deliver kanban tasks automatically.
Then exit without creating another Pane.
Read agent-team/missions/<active>/agents.md. Extract the section that begins with ## Agent: <agent-name> and ends before the next ## Agent: heading or the end of the file. Within that block, extract the activation prompt. Use a simple section regex or direct Markdown section extraction; do not parse kanban. If the section is missing, fail with:
Agent <agent-name> not found in agents.md roster
Read .nexus/config.yaml. If it contains mission_default_cli_agent, use that value as <cli-type>. If the field is missing or empty, use claudecode.
Run:
mexus pane create --name "<agent-name>" --agent <cli-type> --workdir "$PWD" --mission <active> --mission-agent <agent-name> --mission-role mission-agent --task "<extracted-activation-prompt>"
Print the created Pane id. Mention that the Mission Inbox pipeline will deliver matching kanban tasks automatically.