Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add chrismdemian/claude-code-discord-bridge/plugin install discord-bridgeWrote 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.
[](https://agentmods.dev/skills/chrismdemian/claude-code-discord-bridge/setup)<a href="https://agentmods.dev/skills/chrismdemian/claude-code-discord-bridge/setup"><img src="https://agentmods.dev/badge/skills/chrismdemian/claude-code-discord-bridge/setup.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00020 | $0.00832 |
| Opus 5 | $0.00010 | $0.00416 |
| Sonnet 5 | $0.00004 | $0.00166 |
| Haiku 4.5 | $0.00002 | $0.00083 |
Grade A, and why
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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Discord Bridge Setup
Walk the user through setting up the Discord bridge.
Steps
-
Open the Discord Developer Portal in the user's browser automatically. Detect the platform and run the appropriate command:
- macOS:
open https://discord.com/developers/applications - Windows:
start https://discord.com/developers/applications - Linux:
xdg-open https://discord.com/developers/applications
Then print this concise guide:
1. Click "New Application" → name it anything (e.g. "CC Bridge") 2. Go to Bot → Reset Token → copy it 3. Under Bot → Privileged Gateway Intents → enable Message Content Intent 4. Paste your token below: - macOS:
-
Ask the user to paste the bot token.
-
Save the token to
${CLAUDE_PLUGIN_DATA}/.env:DISCORD_TOKEN=<the token> BRIDGE_PORT=7676 -
Add bot to a Discord server. Tell the user:
- Create a new Discord server (click the + in Discord's sidebar), or use an existing one
- In the Developer Portal, go to OAuth2 (left sidebar)
- Under OAuth2 URL Generator: check
botandapplications.commandsscopes - Under Bot Permissions: check
Administrator - Copy the Generated URL at the bottom and open it in your browser
- Select your server and authorize
- Wait for the user to confirm the bot has been added to their server.
-
If the user has their Server ID, add
DISCORD_GUILD_ID=<id>to the .env file. If not, that's fine — the setup script will auto-detect it if the bot is in exactly one server. -
Install dependencies and run the setup script:
cd ${CLAUDE_PLUGIN_ROOT} && bun install && PLUGIN_DATA=${CLAUDE_PLUGIN_DATA} bun run bridge/setup.ts --yesThis will:
- Check that pm2 is installed
- Login the bot and auto-brand it
- Auto-detect the Discord server (or ask for DISCORD_GUILD_ID if in multiple)
- Set up the CLAUDE CODE category with #sessions, #dashboard, and #alerts channels
- Create webhooks and save config
- Post a welcome message and generate an invite link
- Add a shell alias (
claude-dc) - Start the bridge service via pm2 and verify health
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.
- 7d ago First seen · 74 lines · 20 tokens per session scan A 85f20be5d3f2
setup is a skill published in the GitHub repository chrismdemian/claude-code-discord-bridge (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 20 tokens to every session and 832 once invoked, about $0.0001 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.
Other skills, from other repositories
browser-use
Automates browser interactions for social media management across Instagram, LinkedIn, and X. Handles posting, DMs, connection requests, lead scraping, and monitoring. Use when the user needs to navigate, interact with, or extract data from approved websites.
self-improvement
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge…
novel-prose
A fiction-writing guide for creating novel chapters scene by scene, with rules for viewpoint, dialogue, description, pacing, and chapter structure.
novel-openviking
Instructions for connecting a novel-writing workflow to OpenViking, a semantic memory system that stores and retrieves related information by meaning. It maps character details, world rules, chapter summaries, and plot clues to memory operations.
novel-archiving
A writing-workflow skill for archiving each completed novel chapter. It creates a chapter summary and updates files that record characters, plot clues, the timeline, relationships, and world details.
novel-memory
A file-based memory system for Chinese-language fiction projects. It stores story plans, character details, world rules, timelines, relationships, chapter summaries, and unresolved clues.