Lets you chat with a friend in Claude Code: what you type goes to them, their replies land where Claude's answers go, and a status line shows who is connected.
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
Version
0.12.1
Repo stars
7
Last change
2026-10-29
What it can reach
Draws in the session
Reaches the network or an outside service
Calls another program on this machine
Answer y to Add marketplace?, then type /knock and pick a name. From a shell: claude plugin install knock --marketplace Henry-Hong/knock. Tested on Claude Code 2.1.311 and later. Messages go through the default relay, on Cloudflare Workers, which keeps a name and a token hash per account and stores no messages; KNOCK_SERVER points it at your own. A knock only notifies a friend who has a knock window open. Chat in a fresh window: the chat stays in that window's history and goes to Claude with your next request. English or Korean.
The marketplace, knock, also lists knock-view, which installs along with knock and hides the row each incoming message adds. Chatting with a friend from the prompt is why this page files it under play. fleet-delivery, by wrg32786, sends one Room message or job result into the session when it is idle. notice-board, by HolyGrail, draws a band of notices for the other sessions in this repo. This one is a chat with people: knock on a friend, meet someone at random, or join a room of up to 8, send a picture, and start a line with @claude to have Claude, with no tools, answer everyone from the asker's account. After a chat with a stranger it stops your first request to Claude once and suggests /clear. In the source, that stop is on the send hook, not on a tool call.
Demo
From the author's repo.
What it hooks into
session.startWhen a session starts
command.runWhen you run its slash command/knock-init/knock/knock-random/knock-next/knock-block/knock-room/knock-me
command.describeA Claude Code event
prompt.autocompleteA Claude Code event
ui.renderDraws into the sessionPaneAbovePrompt
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 8
/knock-initPick your name
/knockknock menu · /knock <friend> knocks at once · also room, random, me, off
/knock-randomMeet someone at random
/knock-nextNext random match
/knock-roomJoin a group room
/knock-blockBlock someone
/knock-meYour settings
/knock-offEnd the chat
Files
The author's source, 3 files. They load when you open them.