discord-app-setup

Guide Discord bot creation, intent configuration, token validation, and OAuth invite generation.

2|2|Updated May 13, 2026
One-click install
npx skills add https://github.com/autonomy-cloud/kairos-interface --skill discord-app-setup-autonomy-cloud
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: discord-app-setup
Source: https://github.com/autonomy-cloud/kairos-interface/tree/main/skills/discord-app-setup
Command: npx skills add https://github.com/autonomy-cloud/kairos-interface --skill discord-app-setup-autonomy-cloud

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill guides you through creating a Discord application, configuring the required privileged gateway intents, securely storing the bot token, and validating the resulting bot identity so you can connect the bot to an assistant via the Discord Gateway.

Core Features & Use Cases

  • Guided, step-by-step Discord setup: Walks through application creation, intent configuration, token reset/collection, and bot invitation.
  • Secure token handling: Collects the bot token only through the assistant’s secure credential prompt and avoids persisting token-derived metadata.
  • Least-privilege OAuth invite generation: Builds an invite URL with a computed permission integer while avoiding high-risk permissions like Administrator.
  • Validation and troubleshooting pointers: Runs token validation against Discord REST endpoints and links to a dedicated troubleshooting reference for common failures (401/403, intent errors, OAuth invite issues).

Quick Start

Ask the assistant to run the discord-app-setup skill and follow each step one at a time, starting with checking existing configuration.

Frequently Asked Questions about discord-app-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Discord bot with the correct gateway intents?

Setting up a Discord bot requires creating a Discord application, enabling required privileged gateway intents, securely storing the bot token, validating it against Discord REST APIs, and generating a least-privilege OAuth2 invite URL.

What are privileged gateway intents and when do I need them for a Discord bot?

Privileged gateway intents are Discord application settings required to receive sensitive member-event data. You need them when connecting a bot to an assistant for Gateway-based messaging and member-event support during personal-assistant onboarding workflows.

How do I generate a least-privilege OAuth2 invite URL for my Discord bot?

Generating a least-privilege OAuth2 invite URL involves computing a permission integer that excludes high-risk permissions like Administrator. The bot setup process derives this secure authorize URL from your stored token after validating bot identity.

Why does my Discord bot token validation fail with 401 or 403 errors?

Discord bot token validation fails with 401 or 403 errors when the token is invalid or lacks permissions. The guided setup skill runs token validation against Discord REST endpoints and provides a troubleshooting reference for these common OAuth invite and intent issues.

How do I securely store and manage Discord bot credentials during setup?

Securely storing Discord bot credentials involves collecting the token only through the assistant's secure credential prompt. This guided setup avoids persisting token-derived metadata and uses gated scripts to check credential presence and ensure careful secret management.