Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Create new channels in Discord guilds/servers via the Discord API. Use this skill when the user wants to create text channels, voice channels, announcement channels, or categories in a Discord server.
.claude/skills/evolution-foundation-discord-create-channel/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 270% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 223% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 73% | 0% |
| case-19 | ✗→✓ | ▲ Improved | 266% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 562% | 0% |
Create new channels in Discord guilds (servers) using the Discord API v10. This skill supports creating text channels, voice channels, announcement channels, stage channels, and categories.
Use this skill when the user wants to:
DISCORD_BOT_TOKEN environment variable must be setDiscord supports the following channel types (use numeric value):
| Type | Value | Description | |------|-------|-------------| | GUILD_TEXT | 0 | Text channel | | GUILD_VOICE | 2 | Voice channel | | GUILD_CATEGORY | 4 | Category (organizes channels) | | GUILD_ANNOUNCEMENT | 5 | Announcement channel (one-way communication) | | GUILD_STAGE_VOICE | 13 | Stage channel (audio events) |
When the user requests to create a Discord channel:
DISCORD_BOT_TOKEN is set in environmentname: Channel name (required, 2-100 chars)type: Channel type (0=text, 2=voice, 4=category, 5=announcement, 13=stage)topic: Channel topic/description (optional, max 1024 chars for text channels)parent_id: Category ID to place channel in (optional)nsfw: Whether channel is NSFW (optional, default false)position: Sort position (optional)permission_overwrites: Permission overrides (optional, array)Use the following curl command structure:
bash curl -X POST "https://discord.com/api/v10/guilds/{GUILD_ID}/channels" \ -H "Authorization: Bot ${DISCORD_BOT_TOKEN}" \ -H "Content-Type: application/json" \ -d '{ "name": "channel-name", "type": 0 }'
Replace:
{GUILD_ID} with the actual guild ID"channel-name" with the desired channel name0 with the appropriate channel typeDiscord channel names must follow these rules:
Valid names:
generalgeneral-chatvoice-room-1announcementsInvalid names:
General Chat (has spaces and capital letters)chat! (has special character)a (too short)café (has accented character)json{ "name": "general-chat", "type": 0, "topic": "General discussion for all members" }
json{ "name": "voice-lounge", "type": 2, "user_limit": 10 }
json{ "name": "Community", "type": 4 }
json{ "name": "server-updates", "type": 5, "topic": "Official server announcements" }
json{ "name": "community-stage", "type": 13 }
To place a new channel in an existing category:
json{ "name": "new-channel", "type": 0, "parent_id": "123456789012345678" }
The parent_id is the ID of the category channel.
To set custom permissions when creating a channel:
json{ "name": "private-channel", "type": 0, "permission_overwrites": [ { "id": "role_id_here", "type": 0, "allow": "1024", "deny": "0" } ] }
Permission types:
type: 0 = Roletype: 1 = MemberCommon permission values:
1024 = View Channel2048 = Send Messages8192 = Read Message History65536 = Mention Everyone400 Bad Request - Invalid Name
json{ "code": 50035, "errors": { "name": { "_errors": [ { "code": "BASE_TYPE_BAD_LENGTH", "message": "Must be between 2 and 100 in length." } ] } } }
Solution: Ensure channel name is 2-100 characters and follows naming rules
403 Forbidden - Missing Permissions
json{ "code": 50013, "message": "Missing Permissions" }
Solution: Bot needs "Manage Channels" permission in the server
404 Not Found - Invalid Guild
json{ "code": 10004, "message": "Unknown Guild" }
Solution: Verify guild ID is correct and bot is member of the server
400 Bad Request - Invalid Category
json{ "code": 50035, "message": "Invalid parent_id" }
Solution: Ensure parent_id is a valid category channel ID in the same guild
Successful channel creation returns:
json{ "id": "987654321098765432", "type": 0, "guild_id": "123456789012345678", "position": 0, "permission_overwrites": [], "name": "new-channel", "topic": null, "nsfw": false, "last_message_id": null, "parent_id": null }
See examples.md for detailed usage scenarios.
POST /guilds/{guild.id}/channels| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-04 | pass→pass | 4,085 | 2,654 | -35% | 1 | 1 | 0% | 384 | 2,541 | +562% | 0 | 0 | — |
case-01 | fail→fail | 6,895 | 8,662 | +26% | 1 | 1 | 0% | 1,432 | 2,916 | +104% | 0 | 0 | — |
case-02 | fail→pass | 4,432 | 4,904 | +11% | 1 | 1 | 0% | 830 | 3,071 | +270% | 0 | 0 | — |
case-03 | pass→pass | 4,262 | 4,166 | -2% | 1 | 1 | 0% | 813 | 2,912 | +258% | 0 | 0 | — |
case-05 | fail→pass | 4,797 | 5,143 | +7% | 1 | 1 | 0% | 932 | 3,007 | +223% | 0 | 0 | — |
case-06 | pass→pass | 4,221 | 2,882 | -32% | 1 | 1 | 0% | 772 | 2,657 | +244% | 0 | 0 | — |
case-07 | pass→pass | 5,403 | 3,808 | -30% | 1 | 1 | 0% | 1,058 | 2,827 | +167% | 0 | 0 | — |
case-08 | pass→pass | 3,283 | 2,375 | -28% | 1 | 1 | 0% | 546 | 2,541 | +365% | 0 | 0 | — |
case-09 | pass→pass | 3,572 | 2,430 | -32% | 1 | 1 | 0% | 635 | 2,564 | +304% | 0 | 0 | — |
case-10 | pass→pass | 4,770 | 2,427 | -49% | 1 | 1 | 0% | 901 | 2,467 | +174% | 0 | 0 | — |
case-11 | pass→pass | 7,198 | 3,760 | -48% | 1 | 1 | 0% | 1,205 | 2,576 | +114% | 0 | 0 | — |
case-12 | pass→pass | 8,111 | 4,688 | -42% | 1 | 1 | 0% | 1,321 | 2,945 | +123% | 0 | 0 | — |
case-13 | pass→pass | 8,322 | 3,639 | -56% | 1 | 1 | 0% | 1,406 | 2,765 | +97% | 0 | 0 | — |
case-14 | pass→pass | 5,025 | 2,981 | -41% | 1 | 1 | 0% | 894 | 2,674 | +199% | 0 | 0 | — |
case-15 | pass→pass | 4,266 | 1,714 | -60% | 1 | 1 | 0% | 716 | 2,433 | +240% | 0 | 0 | — |
case-16 | pass→pass | 2,406 | 1,685 | -30% | 1 | 1 | 0% | 391 | 2,412 | +517% | 0 | 0 | — |
case-17 | pass→pass | 4,293 | 3,619 | -16% | 1 | 1 | 0% | 840 | 2,742 | +226% | 0 | 0 | — |
case-18 | fail→pass | 6,038 | 1,325 | -78% | 1 | 1 | 0% | 1,346 | 2,329 | +73% | 0 | 0 | — |
case-19 | fail→pass | 3,878 | 1,852 | -52% | 1 | 1 | 0% | 642 | 2,351 | +266% | 0 | 0 | — |
case-20 | pass→pass | 6,886 | 3,083 | -55% | 1 | 1 | 0% | 1,261 | 2,702 | +114% | 0 | 0 | — |
case-21 | pass→pass | 3,166 | 2,758 | -13% | 1 | 1 | 0% | 593 | 2,658 | +348% | 0 | 0 | — |
case-22 | pass→pass | 3,460 | 2,730 | -21% | 1 | 1 | 0% | 704 | 2,683 | +281% | 0 | 0 | — |
case-23 | pass→pass | 3,475 | 3,187 | -8% | 1 | 1 | 0% | 632 | 2,735 | +333% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted, and 22 counted toward the lift figure. The other 1 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +17 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.