discord-webhook

discord-webhook is a skill for Claude Code from mahmoud20138/Tradecraft. It costs 37 tokens per session (855 once invoked), scanned A, original, MIT.

A bridge for sending trading alerts, signals, and analysis summaries to Discord through a webhook, which is a web address that accepts messages.

In plain words
What is it for?
It helps send trade setup alerts and daily market briefs containing items such as a pair, direction, entry, stop loss, target, risk-to-reward, and market summary.
Why use it?
It moves important trading updates into Discord so they can be received in a shared chat channel.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the tradecraft plugin — 58 skills shipped together

Good fit It helps send trade setup alerts and daily market briefs containing items such as a pair, direction, entry, stop loss, target, risk-to-reward, and market summary.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mahmoud20138/tradecraft/discord-webhook
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 mahmoud20138/Tradecraft --skill discord-webhook
Clone the repo
git clone --depth 1 https://github.com/mahmoud20138/Tradecraft

Made for: Claude Code.

Or install tradecraft, the plugin that ships this one along with the rest of its 58 skills.

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-webhook

README.md
[![agentmods](https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/discord-webhook/github.svg)](https://agentmods.dev/skills/mahmoud20138/tradecraft/discord-webhook)
Your own site
<a href="https://agentmods.dev/skills/mahmoud20138/tradecraft/discord-webhook"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/discord-webhook/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-webhook

Your own site · 80×15
<a href="https://agentmods.dev/skills/mahmoud20138/tradecraft/discord-webhook"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/discord-webhook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 855 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.00037 $0.00855
Opus 5.5 $0.00015 $0.00342
Sonnet 5.5 $0.00007 $0.00171
Haiku 4.5 $0.00004 $0.00085

Measured 3mo ago against content hash 192658a00c85, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

discord-webhook 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 3mo 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.

response = requests.post(webhook_url, json=payload)
plugins/tradecraft/skills/discord-webhook/SKILL.md · 104 lines

How it starts

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

Discord Webhook — Alert Bridge

You are a Discord integration bridge for trading alerts and skill outputs.

Setup

DISCORD_WEBHOOK_URL = "https://discord.com/api/webhooks/YOUR_ID/YOUR_TOKEN"

Save your webhook URL: /context-memory save discord_webhook=<your_url>

Message Templates

Trade Alert

{
  "embeds": [{
    "title": "🎯 Trade Setup Alert",
    "color": 3066993,
    "fields": [
      {"name": "Pair", "value": "EURUSD", "inline": true},
      {"name": "Direction", "value": "🟢 BUY", "inline": true},
      {"name": "Entry", "value": "1.0845", "inline": true},
      {"name": "Stop Loss", "value": "1.0812", "inline": true},
      {"name": "Take Profit", "value": "1.0911", "inline": true},
      {"name": "R:R", "value": "2.0", "inline": true},
      {"name": "Confluence", "value": "⭐⭐⭐⭐⭐ FVG+OB+BOS", "inline": false}
    ],
    "timestamp": "2026-03-18T09:00:00Z"
  }]
}

Daily Brief

{
  "embeds": [{
    "title": "📊 Morning Trading Brief",
    "color": 5793266,
    "description": "[market-intelligence summary]",
    "fields": [
      {"name": "Regime", "value": "Trending Bullish", "inline": true},
      {"name": "Safe to Trade", "value": "✅ Yes", "inline": true},
      {"name": "Top Setup", "value": "EURUSD BUY @ 1.0845", "inline": false}
    ]
  }]
}

Journal Summary

{
  "embeds": [{
    "title": "📓 End of Day Summary",
    "color": 15158332,
    "fields": [
      {"name": "Trades", "value": "3", "inline": true},
      {"name": "P&L", "value": "+$145 (+1.45%)", "inline": true},
      {"name": "Win Rate", "value": "2/3 (67%)", "inline": true}
    ]
  }]
}

Commands

/discord-webhook send-alert "EURUSD BUY 1.0845 SL 1.0812 TP 1.0911"
/discord-webhook send-brief          (sends morning brief from /market-intelligence)
/discord-webhook send-journal        (sends EOD summary from /trade-journal-analytics)
/discord-webhook test                (sends test message)
/discord-webhook setup <webhook_url> (saves webhook URL)

Read the full file on GitHub · 104 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. 3mo ago First seen · 104 lines · 37 tokens per session scan A 192658a00c85

Subscribe to this mod's changes

discord-webhook is a skill published in the GitHub repository mahmoud20138/Tradecraft (19 stars, last pushed 7mo ago), licensed MIT. It adds 37 tokens to every session and 855 once invoked, about $0.0001 per session on Opus 5.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.

Related

discord-webhook compared with skills from other repositories

discord-webhook next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
discord-webhookmahmoud20138/TradecraftSkill197mo agoMITA37Claude Code
fiscalisteromainsimon/paperasseSkill2.6k18d agoMITA306Claude Code
etf-premiumhimself65/finance-skillsSkill3.6k26d agoMITA159Claude Code
stock-liquidityhimself65/finance-skillsSkill3.6k26d agoMITA129Claude Code
comptableromainsimon/paperasseSkill2.6k18d agoMITA248Claude Code
controleur-fiscalromainsimon/paperasseSkill2.6k18d agoMITA136Claude Code
tradingview-readerhimself65/finance-skillsSkill3.6k26d agoMITA181Claude Code