channels-setup

channels-setup is a command for Claude Code from gettalon/talon-plugins. It costs 30 tokens per session (881 once invoked), scanned D, original, MIT.

A setup guide for the Talon Channels server, which lets clients connect to Claude Code through WebSocket, a connection method for live two-way communication.

In plain words
What is it for?
It helps connect chat, monitoring, or full-control clients and configure access to messages, tools, permissions, and session events.
Why use it?
It helps diagnose whether the server is configured and running, obtain an access token, and choose what connected clients can see or do.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Part of the talon plugin — 8 skills, 11 commands shipped together

Good fit It helps connect chat, monitoring, or full-control clients and configure access to messages, tools, permissions, and session events.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/gettalon/talon-plugins/channels-setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/gettalon/talon-plugins

Made for: Claude Code.

Or install talon, the plugin that ships this one along with the rest of its 8 skills, 11 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for channels-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/gettalon/talon-plugins/channels-setup/github.svg)](https://agentmods.dev/commands/gettalon/talon-plugins/channels-setup)
Your own site
<a href="https://agentmods.dev/commands/gettalon/talon-plugins/channels-setup"><img src="https://agentmods.dev/badge/commands/gettalon/talon-plugins/channels-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for channels-setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/gettalon/talon-plugins/channels-setup"><img src="https://agentmods.dev/badge/commands/gettalon/talon-plugins/channels-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 881 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00881
Opus 5.5 $0.00012 $0.00352
Sonnet 5.5 $0.00006 $0.00176
Haiku 4.5 $0.00003 $0.00088

Measured 3mo ago against content hash 8b0591d972ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

channels-setup scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s -X POST http://localhost:21568/auth/local | python3 -c "import sys,json; print(json.load(sys.stdin).get('token',''))"

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat ~/.claude/settings.json 2>/dev/null | grep -A 3 "talon-channels" || echo "Not configured"

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://localhost:21568/health 2>/dev/null || echo "Server not running"
plugins/talon/commands/channels-setup.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Channels Setup Guide

Help the user set up the Talon Channels universal server so any client can connect to Claude Code via WebSocket.

Steps

1. Verify Installation

The channels MCP server should already be configured. Verify:

# Check if the channels server is in MCP config
cat ~/.claude/settings.json 2>/dev/null | grep -A 3 "talon-channels" || echo "Not configured"

2. Check Server Health

curl -s http://localhost:21568/health 2>/dev/null || echo "Server not running"

3. Get Auth Token

Clients need a token to connect:

curl -s -X POST http://localhost:21568/auth/local | python3 -c "import sys,json; print(json.load(sys.stdin).get('token',''))"

Or read from discovery file:

cat ~/.talon/channels_token 2>/dev/null || echo "No token file"

4. Connect a Client

Any WebSocket client can connect:

ws://localhost:21568/ws?token=TOKEN&mode=full&name=my-client

Mode options:

  • chat — Chat only, no hook events
  • monitor — Read-only view of all events
  • full — Everything: chat + hooks + permissions
  • custom — Pick categories: ?mode=custom&categories=tools,permissions,session

Available categories: chat, tools, permissions, session, notifications, subagents, lifecycle, filesystem, worktree, compact, elicitation, prompts

5. Example: Connect from Node.js

import WebSocket from 'ws';

const token = 'YOUR_TOKEN';
const ws = new WebSocket(`ws://localhost:21568/ws?token=${token}&mode=full&name=my-app`);

ws.on('message', (data) => {
  const msg = JSON.parse(data);
  const payload = msg.payload;

  if (payload.type === 'event' && payload.data.type === 'hook_event') {
    console.log('Hook:', payload.data.hook_event_name, payload.data.data);
  }

  if (payload.type === 'stream') {
    console.log('Reply:', payload.event);
  }
});

// Send a chat message
ws.send(JSON.stringify({
  type: 'chat_message',
  text: 'Hello from my app!',
  chat_id: 'my-chat-1',
}));

// Respond to permission request
ws.send(JSON.stringify({
  type: 'permission_verdict',
  request_id: 'req-123',
  behavior: 'allow',
}));

Read the full file on GitHub · 121 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 121 lines · 30 tokens per session scan D 8b0591d972ac

Subscribe to this mod's changes

channels-setup is a command published in the GitHub repository gettalon/talon-plugins (6 stars, last pushed 8mo ago), licensed MIT. It adds 30 tokens to every session and 881 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it D with 3 findings (downloads and executes remote code, reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

channels-setup compared with commands from other repositories

channels-setup next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
channels-setupgettalon/talon-pluginsCommand68mo agoMITD30Claude Code
qaDevZonayed/MochiCommand328d agoMITA49Claude Code
design-qaDevZonayed/MochiCommand328d agoMITA52Claude Code
checkpointDevZonayed/MochiCommand328d agoMITA17Claude Code
dreamDevZonayed/MochiCommand328d agoMITA25Claude Code
review-sessionDevZonayed/MochiCommand328d agoMITA29Claude Code
feedbackDevZonayed/MochiCommand328d agoMITA16Claude Code