discord_skill

This skill sends a message to a Discord user via a webhook using a simple curl wrapper, enabling automated alerts and updates.

2

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill dtinth/agent-skills --skill discord

  • SKILL.md561 B

Overview

This skill sends messages to the operator over Discord using a local helper script that posts to a configured webhook. It wraps a simple curl-based command so agents can deliver text and file attachments to a Discord channel. The skill is lightweight and designed for quick notifications and file delivery.

How this skill works

The skill invokes a local script (~/.local/bin/discord-curl) which forwards provided curl arguments to a preset Discord webhook URL. You pass form fields such as content for message text and files[...] for attachments; the script executes curl -X POST with the given arguments and the webhook URL. No Discord OAuth or bot setup is required beyond the webhook already configured in the environment.

When to use it

  • Send short notifications or alerts to the operator's Discord channel.
  • Deliver command output or logs as a file attachment for troubleshooting.
  • Notify about long-running task completion or failures.
  • Share configuration snippets or diagnostic files securely to the webhook channel.
  • Quickly relay messages when other communication channels are unavailable.

Best practices

  • Keep messages concise and include context identifiers (task ID, timestamp).
  • Avoid sending large binary files; compress or trim logs before attaching.
  • Sanitize sensitive data before sending to a shared Discord channel.
  • Use the files[...] form field for attachments and content for plain text.
  • Ensure the webhook URL is securely stored and the script is executable by the agent user.

Example use cases

  • Post a text alert: ~/.local/bin/discord-curl -F 'content=Backup completed for host-1'.
  • Send a log file: ~/.local/bin/discord-curl -F 'content=Deployment logs' -F 'files[0]=@/var/log/deploy.log'.
  • Report an error with context: include task ID and small stack trace in content.
  • Notify operator of CI status changes or manual intervention requests.
  • Share system info snapshot as an attached file for remote debugging.

FAQ

No. The helper script embeds the webhook URL; you only pass curl-style arguments like -F 'content=...'.

How do I attach multiple files?

Use multiple files[...] form fields, e.g. -F 'files[0]=@/path/one' -F 'files[1]=@/path/two'.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
discord skill by dtinth/agent-skills | VeilStrat