hub-setup

hub-setup is a skill for Claude Code, Codex from gettalon/talon-plugins. It costs 38 tokens per session (2,450 once invoked), scanned A, original, MIT.

A setup guide for choosing and configuring how the Hub plugin connects to chat platforms or a WebSocket server. It explains the settings file, connection details, access controls, and platform tokens.

In plain words
What is it for?
Configure Telegram, Discord, Slack, WebSocket, and other supported adapters. Set server or socket connections, bot credentials, approved agents, and permission approval settings.
Why use it?
It removes guesswork when selecting a channel and entering the configuration needed for it to work. It also explains how to switch channels and control approval requirements.

Skill for Claude CodeCodex

Part of the hub plugin — 1 skill shipped together

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.

agentmods
npx agentmods add skills/gettalon/talon-plugins/hub-setup
Any agent
npx skills add gettalon/talon-plugins --skill hub-setup
Clone the repo
git clone --depth 1 https://github.com/gettalon/talon-plugins

Made for: Claude Code, Codex.

Or install hub, the plugin that ships this one along with the rest of its 1 skill.

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 hub-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/gettalon/talon-plugins/hub-setup.svg)](https://agentmods.dev/skills/gettalon/talon-plugins/hub-setup)
Your own site
<a href="https://agentmods.dev/skills/gettalon/talon-plugins/hub-setup"><img src="https://agentmods.dev/badge/skills/gettalon/talon-plugins/hub-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,450 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00038 $0.02450
Opus 5 $0.00019 $0.01225
Sonnet 5 $0.00008 $0.00490
Haiku 4.5 $0.00004 $0.00245

Measured 3d ago against content hash b60af4f79279, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hub-setup scanned grade A with 0 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/hub/skills/hub-setup/SKILL.md · 253 lines

How it starts

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

Channel Adapter Setup Guide

Help the user choose and configure which channel adapter to use with the Talon Hub plugin. There are 22 options: the default WebSocket server plus 21 platform-specific adapters.

Development Mode

During the research preview, hub requires the official allowlist. To use talon-hub:

claude --dangerously-load-development-channels plugin:hub@gettalon-talon-plugins

The plugin: prefix tells Claude Code to load this hub plugin and bypass the allowlist check.

Settings: ~/.talon/settings.json

The hub reads all configuration from ~/.talon/settings.json. Create it if it doesn't exist.

Full schema

{
  "servers": [
    {
      "url": "ws://localhost:9090",
      "port": 9090
    }
  ],
  "connections": [
    {
      "url": "unix:///tmp/talon-9090.sock",
      "name": "remote-hub",
      "transport": "unix"
    }
  ],
  "transports": {
    "telegram": { "botToken": "YOUR_BOT_TOKEN" },
    "discord": { "botToken": "YOUR_DISCORD_TOKEN" },
    "slack": { "botToken": "xoxb-...", "appToken": "xapp-..." },
    "websocket": {}
  },
  "access": {
    "requireApproval": true,
    "forceApprovalAll": false,
    "allowlist": ["agent-name-1", "agent-name-2"],
    "denylist": ["bad-agent"]
  },
  "hooks": [
    { "event": "onMessage", "command": "echo 'message received'" }
  ],
  "contacts": {
    "alice": {
      "name": "Alice",
      "channels": [{ "type": "telegram", "id": "12345", "url": "telegram://12345" }]
    },
    "bob": {
      "name": "Bob",
      "channels": [
        { "type": "slack", "id": "U123", "url": "slack://U123" },
        { "type": "telegram", "id": "67890", "url": "telegram://67890" }
      ]
    }
  },
  "state": {
    "chatRoutes": {},
    "groups": {},
    "targets": {}
  }
}

Field reference

Field Type Description
servers array Hub server instances to start. Each has url and port.
connections array Remote hubs or agents to connect to on startup. url (ws://, unix://), name, optional transport and config.
transports object Channel adapter configs. Keys are channel types: telegram, websocket, discord, slack, etc. Each adapter has its own config fields.
access object Access control. requireApproval gates new agents, allowlist auto-approves named agents, denylist blocks agents.
hooks array Shell commands to run on events. { "event": "onMessage", "command": "..." }
contacts object Named contacts with many-to-many channel info. Each contact can have multiple channels. Used for edge send <name> routing.
state object Runtime state: chatRoutes, groups, targets. Managed by the hub — don't edit manually.

Read the full file on GitHub · 253 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. 3d ago First seen · 253 lines · 38 tokens per session scan A b60af4f79279

Subscribe to this mod's changes

hub-setup is a skill published in the GitHub repository gettalon/talon-plugins (6 stars, last pushed 5mo ago), licensed MIT. It adds 38 tokens to every session and 2,450 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories