Skip to content
Back to skills

Discord

ASecurity

Send files or messages from a session to the user's Discord server. Triggers on "send to discord", "ship to discord", or "/discord".

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 26, 2026
ai-agentsgobash

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add alhe99/mows-harness --skill discord --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Discord?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Discord
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alhe99-discord/badge)](https://www.skillsdirectory.com/skills/alhe99-discord)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: discord
description: Send files or messages from a session to the user's Discord server. Triggers on "send to discord", "ship to discord", or "/discord".
---

Sends to Discord ALWAYS go through the agy bridge: `~/.claude/scripts/discord-via-agy.sh`
hands your intent + files to Antigravity (`agy-run --fast`), which composes the message
text, then delivers via the low-level sender. Do NOT write the Discord summary yourself.

```bash
~/.claude/scripts/discord-via-agy.sh [-k <key>] [-i "intent"] [-n "thread name"] [--dry-run] [file ...]
```

## Rules
- **Always the bridge**: use `discord-via-agy.sh` for every session-initiated send. The
  low-level `~/.claude/scripts/discord-send.sh` is plumbing — reserved for the bridge
  itself.
- **Intent, not prose**: pass `-i` as a short factual note of what this send is about
  (e.g. `-i "refactor finished, report attached, 3 tests fixed"`). agy turns it into the
  message; text >2000 chars goes in a file, not in `-i`.
- **Thread Key**: always pass `-k s-<sid8>` using the first 8 chars of the session ID
  (visible in the scratchpad directory path).
- **Fallback is automatic**: if agy is unavailable (quota/login), the bridge sends
  directly with a ⚠️ prefix — never retry composition yourself.
- **File Types**: prefer `.md`/`.txt` attachments (inline preview on desktop Discord;
  PDF/HTML are download-only chips). Files >10MB auto-fall back to a secret gist link.
- **Secrets**: webhook URL lives in `~/.claude/secrets/discord-webhook.env`. Never print
  or commit it. Sender exit 3 = webhook unconfigured → ask the user to paste it there.

## Examples
```bash
# Ship a report; agy writes the announcement text
~/.claude/scripts/discord-via-agy.sh -k s-a1b2c3d4 -i "nightly audit done, 2 findings" audit.md

# Quick status with no file
~/.claude/scripts/discord-via-agy.sh -k s-a1b2c3d4 -i "build green on staging, deploy ready"
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.