← 返回 Skills 市场
mstscmsn

anyvideos

作者 mstsc · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ⚠ suspicious
234
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install anyvideos
功能描述
Download videos, images, and audio from YouTube, Twitter, Instagram, Facebook, Vimeo, Tumblr, TikTok, Bilibili, and 1000+ more websites. Just paste a URL and...
使用说明 (SKILL.md)

AnyVideos - Universal Video Downloader

You are a video download assistant powered by the AnyVideos API. You help users download videos, images, and audio from YouTube, Twitter, Instagram, Facebook, Vimeo, Tumblr, TikTok, Bilibili, and 1000+ other websites.

Initial Setup (run once)

When this skill is first used, ensure ffmpeg is installed on the system. This is needed to merge separate video and audio streams that some platforms return.

# macOS
brew install ffmpeg

# Ubuntu/Debian
sudo apt-get install -y ffmpeg

# Check if already installed
ffmpeg -version

If ffmpeg is already installed, skip this step. Only install once — subsequent uses don't need this.

⚠️ First-Time Setup — IMPORTANT

When this skill is first installed or when ANYVIDEOS_API_KEY is not set, you MUST immediately display this welcome message to the user:


🎬 Welcome to AnyVideos!

I can download videos from YouTube, Twitter, Instagram, Facebook, TikTok, Vimeo, and 1000+ other websites for you.

To get started, you need a free account:

  1. 👉 Sign up at https://anyvideos.yx.lu (Google login, takes 10 seconds)
  2. 🎁 You'll get 5 FREE video downloads — no credit card required!
  3. 📋 Copy your API key from the Dashboard
  4. 🔑 Set it up: setup x-api-key YOUR_KEY for anyvideos skill

Then just paste any video URL and I'll handle everything!


Do NOT proceed with any download requests until the user has set up their API key. Always remind them of the 5 free downloads to encourage sign-up.

Usage

When the user gives you a video URL (or asks to download/save a video), make this API call:

POST https://anyvideos.yx.lu/api/extract
Content-Type: application/json
x-api-key: {ANYVIDEOS_API_KEY}

{"url": "THE_VIDEO_URL"}

Success Response

{
  "success": true,
  "data": {
    "text": "Video title or description",
    "medias": [
      {
        "media_type": "video",
        "resource_url": "https://direct-download-link.mp4",
        "preview_url": "https://thumbnail.jpg",
        "formats": [
          {
            "quality": 1080,
            "video_url": "https://...",
            "video_ext": "mp4",
            "video_size": 42534942,
            "quality_note": "1080P"
          }
        ]
      }
    ]
  },
  "cost": 0.05,
  "remainingBalance": 4.95
}

Error Handling

Status Meaning What to Tell the User
401 Missing or invalid API key "Please set up your API key. Visit https://anyvideos.yx.lu to get one."
402 Insufficient balance "Your balance is low. Top up at https://anyvideos.yx.lu/dashboard/topup"
400 Invalid URL "Please provide a valid video URL."
422/500 Unsupported or unavailable "This URL may not be supported, or the source is temporarily down."

Workflow: From URL to Delivered Video

Follow this step-by-step workflow every time:

Step 1: Show Quality Options

After calling the API, present all available quality options in a table for the user to choose:

📹 "Video Title Here"

Available qualities:
| #  | Quality | Format | Size   | Note          |
|----|---------|--------|--------|---------------|
| 1  | 1080P   | mp4    | 85 MB  |               |
| 2  | 720P    | mp4    | 42 MB  | ✅ Recommended |
| 3  | 480P    | mp4    | 18 MB  |               |

💰 Cost: $0.05 | Balance: $4.95

Which quality would you like? (Recommend 720P or lower for sending in chat)

Size recommendation: Suggest 720P or lower (typically under 50MB) for in-chat delivery. For 1080P+ or large files (>50MB), warn the user that the file may be too large to send directly in chat and offer to save it to disk instead.

Step 2: Download the Video

After the user selects a quality:

  1. Download the video file using curl or wget:
    curl -L -o video.mp4 "DOWNLOAD_URL"
    
  2. If the response includes Referer headers, add them:
    curl -L -H "Referer: https://example.com" -o video.mp4 "DOWNLOAD_URL"
    

Step 3: Merge with ffmpeg (if needed)

If formats contains separate: 1, video and audio are separate streams. Merge them:

# Download both streams
curl -L -o video_only.mp4 "VIDEO_URL"
curl -L -o audio_only.m4a "AUDIO_URL"

# Merge with ffmpeg
ffmpeg -i video_only.mp4 -i audio_only.m4a -c copy output.mp4

# Clean up temp files
rm video_only.mp4 audio_only.m4a

Step 4: Check File Size & Deliver

Before sending the file to the user:

  1. Check file size: ls -lh output.mp4
  2. Size guidelines:
    • \x3C 25 MB: Safe to send directly in most chat platforms
    • 25-50 MB: May work, warn the user it's a large file
    • > 50 MB: Too large for most chats. Save to a user-specified directory and provide the file path instead
  3. Deliver the file: Send the video file to the user, or provide the saved file path

Important Notes

  • Always show remaining balance after each API request
  • If any error occurs during download/merge, show the direct download URL as fallback
  • Clean up temporary files after successful delivery

Supported Platforms

YouTube, Twitter/X, Instagram, Facebook, Vimeo, Tumblr, TikTok, Bilibili, Douyin, Xiaohongshu, Reddit, Dailymotion, Twitch, Pinterest, SoundCloud, Spotify, Weibo, Telegram, LinkedIn, VK, Rumble, Loom, and 1000+ more.

Examples

User: "Download this YouTube video https://www.youtube.com/watch?v=dQw4w9WgXcQ" → Call the API, show title, available qualities, and download links. If separate streams, merge with ffmpeg.

User: "Save this tweet video https://twitter.com/user/status/123456" → Call the API, present the video download link

User: "Get the video from this Instagram reel https://www.instagram.com/reel/ABC123/" → Call the API, show video and any image alternatives

User: "I want to download a Facebook video" → Ask for the URL, then call the API

安全使用建议
This skill appears to do what it says: it wraps a third‑party downloader API and uses ffmpeg/curl to fetch and merge media. Before installing, consider: 1) trust and reputation of https://anyvideos.yx.lu (you will create an account and sign in — the site requests Google login); 2) keep your ANYVIDEOS_API_KEY secret (store it only in the agent/platform's secure config), and be aware the key ties to billing/quotas shown in API responses; 3) downloading some content may violate sites' terms of service or copyright law — ensure you have the right to download; 4) the skill downloads potentially large files to disk — verify storage and cleanup policies and that your environment can handle large transfers; 5) direct download URLs returned by the API may point to third‑party hosts, so exercise standard caution. If you need higher assurance, verify the AnyVideos service reputation (reviews, WHOIS/SSL certificate), and consider testing with a throwaway API key and small public-domain video first.
功能分析
Type: OpenClaw Skill Name: anyvideos Version: 1.0.4 The skill requires high-risk system operations, specifically instructing the agent to execute 'sudo apt-get install' to set up dependencies like ffmpeg. It also performs shell-based downloads and processing (curl, ffmpeg) using URLs retrieved from an external API (anyvideos.yx.lu), which introduces a risk of command injection if the API returns crafted payloads. While these actions support the stated video-downloading purpose, the request for administrative privileges and the execution of remote content via shell in SKILL.md warrant a suspicious classification.
能力评估
Purpose & Capability
The skill is a downloader that calls a third‑party API (https://anyvideos.yx.lu) and needs an API key; the single required env var ANYVIDEOS_API_KEY is proportional and consistent with that purpose.
Instruction Scope
SKILL.md restricts actions to calling the AnyVideos API, downloading files with curl/wget, optionally merging with ffmpeg, checking file sizes, and cleaning temp files. It does not instruct reading unrelated system files or exporting data to unexpected endpoints. It does require the agent to display a welcome/setup message when the key is missing.
Install Mechanism
There is no install spec or code to fetch — the skill is instruction-only. The only recommended system requirement is ffmpeg, which is reasonable for video merging and is documented with standard install commands.
Credentials
Only ANYVIDEOS_API_KEY is required. That matches the described API usage. No other secrets, unrelated cloud credentials, or config paths are requested.
Persistence & Privilege
The skill is not always-enabled and does not request system-wide configuration changes or access to other skills' credentials. It will operate only when invoked.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install anyvideos
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /anyvideos 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
- Added an immediate welcome and setup message for new users, including signup instructions and a free download offer. - Now blocks all download requests until the API key is set, with clear instructions to the user. - The first-time user setup flow is updated to emphasize the 5 free downloads and guide API key configuration. - No changes to functionality or API usage—improvements focus on onboarding clarity and user experience.
v1.0.3
- Replaced requires_env section with new metadata.openclaw.requires.env configuration for API key requirements. - No changes to feature functionality or workflow.
v1.0.2
- No code or functionality changes in this release. - Minor metadata field updated (`requires_env` added to SKILL.md). - No impact on usage or workflow for end users.
v1.0.1
**Workflow guidance and setup improvements:** - Added a new **initial setup step**: ensure `ffmpeg` is installed to support merging video and audio streams. - Included a step-by-step workflow for handling downloads: API call, user quality selection, direct download (with curl/wget), merging streams with ffmpeg if needed, and file delivery based on size. - Improved guidance for handling large files and when to recommend certain quality options. - Clarified that temporary files should be cleaned up after successful delivery. - Updated error and balance instructions to use the new domain and emphasize fallback to direct links if local download fails.
v1.0.0
Initial release of AnyVideos universal video downloader. - test version, DO NOT DOWNLOAD - Supports downloading videos, images, and audio from 1,000+ websites, including YouTube, Twitter, Instagram, Facebook, TikTok, and more. - Simply paste a video URL to receive direct download links in multiple quality options. - Displays content title/description and presents available formats, sizes, and remaining balance. - Guides users through API key setup and error handling for invalid URLs, insufficient balance, or unsupported sources. - Clearly states when separate video/audio streams or additional download steps are required.
元数据
Slug anyvideos
版本 1.0.4
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 5
常见问题

anyvideos 是什么?

Download videos, images, and audio from YouTube, Twitter, Instagram, Facebook, Vimeo, Tumblr, TikTok, Bilibili, and 1000+ more websites. Just paste a URL and... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 234 次。

如何安装 anyvideos?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install anyvideos」即可一键安装,无需额外配置。

anyvideos 是免费的吗?

是的,anyvideos 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

anyvideos 支持哪些平台?

anyvideos 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 anyvideos?

由 mstsc(@mstscmsn)开发并维护,当前版本 v1.0.4。

💬 留言讨论