一键导入
retinue
Use Retinue when Codex needs to spawn, wait for, and close local coding-agent subagents through the backend-selected Retinue MCP tools.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use Retinue when Codex needs to spawn, wait for, and close local coding-agent subagents through the backend-selected Retinue MCP tools.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | retinue |
| description | Use Retinue when Codex needs to spawn, wait for, and close local coding-agent subagents through the backend-selected Retinue MCP tools. |
Use Retinue for bounded local subagent work when Codex should keep control through MCP job handles.
spawn_agent.wait_agent.close_agent after the result is terminal or no longer needed.For repository work, pass an absolute cwd. Ask the child to cite absolute
paths for file-existence claims.
spawn_agentwait_agentclose_agentlist_agentslist_permissionsreply_permissionstop_runtimerestart_runtimecompleted: Use the output as evidence only when the requested cwd and
returned session directory match the task.running: Inspect diagnostic, stdoutTail, and stderrTail; wait again
with the same jobId.queued: Keep the job handle. Later wait/list/close/spawn calls can promote
it when slots open.stalled: Treat as non-evidence. Inspect diagnostic.stallReason,
diagnostic.stallSummary, and artifact paths.failed, killed, or timed_out: Treat as terminal non-success. Inspect
artifacts if needed, then close.orphaned or abandoned: Treat as stale/unowned local state, not current
child-agent output.backend_unreachable, not_found, or corrupted: Treat as
Retinue/backend infrastructure state, not child-agent evidence.resource_exhausted from spawn: No job started; wait for capacity or close
unneeded jobs before retrying.permissionActions, or call
list_permissions; reply with reply_permission; then wait again.Prefer permission reply once for scoped task-required access. Use always
only for trusted repeated patterns. Use reject for out-of-scope paths or
tools.
When wait output includes requestedJobId, selectedAttemptJobId, or
attemptChain, trust only the selected completed attempt. The original stalled
attempt remains diagnostic-only.
access_mode, or bash_policy through Retinue tool arguments.running as terminal.stalled output as review evidence.backend_unreachable as a child-agent conclusion.resource_exhausted as a queued job; it has no job handle.externalSessionDirectory does not match the requested cwd.stop_runtime or restart_runtime only for Retinue-managed runtime
maintenance, such as refreshing an auto-served OpenCode provider/profile.
These tools do not manage external runtime URLs.Backend selection and model/profile policy come from deployment configuration and the selected local runtime. OpenCode, Claude Code, and Kilo own provider configuration, login, model defaults, tools, permissions, plugins, and skills where supported by that runtime.
Retinue owns:
Persistent Retinue overrides should use RETINUE_* environment variables in
Codex [env] or the host MCP environment. The packaged retinue.config.json
is a fallback that plugin refreshes can overwrite.
Reference docs:
docs/reference/mcp-tools.mddocs/reference/configuration.mddocs/reference/diagnostics.mddocs/reference/backends/opencode.mddocs/reference/backends/claude-code.mddocs/reference/backends/kilo.md