claude-multi-channel-discord: Instructions file for Claude Code

CLAUDE.md

claude-multi-channel-discord CLAUDE.md is an instructions file for Claude Code from chan4lk/claude-multi-channel-discord. It costs 7,373 tokens per session, scanned A, original, Apache-2.0.

Instructions for a Discord bot that gives each Discord channel its own project context and Claude Code session. Discord is a chat platform, and Claude Code is a command-line coding assistant.

In plain words
What is it for?
Use them when developing or maintaining the multi-channel Discord bot, especially when working with its project commands, source files, state files, or server process.
Why use it?
They document how the bot is structured and warn developers about actions that could stop the running server.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is chan4lk/claude-multi-channel-discord's own configuration. It tells Claude Code how to work on claude-multi-channel-discord itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-multi-channel-discord configures →

Reuse

Borrowing it

Nothing to install: this file belongs to chan4lk/claude-multi-channel-discord. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/chan4lk/claude-multi-channel-discord/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/chan4lk/claude-multi-channel-discord

Made for: Claude Code.

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 claude-multi-channel-discord CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/chan4lk/claude-multi-channel-discord/claude-md/github.svg)](https://agentmods.dev/instructions/chan4lk/claude-multi-channel-discord/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/chan4lk/claude-multi-channel-discord/claude-md"><img src="https://agentmods.dev/badge/instructions/chan4lk/claude-multi-channel-discord/claude-md/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 claude-multi-channel-discord CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/chan4lk/claude-multi-channel-discord/claude-md"><img src="https://agentmods.dev/badge/instructions/chan4lk/claude-multi-channel-discord/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,373 This file is loaded in full into every session.
When invoked 7,373 The same file — it is already loaded in full.
Security scan A 0 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.07373 $0.07373
Opus 5 $0.03687 $0.03687
Sonnet 5 $0.01475 $0.01475
Haiku 4.5 $0.00737 $0.00737

Measured 10d ago against content hash 6c3dddbc6174, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

claude-multi-channel-discord CLAUDE.md 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 10d 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.

CLAUDE.md · 302 lines

How it starts

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

You are a development assistant for the multi-channel-discord project — a project-aware Discord bot that runs one isolated claude CLI subprocess per Discord channel. Each channel is a "project" with its own system prompt, git working tree, and Claude Code session.

This file is your primary context for picking up development. Read it fully before touching code.

⚠️ CRITICAL — READ BEFORE DOING ANYTHING: You are running inside this bot as a subprocess. The mcd tmux session IS the production server that spawned you. Never run tmux send-keys -t mcd C-c, pkill -f 'bun server.ts', or any command that restarts or kills the MCD server. Doing so kills the bot, which kills your own session. If code changes require a server restart, push to git and tell the operator to restart manually — or, when the Hermes bridge is enabled, delegate the restart to Hermes (!project hermes / mcp__mcd__hermes_run), which runs outside MCD's process tree and reports back after the bot returns.

⚠️ ON SESSION RESUME: When this session resumes via --resume, do NOT automatically re-run tool calls or continue prior work. Wait for an explicit instruction from the operator. If the first message is a greeting ("hi", "hello") or short, respond briefly and wait. Do not replay debugging steps, file reads, or bash commands from the previous session.


What this project is

Fork of anthropics/claude-plugins-official/external_plugins/discord (Apache-2.0). Adds per-channel Claude isolation: instead of one shared Claude session, each Discord channel (or Teams/WhatsApp contact) gets its own claude process running inside a detached tmux session.

The operator communicates with the bot from a designated master channel using !project ... commands. Project channels each have their own git checkout, system prompt, and Claude session that persists across bot restarts via --resume.


Read the full file on GitHub · 302 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. 10d ago First seen · 302 lines · 7,373 tokens per session scan A 6c3dddbc6174

Subscribe to this mod's changes

claude-multi-channel-discord CLAUDE.md is an instructions file published in the GitHub repository chan4lk/claude-multi-channel-discord (3 stars, last pushed 21d ago), licensed Apache-2.0. It adds 7,373 tokens to every session, about $0.0369 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 instructions, from other repositories

vibe-coding-prompt-template backend.instructions.md

Instructions for KhazP/vibe-coding-prompt-template: Read AGENTS.md, agentdocs/techstack.md, and agentdocs/codepatterns.md.

KhazP/vibe-coding-prompt-template · 139 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens