Agent Skills: Send a message

Use this skill to send a message over Discord to the operator

UncategorizedID: dtinth/agent-skills/discord

Install this agent skill to your local

pnpm dlx add-skill https://github.com/dtinth/agent-skills/tree/HEAD/discord

Skill Files

Browse the full folder contents for discord.

Download Skill

Loading file tree…

discord/SKILL.md

Skill Metadata

Name
discord
Description
Use this skill to send a message over Discord to the operator

To send a message over Discord to the user, there is a script at ~/.local/bin/discord-curl that can be invoked to send a Discord message via a webhook.

The script is essentially implemented this way:

#!/bin/bash -e
curl -X POST "$@" <webhook_url>

Here are some examples:

# Send a message
~/.local/bin/discord-curl -F 'content=hello'

# Send a message with file
~/.local/bin/discord-curl -F 'content=hello' -F 'files[0]=@/etc/os-release'
Send a message Skill | Agent Skills