discord-expert

discord-expert is a skill for Claude Code from personamanagmentlayer/pcl. It costs 70 tokens per session (1,050 once invoked), scanned A, original, Apache-2.0.

A guide to building Discord bots, which are programs that respond to events and commands in Discord communities. It covers discord.js, discord.py, slash commands, interactive messages, voice features, and deployment.

In plain words
What is it for?
Use it to create commands, buttons, menus, forms, voice features, moderation, webhooks, and integrations for Discord servers.
Why use it?
It explains the Discord-specific APIs, permissions, events, and interaction patterns needed to make bots behave correctly.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to create commands, buttons, menus, forms, voice features, moderation, webhooks, and integrations for Discord servers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/personamanagmentlayer/pcl/discord-expert
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 personamanagmentlayer/pcl --skill discord-expert
Clone the repo
git clone --depth 1 https://github.com/personamanagmentlayer/pcl

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 discord-expert

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/personamanagmentlayer/pcl/discord-expert"><img src="https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/discord-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,050 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 pass 7 Sept 2026
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.00070 $0.01050
Opus 5 $0.00035 $0.00525
Sonnet 5 $0.00014 $0.00210
Haiku 4.5 $0.00007 $0.00105

Measured 7d ago against content hash 89f5aeb3d4f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

discord-expert 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.

stdlib/tools/discord-expert/SKILL.md · 170 lines

How it starts

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

Discord Expert

Core Concepts

Discord Platform

  • Bots - Automated Discord applications
  • Slash Commands - Modern command interface
  • Interactions - Buttons, select menus, modals
  • Embeds - Rich message formatting
  • Voice Channels - Audio communication
  • Permissions - Role-based access control

Bot Development

  • discord.js - Node.js Discord library
  • discord.py - Python Discord library
  • Gateway - WebSocket real-time events
  • REST API - HTTP endpoints
  • Intents - Event subscriptions
  • Sharding - Scaling for large bots

Key Features

  • Application Commands - Slash commands, context menus
  • Components - Buttons, selects, modals
  • Voice - Audio playback and recording
  • Webhooks - External message posting
  • Audit Logs - Server action tracking
  • AutoMod - Automated moderation

Best Practices

Bot Design

  • Use slash commands over prefix commands
  • Implement proper error handling
  • Provide helpful feedback
  • Use ephemeral messages appropriately
  • Respect rate limits
  • Cache data when possible

UI/UX

  • Use embeds for rich content
  • Implement interactive components
  • Provide clear button labels
  • Use consistent color schemes
  • Include timestamps
  • Add helpful footers

Moderation

  • Implement logging system
  • Use permission checks
  • Provide audit trails
  • Handle appeals process
  • Rate limit commands
  • Monitor bot actions

Performance

  • Use intents efficiently
  • Implement sharding for large bots
  • Cache frequently accessed data
  • Batch API calls
  • Use webhooks for messages
  • Monitor bot latency

Anti-Patterns

Common Mistakes

  • Missing intent permissions
  • Not handling rate limits
  • Overly complex commands
  • Poor error messages
  • Hard-coding guild IDs
  • Missing permission checks

Design Issues

  • Too many commands
  • Unclear command names
  • No help documentation
  • Inconsistent responses
  • Spam-prone features
  • Missing loading indicators

Security Problems

Read the full file on GitHub · 170 lines

Files

What ships with it

1 file 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. 7d ago First seen · 170 lines · 70 tokens per session scan A 89f5aeb3d4f0

Subscribe to this mod's changes

discord-expert is a skill published in the GitHub repository personamanagmentlayer/pcl (40 stars, last pushed 2d ago), licensed Apache-2.0. It adds 70 tokens to every session and 1,050 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-09-05.

Related

Other skills, from other repositories

discord-tool

Discord integration tool for messaging, search, guild and channel listing, and reactions. Use when: posting to Discord, listing channels, searching messages, or adding reactions in guilds.

xuiltul/animaworks · 39 tokens

community

Use when building or running a persistent two-way community space — Discord, Telegram, Circle: platform choice, structure, onboarding, native→bot→human moderation, rituals, growth loops, health metrics. NOT churn of paying product customers (that is retention), NOT broadcast email (that is newsletter), NOT one live…

ericrisco/rsc-harness · 77 tokens

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.

wanikua/danghuangshang · 53 tokens

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…

wanikua/danghuangshang · 102 tokens

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.

wanikua/danghuangshang · 44 tokens

novel-prose

A fiction-writing guide for creating novel chapters scene by scene, with rules for viewpoint, dialogue, description, pacing, and chapter structure.

wanikua/danghuangshang · 40 tokens