configure-discord
Configure Discord webhook/bot notifications via natural language
Skill by leejaedus
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/leejaedus-configure-discord
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
configure-discord- Description
- Configure Discord webhook/bot notifications via natural language
- License
- MIT
- Instructions
- 248 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# Configure Discord Notifications
Set up Discord notifications so PEP can ping you when sessions end, need input, or complete background tasks.
## How This Skill Works
This is an interactive, natural-language configuration skill. Walk the user through setup by asking questions with AskUserQuestion. Write the result to `~/.claude/.pep-config.json`.
## Step 1: Detect Existing Configuration
```bash
CONFIG_FILE="$HOME/.claude/.pep-config.json"
if [ -f "$CONFIG_FILE" ]; then
# Check for existing discord config
HAS_DISCORD=$(jq -r '.notifications.discord.enabled // false' "$CONFIG_FILE" 2>/dev/null)
HAS_DISCORD_BOT=$(jq -r '.notifications["discord-bot"].enabled // false' "$CONFIG_FILE" 2>/dev/null)
WEBHOOK_URL=$(jq -r '.notifications.discord.webhookUrl // empty' "$CONFIG_FILE" 2>/dev/null)
MENTION=$(jq -r '.notifications.discord.mention // empty' "$CONFIG_FILE" 2>/dev/null)
if [ "$HAS_DISCORD" = "true" ] || [ "$HAS_DISCORD_BOT" = "true" ]; then
echo "EXISTING_CONFIG=true"
echo "WEBHOOK_CONFIGURED=$HAS_DISCORD"
echo "BOT_CONFIGURED=$HAS_DISCORD_BOT"
[ -n "$WEBHOOK_URL" ] && echo "WEBHOOK_URL=$WEBHOOK_URL"
[ -n "$MENTION" ] && echo "MENTION=$MENTION"
else
echo "EXISTING_CONFIG=false"
fi
else
echo "NO_CONFIG_FILE"
fi
```
If existing config is found, show the user what's currently configured and ask if they want to update or reconfigure.
## Step 2: Choose Discord Method
Use AskUserQuestion:
**Question:** "How would you like to send Discord notifications?"
**Options:**
1. **Webhook (Recommended)** - Create a webhook in your Discord channel. Simple, no bot needed. Just paste the URL.
2. **Bot API** - Use a Discord bot token + channel ID. More flexible, requires a bot application.
## Step 3A: Webhook Setup
If user chose Webhook:
Use AskUserQuestion:
**Question:** "Paste your Discord webhook URL. To create one: Server Settings > Integrations > Webhooks > New Webhook > Copy URL"
The user will type their webhook URL in the "Other" field.
**Validate** the URL:
- Must start with `https://discord.com/api/webhooks/` or `https://discordapp.com/api/webhooks/`
- If invalid, explain the format and ask again
## Step 3B: Bot API Setup
If user chose Bot API:
Ask two questions:
1. **"Paste your Discord bot token"** - From discord.com/developers > Your App > Bot > Token
2. **"Paste the channel ID"** - Right-click channel > Copy Channel ID (requires Developer Mode)
## Step 4: Configure Mention (User Ping)
Use AskUserQuestion:
**Question:** "Would you like notifications to mention (ping) someone?"
**Options:**
1. **Yes, mention a user** - Tag a specific user by their Discord user ID
2. **Yes, mention a role** - Tag a role by its role ID
3. **No mentions** - Just post the message without pinging anyone
### If user wants to mention a user:
Ask: "What is the Discord user ID to mention? (Right-click user > Copy User ID, requires Developer Mode)"
The mention format is: `<@USER_ID>` (e.g., `<@1465264645320474637>`)
### If user wants to mention a role:
Ask: "What is the Discord role ID to mention? (Server Settings > Roles > right-click role > Copy Role ID)"
The mention format is: `<@&ROLE_ID>` (e.g., `<@&123456789>`)
## Step 5: Configure Events
Use AskUserQuestion with multiSelect:
**Question:** "Which events should trigger Discord notifications?"
**Options (multiSelect: true):**
1. **Session end (Recommended)** - When a Claude session finishes
2. **Input needed** - When Claude is waiting for your response (great for long-running tasks)
3. **Session start** - When a new session begins
4. **Session continuing** - When a persistent mode keeps the session alive
Default selection: session-end + ask-user-question.
## Step 6: Optional Username Override
Use AskUserQuestion:
**Question:** "Custom bot display name? (Shows as the webhook sender name in Discord)"
**Options:**
1. **PEP (default)** - Display as "PEP"
2. **Claude Code** - Display as "Claude Code"
3. **Custom** - Enter a custom name
## Step 7: Write ConfigurationFrom leejaedus/pepcode, MIT.
More from leejaedus/pepcode
- 0.404score
agent-audit
leejaedus
Analyze agent usage patterns and recommend cleanup of unused agents
SkillDFreshness: DClaude Code +9 - 0.404score
cancel
leejaedus
Cancel any active PEP mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, team)
SkillDFreshness: DClaude Code +9 - 0.404score
distill
leejaedus
Distill session patterns into CLAUDE.md rules and project documentation
SkillDFreshness: DClaude Code +9 - 0.401score
doctor
leejaedus
Diagnose and fix pepcode installation issues
SkillDFreshness: DClaude Code +9 - 0.401score
frontend-ui-ux
leejaedus
Designer-developer for UI/UX work
SkillDFreshness: DClaude Code +9 - 0.401score
ecomode
leejaedus
Token-efficient model routing modifier
SkillDFreshness: DClaude Code +9 - 0.401score
code-review
leejaedus
Run a comprehensive code review
SkillDFreshness: DClaude Code +9 - 0.401score
analyze
leejaedus
Deep analysis and investigation
SkillDFreshness: DClaude Code +9 - 0.398score
help
leejaedus
Guide on using pepcode plugin
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 12, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/leejaedus/pepcode
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from leejaedus
- 0.404score
distill
leejaedus
Distill session patterns into CLAUDE.md rules and project documentation
SkillDFreshness: DClaude Code +9 - 0.404score
cancel
leejaedus
Cancel any active PEP mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, team)
SkillDFreshness: DClaude Code +9 - 0.404score
agent-audit
leejaedus
Analyze agent usage patterns and recommend cleanup of unused agents
SkillDFreshness: DClaude Code +9 - 0.401score
code-review
leejaedus
Run a comprehensive code review
SkillDFreshness: DClaude Code +9 - 0.401score
frontend-ui-ux
leejaedus
Designer-developer for UI/UX work
SkillDFreshness: DClaude Code +9 - 0.401score
ecomode
leejaedus
Token-efficient model routing modifier
SkillDFreshness: DClaude Code +9
Cite this page
configure-discord skill. Agent Mart. https://agentmart.dev/skills/leejaedus-configure-discord (last updated 2026-10-24)