DiscordAdmin
Skill9 starsChanged 6 months agoMITView on GitHub
Discord server administration and community management. USE WHEN user mentions discord admin, server management, discord moderation, community management, discord announcements, member management, role management, OR wants to manage the Cyber Defense Tactics Discord server.
- Reads credentials
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 68
Role Sync: - Add/remove roles based on subscription tier
- Distinctive: line 69
Member Lookup: - Check if user is server member and their roles
- Very specific: line 111
All requests require Authorization: Bot {BOT_TOKEN} header.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
DiscordAdmin
Discord server administration skill for managing the Cyber Defense Tactics community Discord server.
Workflow Routing
| Workflow | Trigger | File |
| Announce | "post announcement", "discord announcement" | workflows/Announce.md |
| ModerateUser | "kick", "ban", "mute", "warn user" | workflows/ModerateUser.md |
| ManageRoles | "add role", "remove role", "role sync" | workflows/ManageRoles.md |
| ServerStats | "discord stats", "member count", "server analytics" | workflows/ServerStats.md |
Configuration
Environment Variables (in ~/.claude/.env)
# Discord Bot (Cyber Defense Tactics)
DISCORD_BOT_TOKEN=your_bot_token_here
DISCORD_GUILD_ID=1462915757401706617
# Role IDs
DISCORD_ROLE_PREMIUM=1463398729972449352
DISCORD_ROLE_MENTORSHIP=1463399070298275873
DISCORD_ROLE_ENTERPRISE=1463399178506993685Server Structure
Guild ID: 1462915757401706617
Channels (Public):
- #welcome
- #introductions
- #general-discussion
- #free-resources
- #job-postings
- #wins-and-celebrations
Channels (Premium - role-gated):
- #premium-lounge
- #detection-engineering
- #ai-tools-and-tips
- #career-strategy
- #course-discussion
Channels (Mentorship - role-gated):
- #mentorship-cohort
- #mentor-office-hours (voice)
Role Hierarchy
| Role | ID | Auto-assigned |
| Premium | 1463398729972449352 | On premium subscription |
| Mentorship | 1463399070298275873 | On mentorship subscription |
| Enterprise | 1463399178506993685 | On enterprise subscription |
Capabilities
Currently Implemented
- Role Sync - Add/remove roles based on subscription tier
- Member Lookup - Check if user is server member and their roles
Implemented Capabilities
- Role Sync - Add/remove roles based on subscription tier
- Member Lookup - Check if user is server member and their roles
- Moderation - Timeout, kick, ban with audit logging
- Announcements - Post messages and embeds to channels
- Analytics - Server stats, member counts, role distribution
Planned Capabilities
- Welcome - Auto-greet new members, send onboarding DM
- AI Moderation - Auto-detect spam, toxicity, scam links
- Real-time Gateway - WebSocket connection for live events
API Reference
Discord API v10
Base URL: https://discord.com/api/v10
Common Endpoints
// Get guild member
GET /guilds/{guild_id}/members/{user_id}
// Add role to member
PUT /guilds/{guild_id}/members/{user_id}/roles/{role_id}
// Remove role from member
DELETE /guilds/{guild_id}/members/{user_id}/roles/{role_id}
// Get guild channels
GET /guilds/{guild_id}/channels
// Send message to channel
POST /channels/{channel_id}/messages
// Get guild info
GET /guilds/{guild_id}Authentication
All requests require Authorization: Bot {BOT_TOKEN} header.
Examples
Example 1: Post an announcement
User: "Post an announcement in the general channel about the new course launch"
→ Invokes Announce workflow
→ Formats message with branding
→ Posts to #general-discussion
→ Confirms with message linkExample 2: Check server stats
User: "How many members do we have in Discord?"
→ Invokes ServerStats workflow
→ Fetches guild info via API
→ Returns member count, online count, role distributionExample 3: Sync a user's role
User: "Add premium role to Discord user 123456789"
→ Invokes ManageRoles workflow
→ Calls Discord API to add role
→ Confirms successExisting Integration
The bot is already integrated with the Cyber Defense Tactics website:
- Webhook:
/api/webhooks/discord- handles role sync from Stripe subscriptions - Flow: Stripe webhook → Update DB tier → Sync Discord role
Security Notes
- Bot token is stored in environment variables (never committed)
- Internal API key required for webhook calls
- Role management restricted to subscription-related roles
- Admin commands require verification of user permissions
In this repository140 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- alex-hormozi-pitchSkill
- AlgorithmSkill
- AnnualReportsSkill
- ArtGeneratorSkill
- artSkill
- autoplanSkill
- autoresearchSkill
- benchmarkSkill
- brainstormingSkill
- brand-guidelinesSkill
- brightdataSkill
- browseSkill
- BugHunterSkill
- CallIntelligenceSkill
- canarySkill
- canvasSkill
- carefulSkill
- ceo-advisorSkill
- cfo-advisorSkill
- cmmcSkill
- codebase-indexerSkill
- codexSkill
- CodingAgentSkill
- company-valuesSkill
- connect-chromeSkill
- CORESkill
- system-createcliSkill
- CreateskillSkill
- csoSkill
- cto-advisorSkill
- CybersecurityPlaybooksSkill
- defuddleSkill
- design-consultationSkill
- design-reviewSkill
- DevTeamSkill
- document-releaseSkill
- document-writerSkill
- doraSkill
- dpdpaSkill
- EmailManagerSkill
- executing-plansSkill
- fabricSkill
- fedrampSkill
- ffuf-web-fuzzingSkill
- find-communitySkill
- first-customersSkill
- FirstPrinciplesSkill
- form-croSkill
- freezeSkill
- gdpr-complianceSkill
- git-worktreesSkill
- GovernanceSkill
- grow-sustainablySkill
- gstack-upgradeSkill
- guardSkill
- hipaa-complianceSkill
- investigateSkill
- iso27001Skill
- iso27701Skill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

