← LeaderboardThe Skill Leaderboard

research-sources

Use for direct reads or searches web search misses on X/Twitter, LinkedIn posts and profiles, Instagram posts and reels, Reddit and Hacker News, YouTube videos and transcripts, or Apple App Store reviews. Also checks which sources work.

Published by SamuelZ12 ↗SamuelZ12/research-sources

Try your first task

A source-grounded starter task has not been verified for this skill yet.

SKILL.md

name: research-sourcesdescription: Use for direct reads or searches web search misses on X/Twitter, LinkedIn posts and profiles, Instagram posts and reels, Reddit and Hacker News, YouTube videos and transcripts, or Apple App Store reviews. Also checks which sources work.

research-sources (rsrc)

rsrc is read-only. For GitHub, use the gh CLI. Web search covers everything else.

Run rsrc …. If rsrc is not on PATH, ask the user to install it (uv tool install research-sources). rsrc <channel> [<action>] --help lists every flag. A usage error with invalid choice on a command from this file means an old install: run uv tool upgrade research-sources.

Pick the channel

Before your first command on a channel, read that channel's file. The files are in references/, 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.

QuestionCommandRead first
What people on X think about a topicrsrc x search QUERY --since YYYY-MM-DDreferences/x.md
A specific x.com or twitter.com post or articlersrc x read URL_OR_ID [URL_OR_ID …]references/x.md
A self-thread: every post the author chained under one postrsrc x thread URL_OR_IDreferences/x.md
Replies to a postrsrc x replies URL_OR_ID [--rank likes|recency] [--limit 100]references/x.md
Who an X account is and what it postsrsrc x timeline HANDLE_OR_URL [--limit 20]references/x.md
What people on Reddit say about a topicrsrc reddit search QUERY [--subreddit NAME] [--time hour|day|week|month|year|all] [--sort relevance|hot|top|new|comments] [--limit 25] [--with-comments [N]] (default past month, relevance)references/reddit.md
One Reddit thread or focused commentrsrc reddit read URL_OR_ID [--sort top|best|new|controversial|old|qa] [--comments 50] [--backend ego-browser|arctic-shift]references/reddit.md
Hacker News stories on a topicrsrc hn search QUERY --since YYYY-MM-DD [--until YYYY-MM-DD] [--sort relevance|date] [--limit 30]references/hn.md
One Hacker News thread, with up to 1000 commentsrsrc hn read URL_OR_ID [--comments 50]references/hn.md
YouTube videos on a topicrsrc youtube search QUERY [--limit 10]references/youtube.md
One YouTube video: its details and its transcriptrsrc youtube read URL_OR_ID [--words 5000]references/youtube.md
App Store listings and written reviews in a storefrontrsrc appstore search NAME [--country CC], rsrc appstore read ID_OR_URL_OR_NAME [--country CC] [--sort helpful] [--limit N] [--max-requests N]references/appstore.md
A public LinkedIn post and its commentsrsrc linkedin read URLreferences/linkedin.md
Who a LinkedIn profile belongs to: name, company, location, first school, followersrsrc linkedin profile URLreferences/linkedin.md
A public Instagram post or reel and its mediarsrc instagram read URL [--download DIR]references/instagram.md
Which channels work right nowrsrc check [CHANNEL …]"Act on the result" below

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.

Read the envelope

Every command prints exactly one JSON object on stdout.

  • ok, error (null or {"code", "message"}), and items. Each item has id, url, title, author, published_at, text, source, engagement and raw. A missing top-level item field is null. Engagement counts are live.
  • meta.sources (check only): the outcome per channel, ok or an error code. ok can be true while some channels failed, so read every entry.
  • meta.failed (x read): {"input", "code", "message"} per post that could not be read. The other posts still came back. While at least one post comes back, error stays null and the exit is 0. Only when every post fails does error carry the first failure (exit 1, or 2 for usage). A rate limit overrides partial success: the command exits 1 and keeps the posts read so far.
  • meta.rejected: {"url", "reason"} items dropped as blocked_page or url_mismatch. Never quote them.
  • meta.truncated: "request_cap": the request budget ran out. Check error and which items arrived before you use a partial answer.
  • meta.notes: upstream notes, for example N post(s) outside their date window dropped. A note that a newer rsrc is out ends with the command that updates it: run it.
  • On a failure midway, partial results stay in items and are usable.

Cite only URLs this tool returned in items. An x.com URL from anywhere else (Grok, a web page, a summary) gets checked with rsrc x read before you quote or count it.

Act on the result

ExitMeaningAction
0At least one itemUse items. Still check meta.failed, meta.truncated, meta.sources for check, and raw.transcript.status for youtube read
66Ran fine, zero itemsReport it as empty for that query or window. Broaden the query once at most
2usage or config (may include App Store candidates)See error.code below
1Runtime failureSee error.code below. Use any partial items

The channel's file lists the messages that change an action below. Check it before you rerun.

error.codeAction
usageFix the arguments from error.message and rerun once
configStop that channel. Ask the user to apply the exact fix the message prints (for example a chmod, a missing program or cookie). Do not apply it yourself
auth_failedStop that channel (scope below). Ask the user to sign in again on the route the channel's file names
rate_limitedStop that channel (scope below) for the rest of the session. Never retry or route around it
blockedAccess was refused or the source returned a block page. Treat it as unreadable (scope below)
url_mismatchThe returned item or storefront did not match the request. Discard it
not_foundReport what the source could establish for this account or storefront. Include the specific reason when supplied
upstream_errorRerun once. If it repeats, report the channel as failing
network_errorRerun once. If it repeats, report the channel as unreachable
timeoutReport it. Rerun once only if the question needs that channel

Stop scope. A stop lasts for the session.

  • X. Use the envelope's backend to identify which backend stopped. A stop from FxTwitter (search, read, thread, replies or timeline) ends all rsrc x. After a signed-in X backend stops, avoid that account on both search and timeline. x read and x replies may verify specific URLs, and never stand in for a search. blocked on x read or check --live-x covers that one post only.
  • Reddit. rate_limited or blocked stops all Reddit access: rsrc reddit and any Reddit page in Ego, which share the same browser and account.
  • YouTube. rate_limited or blocked stops all rsrc youtube, search and check youtube included. A source_blocked transcript status counts as blocked.
  • LinkedIn. blocked, rate_limited or auth_failed stops LinkedIn access, including check linkedin and a bare rsrc check, which read a public post.
  • Instagram. blocked, rate_limited or auth_failed stops Instagram reads and check instagram. The public read needs no login.
  • Hacker News and the App Store. rate_limited stops the whole channel.

Check. After an unexpected failure, check the affected channel by name. Skip channels already stopped. A bare rsrc check 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). --live-x adds a public post read, and a FxTwitter search if FxTwitter is in the search order. It never proves signed-in X search. --live-reddit adds a Reddit search page in Ego Lite. rsrc check instagram probes one public post and its FastDL media links. The bare check skips Instagram.

research-sources by SamuelZ12 · The Skill Leaderboard