一键导入
retinue
Use Retinue MCP tools from Hermes Agent to spawn, wait for, and close local OpenCode subagents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use Retinue MCP tools from Hermes Agent to spawn, wait for, and close local OpenCode subagents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | retinue |
| description | Use Retinue MCP tools from Hermes Agent to spawn, wait for, and close local OpenCode subagents. |
| version | 0.2.0 |
| author | Disaster Terminator |
| license | Apache-2.0 |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["MCP","OpenCode","Subagents","Development"],"requires_toolsets":["retinue"]}} |
Retinue lets Hermes Agent delegate bounded local coding tasks to a backend-selected child agent through MCP.
Use Retinue when Hermes needs a separate local agent to inspect code, run a narrow task, or provide independent review while Hermes remains the supervising agent.
mcp_retinue_spawn_agent.mcp_retinue_wait_agent.mcp_retinue_close_agent.For repository work, pass an absolute cwd, a concrete message, and a useful task_name.
Hermes registers Retinue MCP tools with the mcp_retinue_ prefix:
mcp_retinue_spawn_agentmcp_retinue_wait_agentmcp_retinue_close_agentmcp_retinue_list_agentsmcp_retinue_list_permissionsmcp_retinue_reply_permissionmcp_retinue_stop_runtimemcp_retinue_restart_runtimecompleted: Use the output as evidence only when the task scope and returned
session directory match.running: Inspect diagnostic, stdoutTail, and stderrTail; wait again
with the same jobId.queued: Keep the handle; queued jobs promote when session and
shared-machine 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.mcp_retinue_list_permissions if needed, reply with
mcp_retinue_reply_permission, then wait again.Prefer once for scoped task-required permission replies. Reserve always for
trusted repeated patterns. Reject out-of-scope paths and tools.
access_mode, or bash_policy in tool arguments.running as done.stalled as review evidence.backend_unreachable as a child-agent conclusion.resource_exhausted as a queued job; it has no job handle.cwd and externalSessionDirectory disagree.Retinue selects the backend from deployment configuration. The default Hermes integration uses OpenCode with Retinue-managed local server lifecycle. OpenCode, Claude Code, and Kilo keep ownership of profile, provider, model, tools, and permissions where supported by the selected runtime.
Persistent deployment changes belong in the Hermes MCP environment as
RETINUE_* variables. Packaged config files are fallback defaults and may be
overwritten by plugin refreshes.
Reference docs:
docs/reference/mcp-tools.mddocs/reference/configuration.mddocs/reference/diagnostics.mddocs/how-to/integrate-hermes.md