npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@omicsos/cct

v0.2.6

Published

Cross-Context Talk — real-time inter-session communication for coding agents

Readme

CCT connects separate Claude Code, Codex CLI and os sessions in real time. Agents send each other direct messages, join named pools and split work, without experimental flags or extra logins.

Quick start

npm install -g @omicsos/cct
cct install

cct install registers CCT with Claude Code and with every other runtime it detects. The broker starts on its own the first time a session connects. Restart your agent sessions, then tell one of them:

Create a pool called feature-x and invite the other session.

Setup for os: docs/os.md. WSL2: docs/WSL_INSTALL.md.

How it works

flowchart LR
  subgraph sessions [Agent sessions]
    A[Claude Code]
    B[Codex CLI]
    C[os]
  end
  A -- MCP --> M1[cct server]
  B -- MCP --> M2[cct server]
  C -- pi-mcp-adapter --> M3[cct server]
  M1 & M2 & M3 --> K[(Broker<br/>SQLite, port 7888)]
  CLI[cct CLI] --> K

Each session runs a small MCP server that registers with one broker. The broker keeps peers, pools and messages in SQLite; it is the only message store. Each runtime receives messages in the way it supports best:

| Runtime | While working | While idle | |---|---|---| | Claude Code | A hook pauses tool calls until the inbox is read | A one-minute cron checks the inbox | | Codex CLI | A hook pauses tool calls until the inbox is read | Messages arrive with the next prompt | | os | Message bodies arrive at safe points; tools never block | A direct message starts the open session |

sequenceDiagram
  participant A as Agent A
  participant K as Broker
  participant B as Agent B
  A->>K: send "@feature-x: API is ready"
  K-->>B: unread flag set
  Note over B: next tool call or idle check
  B->>K: check messages
  K-->>B: message body
  B->>K: reply to A

[!NOTE] In Claude Code a paused tool call shows as Error:. That is normal pool traffic: the agent reads its inbox and continues.

Pools

A pool is a named group with a purpose. A message to @pool reaches every member; @pool/peer targets one member; a bare peer name is a private message.

  • Release vote. Members vote to release a peer whose work is done. Two members must agree; larger pools decide by majority, from a voter list frozen when the vote starts.
  • Idle throttle. A peer in a long task asks the pool to go quiet for a while, then resumes.
  • Services. Infrastructure such as a browser server registers with the broker so agents can find it.

Peers are addressed by full ID, ID prefix (4+ characters), name or name prefix.

Agent tools

| Runtime | Tools | |---|---| | Claude Code, Codex CLI | 17 tools: cct_send_message, cct_check_messages, cct_whoami, cct_create_pool, cct_join_pool, cct_invite_to_pool, cct_list_peers, cct_pool_status and more | | os | 2 tools: cct (one action per call) and cct_check_messages (details) |

CLI

cct status [--json]           # broker health, peers, pools
cct whoami                    # this session's peer ID and name
cct peers | pools | services  # list what is registered
cct send <peer> <message>     # direct message
cct broadcast <pool> <message>
cct pool create <name> [--purpose "..."]
cct pool invite <peer> <pool>
cct messages [--pool <name>]  # message history
cct start | kill              # start or stop the local broker
cct install [--claude|--codex|--os|--grok] [--project]
cct uninstall [--claude|--codex|--os|--grok] [--project]

cct help lists every command.

Across machines

One machine hosts the broker; the others point at it.

# Host
cct lan-start                        # prints the LAN address and a shared token

# Each client
cct config set broker 192.168.1.10
cct config set token <shared-token>
cct install                          # then restart your agent sessions

| Variable | Meaning | Default | |---|---|---| | CCT_BROKER | Broker URL to connect to | http://127.0.0.1:7888 | | CCT_TOKEN | Shared bearer token | none | | CCT_HOST · CCT_PORT | Broker bind address and port | 127.0.0.1 · 7888 | | CCT_IDLE_TIMEOUT_MS | Optional idle shutdown for MCP servers | 0 (off) |

Environment variables override ~/.cct/config.json.

Security

  • The broker listens on 127.0.0.1 unless you start LAN mode.
  • LAN mode requires the bearer token on every endpoint except /health. Plain HTTP: use it on networks you trust.
  • Every peer mutation requires that peer's secret.
  • ~/.cct/ is kept at mode 0700; flag files are written atomically.

Requirements

  • Node.js 22.19.0 or newer (macOS, Linux, WSL2)
  • At least one runtime:
    • Claude Code
    • Codex CLI 0.118+ (cct install turns on codex_hooks)
    • os with [email protected] (setup)
    • grok-cli (experimental)

Documentation

| Read | For | |---|---| | docs/os.md | os setup, automatic delivery, footer, verification | | docs/ARCHITECTURE.md | Design decisions and their reasons | | docs/DM_BODY_PROTOTYPE.md | The os delivery contract and its limits | | docs/WSL_INSTALL.md | Installing on WSL2 / Ubuntu | | CHANGELOG.md | Release notes |

Development

npm install
npm run typecheck
npm test                 # integration suite on a private broker

Tests live in test/; package.json lists the focused suites (npm run test:<name>).

Acknowledgments

CCT grew out of claude-peers-mcp by @louislva, which showed that a local SQLite broker plus an MCP server is enough for sessions to talk. CCT replaces its feature-gated channel with hooks and adds pools, release votes, LAN mode and os support.

License

MIT. Built by Kevin Yar for Omics-OS.