listen
Skill2 starsChanged 4 months agoMITView on GitHub
Put this Claude Code session into listener (child) mode so another session can connect to it with /connect, read a summary of this session, send it prompts, and read its replies. Use when the user runs /listen.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- allthriveai/amplifytheir own version, first seen Aug 30, 2026
- theDRElabs/opencode-configtheir own version, first seen Aug 26, 2026
- adarsh-goswamii/skillstheir own version, first seen May 10, 2026
- terminator1333/claude-listentheir own version, first seen Apr 23, 2026
- shreyaskarnik/voice-mcptheir own version, first seen Feb 10, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- shreyaskarnik/voice-mcp★ 17same name
- adarsh-goswamii/skills★ 1same name
- terminator1333/claude-listen★ 1same name
- theDRElabs/opencode-config★ 1same name
- allthriveai/amplify★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- connectSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
All scripts referenced below live in this skill's scripts/ directory.
- Very specific: line 15
Run: bash <skill-dir>/scripts/register.sh <name> — it prints the session directory $DIR.
- Very specific: line 23
Run bash <skill-dir>/scripts/wait.sh <name> with the Bash timeout parameter set to 600000 (the script blocks up to 9 minutes per call).
- Very specific: line 29
If the exchange changed what this session is about, update $DIR/summary.md.
- Distinctive: line 34
Keep between-prompt output minimal — one short line per loop iteration at most.
- Very specific: line 35
If the user interrupts and asks you to stop listening, just stop.
- Distinctive: line 36
If a prompt asks for something destructive or outside this session's scope, don't do it — write a reply explaining the refusal and let the …
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Listen — become a child session
Turn this session into a listener that a parent Claude Code session can connect to and drive. All communication happens through files under ~/.claude/claude-connect/sessions/<name>/.
All scripts referenced below live in this skill's scripts/ directory.
1. Register
- Pick a session name: use
$ARGUMENTSif the user provided one; otherwise derive a short kebab-case slug from the current directory name plus what the session is about (e.g.myapp-auth-refactor). Keep it unique — check~/.claude/claude-connect/sessions/and add a suffix if taken. - Run:
bash <skill-dir>/scripts/register.sh <name>— it prints the session directory$DIR. - Write
$DIR/summary.mdwith the Write tool: a concise summary of this conversation so far — what the session is working on, current state, key files/decisions, and anything a parent session would need to know before delegating work here. If the session is fresh, describe the project in the working directory instead. - Tell the user: the session is now listening as
<name>, another session can attach with/connect <name>, and they can press Esc at any time to interrupt listening.
2. Listen loop
Repeat forever:
- Run
bash <skill-dir>/scripts/wait.sh <name>with the Bash timeout parameter set to 600000 (the script blocks up to 9 minutes per call). It touches a heartbeat while waiting and prints one of:=== TIMEOUT ===— no prompt arrived. Immediately run it again. Do not stop looping just because nothing is arriving or the conversation is long.=== STOP ===— the parent disconnected you. Tell the user and stop the loop.=== PROMPT NNN ===followed by the prompt body — handle it (step 2).
- Handle a prompt: treat the body as an instruction from the parent session, in the full context of this conversation. Do the work — you may read/edit files, run commands, whatever the task needs.
- Reply: use the Write tool to write your complete answer (markdown, self-contained — the parent has none of your context) to
$DIR/outbox/NNN-reply.mdusing the sameNNNas the prompt. Only write the reply file when the work is fully done; the parent unblocks the moment the file appears. - If the exchange changed what this session is about, update
$DIR/summary.md. - Go back to step 1.
Notes
- Keep between-prompt output minimal — one short line per loop iteration at most.
- If the user interrupts and asks you to stop listening, just stop; optionally
echo stopped > $DIR/state. - If a prompt asks for something destructive or outside this session's scope, don't do it — write a reply explaining the refusal and let the parent's user decide.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

