configure

Write a Discord bot token to a local .env file and report access policy state.

1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/Leap0920/Clean-Portfolio --skill configure-leap0920
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: configure
Source: https://github.com/Leap0920/Clean-Portfolio/tree/main/%25USERPROFILE%25/.openclaude/plugins/marketplaces/claude-plugins-official/external_plugins/discord/skills/configure
Command: npx skills add https://github.com/Leap0920/Clean-Portfolio --skill configure-leap0920

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you securely configure a Discord bot by saving your bot token locally and ensuring only approved users can reach the assistant.

Core Features & Use Cases

  • Token setup for the bot: Saves the provided Discord bot token to ~/.claude/channels/discord/.env and sets secure file permissions.
  • Access policy visibility and guidance: Reads and reports the current token status plus the access.json policy (pairing vs allowlist), including who is allowed and pending pairing codes.
  • Lockdown-driven configuration: Proactively guides you toward switching from temporary pairing to a durable allowlist, listing next actions based on current state.

Quick Start

Run /discord:configure <token> to save your bot token and receive next-step instructions for locking down access.

Frequently Asked Questions about configure

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

FAQPage Schema
How do I securely save a Discord bot token locally?

To securely save a Discord bot token, this Skill writes the token to a local .env file and enforces chmod 600 file permissions. This restricts read and write access to the file owner, preventing unauthorized users from reading the credentials.

What is the difference between pairing codes and an allowlist for Discord bot access?

Pairing codes provide temporary access for users joining a Discord bot, while an allowlist provides durable, permanent access to approved users. This Skill reads the access.json policy to report current membership and guides switching from temporary pairing to a locked-down allowlist.

How do I check who can reach my Discord bot?

To check who can reach your Discord bot, this Skill reads the access.json policy file and reports the current token status. It displays who is currently allowed and lists any pending pairing codes waiting for approval.

Can I update a Discord bot token without overwriting existing environment variables?

Yes, you can update a Discord bot token without overwriting existing environment variables. This Skill modifies only the DISCORD_BOT_TOKEN key in the local .env file, preserving other existing keys within the credential configuration.

What do I need to set up before configuring a Discord channel?

Before configuring a Discord channel, you need to create the ~/.claude/channels/discord directory and obtain a valid DISCORD_BOT_TOKEN. This Skill then writes the token to the .env file and generates concrete next actions based on the policy state.

Why should I switch my Discord bot from temporary pairing to a durable allowlist?

Switching from temporary pairing to a durable allowlist locks down Discord access safely by permanently restricting bot interactions to explicitly approved users. This Skill proactively guides this transition by evaluating current membership and pending codes.