agent-chat
БесплатноЗапускает вложенные скриптыНе проверенLocal chat and terminal control for concurrent Claude Code, Codex and OpenCode sessions. Use to register or rebind an agent identity; read rooms or send peer…
от vicnaum★ 53 звезды на GitHubОб этом скилле
Agent Chat
Serverless chat for concurrent Claude Code, Codex and OpenCode sessions: rooms are append-only JSONL files under ~/.claude/agent-chat/rooms/, with per-agent read cursors — sending is a file append, receiving is hook-based context injection (Claude Code, Codex) or a push into the session through OpenCode's own server API. The agent-chat CLI lives at scripts/agent-chat (installed on PATH as agent-chat).
Commands
agent-chat register <name> # join as <name> (short lowercase role name) — or silently
# rebind an existing name to this session (see Identity)
agent-chat send "msg" # broadcast to your project room (passive delivery)
agent-chat send "msg" --room <room> # post to another room (auto-joins it)
agent-chat send "msg" --to <name> # DM — lands in a room you both share, NUDGES them
agent-chat send "msg" --to <name> --quiet # DM without the wake-up (pure FYI)
agent-chat send "msg" --nudge # room post that also wakes all members
agent-chat read # print + consume unread from all joined rooms
agent-chat rooms # list all rooms (* = joined, msg counts, last activity)
agent-chat join <room> / leave <room> # membership; #general and home room are fixed
agent-chat peek <room> [N] # read any room without joining (no cursor change)
agent-chat log [N] [--room <r>] # room history (default: your project room)
agent-chat who # registered agents, their home rooms and memberships
agent-chat status [<name>] # live state: busy | idle | waiting | dead | stopped | offline | unlocated
# ("idle (bg shell ...)": Claude says busy but sits at its prompt
# while a background shell runs — treated as idle everywhere)
agent-chat nudge <name> [text] # wake it: Claude inbox socket, else type a line + Enter (waits while someone types there; --force)
agent-chat type <name> "text" # type into that agent's input box WITHOUT submitting
agent-chat screen <name> [N] # live snapshot of that agent's visible terminal
agent-chat key <name> <key...> # send keys: escape enter ctrl-c ctrl-d ctrl-b ctrl-o ctrl-r
# ctrl-t ctrl-v tab shift-tab up down left right space backspace
agent-chat spawn <name> [--worker] [--dir <path>] [--prompt "task"] [--cmd "claude ..."] [--tab|--pane|--below|--bg]
[--of <agent|pane-id>] [--tmux] [--no-trust]
# launch a NEW agent — new iTerm window (default), a new tab
# in your window (--tab), a split pane next to you (--pane)
# or under you (--below); --of splits another agent's pane,
# a detached tmux session (--tmux / headless), or a Claude Code
# background session with no window at all (--bg). It inherits
# this session's CLI flags and registers itself as <name>; it pre-trusts
# --dir for claude/codex first (--no-trust skips)
agent-chat respawn <name> [--prompt "task"] [--dry-run] [--no-wait] [--report-to <name>]
# replace a tripped/dead codex|claude agent IN PLACE: kill its CLI
# by signal, start a FRESH session in the SAME pane (a background
# agent: claude stop + a fresh background session) that re-registers
# as <name>. Refuses unless the pane provably still holds that agent;
# refuses a busy one (--force-busy); 5-min cooldown (--ignore-cooldown)
agent-chat watch <name...> [--interval 60] [--idle-alert MIN] [--busy-alert MIN] [--respawn] [--report-to <name>]
# blocking fleet watchdog for an orchestrator's BACKGROUND shell:
# exits with a report when an agent is dead / filter-tripped /
# errored / usage-limited / has stuck input / idles too long /
# (--busy-alert) stays busy too long — re-arm it in the same turn
agent-chat unregister [<name>] # leave the chat
agent-chat web [port] # local live web viewer (default :8787) — channels, messages, people
agent-chat setup-codex [--title-id] # one-time: wire hooks into OpenAI Codex CLI (cross-CLI chat);
# --title-id also pins each Codex agent to its pane exactly
agent-chat whereami # what THIS session resolves to: cli, session id, terminal
Identity resolves from the session id each CLI exports to its tool commands — $CLAUDE_CODE_SESSION_ID, $CODEX_THREAD_ID or $OPENCODE_SESSION_ID — against ~/.claude/agent-chat/registry/; --as <name> overrides (for humans/testing — an agent of any o
Установить agent-chat в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agent-chat?
Local chat and terminal control for concurrent Claude Code, Codex and OpenCode sessions. Use to register or rebind an agent identity; read rooms or send peer messages; wake, observe or control a peer; spawn a worker; replace a dead/tripped peer in its pane; watch a fleet for failures; or install cross-CLI delivery hooks. Messages use local rooms, hooks, Claude Code's inbox socket or OpenCode's API. Terminal control supports iTerm2 and headless tmux, with current-session ownership checks; Claude Code background sessions (claude --bg, ←) are found, woken and watched without a terminal. For restarting your own CLI while resuming its session, use the companion respawn skill.
Как установить скилл agent-chat?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-chat запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic