Command Palette

Search for a command to run...

Назад к скиллам
скилл № 04792

pan-tell

pan tell <id> <msg> — send a message to a running agent's tmux session

БесплатноБез исполняемых скриптов
eltmonот eltmon★ 36 звёзд на GitHub

Установить pan-tell в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Send Message to Agent

Overview

This skill guides you through sending messages to running autonomous agents via their tmux sessions.

When to Use

  • Agent needs additional context or clarification
  • You want to redirect the agent's focus
  • Providing feedback on work in progress
  • Sending error messages for the agent to fix
  • Interrupting to change priorities

Prerequisites

  • Agent must be running in a tmux session
  • <id> accepts an issue ID (PAN-1148), a full agent ID (agent-pan-1148, strike-pan-1723, conv-20260928-7563), a conversation (its name 20260928-7563, conv/2972, conv:2972, or a dashboard URL), or a bare number when it is unambiguous. A name that matches both a conversation and an agent is refused with both explicit forms listed.

Quick Command

# ALWAYS use pan tell - it handles Enter correctly
pan tell ISSUE-123 "Your message here"

# Message a conversation by its dashboard number
pan tell conv/2972 "Your message here"

DO NOT use raw tmux send-keys - agents frequently forget the separate Enter command, causing messages to sit unsent in the terminal.

Why pan tell?

  1. Automatically sends Enter - No forgotten second command
  2. Properly escapes quotes - Handles special characters
  3. Saves to mail queue - Backup if agent misses the message
  4. Validates session exists - Fails fast if agent not running
  5. Reaches the main agent - for Claude Code targets it checks the agent selector and switches input back to the main agent before sending; it refuses (exit 1, message saved to mail) when it cannot confirm the switch.

Steer a running turn

A plain pan tell queues behind a busy agent: Claude Code feeds the message in at the next tool boundary, or after the turn. To change course now, steer:

pan tell --steer ISSUE-123 "Stop the refactor. Fix the failing login test first."

--steer types the message and presses Claude Code's send-now chord (Ctrl+X Ctrl+S) instead of Enter. Claude Code interrupts the running turn and sends the message at once; an idle agent just receives it. The dashboard composer does the same with Ctrl+Enter (Cmd+Enter on macOS).

  • Supported: local Claude Code agents and conversations.
  • Refused (exit 1, nothing sent or mailed): other harnesses (Codex, Kimi, ACP, OpenCode, Muse, Prime Agent), remote (Fly) agents, and paused, suspended or stopped agents, which have no running turn to interrupt. Drop --steer to send a normal message. Steer Pi from the dashboard composer.
  • Old PTY supervisor: an agent launched before steer support presses Enter instead; pan tell prints that the message was delivered as a normal submit.

Queue until limits reset

When a conversation hit its usage limit, queue the message on the server instead of waiting:

pan tell --when-limit-resets conv/2972 "Pick up where you left off."

The message is stored in the dashboard database and sent by the scheduled-message patrol about a minute after the limit resets (or within a minute when no limit is active). When the reset time is unknown it tries again every 15 minutes.

  • Supported: Claude Code conversations only. Agents, other harnesses and vault browse copies are refused (exit 1, nothing queued).
  • Refused: --steer with --when-limit-resets — a queued message has no running turn to interrupt. /pan commands cannot be queued.
  • Check the queue: pan conv pending <conv> lists undelivered queued messages. Edit or cancel them from the conversation timeline in the dashboard.

A conversation on another machine

To reach a conversation that a linked machine runs, name it @<machine>/<conv> (the machine's label or environment id):

pan tell @desk/conv-20261101-1234 "Rebase on main before you push."
pan tell @desk/conv-20261101-1234 "Rebase on main before you push." --message-id rebase-1

The message goes through this machine's dashboard and the machine link (PAN-4650). It prints Delivered to <conv> on <machine>, or the owner's error and exits 1. --message-id <id> makes a repeat land once (default: a fresh id); on a local target it is the delivery idempotency key. --steer works; --when-limit-resets and --force exit 1 for a remote target. Only conversations are accepted after @<machine>/ — an agent name exits 1 with "pan tell @/… targets conversations only".

Workflow

1. Find the Agent Session

# List all agent sessions
tmux list-sessions | grep agent

# Example output:
# agent-MIN-123: 1 windows (created Mon Jan 20 10:00:00 2025)
# agent-MIN-456: 1 windows (created Mon Jan 20 11:00:00 2025)

2. Check Current Agent Status

# See what the agent is currently doing
tmux capture-pane -t agent-ISSUE-123 -p | tail -20

3. Send Your Message

# Send the message (Enter is sent automatically)
pan tell ISSUE-123 "Please focus on the login bug first, then the signup flow."

4. Verify Message Was Received


Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Bash
  2. 02Read

FAQ

Что делает скилл pan-tell?

pan tell <id> <msg> — send a message to a running agent's tmux session

Как установить скилл pan-tell?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pan-tell запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pan-tell с