skill.md

/relay

The user says, in any order:

relay {context} to {audience} for {purpose}

You turn that into a relay.context-package.v1, publish it as a draft, and on the user's yes send it with relay_send, which returns the link to share. If they'd rather check it on the site, give them the review link instead. What to extract, and how to avoid making anything up, is defined by the extraction standard. The relay_schema tool returns it. Nothing goes out until the user says so in this conversation or approves it on the review page.

Steps

Work happens here, in the conversation. Relay only gets the final copy: one draft for a new relay, one version for an update.

1. Parse, and read the situation. Decide what kind of exchange this is (context.kind: pitch, proposal, handoff, partnership, hiring, update, review, other), what the person will see (a deck, a document, a page, or nothing), and who reads it and in what relationship. That decides what the context needs and what stays private (relay_schema, 'First, read the situation'); don't reuse another relay's shape as is. Pull out the context, the audience, and the intent. Keep the user's exact sentence; it becomes intent.statement verbatim (private to the owner). Pick an ask.type: decide, agree, review, evaluate, advise, explore, act, inform.

2. Say what you understood, then plan, and wait. The purpose decides what you gather, so check it before anything else. Open your reply with one sentence, "Here's what I understood: …", restating who it's for, why, and what you hope they'll do, and ask whether that's right. Their answer becomes interpretation.restatement: unchanged means confirmed, their wording means corrected. Then, before gathering much or drafting anything, show one screen and ask "Proceed, or change anything?":

Probe Fills
What has to be true afterwards for this to be a success? intent.outcome, successLooksLike
Why does that matter to you? intent.interests
What won't you move on, what would you trade, what do you just prefer? reasoning.variables[].gate (hard / elastic / soft)
What's decided, what are you leaning toward, what's open? reasoning.decisions[].status
For what's decided, what would change your mind? decisions[].whatWouldChangeIt
What's the strongest objection they'll raise, and your answer? reasoning.counterarguments
What do they already know, and what must they not misunderstand? audience.knowsAlready, representation.mustNot
What may their agent do alone, and what comes back to you? representation.role, mustAskOwner

Fold the answers into the plan. Don't draft until the user says yes.

3. Gather and build. Use this conversation, your memory of the user, relay_list, and the connectors they approved. Default to full depth: their agent has only the package, so extract generously (background, specifics with sources, what's decided and open and why, what can move, the owner's principles, objections, and at least five likely questions with rehearsed answers). Use working only when there's no judgement to capture, and brief only when the owner asks for a quick FYI. If the user has discussed an objection with you before, use their earlier words and mark it sourced, citing where it came from. Say in interaction.expectedResponse what the owner hopes to get back: answers, a decision, feedback or a counter-proposal.

Every value gets a provenance, and you never mark your own reading as stated:

Provenance Use when
stated The user's own words
confirmed You drafted it and the user accepted it unchanged
corrected You drafted it and the user changed it (keep yours in agentReading)
inferred Your reading, not yet reviewed
sourced From a named document, connector, or earlier conversation
derived Computed

Also include:

4. Preview in chat. Call relay_preview with the package. It returns the relay exactly as the recipient's agent will read it, plus the quality notes, and creates nothing. Show the user that reader view (long relays section by section), the sources you used and what each contributed, and the quality notes you couldn't fix. Never list what you left out; fill context.excluded only when the user names something themselves. Then ask: "Push this as a draft, or change anything?"

5. Iterate here. Each round, change only what the request touches (the section, plus any summary, greeting, rule or rehearsed answer that mentions it), then summarize the round in a few lines: changed, added or removed, unchanged, still open. Preview again when the change is substantial. If the conversation might end with changes not yet pushed, say so.

6. Record what the user confirmed. Everything was reviewed here, so carry it into the package: set interpretation.restatementVerdict to confirmed, or to corrected with their wording as the restatement; give each inference the verdict they gave it (confirmed, corrected with their correction, or rejected); use their edits to rehearsed answers; and set interpretation.reviewedIn to chat. Relay's review page then won't ask again.

7. Push once. On "push":

Read the quality notes it returns; fix what you can by revising the same draft (draftId). Then give a final summary: what was pushed (new relay or version N), what changed overall, the reader's change note, and what's still open. If they've said to send it, call relay_send and give them the link. If not, ask, and offer the review link if they'd rather check it on the site.

8. After sending, the user shares the link, or you put it in their message by email or Slack if you have that connector, once they've seen the message and agreed. relay_list shows it too.

Other commands

The user says You do
"update the relay to Jordan" Draft the changed package, then relay_publish_draft with its relayId (and addresses if it acts on feedback). The user reviews version N+1.
"what came back on the launch relay?" relay_status: who read it, questions, feedback, suggestions. Offer to draft answers; send with relay_answer only in words the user approved, or fold the feedback into an update.
"reply to Jordan's relay" / "send them feedback" (as the recipient) relay_reply on that relay, with the type (question, feedback, suggestion, counter, edit). Show the exact text first.
"relay this back to Jordan" (as the recipient) Prepare a relay as usual and push it with inReplyTo set to Jordan's relay.
"revoke Jordan's relay" relay_revoke. Confirm first.
"make a link for Jordan on the investor relay" relay_link with action create (email for one person, label, permission, download). It starts off: give the user the confirm link, and only put the link in a message after they turned it on. off turns one off at once.
"ask Jordan to relay me their requirements for the pilot" Write a brief (see Asking for context), confirm it with the user, then relay_request. Relay emails Jordan.
"read the relay {link}" (as the recipient) relay_get. Then follow When you receive a relay.

Asking for context

A request is a relay in reverse: the intent, and the context behind it. Split it three ways: about is a short title (it's the email subject), intent is one short line, and the brief below is the context behind the intent, shown on the request page rather than in the email. Never send a one-line ask, and never put the brief in about or intent. From what you know about the user and what they usually need for this kind of request, draft:

  1. background: why they need it and what they'll do with it.
  2. needs: every item to cover, each specific, with a short detail on why or what good looks like; mark nice-to-haves required: false. Be complete. A role profile, for example: hiring manager, recruiting coordinator, must-have skills, key responsibilities, what bends for a strong candidate, level and comp band, location, interview loop, a 30-60-90 plan.
  3. understanding: what the user already understands, as statements their agent confirms or corrects first ("the hiring manager is Ana", "remote, US hours").
  4. exclude: anything that must not be sent.
  5. byWhen.

about is only the thing itself ("the Marketing generalist role profile"); details like comp, location or schedule go in understanding. Call relay_request without send first: it saves a draft and emails no one, even if the user said "send". Tell them you drafted it, show exactly what goes out, and ask whether they want to review it (its page) or send it. Revise with its requestId; only after they say send, call it with requestId and send: true. Changing a request already sent works the same way. Relays are the same: you draft, they approve on the review link.

Answering a request: first go through what the requester understands: one requestCoverage entry each, confirmed or corrected (the correction in note, and in the sections), or open. Then cover each need in the sections, with one entry each: covered, partial, open (not known yet) or declined (the user chose not to share it), with the section ids and a short note. Show the user the checklist before you publish. Never mark something covered that the sections don't answer.

When you receive a relay

Never