By juanheyns
Unix-socket channel for Claude Code — host-local IPC for orchestrators, approval gates, and sidecars. Filesystem permissions replace tokens; no network config.
Unix-socket channel MCP plugin for Claude Code. External processes on the same host push messages into a running Claude session; the agent replies through the same socket. Filesystem permissions are the only auth — no tokens, no network config, no chat app.
Claude Code's channels let external events reach a running session. The official channels (Telegram, Discord, iMessage) are chat-oriented and require bot credentials. For host-local automation — orchestrators, sidecars, cron jobs, approval UIs, deploy gates — Unix sockets are a better fit:
chmod access can sendnc -U, socketchat send)~/.claude/channels/socketchat/sessions/<id>.sockreply tool, routed back to the originating connection~/.claude/channels/socketchat/index.json) listing active sessions with cwd, pid, and socket pathsocketchat) with ls, ping, send, chat, and log subcommandsjuanheyns-claude-plugins marketplaceAdd the marketplace and install the plugin. Inside Claude Code:
/plugin marketplace add juanheyns/juanheyns-claude-plugins
/plugin install socketchat@juanheyns-claude-plugins
Relaunch Claude with the channel explicitly loaded. Which flag depends on your account:
Team/Enterprise with socketchat on the org allowlist (no dialog — recommended for unattended work):
claude --channels plugin:socketchat@juanheyns-claude-plugins
Pro/Max or anyone not on an org allowlist (interactive confirmation dialog on launch):
claude --dangerously-load-development-channels plugin:socketchat@juanheyns-claude-plugins
Channels are currently a research preview in Claude Code. The normal --channels flag only accepts plugins on either Anthropic's maintained allowlist or your organization's allowedChannelPlugins managed setting. socketchat is a third-party plugin, so Pro/Max users must use the --dangerously-load-development-channels form until an admin whitelists it.
See Deployment for the enterprise setup and unattended workflows.
From any shell, invoke the installed client:
# Discover active sessions
bun ~/.claude/plugins/cache/juanheyns-claude-plugins/socketchat/*/client.ts ls
# Send a message
bun ~/.claude/plugins/cache/juanheyns-claude-plugins/socketchat/*/client.ts send '{"hello":"from ops"}'
The glob resolves to the currently-installed version dir. For convenience, add a shell function to your ~/.zshrc / ~/.bashrc:
socketchat() {
local dir=$(ls -d ~/.claude/plugins/cache/juanheyns-claude-plugins/socketchat/*/ | sort -V | tail -1)
bun "${dir}client.ts" "$@"
}
Then just socketchat ls, socketchat send '{}', etc.
--plugin-dirgit clone https://github.com/juanheyns/claude-channel-socketchat socketchat
cd socketchat
bun install
claude --plugin-dir "$PWD"
Claude Code picks up .claude-plugin/plugin.json and .mcp.json from the plugin root automatically. Use this path when iterating on the plugin itself. From here, ./client.ts ls works directly (the repo's own copy).
See docs/ for the full picture, including deployment in ephemeral containers, the wire protocol, and a manual test plan.
Admin access level
Server config contains admin-level keywords
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub juanheyns/juanheyns-claude-plugins --plugin socketchatMemory compression system for Claude Code - persist context across sessions
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Streamline people operations — recruiting, onboarding, performance reviews, compensation analysis, and policy guidance. Maintain compliance and keep your team running smoothly.
Write feature specs, plan roadmaps, and synthesize user research faster. Keep stakeholders updated and stay ahead of the competitive landscape.
Create content, plan campaigns, and analyze performance across marketing channels. Maintain brand voice consistency, track competitors, and report on what's working.
Prospect, craft outreach, and build deal strategy faster. Prep for calls, manage your pipeline, and write personalized messaging that moves deals forward.