{"slug":"research-sources-2","title":"research-sources","summary":"Use for direct reads or searches web search misses on X/Twitter, LinkedIn posts, Reddit and Hacker News, YouTube videos and transcripts, or Apple App Store reviews. Also checks which sources work.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-11-29T00:26:26.646725Z","repo":{"url":"https://github.com/SamuelZ12/research-sources","stars":330,"forks":16,"license":"MIT","updatedAt":"2026-11-28T23:45:01Z"},"bodyHtml":"<hr>\n<h2>name: research-sources\ndescription: Use for direct reads or searches web search misses on X/Twitter, LinkedIn posts, Reddit and Hacker News, YouTube videos and transcripts, or Apple App Store reviews. Also checks which sources work.</h2>\n<h1>research-sources (<code>rsrc</code>)</h1>\n<p><code>rsrc</code> is read-only. For GitHub, use the <code>gh</code> CLI. Web search covers everything else.</p>\n<p>Run <code>rsrc …</code>. If <code>rsrc</code> is not on PATH, ask the user to install it (<code>uv tool install git+https://github.com/SamuelZ12/research-sources</code>). <code>rsrc &lt;channel&gt; [&lt;action&gt;] --help</code> lists every flag.</p>\n<h2>Pick the channel</h2>\n<p>Before your first command on a channel, read that channel's file. The files are in <code>references/</code>, next to this file. Each one says what the commands return, what they leave out, and the request limits that protect the user's accounts.</p>\n<table>\n<thead>\n<tr>\n<th>Question</th>\n<th>Command</th>\n<th>Read first</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>What people on X think about a topic</td>\n<td><code>rsrc x search QUERY --since YYYY-MM-DD</code></td>\n<td><code>references/x.md</code></td>\n</tr>\n<tr>\n<td>A specific x.com or twitter.com post or article</td>\n<td><code>rsrc x read URL_OR_ID [URL_OR_ID …]</code></td>\n<td><code>references/x.md</code></td>\n</tr>\n<tr>\n<td>A self-thread: every post the author chained under one post</td>\n<td><code>rsrc x thread URL_OR_ID</code></td>\n<td><code>references/x.md</code></td>\n</tr>\n<tr>\n<td>Replies to a post</td>\n<td><code>rsrc x replies URL_OR_ID [--rank likes\\|recency] [--limit 100]</code></td>\n<td><code>references/x.md</code></td>\n</tr>\n<tr>\n<td>Who an X account is and what it posts</td>\n<td><code>rsrc x timeline HANDLE_OR_URL [--limit 20]</code></td>\n<td><code>references/x.md</code></td>\n</tr>\n<tr>\n<td>What people on Reddit say about a topic</td>\n<td><code>rsrc reddit search QUERY [--subreddit NAME] [--time hour\\|day\\|week\\|month\\|year\\|all] [--sort relevance\\|hot\\|top\\|new\\|comments] [--limit 25] [--with-comments [N]]</code> (default past month, relevance)</td>\n<td><code>references/reddit.md</code></td>\n</tr>\n<tr>\n<td>One Reddit thread or focused comment</td>\n<td><code>rsrc reddit read URL_OR_ID [--sort top\\|best\\|new\\|controversial\\|old\\|qa] [--comments 50] [--backend ego-browser\\|arctic-shift]</code></td>\n<td><code>references/reddit.md</code></td>\n</tr>\n<tr>\n<td>Hacker News stories on a topic</td>\n<td><code>rsrc hn search QUERY --since YYYY-MM-DD [--until YYYY-MM-DD] [--sort relevance\\|date] [--limit 30]</code></td>\n<td><code>references/hn.md</code></td>\n</tr>\n<tr>\n<td>One Hacker News thread, with up to 1000 comments</td>\n<td><code>rsrc hn read URL_OR_ID [--comments 50]</code></td>\n<td><code>references/hn.md</code></td>\n</tr>\n<tr>\n<td>YouTube videos on a topic</td>\n<td><code>rsrc youtube search QUERY [--limit 10]</code></td>\n<td><code>references/youtube.md</code></td>\n</tr>\n<tr>\n<td>One YouTube video: its details and its transcript</td>\n<td><code>rsrc youtube read URL_OR_ID [--words 5000]</code></td>\n<td><code>references/youtube.md</code></td>\n</tr>\n<tr>\n<td>App Store listings and written reviews in a storefront</td>\n<td><code>rsrc appstore search NAME [--country CC]</code>, <code>rsrc appstore read ID_OR_URL_OR_NAME [--country CC] [--sort helpful] [--limit N] [--max-requests N]</code></td>\n<td><code>references/appstore.md</code></td>\n</tr>\n<tr>\n<td>A public LinkedIn post and its comments</td>\n<td><code>rsrc linkedin read URL</code></td>\n<td><code>references/linkedin.md</code></td>\n</tr>\n<tr>\n<td>Which channels work right now</td>\n<td><code>rsrc check [CHANNEL …]</code></td>\n<td>\"Act on the result\" below</td>\n</tr>\n</tbody>\n</table>\n<p>No command searches several sites at once. For \"what are people saying about TOPIC lately\", choose channels by question from the table. Nothing merges, ranks or filters across channels: each list is that site's own results in that site's order. For \"A vs B\", search each side.</p>\n<h2>Read the envelope</h2>\n<p>Every command prints exactly one JSON object on stdout.</p>\n<ul>\n<li><code>ok</code>, <code>error</code> (<code>null</code> or <code>{\"code\", \"message\"}</code>), and <code>items</code>. Each item has <code>id</code>, <code>url</code>, <code>title</code>, <code>author</code>, <code>published_at</code>, <code>text</code>, <code>source</code>, <code>engagement</code> and <code>raw</code>. A missing top-level item field is <code>null</code>. Engagement counts are live.</li>\n<li><code>meta.sources</code> (<code>check</code> only): the outcome per channel, <code>ok</code> or an error code. <code>ok</code> can be true while some channels failed, so read every entry.</li>\n<li><code>meta.failed</code> (<code>x read</code>): <code>{\"input\", \"code\", \"message\"}</code> per post that could not be read. The other posts still came back. While at least one post comes back, <code>error</code> stays <code>null</code> and the exit is <code>0</code>. Only when every post fails does <code>error</code> carry the first failure (exit <code>1</code>, or <code>2</code> for <code>usage</code>). A rate limit overrides partial success: the command exits 1 and keeps the posts read so far.</li>\n<li><code>meta.rejected</code>: <code>{\"url\", \"reason\"}</code> items dropped as <code>blocked_page</code> or <code>url_mismatch</code>. Never quote them.</li>\n<li><code>meta.truncated: \"request_cap\"</code>: the request budget ran out. Check <code>error</code> and which items arrived before you use a partial answer.</li>\n<li><code>meta.notes</code>: upstream notes, for example <code>N post(s) outside their date window dropped</code>.</li>\n<li>On a failure midway, partial results stay in <code>items</code> and are usable.</li>\n</ul>\n<p><strong>Cite only URLs this tool returned in <code>items</code>.</strong> An x.com URL from anywhere else (Grok, a web page, a summary) gets checked with <code>rsrc x read</code> before you quote or count it.</p>\n<h2>Act on the result</h2>\n<table>\n<thead>\n<tr>\n<th>Exit</th>\n<th>Meaning</th>\n<th>Action</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>0</code></td>\n<td>At least one item</td>\n<td>Use <code>items</code>. Still check <code>meta.failed</code>, <code>meta.truncated</code>, <code>meta.sources</code> for <code>check</code>, and <code>raw.transcript.status</code> for <code>youtube read</code></td>\n</tr>\n<tr>\n<td><code>66</code></td>\n<td>Ran fine, zero items</td>\n<td>Report it as empty for that query or window. Broaden the query once at most</td>\n</tr>\n<tr>\n<td><code>2</code></td>\n<td><code>usage</code> or <code>config</code> (may include App Store candidates)</td>\n<td>See <code>error.code</code> below</td>\n</tr>\n<tr>\n<td><code>1</code></td>\n<td>Runtime failure</td>\n<td>See <code>error.code</code> below. Use any partial <code>items</code></td>\n</tr>\n</tbody>\n</table>\n<p>The channel's file lists the messages that change an action below. Check it before you rerun.</p>\n<table>\n<thead>\n<tr>\n<th><code>error.code</code></th>\n<th>Action</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>usage</code></td>\n<td>Fix the arguments from <code>error.message</code> and rerun once</td>\n</tr>\n<tr>\n<td><code>config</code></td>\n<td>Stop that channel. Ask the user to apply the exact fix the message prints (for example a <code>chmod</code>, a missing program or cookie). Do not apply it yourself</td>\n</tr>\n<tr>\n<td><code>auth_failed</code></td>\n<td>Stop that channel (scope below). Ask the user to sign in again on the route the channel's file names</td>\n</tr>\n<tr>\n<td><code>rate_limited</code></td>\n<td>Stop that channel (scope below) for the rest of the session. Never retry or route around it</td>\n</tr>\n<tr>\n<td><code>blocked</code></td>\n<td>Access was refused or the source returned a block page. Treat it as unreadable (scope below)</td>\n</tr>\n<tr>\n<td><code>url_mismatch</code></td>\n<td>The returned item or storefront did not match the request. Discard it</td>\n</tr>\n<tr>\n<td><code>not_found</code></td>\n<td>Report what the source could establish for this account or storefront. Include the specific reason when supplied</td>\n</tr>\n<tr>\n<td><code>upstream_error</code></td>\n<td>Rerun once. If it repeats, report the channel as failing</td>\n</tr>\n<tr>\n<td><code>network_error</code></td>\n<td>Rerun once. If it repeats, report the channel as unreachable</td>\n</tr>\n<tr>\n<td><code>timeout</code></td>\n<td>Report it. Rerun once only if the question needs that channel</td>\n</tr>\n</tbody>\n</table>\n<p><strong>Stop scope.</strong> A stop lasts for the session.</p>\n<ul>\n<li><strong>X.</strong> Use the envelope's <code>backend</code> to identify which backend stopped. A stop from FxTwitter (<code>search</code>, <code>read</code>, <code>thread</code>, <code>replies</code> or <code>timeline</code>) ends all <code>rsrc x</code>. After a signed-in X backend stops, avoid that account on both search and timeline. <code>x read</code> and <code>x replies</code> may verify specific URLs, and never stand in for a search. <code>blocked</code> on <code>x read</code> or <code>check --live-x</code> covers that one post only.</li>\n<li><strong>Reddit.</strong> <code>rate_limited</code> or <code>blocked</code> stops all Reddit access: <code>rsrc reddit</code> and any Reddit page in Ego, which share the same browser and account.</li>\n<li><strong>YouTube.</strong> <code>rate_limited</code> or <code>blocked</code> stops all <code>rsrc youtube</code>, search and <code>check youtube</code> included. A <code>source_blocked</code> transcript status counts as <code>blocked</code>.</li>\n<li><strong>LinkedIn.</strong> <code>blocked</code>, <code>rate_limited</code> or <code>auth_failed</code> stops LinkedIn access, including <code>check linkedin</code> and a bare <code>rsrc check</code>, which read a public post.</li>\n<li><strong>Hacker News and the App Store.</strong> <code>rate_limited</code> stops the whole channel.</li>\n</ul>\n<p><strong>Check.</strong> After an unexpected failure, check the affected channel by name. Skip channels already stopped. A bare <code>rsrc check</code> probes a public LinkedIn post, a public App Store search, the HN front page, YouTube metadata through yt-dlp, local X settings and the local Ego Lite connection (without Ego Lite, one archived Reddit thread from Arctic Shift). <code>--live-x</code> adds a public post read, and a FxTwitter search if FxTwitter is in the search order. It never proves signed-in X search. <code>--live-reddit</code> adds a Reddit search page in Ego Lite.</p>\n","files":[{"path":"references/appstore.md","sizeBytes":1196,"isText":true},{"path":"references/hn.md","sizeBytes":2003,"isText":true},{"path":"references/linkedin.md","sizeBytes":1159,"isText":true},{"path":"references/reddit.md","sizeBytes":4437,"isText":true},{"path":"references/x.md","sizeBytes":9748,"isText":true},{"path":"references/youtube.md","sizeBytes":3401,"isText":true},{"path":"SKILL.md","sizeBytes":7740,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-11-29T00:26:35.970048Z","sha256":"ECB9F8F519B9554AB8E611AEE7342F02AD11E272A15B12D78BAFC077500119DE","sizeBytes":13979},"review":null,"source":{"repositoryUrl":"https://github.com/SamuelZ12/research-sources","path":"skills/research-sources","license":"MIT","commit":"05ad5fe91cae70853c5bbd677a15a2b50f834182","subtreeSha":"78F76FEB4A824274B64AA8E24C3ADADDDE1066FBBE15CCBC6828A85A6C3F7BCD","lastSyncedAt":"2026-11-29T00:26:26.642775Z"},"reviewedAt":"2026-11-29T00:26:55.591246Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/SamuelZ12/research-sources/tree/main/skills/research-sources"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install samuelz12-research-sources@llmmart"},{"target":"git","command":"git clone https://github.com/SamuelZ12/research-sources.git"}]}