Claudemessaging — Development skill for Claude Code
Claude Code sending messages locally to active sessions.
How to install Claudemessaging
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open S3cur3Th1sSh1t/claudemessaging and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claudemessaging does
Claude Code sending messages locally to active sessions.
Alternatives in Development
- Agent.System.Main.Communication Additions — messages 19k ★
- Claude Prism — An offline-first scientific writing workspace powered by Claude 1.1k ★
- Claude Instructions For Local Skill Loading — This file tells Claude how to load skills locally 845 ★
README
Claude Code Cross-Session Messaging — Research & Tooling
Overview
Claude Code allows sessions on the same machine to communicate over per-session named pipes (Windows) or Unix sockets (Linux/macOS). This repository documents the messaging protocol, provides tooling to interact with it, and records observations about how the system's trust model behaves in practice.
The design relies on a layered defense model. This research maps each layer, tests what it does and does not enforce, and provides tools for operators to verify the behavior on their own systems.
Observations
| # | Observation | Layer | Behavior |
|---|---|---|---|
| F-1 | An approved message from an unidentified sender is framed to the model as "trusted teammate" | Delivery framing | The hold prompt accurately says "unidentified," but the delivered wrapper does not distinguish identified from unidentified senders |
| F-2 | Pipe DACL includes Everyone / ANONYMOUS LOGON with read access (Windows) |
Transport ACL | Read-only — cannot send messages; wider than necessary for a per-user IPC endpoint |
| F-3 | from-mode attestation is self-declared — controls the hold gate decision |
Inbound gate | By design: the hold gate trusts the sender's declared permission mode. A local process with the session key can declare from-mode="bypass" to match the receiver and skip the hold prompt |
| F-4 | Host: Private firewall profile disabled, SMB/445 exposed on tailnet | Host config | Local configuration, not a Claude Code issue |
| F-5 | message.role field is ignored by the receiver |
Input validation | Positive: the receiver always enqueues as user-role regardless of what the sender declares |
How the Trust Model Works
Claude Code's cross-session messaging has four defense layers. Each serves a purpose, and the system is designed so that no single layer failing results in unrestricted access:
| Layer | Mechanism | What it enforces |
|---|
Related Skills
Whatsapp Skill
Claude Code skill that sends WhatsApp messages and searches history via steipete/wacli. Ships persistent YAML
Tmux Spawn Skill For Claude Code
Claude Code skill for spawning observable tmux sessions. Launch background Claude agents in visible terminal p
Claude Code Wechat Channel
Claude Code Channel plugin for WeChat — bridge WeChat messages into Claude Code sessions via the official Claw
Pi Trajectory
Investigate and replay Pi-compatible coding-agent sessions across agents, messages, tools, files, tokens, cost
Telepath
Give your Claude Code and Codex sessions telepathy — a zero-dependency message bus that lets local coding agen
Specs
Define functional requirements through a roundtable discussion. Reads CONTEXT.md and produces structured requi
Related Agents
User
Simulated user agent that tests the Slack bot by sending Slack messages and validating responses. Reports find
Hub
Session manager for Oh My Team hub. Receives messages from Telegram/Slack. Manages multiple project sessions v
Luca
Creates invoices, quotations, or receipts. Generates JSON, produces PDF, and drafts professional email for sen