translate-mom-tweets
npx skills add https://github.com/montagao/skills --skill translate-mom-tweets
Agent 安装分布
Skill 文档
Translate Mom Tweets
Generate scroll-stopping tweet drafts for translated video content from the translate.mom platform.
Workflow
1. Fetch tasks
Run the fetch script to get the day’s top tasks (defaults to today):
./scripts/fetch_tasks.sh # today
./scripts/fetch_tasks.sh 2026-02-23 # specific date
API: GET http://plausible.translate.mom:8001/top-tasks?date=YYYY-MM-DD
Override the base URL with TRANSLATE_MOM_API env var if needed.
Response shape:
{
"tasks": [{
"id": "...",
"videoUrl": "...",
"thumbnailUrl": "...",
"viewCount": 123,
"srtFiles": { "en": "https://...srt-url..." },
"targetLanguage": "en",
"status": "...",
"sourceUrl": "..."
}]
}
- Returns up to 20 tasks ordered by
viewCountdescending srtFilesis a map of{ languageCode: srtUrl }sourceUrlis the original video link (use this in the tweet)
2. Fetch SRT content
For each task, download the SRT for the targetLanguage to understand the video content:
./scripts/fetch_srt.sh "https://...srt-url..."
This strips timestamps and outputs dialogue text only. Read the dialogue to identify the most dramatic, funny, or shocking moment.
3. Generate tweet draft
For each task, write one tweet following this structure:
- Hook line â the single most dramatic moment from the subtitles. Use real names if they appear in the subtitles, otherwise fall back to “this man”, “this woman”, “she”, “he”. Must trigger curiosity. One emoji max.
- Context line â 1-2 sentences of setup. What happened, why it matters.
- CTA line â mention the target language translation. One emoji. Include
[video link]placeholder (the user will replace withsourceUrlor their preferred link).
Constraints:
- Total tweet must be under 280 characters
- No more than 1 emoji per line
- The hook must make someone stop scrolling â if you’d scroll past it, rewrite it
- Always emphasize that the video is translated to [targetLanguage]
For detailed examples and style patterns, read references/tweet_examples.md.
4. Output format
Present results as a numbered list:
## Tweets for 2026-02-23 (X tasks found)
### 1. [brief video description]
Views: 12,345 | Language: English
> This man told his boss exactly what he thinks... on camera ð³
>
> A factory worker finally snaps after months of unpaid overtime. The whole shop floor watched.
>
> Fully translated to English ð¬
> [video link]
Source: [sourceUrl]
---
If srtFiles is empty for a task, skip it and note “No subtitles available” in the output.