一键导入
tell
// Delegate tasks to other agents - pi sessions or external agents (claude, opencode, aider). Non-blocking with task tracking and completion notifications.
// Delegate tasks to other agents - pi sessions or external agents (claude, opencode, aider). Non-blocking with task tracking and completion notifications.
Structured workflow for research → plan → tickets → work. Use when starting or continuing a task with /task, /plan, or /tickets commands.
Create and refine tickets for the tk ticket system. Use when the user says 'create tickets for X', 'refine ticket X', 'break this into tickets', 'seed tickets from plan', or anything about creating or refining tk tickets.
Work on a single tk ticket end-to-end. Use when the user says 'work on ticket X' or when spawned by work-tickets.sh.
REQUIRED when user says 'pickup', '/pickup', 'handoff', '/handoff' — MUST load this skill BEFORE any other work. Compacts conversations into handoff docs or resumes work from a prior handoff document.
Interact with web pages using Chrome DevTools Protocol. Launches a managed browser instance (Helium / Brave Nightly / Chrome) with an isolated profile and exposes nav, eval, screenshot, pick, and emulation helpers. Run scripts/start.js first.
Display code, diffs, images, and other content in a tmux pane or popup, OR render markdown as a single-page interactive HTML and open in the default chromium-family browser. Auto-detects nvim/megaterm for floating popups.
| name | tell |
| description | Delegate tasks to other agents - pi sessions or external agents (claude, opencode, aider). Non-blocking with task tracking and completion notifications. |
| script | scripts/tell.sh |
Delegate tasks to other agents. Works with both pi agent sessions and external agents (Claude Code, opencode, aider).
Script location: ~/.dotfiles/home/common/programs/pi-coding-agent/skills/tell/scripts/tell.sh
Note: All commands below use
tell.shfor brevity. Always use the full path above when executing.
Auto-notification: When a delegated task completes, you'll be notified via:
[TASK_RESULT:id] sent to your pi sessionSend a task to another pi agent running in a tmux session:
# Use full path (recommended)
~/.dotfiles/home/common/programs/pi-coding-agent/skills/tell/scripts/tell.sh mega "fix the failing tests in src/auth"
~/.dotfiles/home/common/programs/pi-coding-agent/skills/tell/scripts/tell.sh rx "review PR #42 and leave comments"
Explicit window targeting with session:window syntax:
~/.dotfiles/home/common/programs/pi-coding-agent/skills/tell/scripts/tell.sh rx:agent "do something" # Target rx session, agent window
~/.dotfiles/home/common/programs/pi-coding-agent/skills/tell/scripts/tell.sh mega:0 "do something" # Target mega session, window 0
Multi-instance support: If a session has multiple pi instances (e.g., mega:0 and mega:agent), the tell skill will:
session:window specified → use that socket directlyagent window socket, then window 0, then any availablesend-keys if no socket availableSocket pattern: ${PI_STATE_DIR:-~/.local/state/pi}/sockets/pi-{session}-{window}.sock
Spawn an external agent in a tmux session to handle a task:
~/.dotfiles/home/common/programs/pi-coding-agent/skills/tell/scripts/tell.sh --agent claude "run the user-story-sync skill"
~/.dotfiles/home/common/programs/pi-coding-agent/skills/tell/scripts/tell.sh --agent opencode "fix the failing tests in src/auth"
~/.dotfiles/home/common/programs/pi-coding-agent/skills/tell/scripts/tell.sh --agent aider "refactor the database module"
Supported agents:
claude - Claude Code (runs with --dangerously-skip-permissions)opencode - OpenCodeaider - Aider (runs with --yes-always)codex - Codex CLI (runs with --full-auto)Returns immediately. The agent runs in a background tmux session.
~/.dotfiles/home/common/programs/pi-coding-agent/skills/tell/scripts/tell.sh --list # List all tasks
~/.dotfiles/home/common/programs/pi-coding-agent/skills/tell/scripts/tell.sh --status TASK_ID # Check task status & output
~/.dotfiles/home/common/programs/pi-coding-agent/skills/tell/scripts/tell.sh --watch TASK_ID # Watch external task live
~/.dotfiles/home/common/programs/pi-coding-agent/skills/tell/scripts/tell.sh --kill TASK_ID # Kill a running external task
You'll see: [TASK:abc123 from mega] do the thing
Send updates:
~/.dotfiles/home/common/programs/pi-coding-agent/skills/tell/scripts/tell.sh --update abc123 "halfway done"
~/.dotfiles/home/common/programs/pi-coding-agent/skills/tell/scripts/tell.sh --done abc123 "finished, all tests pass"
For interactive debugging, attach directly:
tmux -S ~/.local/state/pi/agent-sockets/tasks.sock attach -t task-abc123-claude
Detach with Ctrl+b d.
When a task completes (either external agent or pi agent calling --done):
[TASK_RESULT:abc123] claude completed: Task finished successfully
Original task: run the user-story-sync skill...
This lets you fire-and-forget tasks and get notified when they're done.
# Define shorthand for readability
TELL="~/.dotfiles/home/common/programs/pi-coding-agent/skills/tell/scripts/tell.sh"
# Tell specific window in a session
$TELL rx:agent "review the changes and suggest improvements"
# Auto-select best window (prefers 'agent', then '0')
$TELL mega "run the test suite"
# Delegate to Claude Code
$TELL --agent claude "run the user-story-sync skill"
# Check what's happening
$TELL --list
$TELL --status abc123