add-machine
Add or pair a Herd machine — mint an enrollment token and return the one-line connect command, or re-pair an existing daemon machine.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add or pair a Herd machine — mint an enrollment token and return the one-line connect command, or re-pair an existing daemon machine.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Distill Herd commander memory, clean stale MEMORY.md entries, promote durable commander lessons into LONG_TERM_MEM.md, and propose shared-knowledge updates through a review gate. Use for periodic commander memory cleanup.
Examine workspace files for durable context, filter out low-value noise, and clean up stale memory or rule files that contribute to context rot.
Write or rewrite agent skill files so they are outcome-oriented, bounded, and easy for another agent to apply. Use when creating a new skill, translating a skill, or tightening an existing skill's acceptance criteria, boundaries, or output contract.
Conversationally collect, validate, preview, and create a new Herd commander through the backend API.
Create a Herd automation from a conversation while preserving sourceConversationId provenance.
Turn a structured outline, report, or research brief into a presentation plan with slide-by-slide content and visual direction.
| name | add-machine |
| description | Add or pair a Herd machine — mint an enrollment token and return the one-line connect command, or re-pair an existing daemon machine. |
| user-invocable | true |
| argument-hint | <machine name, host, and transport> |
Use this skill when the user asks Gaia to add a host, worker machine, daemon machine, or launch target.
Steps:
${API_BASE_URL}/api/agents/machines/enrollment-token with optional label and cwd. Return the enrollment.command one-liner from the response for the user to run on the new machine; it self-enrolls and comes online. The token expires at enrollment.expiresAt (24 hours) — treat it as a secret and share it only with the user.${API_BASE_URL}/api/agents/machines with the approved machine payload.${API_BASE_URL}/api/agents/machines/:id/daemon/pair and return the daemon pairing command from the response.x-herd-api-key: ${HERD_API_KEY} for every request.