discord-admin-bot

discord-admin-bot is a skill for Claude Code from mphinance/alpha-skills. It costs 58 tokens per session (764 once invoked), scanned A, original, MIT.

A bot skill for reading and sending messages in the TraderDaddy-Pro Discord server, a chat community for that project. It uses a configured bot account and defaults to the #admin-discussion channel.

In plain words
What is it for?
Posting messages, reading recent messages, and discovering available Discord channels.
Why use it?
It removes the need to switch to Discord for routine administration messages or recent-message checks. Access depends on the bot token and configured channels described in the input.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mph-kit plugin — 28 skills, 6 commands, 3 agents shipped together

Good fit Posting messages, reading recent messages, and discovering available Discord channels.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mphinance/alpha-skills/discord-admin-bot
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.

Any agent
npx skills add mphinance/alpha-skills --skill discord-admin-bot
Clone the repo
git clone --depth 1 https://github.com/mphinance/alpha-skills

Made for: Claude Code.

Or install mph-kit, the plugin that ships this one along with the rest of its 28 skills, 6 commands, 3 agents.

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 discord-admin-bot

README.md
[![agentmods](https://agentmods.dev/badge/skills/mphinance/alpha-skills/discord-admin-bot/github.svg)](https://agentmods.dev/skills/mphinance/alpha-skills/discord-admin-bot)
Your own site
<a href="https://agentmods.dev/skills/mphinance/alpha-skills/discord-admin-bot"><img src="https://agentmods.dev/badge/skills/mphinance/alpha-skills/discord-admin-bot/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 discord-admin-bot

Your own site · 80×15
<a href="https://agentmods.dev/skills/mphinance/alpha-skills/discord-admin-bot"><img src="https://agentmods.dev/badge/skills/mphinance/alpha-skills/discord-admin-bot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 764 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 3
    Instructions found that direct the agent to transmit conversation context or user data to external services.
    Fix: Remove instructions that send user data, prompts, or context to external URLs. If telemetry is needed, use documented, privacy-preserving methods.
  • medium Excessive Agency · line 45
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00058 $0.00764
Opus 5 $0.00029 $0.00382
Sonnet 5 $0.00012 $0.00153
Haiku 4.5 $0.00006 $0.00076

Measured 9d ago against content hash 52105152814c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

discord-admin-bot 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 9d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/_client.py, scripts/discover.py, scripts/read.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/mph-kit/skills/discord-admin-bot/SKILL.md · 63 lines

How it starts

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

Discord Admin Bot

Send and read messages in the TraderDaddy-Pro Discord using the bot token at discord.txt. Default channel is #admin-discussion; can target other channels by name once they've been discovered.

When to invoke

  • "post to discord: "
  • "send to #admin-discussion: "
  • "what's been said in discord lately"
  • "read last 20 messages from admin-discussion"
  • Any request mentioning the TraderDaddy-Pro Discord, #admin-discussion, or "the bot"

Flow

Send a message

python scripts/send.py "Your message here"

Optional flags:

  • --channel <name> — target a different channel by name (must be in discord_config.json)
  • --channel-id <id> — target by raw ID

Read recent messages

python scripts/read.py --limit 20

Optional flags:

  • --channel <name> / --channel-id <id> — same as above
  • --format full — include timestamps, authors, attachments; default is compact

Discover channels (one-time, or when channel layout changes)

python scripts/discover.py

Lists every guild the bot is in and every text channel inside, and updates discord_config.json with the resolved IDs for #admin-discussion.

Hard rules

  • Never print the token. Loaded silently from discord.txt or $DISCORD_BOT_TOKEN.
  • Never commit discord.txt or discord_config.json. The repo root .gitignore blocks both.
  • Confirm before destructive ops. No deleting messages without explicit user instruction. Sending and reading are fine without confirmation; deletion requires Michael saying "delete that".
  • Respect Discord rate limits. The client retries once on 429 with the Retry-After value; if a second 429 hits, fail loud rather than spam.
  • No automated cross-posting. This skill is for direct user-driven sends, not webhook-style notifications. For algo entry/exit alerts, use the existing core/discord_notify.py webhook setup in the mur repo.

Token loading order

  1. $DISCORD_BOT_TOKEN env var (highest priority)
  2. discord.txt in the skill folder (the install step copies it here from the alpha-skills repo)
  3. discord.txt in the current working directory
  4. discord.txt walking up from CWD until a parent contains it

Read the full file on GitHub · 63 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 63 lines · 58 tokens per session scan A 52105152814c

Subscribe to this mod's changes

discord-admin-bot is a skill published in the GitHub repository mphinance/alpha-skills (21 stars, last pushed 11d ago), licensed MIT. It adds 58 tokens to every session and 764 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens