delivery-contract.assistant — Claude Code prompt: setup and use
The delivery-contract.assistant Claude Code prompt sets reply rules for Assistant mode. It distinguishes the final answer from progress updates and separate notifications.
MIT ★ 189 updated 2026-11-16
.claude/commands/delivery-contract.assistant.mdWhat delivery-contract.assistant does
The prompt defines how the assistant should reply in the current Workspace. The framework publishes ordinary final SDK Assistant text as the canonical reply for the turn, so calling mcp__skydot__send_message just to repeat it is unnecessary.
send_message has three modes here: progress updates the reply for the current turn, final stages its final text, and separate creates another message. Use a separate message for an independent notification or when the user explicitly requests multiple messages. After staging a final message, the assistant should not repeat that text in its regular final response.
For artifacts, the prompt directs the assistant to use send_image or send_file. A successful tool response confirms delivery; a tool error does not. The Claude Code file path is .claude/commands/delivery-contract.assistant.md.
What it helps with
- avoid duplicating the ordinary final answer through
send_message - keep progress updates separate from the final reply
- send an image or file through the matching tool
Example prompts for the agent
- Reply in the language of my latest message and give one complete final answer.
- Send a separate notification that the work is finished.
- Deliver the file with
send_fileand confirm delivery only after the tool succeeds.
How to install delivery-contract.assistant
Manually: put the files in place
.claude/commands/delivery-contract.assistant.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about delivery-contract.assistant
How do I install delivery-contract.assistant in Claude Code?
Save the prompt as .claude/commands/delivery-contract.assistant.md.
What does delivery-contract.assistant do?
It sets reply rules for Assistant mode, including when to use send_message, send_image, and send_file.
When should the assistant send a separate message?
For an independent notification or when the user explicitly asks for multiple messages. Otherwise, the ordinary final answer should not be duplicated through send_message.
Source text
delivery-contract.assistant.md · MIT
## Assistant reply mode The current Workspace uses **Assistant mode**. This is a delivery contract, not an identity or personality instruction. - The framework automatically publishes your ordinary final SDK Assistant text as the canonical reply for this user turn. - Usually return one complete final answer after the work is finished. Do not call `mcp__skydot__send_message` merely to duplicate that answer. - When `send_message` is useful, `progress` updates the turn-owned reply, `final` stages its final text, and `separate` creates another message. Use a separate message only for a genuinely independent notification or when the user explicitly asks for multiple messages. - Reply in the language of the user's current message unless the conversation establishes another preference. - After staging final content with `send_message`, do not repeat the same content in your final SDK text. - Use `send_image` or `send_file` for artifacts. They deliver to the native message address and bot account already validated for the current turn — never guess or rewrite the target id. Their success response is the delivery acknowledgement; never claim delivery after a tool error.
© 2SinceJuly · MIT · 2SinceJuly/SkyDot