evk25/update-bot/send-discord-video

Claude Code and agent skill by evk25/update-bot

Trust tier 3
  • community
  • ext:[{"type":"config","description":"Configuration overrides"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Sends benchmark videos, rendered depth map sequences, evaluation recordings, or experiment outputs to a specified Discord channel via Discord webhook or bot token. Use this skill whenever a model benchmark, evaluation script, or video rendering job finishes, or when the user requests sending/posting video results to Discord for remote viewing.

Install

npx vskill@latest install evk25/update-bot/send-discord-video

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as evk25/update-bot/send-discord-video.

Send Discord Video Skill

This skill allows the Antigravity agent to send benchmark videos, rendered depth estimations, or experiment recordings directly to a Discord channel. It enables remote monitoring so results can be reviewed from a phone, laptop, or any Discord client.

Directory Structure

text
send-discord-video/
├── SKILL.md # Main skill instructions (this file)
├── config.yaml.example # Config template
├── scripts/
│ └── send_video.py # Zero-dependency Discord uploader CLI & Python library
├── references/
│ └── setup_discord_webhook.md # Webhook creation guide (30 seconds)
└── examples/
├── example_benchmark_send.py # Python API usage in evaluation scripts
└── send_cli_example.sh # CLI usage examples

Agent Workflow: Sending Videos to Discord

Follow these steps whenever a benchmark completes or the user requests posting video results:

Step 1: Locate the Video File & Check File Size
  1. Identify the path of the rendered/compressed video (e.g., .mp4, .webm, .mov).
  2. If the user did not specify a video file path, look for recent video files in the project's output directories (e.g., outputs/, results/, benchmarks/output/, or renders/).
  3. Check the file size of the video before sending.
  • Discord standard upload limit is 25 MB (or 10 MB on certain unboosted servers).
  • Confirm the video is pre-compressed and under the limit. If it exceeds 25 MB, notify the user.
Step 2: Verify Configuration

The helper script automatically searches for configuration in:

  1. discord_video_config.yaml (in current working directory or git project root)
  2. .discord_video.yaml
  3. Skill directory config.yaml
  4. Global config: ~/.gemini/config/discord_video_config.yaml
  5. Environment variable: DISCORD_WEBHOOK_URL

If no configuration file exists, ask the user for their Discord Webhook URL or run:

bash
python3 <path-to-skill>/scripts/send_video.py --init-config

and instruct the user to paste their webhook URL into discord_video_config.yaml.

Step 3: Execute send_video.py

Run the script using run_command:

bash
python3 <path-to-skill>/scripts/send_video.py \
--video "path/to/compressed_benchmark.mp4" \
--model "<ModelName>" \
--dataset "<DatasetOrSequence>" \
--l1 "<L1_Error>" \
--ssim "<SSIM_Score>"
CLI Parameters
ParameterRequiredDescription
-v, --videoYesAbsolute or relative path to the video file to send
-c, --configNoCustom path to config YAML (auto-discovered if omitted)
--modelNoModel name (e.g. "EventDepth-ViT", "RAM-Net")
--datasetNoSequence or dataset name (e.g. "DSEC-Night-01", "MVSEC")
--l1NoL1 depth error / MAE metric (e.g. 0.0425)
--ssimNoStructural Similarity Index (e.g. 0.8912)
--metricsNoAdditional evaluation metrics string (e.g. `"RMSE: 0.124 \FPS: 62"`)
-t, --titleNoEmbed title override
-m, --messageNoAdditional message/notes to display
--mentionNoUser ID or role mention (e.g. "<@123456789>" or "@here")
--colorNoEmbed hex accent color (e.g. "#57F287" or "#5865F2")
--dry-runNoValidate config and payload without sending
--webhookNoOverride Webhook URL directly
Step 4: Verify Delivery

Check the command output:

  • A successful upload returns HTTP 200 or 204 along with the Discord Message ID.
  • Report to the user that the video was successfully posted to Discord, including the filename, file size, and reported metrics.

Troubleshooting & Common Issues

  • Error 413 (Payload Too Large):

The video file exceeds Discord's file size limit (25 MB). Verify that the evaluation pipeline rendered the compressed preview rather than raw uncompressed frames.

  • Error 401 / 403 (Unauthorized / Forbidden):

The webhook URL or Bot token is invalid, or the bot lacks the "Attach Files" permission in that channel.

  • Error 404 (Not Found):

The webhook URL was deleted or the channel ID does not exist.

  • No PyYAML Installed:

send_video.py includes a built-in YAML parser and does not require PyYAML or any third-party dependencies.


Programmatic Usage in Python Benchmark Scripts

Evaluation and benchmark scripts can also import and call the sender directly:

python
from send_video import send_benchmark_video
send_benchmark_video(
video_path="outputs/benchmarks/event_depth_preview.mp4",
model_name="EventDepth-ViT",
dataset="DSEC-Night-01",
l1=0.0385,
ssim=0.9120,
title="🎬 Monocular Event-to-Depth Benchmark Complete",
)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Extension points

  • configConfiguration overrides

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/evk25/update-bot/send-discord-video/badge)](https://verified-skill.com/skills/evk25/update-bot/send-discord-video)

Something wrong with this skill or its page? Tell us.