rolandtolnay/llm-toolkit/research

Claude Code and agent skill by rolandtolnay/llm-toolkit

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Gather current information from the web using multiple sources in parallel. Use when the user needs facts, tools, best practices, or community opinions that may not be in training data. Triggers on: "search for", "look up", "find out", "what's the latest", "research".

Install

npx vskill@latest install rolandtolnay/llm-toolkit/research

SKILL.md

The same SKILL.md was published earlier as rolandtolnay/llm-toolkit/research.

<objective> Web research orchestration — find, verify, and structure information from online sources. Scales from quick single-source lookups to comprehensive multi-subagent investigations.

The user runs this instead of searching by hand because they expect deeper and more reliable results than a manual search: the answer usually feeds a decision, so a confident claim that is wrong or a well-known option that goes unmentioned costs more than a slower run. Source diversity and verification against primary sources are how the skill earns that trust.

This skill handles web research only. Claude handles codebase exploration natively — don't use this skill for questions answerable from the local project. When a request mixes both, explore the codebase with the usual tools, use this skill for the web part, and synthesize the two together.

The user's explicit instructions take precedence over anything in this skill. Ask the user a question only when the missing detail would change which sub-questions to pursue or what counts as done; otherwise state the assumption and proceed. </objective>

<cli_cheatsheet> Quick syntax reference — all commands on one line each.

Script path: ~/.agents/skills/research/scripts/research.py

uv run <script> ask "<query>" [--site S] [--recency R] [--after YYYY-MM-DD] [--before YYYY-MM-DD] [--no-cache]
uv run <script> search "<q1>" ["<q2>" ... up to 5] [--site S] [--recency R] [--after YYYY-MM-DD] [--before YYYY-MM-DD] [--country CC] [--limit N] [--no-cache]
uv run <script> google "<query>" [--region CC] [--recency R] [--page N] [--no-cache]
uv run <script> reason "<query>" [--site S] [--recency R] [--after YYYY-MM-DD] [--before YYYY-MM-DD] [--no-cache]
uv run <script> docs <lib> "<query>" [--max-tokens N] [--no-cache]
uv run <script> map <url> [--search KW] [--limit N] [--no-cache]
uv run <script> scrape <url> [--no-cache]
uv run <script> credits
uv run <script> config
uv run <script> audit [--days N] [--session S] [--detail]
uv run <script> prior "<query>" [--since S] [--limit N] [--min-score N]
--site: a real domain name like stripe.com or pay.uk (NOT topics/phrases). Repeatable.
--recency: preset window — hour | day | week | month | year. For custom ranges use --after/--before with YYYY-MM-DD dates.
Cost: search ~$0.005 per request (one request covers up to 5 queries) | ask ~$0.01 | reason ~$0.02-0.03 | google 1 SC credit | docs free | map/scrape 1 FC credit each | prior free (local)
`ask` and `reason` run Perplexity Agent API research loops (effort `low` and `medium`): the answer cites sources as `[web:N]`, and `sources` lists each `N` with its URL, title and date. `metadata.cost_usd` is the exact charge.
Also available: WebSearch (free, broad), WebFetch (free, page summary)
All CLI calls and WebSearch/WebFetch usage are logged to ~/.cache/research/logs/YYYY-MM-DD.jsonl
YouTube script: `~/.agents/skills/research/scripts/youtube.py`
uv run <yt-script> search "<query>" [--question Q] [--max-videos N] [--after today|this_week|this_month|this_year] [--no-preprocess] [--no-select]
uv run <yt-script> transcript <url> [--no-cache]
uv run <yt-script> comments <url> [--order top|newest] [--limit N] [--cursor C] [--no-cache]
Cost: ScrapeCreators PAYG when `SCRAPECREATORS_API_KEY` is configured (search cached 24h, transcripts 30d); otherwise free fallback via yt-dlp + youtube-transcript-api (`comments` has no free fallback). Pre-processing uses Claude subscription (claude -p).
Notes: `--after` only accepts `today`, `this_week`, `this_month`, `this_year`; `--max-videos` is a cap under ScrapeCreators first-page search; `metadata.backend` reports `scrapecreators`, `yt-dlp`, or `mixed`.
Social script: `~/.agents/skills/research/scripts/social.py`
uv run <social-script> reddit "<query>" [--question Q] [--subreddit S] [--timeframe all|day|week|month|year] [--sort relevance|new|top|comment_count] [--max-threads N] [--no-cache]
uv run <social-script> thread <url> [--max-comments N] [--cursor C] [--no-cache]
uv run <social-script> shortform "<query>" [--no-cache]
Reddit search defaults to the full archive (--timeframe all); narrow only when recency matters. `thread` fetches one thread at full fidelity (post body + nested comments).
Requires: SCRAPECREATORS_API_KEY in ~/.claude/research/.env. ScrapeCreators credits are abundant — use SC-backed commands freely whenever they fit the question; every response reports actual credits used.

</cli_cheatsheet>

<complexity_assessment> Before executing, decide the mode from the shape of the question:

QUICK — a single clear answer is expected ("what version of X is latest?", "does Y support Z?", "what's the URL for X?"). Resolve it directly, no subagents.

STANDARD / DEEP — the question has several information angles, asks for a comparison or recommendation, or depends on practitioner experience ("how do I set up X?", "what tools exist for Y?", "evaluate X vs Y for our use case"). Decompose it and run one subagent per sub-question; the number of subagents follows from the decomposition, not from a tier. </complexity_assessment>

<quick_mode> For QUICK complexity queries, resolve the lookup directly — no subagents, no run directory. Start with the tool that best fits the question (WebSearch or research google for discovery, research docs for library APIs, WebFetch/research scrape for a known page), and verify version numbers or feature claims against the primary source before answering. Done means: the answer comes from an authoritative source and specific claims are verified. </quick_mode>

<research_mode> For STANDARD and DEEP complexity queries:

STEP 1: DECOMPOSE

Analyze the question and generate 2-4 specific sub-questions. For each, assign a source strategy by fit — which surfaces would a capable human researcher actually consult for this sub-question? Combine official and community surfaces when both carry signal (e.g. legal research: official sources for the rules, communities for how they play out in practice).

Source menu (cost is not a selection criterion — ScrapeCreators credits are abundant and Perplexity calls cost cents; pick whatever fits):

  • Broad discovery: WebSearch, research google (real Google SERP; --region for country-specific topics), research search (Perplexity ranking). Different engines surface different results — use a second engine when the first pass looks thin.
  • Official/primary sources: WebFetch a known page, research scrape when pages are JS-heavy or block fetching, research map to find pages on a site, research docs for library APIs.
  • Synthesis and reasoning: research ask / research reason (Perplexity Agent API; reason chains several rounds of search and page fetching). Useful as a supplementary triangulation pass — treat the answer as tertiary evidence, never as the sole source for a claim; the returned sources list is what to verify against.
  • YouTube: youtube search when watching someone show, explain, or review would help (tutorials, talks, product reviews, "what is X actually like?"); youtube transcript <url> when a specific video is already known; youtube comments <url> for community corrections under a video you've used as evidence.
  • Reddit: social reddit when real people's experiences and recommendations matter ("best X for Y", troubleshooting, local knowledge, "has anyone tried X?"). Defaults to all-time search; add --timeframe only when recency genuinely matters. Follow up with social thread <url> to read a promising thread in full.
  • Short-form video: social shortform only when trends/viral consumer sentiment is clearly relevant.

Evidence rules (apply to every subagent):

  • Match rigor to stakes. For each sub-question, weigh what it costs if the answer is wrong or incomplete and how cheaply the decision it feeds can be reversed later. A claim behind a cheap-to-reverse decision is answered from one credible source; a load-bearing claim behind a costly or hard-to-reverse one gets independent corroboration and, for official features, prices, or laws, the canonical source. Put that judgment in the brief instead of a uniform source count.
  • Trust hierarchy: primary sources (official docs, source code, author's post) > secondary (well-known blogs, curated lists) > tertiary (Perplexity synthesis, random forum posts).
  • Every run includes at least one broad discovery pass so unknown-unknowns can surface, and what it surfaces is accounted for: in a comparison or recommendation, a candidate the pass turned up but didn't evaluate is named with the reason it was set aside. A cap on candidates bounds how many are evaluated in depth, not which ones may be considered.

STEP 2: CONSULT PRIOR RESEARCH

Skip if the configured research directory does not exist (default: ~/Documents/Research/; override with RESEARCH_DIR). Otherwise mandatory.

  1. Run research.py prior "<sub-question>" once per decomposed sub-question.

Add --since 6m for fast-moving topics (frameworks, APIs, market data).

  1. If results returned:

a. Read the top-scoring role: angle files first — they are shorter and directly comparable to your sub-question. b. Read matching role: synthesis files only when you need a decision-level summary or the angle files point to broader run context. c. Treat weak/default-threshold matches as leads, not coverage, until you read the file. Use --min-score 0 only when you intentionally want broad recall. d. Treat research older than ~6 months on fast-moving topics as context, not authority.

  1. Produce an explicit per-sub-question mapping before proceeding:
  • SQ-A "X pricing" → covered by 2026-03-12-x/02-pricing.md → DROP
  • SQ-B "X rate limits" → partial: free tier only → KEEP, narrow to paid
  • SQ-C "X webhooks" → no prior coverage → KEEP
  • SQ-D "X auth rotation" → new angle from 2026-03-12-x/03-auth.md → ADD
  1. If no results → state so and proceed to Step 3.
  2. Branch on the mapping:
  • All DROPPED → synthesize from prior files. No subagents. Cite prior files.
  • Some KEPT/ADDED → spawn subagents only for those. Paste relevant prior

angle-file excerpts into prompts as verified context to extend.

Without the explicit mapping, this step degenerates into a glance.

STEP 3: SPAWN SUBAGENTS

One research-subagent per retained sub-question, launched in parallel with the harness's delegation tools and its locally configured agent definition.

Sub-agents write their findings directly to files you assign. Do path coordination BEFORE spawning:

  1. Generate the run-id: YYYY-MM-DD-<3-5-word-kebab-slug>.
  2. Create the run directory: ~/Documents/Research/<run-id>/.
  3. For each sub-question, derive an angle slug (3-5 word kebab of the sub-question). Assemble target paths <run-dir>/0N-<angle-slug>.md starting at 01.

Each subagent prompt must include:

You are a research subagent investigating: [specific sub-question]
First, read ~/.agents/skills/research/references/cli-reference.md for full CLI details.
TARGET PATH: <absolute path, e.g. /Users/you/Documents/Research/<run-id>/0N-<angle-slug>.md>
SOURCE STRATEGY: [which commands + built-in tools fit THIS sub-question, and why]
STAKES: [what being wrong costs here and how reversible the downstream decision is; this sets the depth]
DONE WHEN: [the concrete comparison or decision this evidence must support]
BOUNDS: [scope and exclusions the user actually stated; what uncertainty to report rather than chase]

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
3

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rolandtolnay/llm-toolkit/research/badge)](https://verified-skill.com/skills/rolandtolnay/llm-toolkit/research)

Something wrong with this skill or its page? Tell us.