返回 last30days-skill
v2.1-launch-copy.md
根目录 / docs / v2.1-launch-copy.md
1 # v2.1 Launch Copy (DRAFT — do not publish)
2
3 ## Context
4
5 Bird CLI (@steipete/bird) has been deprecated on npm and the GitHub repo deleted. steipete was asked to take it down (likely by X). Nobody has forked and republished it. Our v2.1 vendors a search-only subset of Bird v0.8.0 (MIT licensed) so users don't need any external tools.
6
7 YouTube transcripts are the second headline feature. Inspired by Peter Steinberger's yt-dlp + summarize toolchain. We use yt-dlp directly (no summarize dependency) — search YouTube, grab transcripts, feed them into the synthesis. Zero API keys, zero cost.
8
9 ---
10
11 ## README: "New in V2.1" blurb
12
13 **New in V2.1 — two headline features:**
14
15 - **YouTube transcripts as a 4th source.** When yt-dlp is installed, /last30days automatically searches YouTube, grabs view counts, and extracts auto-generated transcripts from the top videos. A 20-minute review contains 10x the signal of a tweet — now the skill reads it. Inspired by @steipete's yt-dlp + summarize toolchain.
16 - **X search is fully bundled.** No external `bird` CLI install needed. Add `AUTH_TOKEN` and `CT0` once, and the vendored Bird client runs locally without browser-cookie prompts. `XAI_API_KEY` remains an optional fallback.
17
18 ---
19
20 ## README: X Search Authentication section
21
22 ### X Search Authentication
23
24 X search prefers explicit env auth. This keeps local runs headless and avoids browser-cookie and macOS Keychain prompts.
25
26 **Recommended setup:** While logged into x.com once, open browser dev tools and copy the `auth_token` and `ct0` cookies for `x.com`.
27
28 Save them as `AUTH_TOKEN` and `CT0` in `~/.config/last30days/.env` or `.claude/last30days.env`:
29 ```bash
30 AUTH_TOKEN=your_auth_token
31 CT0=your_ct0_token
32 ```
33
34 **xAI fallback:** If you do not want to provide `AUTH_TOKEN` and `CT0`, set `XAI_API_KEY` and use xAI's `x_search` backend instead.
35
36 **Verify it's working:**
37 ```bash
38 node ~/.claude/skills/last30days/scripts/lib/vendor/bird-search/bird-search.mjs --whoami
39 ```
40
41 ---
42
43 ## README: Install block env line
44
45 ```bash
46 AUTH_TOKEN=... # recommended for X search
47 CT0=... # recommended for X search
48 XAI_API_KEY=xai-... # optional X fallback
49 ```
50
51 ---
52
53 ## SKILL.md: Stats line
54
55 ```
56 ├─ 🔵 X: {N} posts │ {N} likes │ {N} reposts
57 ```
58
59 ---
60
61 ## GitHub issue #19 response (post AFTER publishing)
62
63 > Thanks for reporting this. Bird CLI was deprecated and the GitHub repo was deleted. steipete was asked to take it down.
64 >
65 > The good news: you don't need Bird anymore. v2.1 (just shipped) bundles X search directly. No external CLI, no `npm install`, no brew. Just Node.js 22+ plus `AUTH_TOKEN` and `CT0`, or `XAI_API_KEY` as fallback.
66 >
67 > It also adds **YouTube as a 4th source**. When yt-dlp is installed, the skill automatically searches YouTube and extracts transcripts from the top videos. A 20-minute tutorial has 10x the signal of a tweet, and now the synthesis engine reads it.
68 >
69 > The recommended setup is to copy `auth_token` and `ct0` from x.com once and store them as `AUTH_TOKEN` and `CT0` in your env. That avoids browser-cookie and Keychain prompts during normal runs.
70 >
71 > The xAI API (`XAI_API_KEY`) also still works as a fallback.
72
73 ---
74
75 ## X/Social launch post
76
77 ### Short (280 chars)
78
79 /last30days v2.1 is out 🚀
80
81 Two new features:
82 → YouTube transcripts as a 4th source (yt-dlp)
83 → X search fully bundled (no bird CLI install needed)
84
85 Research any topic across Reddit, X, YouTube & web in one command.
86
87 h/t @steipete for the inspiration on both.
88
89 github.com/mvanhorn/last30days-skill
90
91 ### Thread version (post 1)
92
93 /last30days v2.1 just shipped — two headline features:
94
95 1️⃣ YouTube transcripts as a 4th source
96 When yt-dlp is installed, the skill searches YouTube, grabs view counts, and extracts auto-generated transcripts from top videos. A 20-min review has 10x the signal of a tweet — now the synthesis reads it.
97
98 ### Thread version (post 2)
99
100 2️⃣ X search is fully bundled
101 Bird CLI was deprecated. Instead of requiring an external tool, v2.1 vendors a search-only subset. Add `AUTH_TOKEN` and `CT0` once, then it runs locally with no npm install. `XAI_API_KEY` still works as fallback.
102
103 Both features inspired by @steipete's tooling.
104
105 ### Thread version (post 3)
106
107 YouTube goes through the same scoring pipeline as Reddit and X — relevance, recency, engagement. Transcripts get truncated to ~500 words per video and fed into the synthesis engine alongside social posts.
108
109 Zero API keys for YouTube. Zero cost. Just `brew install yt-dlp`.
110
111 ### Thread version (post 4)
112
113 Try it:
114 ```
115 /last30days [any topic]
116 ```
117
118 Reddit + X + YouTube + Web. Four sources, one command, copy-paste prompts.
119
120 github.com/mvanhorn/last30days-skill
121
121 lines MARKDOWN