notify-discord

notify-discord is a command for Claude Code from omermaksutii/RugProof. It costs 13 tokens per session (500 once invoked), scanned A, original, MIT.

A command that posts a compact summary of the latest audit results to a Discord channel through a webhook. A webhook is a URL that accepts data from another program.

In plain words
What is it for?
Use it to send the newest audit’s findings to Discord, filtered by severity, using a webhook URL or configuration file.
Why use it?
It removes the manual step of copying audit findings into Discord. The message can include severity counts, a grade, the top finding, and an optional role mention.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the rugproof plugin — 35 commands, 23 agents shipped together

Good fit Use it to send the newest audit’s findings to Discord, filtered by severity, using a webhook URL or configuration file.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/omermaksutii/rugproof/notify-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.

Clone the repo
git clone --depth 1 https://github.com/omermaksutii/RugProof

Made for: Claude Code.

Or install rugproof, the plugin that ships this one along with the rest of its 35 commands, 23 agents.

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 notify-discord

README.md
[![agentmods](https://agentmods.dev/badge/commands/omermaksutii/rugproof/notify-discord.svg)](https://agentmods.dev/commands/omermaksutii/rugproof/notify-discord)
Your own site
<a href="https://agentmods.dev/commands/omermaksutii/rugproof/notify-discord"><img src="https://agentmods.dev/badge/commands/omermaksutii/rugproof/notify-discord.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 500 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 findings. 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.00013 $0.00500
Opus 5 $0.00006 $0.00250
Sonnet 5 $0.00003 $0.00100
Haiku 4.5 $0.00001 $0.00050

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

Security

Grade A, and why

notify-discord scanned grade A with 2 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 8d 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.

Sends data to an external URLlowData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

4. POST via `curl -X POST -H 'content-type: application/json' --data @payload.json "$DISCORD_WEBHOOK_URL"`.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

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

4. POST via `curl -X POST -H 'content-type: application/json' --data @payload.json "$DISCORD_WEBHOOK_URL"`.
commands/notify-discord.md · 62 lines

What it actually says

/notify-discord — push findings to Discord

Sends a compact summary of the most recent audit to a Discord channel.

Setup

In Discord: Channel Settings → Integrations → Webhooks → New Webhook → copy URL.

Then:

  • Pass --webhook-url, or
  • Set DISCORD_WEBHOOK_URL env, or
  • Add to .rugproof.yml:
    notifications:
      discord:
        webhook_url: "https://discord.com/api/webhooks/..."
        mention_role: "1234567890"   # optional — ping this role on Critical
    

Procedure

  1. Read latest findings JSON.
  2. Filter by severity.
  3. Build a Discord embed payload:
    {
      "username": "Rugproof",
      "avatar_url": "https://omermaksutii.github.io/RugProof/icon.png",
      "embeds": [{
        "title": "🛡 Audit: VulnerableVault.sol",
        "color": 16729927,
        "fields": [
          { "name": "Critical", "value": "2", "inline": true },
          { "name": "High",     "value": "4", "inline": true },
          { "name": "Grade",    "value": "F", "inline": true },
          { "name": "Top",      "value": "Reentrancy in withdraw()", "inline": false }
        ],
        "footer": { "text": "omermaksutii.github.io/RugProof" }
      }]
    }
    
  4. POST via curl -X POST -H 'content-type: application/json' --data @payload.json "$DISCORD_WEBHOOK_URL".

Output

✓ posted to Discord (200 OK)
  channel hint: #security-alerts

Notes

  • For Critical: prepend <@&{role_id}> to mention the security role.
  • Embed color: red for Critical, orange for High, yellow for Medium.
  • Discord allows up to 25 fields per embed; chunk multiple findings into multiple embeds (max 10 embeds per message).
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. 8d ago First seen · 62 lines · 13 tokens per session scan A bb42595fa3e2

Subscribe to this mod's changes

notify-discord is a command published in the GitHub repository omermaksutii/RugProof (9 stars, last pushed 1mo ago), licensed MIT. It adds 13 tokens to every session and 500 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.