create-discord-bot

create-discord-bot is a skill for Claude Code, Codex from X-School-Academy/skill-pilot. It costs 67 tokens per session (1,938 once invoked), scanned B, original, MIT.

A browser-based setup helper for creating a Discord server and bot application. It collects the bot token and related IDs, then saves them in an environment file without displaying the full token.

In plain words
What is it for?
Use it when a project needs a new Discord bot and its token, server ID, and user ID are not already configured.
Why use it?
It avoids manually repeating Discord setup steps and helps keep the bot's secret token out of ordinary output.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it when a project needs a new Discord bot and its token, server ID, and user ID are not already configured.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/x-school-academy/skill-pilot/create-discord-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 X-School-Academy/skill-pilot --skill create-discord-bot
Clone the repo
git clone --depth 1 https://github.com/X-School-Academy/skill-pilot

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/x-school-academy/skill-pilot/create-discord-bot"><img src="https://agentmods.dev/badge/skills/x-school-academy/skill-pilot/create-discord-bot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,938 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00067 $0.01938
Opus 5.5 $0.00027 $0.00775
Sonnet 5.5 $0.00013 $0.00388
Haiku 4.5 $0.00007 $0.00194

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

Security

Grade B, and why

create-discord-bot scanned grade B with 1 finding 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 16d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- configure passwordless sudo for this machine, or
core/skills/system/create-discord-bot/SKILL.md · 210 lines

How it starts

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

Create Discord Bot

Automate as much of the Discord setup flow as possible through the official Discord web UI, then securely save the bot token, server ID, and user ID to config/.env.

When to Use This Skill

  • A Discord bot token is needed for any project
  • Discord bot token is missing from config/.env
  • User needs to create a new Discord application and bot
  • The user wants the Discord website flow handled mostly by AI, with manual input only for login or anti-bot gates

Your Roles in This Skill

  • SysOps Engineer: Guide browser-based setup and save credentials securely
  • Security Engineer: Store token only through skill keys-safe-guard and never print the full token value

Other Agent Skills Required

  • keys-safe-guard
  • web browser agent skill

Role Communication

As an expert in your assigned roles, you must announce your actions before performing them using the following format:

As a {Role, and Role-XYZ if have more roles}, I will {action description}

Preconditions

  • web browser agent skill is ready
  • Only use official Discord domains: https://discord.com and https://discord.com/developers

Workflow Usage Requirement

When this skill is used in a workflow agent node:

  • Output result as plain text. If the user asked to save it to a file, write it there.
  • Include concise context in the output (created/reused bot status, which IDs were captured, and whether secrets were saved) so downstream agents can safely continue.

Skip Condition

Check if the token is already saved:

  • Use skill keys-safe-guard to get OPENCLAW_DISCORD_BOT_TOKEN.

If the output shows a non-empty value, ask user whether to skip or replace it.

Instructions

Only ask the user for manual help if you cannot finish a step or need to verify as a human.

Step 1: Check existing token

Use skill keys-safe-guard to get OPENCLAW_DISCORD_BOT_TOKEN.

If set and user confirms to keep it, skip.

Step 2: Warn user about external site

Security notice: About to open discord.com and discord.com/developers. Confirm these are trusted before proceeding.

Read the full file on GitHub · 210 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. 16d ago First seen · 210 lines · 67 tokens per session scan B e4deab46b29a

Subscribe to this mod's changes

create-discord-bot is a skill published in the GitHub repository X-School-Academy/skill-pilot (20 stars, last pushed 4mo ago), licensed MIT. It adds 67 tokens to every session and 1,938 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

Log a CLI in with a browser/device-code flow (aws sso, gh, glab, gcloud, …) and save the result to the keychain so later commands can request it through execute.credentials.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

cua-driver

Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.

davidondrej/skills · 68 tokens

open-design-browser

Inspect and exercise local HTML design artifacts with the existing agent-browser CLI, including screenshots and keyboard or interaction checks. Use when rendered evidence helps author or review a design; excludes browser installation, remote services, and unrelated browser automation.

compozy/compozy · 49 tokens