一键导入
diverter-mode
Explicitly view or change Diverter's persistent Delegation Policy. Use only when the user invokes `$diverter-mode`; never invoke implicitly.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Explicitly view or change Diverter's persistent Delegation Policy. Use only when the user invokes `$diverter-mode`; never invoke implicitly.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | diverter-mode |
| description | Explicitly view or change Diverter's persistent Delegation Policy. Use only when the user invokes `$diverter-mode`; never invoke implicitly. |
Manage Diverter's user-level Delegation Policy. This is an explicit control surface, not a delegation task.
Never invoke $diverter, evaluate a lineup, or spawn subagents while processing this skill.
auto — persist automatic dispatch for suitable tasksask — persist approval-first delegationstatus — report the policy that the next SessionStart will loadstatus and also list the three operations aboveReject every other value without changing configuration. Do not guess aliases or accept configuration paths.
Let skill_file be the fully expanded absolute path to this SKILL.md, compute plugin_root = Path(skill_file).parents[2], and verify ${plugin_root}/.codex-plugin/plugin.json exists.
Run exactly one of:
python3 "${plugin_root}/scripts/diverter-mode.py" auto
python3 "${plugin_root}/scripts/diverter-mode.py" ask
python3 "${plugin_root}/scripts/diverter-mode.py" status
Parse the JSON on stdout and require a zero exit status before reporting success.
After a successful auto or ask operation, say exactly:
Diverter mode changed to `<policy>`.
Restart or reopen the task to apply the new mode.
For status, report the returned policy as the configuration that the next SessionStart will load. If source is default, say that ask is the default because configuration is missing. If warning is invalid_config, say that configuration is invalid and Diverter will safely fall back to ask; do not repair it during a query.
Match any surrounding explanation to the user's language, while keeping policy names and commands exact. A mode change never updates the active Root Session directly.