alex-pezarro-portswigger/aw-session-registry/tree/main/skills/peer-messages
peer-messages
같은 저장소에서 작업하는 세션끼리 서로 무엇을 하는지 알리고 메시지를 주고받게 해 주는 [Agent Wrangler](https://github.com/alex-pezarro-portswigger/agent-wrangler) 확장 기능입니다.
이 mod 소개
각 세션은 자신의 핸들과 현재 작업을 세션 레지스트리에 게시하며, 에이전트는 다음 MCP 도구를 사용할 수 있습니다.
list_repo_sessions— 저장소에서 누가 더 작업 중인지 확인update_session_note— 이 세션이 무엇을 하는지 동료에게 알림list_remote_peer_sessions/send_remote_peer_message— 다른 보드의 세션에 메시지 전송. 같은 보드의 세션에는 Agent Wrangler의 기본send_message를 사용하며, 원격 도구는 해당 세션으로 보내는 것을 거부합니다.
들어온 원격 메시지는 15초마다 확인되며, 에이전트에게 표시되기 전에 사용자의 승인을 기다립니다.
- Claude 세션: 함께 제공되는
peer-messagesMod(skills/peer-messages/, 함수 훅으로 구성된 Claude Code 플러그인)가 카드의 받은 편지함을 관리합니다. 각 메시지는 프롬프트 위에 표시되고 Accept, Accept all, Dismiss, Dismiss all을 제공합니다(ctrl+x tab으로 해당 영역에 포커스를 둔 다음a,l,d,x중 하나를 누릅니다). 두 가지 "all" 옵션은 대기 중인 메시지와 이후에 올 메시지를 포함해, 해당 Claude 세션이 끝날 때까지 그 발신 세션의 모든 메시지에 응답합니다./peer-list및/peer-send <n|handle> <message>로 같은 저장소의 활성 세션을 나열하고 메시지를 보낼 수 있습니다. 확장 기능은 시작할 때(PEER_MESSAGES_INBOX=mod) 받은 편지함을 Mod에 넘깁니다. 따라서 이 확장 기능이 업데이트되기 전에 시작된 Claude 카드에는 Mod가 없고, 해당 카드가 재개될 때까지 메시지가 레지스트리에(최대 6시간) 대기합니다. Mods를 로드하는 Claude Code 빌드가 필요합니다. - Codex 세션: 카드에서 Allow once, Allow all from this session, Deny, Block을 선택할 때까지 메시지가 대기합니다.
함께 제공되는 훅은 첫 번째 프롬프트에서 동료가 무엇을 하는지 간단히 알려 주고, 메모를 설정할 때까지 처음 몇 번의 프롬프트에서 메모를 설정하도록 재촉합니다. 훅은 skills/session-registry/hooks/hooks.json에 있으며 Agent Wrangler가 Claude 플러그인으로 로드하므로 Claude 세션에서만 실행되고 Codex에서는 실행되지 않습니다.
설치
설정 → 확장 기능 → 설치:
https://github.com/alex-pezarro-portswigger/aw-session-registry
설치하면 꺼진 상태입니다. 켠 다음 해당 행의 톱니바퀴에서 레지스트리 URL을 설정합니다.
devcontainer에서는 Wrangler 설정이 복사되지 않으므로 대신 SESSION_REGISTRY_URL을 설정합니다.
설치
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add alex-pezarro-portswigger/aw-session-registry claude plugin install peer-messages
원문 / README
aw-session-registry
An Agent Wrangler extension that lets sessions working in the same repo inform each other of what they are doing, and send messages to each other.
Each session publishes it's handle and what it's doing to the session registry, and agents get these MCP tools:
list_repo_sessions— see who else is working in the repoupdate_session_note— tell peers what this session is doinglist_remote_peer_sessions/send_remote_peer_message— message sessions on other boards. Sessions on your own board use Agent Wrangler's built-insend_message, and the remote tools refuse them.
Inbound remote messages are checked every 15 seconds and wait for you to approve them before the agent sees them:
- Claude sessions: the bundled
peer-messagesmod (skills/peer-messages/, a Claude Code plugin of function hooks) owns the card's inbox. Each message shows above the prompt with Accept, Accept all, Dismiss and Dismiss all (focus the band with ctrl+x tab, thena,l,dorx). The two "all" options answer every message from that sender's session, queued or still to come, for the rest of the Claude session./peer-listand/peer-send <n|handle> <message>list and message live sessions in the same repo. The extension hands the inbox over at launch (PEER_MESSAGES_INBOX=mod), so a Claude card launched before this extension was updated has no mod, and its messages wait in the registry (up to its 6-hour TTL) until the card is resumed. It needs a Claude Code build that loads mods. - Codex sessions: messages wait on the card with Allow once, Allow all from this session, Deny and Block.
A bundled hook gives the agent a brief of what its peers are doing on its first prompt, and
nudges it to set its note over the first few prompts until it does. The hooks live in
skills/session-registry/hooks/hooks.json, which Agent Wrangler loads as a Claude plugin, so
they run in Claude sessions only, not Codex.
Install
Settings → Extensions → Install:
https://github.com/alex-pezarro-portswigger/aw-session-registry
It installs switched off. Turn it on and set the registry URL from the cog on its row.
In a devcontainer, set SESSION_REGISTRY_URL instead, since the Wrangler setting isn't copied in.