ljg-x-download
ljg-x-download
從 X (Twitter) 連結下載圖片或影片到 ~/Downloads。
依賴
yt-dlp(已安裝)
執行流程
1. 解析輸入
從使用者輸入中提取 X/Twitter URL。支援的格式:
https://x.com/user/status/123456https://twitter.com/user/status/123456https://mobile.twitter.com/user/status/123456- 帶查詢引數的 URL(yt-dlp 自動處理
?s=20等追蹤引數)
縮短連結(t.co)先解析:curl -Ls -o /dev/null -w '%{url_effective}' "SHORT_URL"
More from yelban/ljg-skills.tw
ljg-card
Content caster (鑄). Transforms content into PNG visuals. Six molds: -l (default) long reading card, -i infograph, -m multi-card reading cards (1080x1440), -v visual sketchnote, -c comic (manga-style B&W), -w whiteboard (marker-style board layout). Output to ~/Downloads/. Use when user says '鑄', 'cast', '做成圖', '做成卡片', '做成資訊圖', '做成海報', '視覺筆記', 'sketchnote', '漫畫', 'comic', 'manga', '白板', 'whiteboard'. Replaces ljg-cards and ljg-infograph.
5ljg-word
Deep-dive English word mastery tool. Deconstructs a single English word into core semantics and epiphany. Use when user asks to explain/master a specific English word.
5ljg-rank
給一個領域,找出背後真正撐著它的幾根獨立的力。十幾個現象砍到不可再少的生成器——砍完能把現象一個個生回來,才算數。Use when user says '降秩', '找秩', '秩是什麼', '這個領域靠什麼撐著', '背後是什麼', or wants to decompose any domain to its irreducible generators.
5ljg-writes
寫作引擎。帶著一個觀點出發,在寫的過程中把它想透。
5ljg-plain
Cognitive atom: Plain (白). Rewrites any content so a smart 12-year-old groks it. Structure-free — form follows content. Use when user says '白話說', '說人話', '解釋一下', 'plain', 'grok'.
5ljg-travel
Deep travel research workflow for museums and ancient architecture. Input a city name, auto-generates structured knowledge document (org-mode) + portable reference cards (PNG). Covers historical background, museum highlights, archaeological significance, and architectural heritage. Use when user says '旅行研究', '博物館功課', '古建功課', 'travel research', '出發前功課', or provides a city name with intent to do deep cultural travel preparation.
5