用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/yofine/Mexus --skill mission-create命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | mission-create |
| description | Open a Squad Lead Pane for a new Agent Team Mission without generating Mission files. |
| argument-hint | <name> "<request>" |
/mission-createUse this skill when the user invokes /mission-create <name> "<request>".
Validate the arguments before running anything:
<name> is required and must match the Mexus Mission name regex: ^[A-Za-z0-9][A-Za-z0-9._-]*$.<request> is required. Preserve it exactly enough that the Squad Lead can reason from the user's original intent.Build one task string for the new Squad Lead Pane:
You are the Squad Lead for new Mission `<name>`.
User original request: `<request>`.
Read the Agent Team workflow and the reference samples under `packages/plugin-agent-team/references/`. Those references define the required Mission file structure, field names, collaboration rules, Inbox Protocol, kanban flow, and Squad Lead prompt style.
Your first job is to clarify Goal, Acceptance, constraints, and roster with the user. After clarification, create the Mission directory under `agent-team/missions/<name>/` and author the five Mission files according to those references. Do not dispatch any Mission Agent until the Mission files are complete and valid.
When the kanban has a task with a `To` field pointing at a specific Agent, your dispatch action is: invoke `/dispatch <agent-name>`. The command will ensure the corresponding Pane exists and receives the task. Do NOT attempt to execute that Agent's task by any other means -- the carrier of a Mission task MUST be a Pane, not a subAgent.
After all Mission files are written, run `mexus mission validate <name>`. If validation passes, run `mexus mission activate <name>`.
Then run:
mexus pane create --name "Squad Lead (<name>)" --agent claudecode --workdir "$PWD" --mission <name> --mission-role squad-lead --mission-agent "Squad Lead" --task "<task string>"
After success, print the created Pane id and tell the user to continue Mission drafting in the Squad Lead Pane.
Do not create Mission files from this command. Do not create Mission files before the Squad Lead has clarified the request. Do not embed or copy skeleton Markdown in this command; the Squad Lead reads packages/plugin-agent-team/references/ and authors the files.