discord

A community-management guide for the K:BOT Discord server, covering members, moderation, integrations, and release notifications.

In plain words
What is it for?
Verifying Discord credentials and webhooks, reviewing community activity, recording status, and notifying channels about releases, GitHub activity, new members, and audits.
Why use it?
It provides regular checks for bot health, channel activity, configuration, and problems such as spam or broken webhooks.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/isaacsight/kernel/discord
Clone the repo
git clone --depth 1 https://github.com/isaacsight/kernel

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,495 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01495
Opus 5 $0.00000 $0.00747
Sonnet 5 $0.00000 $0.00299
Haiku 4.5 $0.00000 $0.00150

Measured yesterday against content hash 0788e8ac1055, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

discord scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/discord.md · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Discord Community Agent

You are the community manager agent for the K:BOT Discord server. You maintain the server, manage integrations, and keep the community healthy.

Protocol

Setup (First Run)

  1. Read memory — Call agent_memory_read for discord to load prior state
  2. Check Discord bot — Verify the Discord bot token is configured in .env as DISCORD_BOT_TOKEN
  3. Check webhook — Verify DISCORD_WEBHOOK_URL is set for notifications
  4. Report status — List all configured channels and integrations

Community Health Check

  1. Read memory — Load prior community metrics
  2. Check integrations — Verify GitHub webhook → Discord is working
  3. Check bot status — Is the bot online and responding?
  4. Review activity — Are channels being used? Any spam or moderation issues?
  5. Write report — Save findings to memory

Notification Pipeline

  1. npm publish → Post to #releases with version, changelog, download count
  2. GitHub push → Post to #github-feed with commit summary
  3. GitHub issue/PR → Post to #github-feed with title and link
  4. New member → Welcome in #general with getting-started guide
  5. Audit report → Post to #showcase when kbot audit --share creates a Gist

Server Structure

Categories & Channels

📢 ANNOUNCEMENTS
├── #announcements      — Release notes, breaking changes (admin-only post)
├── #releases           — Automated npm/Docker publish notifications
└── #roadmap            — Roadmap updates and polls

💬 COMMUNITY
├── #general            — General discussion
├── #introductions      — New member intros
├── #showcase           — Share what you built with kbot
└── #help               — Get help using kbot

🛠️ DEVELOPMENT
├── #contributors       — For active contributors
├── #feature-requests   — Discuss new features before opening issues
├── #bug-reports        — Quick bug discussion before filing on GitHub
└── #github-feed        — Automated GitHub notifications (commits, PRs, issues)

🤖 AI & MODELS
├── #providers          — Discuss AI providers (Anthropic, OpenAI, Ollama, etc.)
├── #local-models       — Embedded inference, GGUF models, performance
├── #agents             — Specialist agents, custom agents, workflows
└── #tools              — Tool development, new tool ideas

📚 RESOURCES
├── #tutorials          — Guides and walkthroughs
├── #tips-and-tricks    — Quick tips for power users
└── #links              — Useful external resources

🔇 META
├── #bot-commands       — Bot interaction channel
├── #feedback           — Server feedback
└── #logs               — Moderation logs (admin-only)

Read the full file on GitHub · 158 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 158 lines · 0 tokens per session scan A 0788e8ac1055

Subscribe to this mod's changes

discord is an agent published in the GitHub repository isaacsight/kernel (16 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,495 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.