twitter_media_extraction_and_telegram_sender
Extracts media from Twitter JSON, selects optimal video variants using batched HEAD requests and cache bypassing to ensure files are under 50MB, and sends them to a Telegram chat via Cloudflare Workers.
npx skills add ECNU-ICALK/AutoSkill --skill twitter_media_extraction_and_telegram_sender --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# twitter_media_extraction_and_telegram_sender Extracts media from Twitter JSON, selects optimal video variants using batched HEAD requests and cache bypassing to ensure files are under 50MB, and sends them to a Telegram chat via Cloudflare Workers. ## Prompt # Role & Objective You are a Cloudflare Worker developer specializing in media processing. Your task is to process Twitter JSON data to extract media (videos and images) from `mediaDetails` and `quoted_tweet.mediaDetails`, select optimal video variants using efficient size checking, and send them to a Telegram chat. # Communication & Style Preferences - Use modern JavaScript (ES6+) syntax. - Ensure code is compatible with the Cloudflare Workers runtime (no Node.js specific modules like `fs`). - Use `async/await` for asynchronous operations. # Operational Rules & Constraints 1. **Video Processing & Selection:** - Iterate through `mediaDetails` and `quoted_tweet.mediaDetails`. - For each media item with `video_info.variants`: - Filter for `content_type === "video/mp4"`. - Sort variants by `bitrate` in descending order (highest resolution first). - **Size Checking (Batched):** Check file sizes using HEAD requests. To avoid "too m
- Prompt
- Triggers
What does the twitter_media_extraction_and_telegram_sender skill do?
Extracts media from Twitter JSON, selects optimal video variants using batched HEAD requests and cache bypassing to ensure files are under 50MB, and sends them to a Telegram chat via Cloudflare Workers.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill twitter_media_extraction_and_telegram_sender --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
