Skip to content
Back to skills

Discord Doctor

ASecurity

Diagnose Discord configuration and connectivity issues. Use when user reports problems with Discord sync, connection errors, or wants to troubleshoot.

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
ai-agentspythonbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add lycfyi/community-agent-plugin --skill discord-doctor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Discord Doctor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Discord Doctor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lycfyi-discord-doctor/badge)](https://www.skillsdirectory.com/skills/lycfyi-discord-doctor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: discord-doctor
description: "Diagnose Discord configuration and connectivity issues. Use when user reports problems with Discord sync, connection errors, or wants to troubleshoot."
---

# Discord Doctor

Diagnose configuration and connectivity issues with Discord integration.

## When to Use

- User says "Discord not working" or "diagnose Discord"
- User reports connection or authentication errors
- User says "check Discord setup" or "troubleshoot Discord"
- Before asking for help with Discord issues
- When sync or other Discord commands fail unexpectedly

## How to Execute

```bash
python ${CLAUDE_PLUGIN_ROOT}/tools/discord_doctor.py
```

## What It Checks

1. **Environment file** - `.env` exists in cwd
2. **Discord token** - `DISCORD_USER_TOKEN` is set
3. **Token format** - Token appears valid (length, no prefixes)
4. **Authentication** - Token can connect to Discord API
5. **Config file** - `config/agents.yaml` exists and is valid YAML
6. **Server configured** - A default server is selected
7. **Data directory** - `data/` is writable

## Output

Displays results with:
- ✓ for passed checks
- ✗ for failed checks

For each failure, provides a **suggested fix** that the user can run manually.

**Important:** This tool only diagnoses issues - it does not modify any files.

## Example Output

```
discord-doctor results:

  ✓ Environment file (.env found)
  ✓ Discord token (***...abc123)
  ✓ Token format (Format looks valid)
  ✗ Authentication (Token expired)
  ✓ Config file (Valid YAML)
  ✓ Server configured (My Server (1234))
  ✓ Data directory (./data)

Some checks failed. Suggested fixes:

  • Authentication:
    Your token may be expired. Get a fresh token from Discord DevTools.

(Run these steps manually - doctor does not modify files)
```

## Next Steps

After fixing issues:
1. Run `discord-init` to reconfigure if needed
2. Run `discord-sync` to test connectivity

Files in this skill

  • SKILL.md1.9 KB
  • requirements.yaml72 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.