discord
Operating procedures for the Discord channel in smolbot.
Skill by Nomadcxx
Chalk Labs
Need help deploying discord?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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/nomadcxx-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
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/discord
What's inside
- Skill name
discord- Description
- Operating procedures for the Discord channel in smolbot. Use when sending messages, handling errors, or managing Discord bot sessions.
- License
- BSD-3-Clause
- Instructions
- 95 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
---
## Discord Channel
smolbot connects to Discord via the `discordgo` library. All operations pass through `pkg/channel/discord/adapter.go`.
### Sending Messages
Use the `message` tool with `channel: "discord"`:
```
message(channel="discord", chat_id="123456789012345678", content="Hello")
```
The `chat_id` is a Discord snowflake ID (as a string). For DMs, this is the user's ID. For server channels, this is the channel ID.
### Message Content
**Only plain text is supported.** The adapter sends via `discordgo.Session.ChannelMessageSend()` which sends plain text only. There is no embed support implemented in smolbot's Discord adapter — embeds mentioned in skill documentation are NOT currently supported.
### Character Limit
Messages are chunked at **2000 characters** (Discord's hard limit). The adapter uses paragraph-aware splitting (finds last `\n\n`, `\n`, or space before the limit).
### Formatting
Discord uses its own markdown:
- Bold: `**text**`
- Italic: `*text*` or `_text_`
- Underline: `__text__`
- Strikethrough: `~~text~~`
- Inline code: `` `code` ``
- Code block: ` ```language\ncode\n``` ``
Standard Markdown features not supported: tables, headings.
### Token Management
Discord uses a bot token (passed to `discordgo.New("Bot " + token)`). Tokens are loaded from:
1. `BotToken` config field directly
2. `TokenFile` — reads from file, trims whitespace
Tokens never expire but can be revoked via the Discord Developer Portal.
### Status States
- `disconnected` — initial state
- `connecting` — during `Start()`
- `connected` — running
- `error` — error with `Detail` containing the error message
- `auth-required` — token validation failed via `Identify()`
### Error Handling
All errors are wrapped: `fmt.Errorf("discord send: %w", err)`.
Known Discord error codes:
- `50013 Missing Permissions` — bot lacks a required permission in that channel
- `10003 Unknown Channel` — channel ID is wrong or bot has no access
- `50007 Cannot send messages to this user` — user has DMs disabled
- `401 Unauthorized` — invalid bot token
### Rate Limiting
smolbot does not implement explicit rate limiting. Discord enforces:
- Per channel: 5 messages per 5 seconds
- Global: 50 requests per second
If rate limited, Discord returns `429 Too Many Requests` with a `retry_after` field. Always honour the backoff.
### Allowed Channel IDs
Optional whitelist in config:
```json
{
"enabled": true,
"botToken": "...",
"allowedChannelIDs": ["123456789012345678"]
}
```
Messages from non-whitelisted channels are silently ignored by the adapter.
### Inbound Handling
The adapter listens for `*discordgo.MessageCreate` events and filters:
- Messages from bots (`m.Author.Bot`)
- Messages with nil content
Guild messages include `guild_id`; DM messages do not.
### Bot vs Webhook
smolbot uses a bot account (two-way interaction). Webhooks are separate and not managed by the adapter.From Nomadcxx/smolbot, BSD-3-Clause.
More from Nomadcxx/smolbot
- 0.437score
memory
Nomadcxx
Use when starting, resuming, or ending non-trivial coding, debugging, RCA, incident analysis, or architecture/design work where prior failures, decisions…
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
clawhub
Nomadcxx
Interact with ClawHub registry for browsing, searching, and managing AI agent skills and tools.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
code-review
Nomadcxx
Review changed code for correctness, logic bugs, edge cases, security issues, and clarity.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
cron
Nomadcxx
Schedule and manage periodic tasks with cron-style scheduling.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
git-operations
Nomadcxx
Common git workflows for committing, branching, rebasing, conflict resolution, and undoing mistakes.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
github
Nomadcxx
Interact with GitHub repositories for code search, file operations, and repository management.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
web-research
Nomadcxx
Multi-step research workflow: form a question, search multiple angles, cross-check sources, synthesise.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
signal
Nomadcxx
Operating procedures for the Signal channel in smolbot.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
channel-triage
Nomadcxx
Routing and triage across multiple messaging channels in smolbot.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
summarize
Nomadcxx
Generate concise summaries of conversation content, documents, or code.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
systematic-debugging
Nomadcxx
Structured root cause analysis for bugs and unexpected behaviour.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
task-delegation
Nomadcxx
When and how to use the task and wait tools to delegate sub-tasks.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 31, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- BSD-3-Clause
- Repository
- github.com/Nomadcxx/smolbot
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Nomadcxx
- 0.437score
memory
Nomadcxx
Use when starting, resuming, or ending non-trivial coding, debugging, RCA, incident analysis, or architecture/design work where prior failures, decisions…
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
code-review
Nomadcxx
Review changed code for correctness, logic bugs, edge cases, security issues, and clarity.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
cron
Nomadcxx
Schedule and manage periodic tasks with cron-style scheduling.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
git-operations
Nomadcxx
Common git workflows for committing, branching, rebasing, conflict resolution, and undoing mistakes.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
github
Nomadcxx
Interact with GitHub repositories for code search, file operations, and repository management.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
clawhub
Nomadcxx
Interact with ClawHub registry for browsing, searching, and managing AI agent skills and tools.
SkillDFreshness: D★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get discord running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
discord skill. Agent Mart. https://agentmart.dev/skills/nomadcxx-discord (last updated 2026-10-24)