src/skills/optional/twitter-media/SKILL.md
This skill should be used when the task involves an x.com or twitter.com post URL and the model needs to extract tweet text, images, videos, or thumbnails without guessing page content.
npx skillsauth add 42atom/msgcode twitter-mediaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
从 Twitter/X 链接中提取文本和媒体信息。
x.com 或 twitter.com 链接优先使用公开 fxtwitter 风格接口,不要直接硬抓 Twitter 页面。
最小流程:
username 和 status idhttps://api.fxtwitter.com/<username>/status/<status-id>tweet.texttweet.authortweet.mediaURL="https://x.com/username/status/123456789?s=20"
CLEAN=$(echo "$URL" | sed 's/[?#].*//' | sed 's:/*$::')
USERNAME=$(echo "$CLEAN" | grep -oE '(twitter\\.com|x\\.com)/[^/]+' | sed 's#.*\\/##')
TWEET_ID=$(echo "$CLEAN" | grep -oE 'status/[0-9]+' | sed 's#status/##')
curl -s "https://api.fxtwitter.com/${USERNAME}/status/${TWEET_ID}"
data-ai
This skill should be used when the model needs detailed image understanding beyond the system preview summary, and needs a provider-neutral capability index.
development
# todo skill 触发:任务记录、查看待办、标记完成。 优先入口:`~/.config/msgcode/skills/todo/main.sh` 默认 workspace:当前目录 `$PWD`(可被 `--workspace` 覆盖)。 常用: - `bash ~/.config/msgcode/skills/todo/main.sh add "补充测试报告" --json` - `bash ~/.config/msgcode/skills/todo/main.sh list --json` - `bash ~/.config/msgcode/skills/todo/main.sh done <taskId> --json`
development
# thread skill 触发:查看/切换会话线程,读取线程消息。 优先入口:`msgcode thread ...` 常用: - `msgcode thread list --json` - `msgcode thread active --json` - `msgcode thread messages <thread-id> --limit 20 --json` - `msgcode thread switch <thread-id> --json`
development
This skill should be used when the model needs to create, inspect, enable, disable, or remove recurring schedules in msgcode, or when diagnosing schedule state in the current workspace.