claude-multi-channel-discord: Skill for Claude Code

.claude/skills/run-windows/SKILL.md

run-windows is a skill for Claude Code from chan4lk/claude-multi-channel-discord. It costs 77 tokens per session (1,914 once invoked), scanned A, original, Apache-2.0.

A Windows setup and troubleshooting guide for MCD, a multi-channel Discord bot. It covers native PowerShell use without WSL or tmux.

In plain words
What is it for?
Use it to set up MCD, run it in the foreground or as a scheduled background task, read logs, and diagnose Discord reply problems.
Why use it?
It gives you a documented way to install, run, stop, inspect, and restart the bot while avoiding the wrong processes. It also addresses cases where the bot does not reply in Discord.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions Claude Code.

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 →

Part of the discord plugin — 4 skills, 1 MCP server shipped together

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/skills/run-windows/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/chan4lk/claude-multi-channel-discord

Made for: Claude Code.

Or install discord, the plugin that ships this one along with the rest of its 4 skills, 1 MCP server.

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 run-windows

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chan4lk/claude-multi-channel-discord/run-windows"><img src="https://agentmods.dev/badge/skills/chan4lk/claude-multi-channel-discord/run-windows.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,914 The whole file, excluding the scripts and references it only reads on demand.
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.00077 $0.01914
Opus 5.5 $0.00031 $0.00766
Sonnet 5.5 $0.00015 $0.00383
Haiku 4.5 $0.00008 $0.00191

Measured 26d ago against content hash 3159f3af2ce3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-windows 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 26d 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/skills/run-windows/SKILL.md · 141 lines

How it starts

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

Run MCD on native Windows

On win32, MCD uses the headless backend: each channel runs as claude -p --input-format stream-json --output-format stream-json over pipes instead of in a tmux pane (src/claude-process.ts, src/claude-bin.ts). No WSL, tmux or Git Bash is needed. Background reading: docs/setup.md → "Windows".

All commands below run from the repo root in PowerShell. Windows PowerShell 5.1 is fine.

Never kill processes by name (taskkill /im claude.exe, Stop-Process -Name claude, or a filter on stream-json). The Claude desktop app runs its own claude.exe sessions, and this conversation may be one of them. MCD's children are the claude.exe processes whose command line contains mcd-<slug>-…\mcp-config.json. To stop MCD, use the scripts below.

If this session is itself running inside MCD (a project channel), don't stop or restart the bot. That ends your own session; see CLAUDE.md.

1. Check what's already done

Run these and skip the steps that are already satisfied:

$env:Path = [Environment]::GetEnvironmentVariable('Path','Machine') + ';' + [Environment]::GetEnvironmentVariable('Path','User')
bun --version; git --version
Test-Path "$HOME\.claude\channels\discord-multi\.env"          # setup done?
Get-ScheduledTask multi-channel-discord -ErrorAction SilentlyContinue | Select TaskName, State

Check that the claude CLI is logged in. The headless backend uses MCD_CLAUDE_BIN, then claude.exe on PATH, then the Claude desktop app's bundled CLI. The app is MSIX-packaged, so outside the app that CLI lives under %LOCALAPPDATA%\Packages\Claude_*\LocalCache\Roaming\Claude\claude-code\<ver>\<hash>\claude.exe.

bun -e "import('./src/claude-bin.ts').then(m => console.log(m.resolveClaudeBin()))"
& (bun -e "import('./src/claude-bin.ts').then(m => console.log(m.resolveClaudeBin()))") auth status

2. First-time setup

  1. Tools: winget install --id Oven-sh.Bun -e --scope user and winget install --id Git.Git -e. The Git installer asks for admin (UAC); the user approves it. Then run bun install --no-summary.
  2. Claude login: loggedIn: false above means the user must sign in. Open a terminal tab and run the resolved claude.exe with auth login. The user finishes it in the browser. Never handle their credentials yourself.
  3. Discord bot: the user does this in the Developer Portal. Create an application. On the Bot tab, enable Message Content Intent, then use Reset Token. Invite it with scope bot and View Channels, Send Messages, Send Messages in Threads, Read Message History, Add Reactions and Manage Channels. With Developer Mode on in Discord, copy their user ID and the master channel ID.
  4. State dir: start the setup in a terminal tab so the user types the values there. Never ask for the bot token in chat.

Read the full file on GitHub · 141 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. 26d ago First seen · 141 lines · 77 tokens per session scan A 3159f3af2ce3

Subscribe to this mod's changes

run-windows is a skill published in the GitHub repository chan4lk/claude-multi-channel-discord (3 stars, last pushed 24d ago), licensed Apache-2.0. It adds 77 tokens to every session and 1,914 once invoked, about $0.0003 per session on Opus 5.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-10-18.

Related

run-windows compared with skills from other repositories

run-windows next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
run-windowschan4lk/claude-multi-channel-discordSkill324d agoApache-2.0A77Claude Code
imagegenopenai/codexSkill135ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill100ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill80k6d agoMITA200Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
chat-pet-sprite-creationmicrosoft/vscodeSkill195ktodayMITA53Claude Code, Codex