Discord Integration

Discord Integration is a skill for Claude Code, Codex from turmyshevd/openclawgotchi. It costs 12 tokens per session (1,349 once invoked), scanned A, original, MIT.

A way to send messages to Discord channels from an application using a Discord webhook or bot. A webhook is a Discord-provided URL that accepts messages without requiring a bot token.

In plain words
What is it for?
Use it for application status updates, alerts, and other automated messages sent to Discord channels.
Why use it?
It removes the need to build Discord messaging from scratch or manage a bot when a webhook is enough. Messages can include text, a custom username and avatar, or formatted fields.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it for application status updates, alerts, and other automated messages sent to Discord channels.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/turmyshevd/openclawgotchi/discord
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.

Any agent
npx skills add turmyshevd/openclawgotchi --skill discord
Clone the repo
git clone --depth 1 https://github.com/turmyshevd/openclawgotchi

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Discord Integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/turmyshevd/openclawgotchi/discord/github.svg)](https://agentmods.dev/skills/turmyshevd/openclawgotchi/discord)
Your own site
<a href="https://agentmods.dev/skills/turmyshevd/openclawgotchi/discord"><img src="https://agentmods.dev/badge/skills/turmyshevd/openclawgotchi/discord/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Discord Integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/turmyshevd/openclawgotchi/discord"><img src="https://agentmods.dev/badge/skills/turmyshevd/openclawgotchi/discord.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,349 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00012 $0.01349
Opus 5 $0.00006 $0.00674
Sonnet 5 $0.00002 $0.00270
Haiku 4.5 $0.00001 $0.00135

Measured 9d ago against content hash feeb1cad15b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

Discord Integration scanned grade A with 1 finding 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 9d ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

"requires": { "bins": ["curl"] },
gotchi-skills/discord/SKILL.md · 220 lines

How it starts

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

Discord Integration

Send messages from your Gotchi to Discord. Two options:

No bot token needed! Just create a webhook in Discord.

Setup

  1. Discord Server → Channel Settings → Integrations → Webhooks
  2. Create Webhook, copy URL
  3. Add to .env:
    DISCORD_WEBHOOK=https://discord.com/api/webhooks/xxx/yyy
    

Send Message

curl -H "Content-Type: application/json" \
  -d '{"content":"Hello from Gotchi!"}' \
  "$DISCORD_WEBHOOK"

Send with Username & Avatar

curl -H "Content-Type: application/json" \
  -d '{
    "username": "Gotchi",
    "avatar_url": "https://example.com/gotchi.png",
    "content": "Status update!"
  }' \
  "$DISCORD_WEBHOOK"

Send Embed (Rich Message)

curl -H "Content-Type: application/json" \
  -d '{
    "username": "Gotchi",
    "embeds": [{
      "title": "🤖 System Status",
      "color": 5814783,
      "fields": [
        {"name": "Temperature", "value": "42°C", "inline": true},
        {"name": "Memory", "value": "120MB free", "inline": true},
        {"name": "Uptime", "value": "3 days", "inline": true}
      ],
      "footer": {"text": "Raspberry Pi Zero 2W"}
    }]
  }' \
  "$DISCORD_WEBHOOK"

Python Helper

import os
import requests

WEBHOOK = os.environ.get("DISCORD_WEBHOOK")

def send_discord(message: str, username: str = "Gotchi"):
    if not WEBHOOK:
        return False
    requests.post(WEBHOOK, json={
        "username": username,
        "content": message
    })
    return True

# Usage
send_discord("Hello from Pi! 🤖")

Option 2: Inbound Bot (Interactive)

OpenClawGotchi can run a Discord inbound adapter alongside Telegram.

Setup

  1. Create app at https://discord.com/developers/applications
  2. Create Bot, copy token
  3. Enable "Message Content Intent" in Bot settings
  4. Invite bot to server with permissions to read/send messages
  5. Add to .env:
    DISCORD_BOT_TOKEN=your_bot_token
    DISCORD_ALLOWED_CHANNELS=123456789
    DISCORD_ALLOWED_USERS=
    DISCORD_RESPOND_TO_ALL=0
    DISCORD_MAX_ATTACHMENT_MB=15
    

Read the full file on GitHub · 220 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. 9d ago First seen · 220 lines · 12 tokens per session scan A feeb1cad15b3

Subscribe to this mod's changes

Discord Integration is a skill published in the GitHub repository turmyshevd/openclawgotchi (48 stars, last pushed 2mo ago), licensed MIT. It adds 12 tokens to every session and 1,349 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.