Skip to content
FunCoding

Search

Search docs, Skills and MCP

messaging-the-human

Use when project policy calls for a human decision or update, a human delivery is pending or failed, or a reply must resume the right work.

AI 与智能体6kskills/_canonical/core/messaging-the-human/SKILL.md

Install

Send this to Claude Code, Codex or Cursor. The agent checks the Skill for safety first and installs it only after you confirm.

读取 https://funcoding.ai/skills/mvschwarz/openrig/messaging-the-human/install.md ,按里面的步骤帮我安装这个 Skill。

SKILL.md

Messaging the Human

Project World supplies when and why to contact a human. This skill supplies transport-neutral mechanics; installing it does not create an approval gate or choose a connector. If policy leaves a material decision ambiguous, identify the missing authority. Do not convert a solvable technical failure into a human gate.

Discover, check, send, inspect

Discover the registered participants and inspect the chosen human:

rig gateway human list --json
rig gateway human show <entityId> --json

Use the returned address (<entityId>@external), not a username, remembered seat, connector handle, or guessed kernel address. Where several humans exist, use the decision ownership in Project World. An absent or ambiguous registration needs a named registration correction, not a fallback address.

Check readiness: configured, enabled, active, ready, reason, and next action. indeterminate is not ready. Follow the reported next inspection; do not enable or reconfigure a connector merely to make the check pass.

Author for the person reading on a phone: a short subject in --summary, then one complete brief in --body-file. State why it matters, your recommendation and material tradeoff, the bounded action if approved, and the choice requested. For an update, state the user-visible outcome and “No action needed.” Aim for roughly 100–150 words; this is guidance, not a semantic validator. Keep technical continuation, exact candidate/revision and evidence on the owning agent row and in the durable artifact behind --evidence-ref. A local path is not a phone link and Markdown evidence files are not automatically attached.

For example, a synthetic brief could say:

The repaired status view is ready. I recommend updating this instance; live status will briefly pause. Sessions will be preserved. Approve this instance update, or hold? Supporting test detail follows in this thread.

This example grants no authority. Choose --human-intent decision for a request or --human-intent update for a quiet FYI. Omission retains legacy decision behavior; words such as “FYI” and tags do not change intent.

The sole outbound human-message primitive is:

rig queue create --destination <entityId>@external \
  --human-intent decision --summary "<short subject>" --body-file <brief-file> \
  --evidence-ref <durable-evidence> --verify --json

An optional --human-detail-file <path> supplies one coherent supplemental reply in the same thread. Announce its purpose in the brief; the product also marks that a detail reply follows. The primary must already contain the complete scope, options and action. Do not split an agent dump blindly or move the essential choice into overflow. Rendering checks every part and its accessibility fallback before posting; an oversized request is refused with a field-specific correction, never silently clipped. Shorten the brief or related detail as directed. Inspect the failed row, then deliberately cancel/replace the authored request if its content needs correction; a timeout alone is never a reason to replace it.

A follow-up update about earlier work ("the change you approved is merged") can post into that item's thread with --reply-to <earlier-qitem-id>. It is accepted only with --human-intent update. Name the item whose thread the human saw, such as the parked row, and create the update on the same host as that item. Send the update from the seat that owns that thread: the seat that parked the row, or the author of the earlier item. A human reply in a thread reaches its owning seat, so an update from any other seat posts as a new message. It also posts as a new message, rather than being refused, if the earlier thread is missing or closed, or while the earlier item still waits on the human (a pending human decision, or a row parked on the human), since a reply in that thread would answer the decision. In every such case the --verify result says threaded: false with the reason.

To answer a reply the human typed inside one of your threads, --reply-to the row their reply landed as. The update posts in that thread unless one of the cases above applies, and --verify reports it the same way. A message the human started at the top level of the channel has no thread yet, so the answer posts as a new message.

A decision with a few clear choices can carry --human-questions-file <path>: a JSON array of 1–4 questions, each {"id", "question", "options": [{"id", "label", "recommended"?}]} with 2–4 options (labels up to 75 characters, at most one recommended). Slack shows each question as a row of buttons. Each click records that answer on the item, and the decision resolves once every question has one. You then receive one reply row listing the answers, and the item's humanAnswers holds the option ids. The human may instead type a reply in the thread; that resolves the decision as usual, so read the reply rather than assuming an option was picked. Keep the brief complete: the questions add buttons, they do not replace the explanation.

If an existing agent-owned row must wait for a decision, block it on the new live qitem ID (rig queue block <work-id> --on <human-qitem-id> ...), not on the human address. Completion of the human qitem resumes its dependants. Blocking on the human as well would issue another notification for the same decision.

The row persists before bounded delivery verification. Read its qitem ID and verification result; posted proves connector posting, not human readership. transport-failed, never-posted, or a pending/indeterminate result leaves the row intact. Inspect that same row and its next action; never create a second row or blindly resend because verification timed out.

rig queue transitions <qitem-id>

For update, confirmed complete delivery may close the delivery obligation. It creates no approval obligation and cannot be used as a decision blocker. Delivered updates remain queryable for Feed; a failure or ambiguous send stays separate. A root message alone does not prove supplemental delivery. Retries reconcile stable part identities and send only missing parts. An FYI reply is not a human decision.

For a decision, a correlated reply binds to that exact human and qitem and records the resolution that resumes the owner. Check the recorded result before claiming the decision arrived; a delivery receipt alone is not acceptance.

Existing blockers and other channels

An existing agent-owned row may be blocked on <entityId>@host. That is an internal custody label resolved through the human registry to the same external participant; it is not a second delivery address. Keep the owner and continuation on that row. Inspect its existing delivery receipt before considering another request, so a legacy blocker does not produce a duplicate message. Never derive @host from the current rig name.

rig send reaches an agent's terminal only. It is not a human transport or a durable human obligation. Agent-to-agent work uses the queue handoff path. Connector-specific configuration and handles belong to registry/readiness tools, not to project-independent message instructions.

Similar Skills

brand-guidelines
anthropics/skills180k

brand-guidelines

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

AI & agents

internal-comms
anthropics/skills180k

internal-comms

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

AI & agents

template-skill
anthropics/skills180k

template-skill

Replace with description of the skill and when Claude should use it.

AI & agents

mcp-builder
anthropics/skills180k

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

AI & agents

algorithmic-art
anthropics/skills180k

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

AI & agents

academy-guide
anthropics/skills180k

academy-guide

Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.

AI & agents