/just-in-time-research:zen-of-searchfrom just-in-time-research
Retrieve external information when a task needs current facts, source discovery, URL reading, site exploration, or claim verification, even without an explicit search request. Favor Exa for discovery, Firecrawl CLI for acquisition, Tavily as an independent path, compose tools across stages, inspect sources, stop at sufficiency.
Ships in just-in-time-research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Search is not link collection. Reduce uncertainty until you have enough evidence to answer, decide, or continue the real task.
Works with equivalent search and retrieval tools. Firecrawl examples assume the Firecrawl CLI is installed and authenticated.
Identify what is missing before choosing a tool:
Treat freshness, exact identifiers, domain scope, language, geography, and source quality as constraints on those problems rather than separate workflows.
Choose the best capability for the next information gap, not one tool for the whole task. Non-trivial search work often benefits from handing evidence between complementary tools: discover broadly with one system, acquire the underlying source with another, then verify remaining uncertainty through an independent path.
Useful combinations include:
Do not invoke multiple tools merely for provider diversity. Combine them when each one resolves a different remaining uncertainty. A simple lookup may need one tool; a serious research task may naturally use several.
These roles overlap. Follow capabilities rather than brands, and use an equivalent tool when the current environment offers a shorter or better route.
Use Firecrawl progressively; these are common primitives, not a mandatory pipeline.
# General web search
firecrawl search "query"
# Bound result count
firecrawl search "query" --limit 10
# Recent news / time-bounded search
firecrawl search "query" --sources news --tbs qdr:w
# Search and retrieve result content
firecrawl search "query" --scrape
# Programming-oriented search: issues, merged PRs, READMEs, docs
firecrawl search "query" --categories developer
# Read a known page
firecrawl scrape https://example.com
# Discover relevant URLs on a site
firecrawl map https://example.com --search "docs"
# Retrieve multiple pages when they are genuinely needed
firecrawl crawl https://example.com --limit 50 --max-depth 2 --wait
# Search the research-paper index
firecrawl research search-papers "query" --limit 20
# Inspect / expand / verify a strong paper
firecrawl research inspect-paper <paper-id>
firecrawl research related-papers <paper-id> --intent "question"
firecrawl research read-paper <paper-id> --question "claim to verify"
# Search GitHub issue / PR history and repository READMEs
firecrawl research search-github "query" --limit 10
# Interact with the last scraped page when static retrieval is insufficient
firecrawl interact "Extract the pricing table"
# Check current flags and capabilities
firecrawl <command> --help
A useful escalation intuition is search → scrape → map → crawl → interact: move deeper only when the current level cannot resolve the uncertainty, and skip levels freely.
Make each additional retrieval action answer a different remaining question. If a search stalls, diagnose what failed — query wording, source class, retrieval mode, page access, freshness, or the assumption behind the search — and change that dimension rather than repeating the same action elsewhere.
Treat search results and snippets as pointers. Inspect the underlying source before relying on a claim that carries the answer. Prefer evidence close to the underlying fact; use independent or community sources when they add implementation reality, contradiction, context, or triangulation.
Scale verification with consequence. Independence matters more than source count.
Stop when the important uncertainty is resolved, the load-bearing claims have adequate support, and another plausible retrieval step is unlikely to change the conclusion.
If code inspection, local data, measurement, experimentation, or user input now has higher expected information value than another search, leave search and do that instead.
Let the question reveal the retrieval shape.
Choose the next capability, not one provider for the whole task.
Compose tools when their information value is complementary.
Use the smallest sufficient search surface.
Read the source, not merely the result.
Escalate only while uncertainty remains.
Stop when more retrieval is unlikely to change the answer.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
2 skills in this plugin
npx claudepluginhub ttungx/just-in-time-research --plugin just-in-time-research