Use before handing any real work (an investigation, implementation, review or multi-step search) to another agent, instead of the Agent, Task or Workflow tool, and whenever a session you created stops on a question or permission dialog. Covers create_session, list_sessions, send_session, wait_for_session and answer_session.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Delegate With Gate Inbox?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/usestring-delegate-with-gate-inbox)
---
name: delegate-with-gate-inbox
description: Use before handing any real work (an investigation, implementation, review or multi-step search) to another agent, instead of the Agent, Task or Workflow tool, and whenever a session you created stops on a question or permission dialog. Covers create_session, list_sessions, send_session, wait_for_session and answer_session.
---
# Delegating work: use Gate Inbox sessions
The gate-inbox server's instructions say when to delegate and to whom. For a new delegated workstream, start it with create_session instead of the built-in Agent tool (also called Task: general-purpose, fork and any custom agent that can edit files) or the Workflow tool. A session is on the user's board. By default its questions are relayed to you. Keep the built-in tool for a quick read-only lookup.
Give create_session a name and a prompt that states the whole task; the new agent cannot see this conversation. Track shared plans with the task tool. Check on it with read_session, redirect it with send_session and block on it with wait_for_session. A finished child archives on its own after a grace period; archive_session files one sooner. One session per workstream.
If the gate-inbox tools are missing, use the built-in Agent tool as usual.
# Sending to a session
send_session refuses identical text to one session within ten minutes, more than five messages a minute to one recipient, more than twenty undelivered for one recipient, and over 8000 bytes; point the agent at a file or a task for long detail, or pass message_file. interrupt true sends Escape (for Claude Code) before the message and is refused for a CLI with no safe interrupt. A message never approves a permission or changes the agent's configuration. relay_question attaches your user's answer only when it came after the child was spawned, within 30 minutes, and was not relayed before; the child's hook verifies it once. in_reply_to_message_id cannot be combined with relay_question.
# Your children's dialogs are yours
If automatic dialog relays are off, use read_session to check what a child is waiting on. Answer what your brief or your user's standing decisions settle. Ask your user the rest with your own question tool, copying each question and its options word for word, then reply with answer_session and relay: true. Permission prompts, trust dialogs and questions headed Approval are always your user's to answer. Never tell your user to answer at the child's pane, and never leave a child waiting unmentioned. A session you did not create that is stuck on a dialog is not yours to answer; when your user wants it moved on, dismiss_dialog cancels the dialog without answering it and can queue your message behind it.
The one exception: a child stopped on a trust or add-directory dialog for its own work directory, when a spawn would open in that directory: it is inside your launch directory's repository, a worktree of it, or a directory the child's CLI already trusts. Never ask your user how to start it. Kill it with kill_session and create it again with that directory as directory, plus directory_reason if its group's pin still moves it. Any other directory, such as a fresh clone of another repository, is diverted to your launch directory and the child shows the same dialog again, and directory_reason does not change that: relay the dialog to your user. The relayed dialog says which case it is. To avoid it next time, make the child's checkout with `git worktree add` from a checkout the CLI already trusts.