Research before decide
AI models tend to decide from their own priors. This skill makes every non-trivial recommendation rest on what working professionals in the field actually do, with sources that are checked.
When to run
Run it when both hold:
- There are two or more real options.
- The choice is hard or costly to reverse (architecture, library, data model, pricing, business, SEO, big UX change, content or writing method).
Skip it for:
- Small edits, typos, renames.
- Bugs with a known cause.
- Questions a user rule (CLAUDE.md, AGENTS.md, GEMINI.md, memory) already answers, unless the user asks or the rule looks costly for this case. Then run it and apply Step 5.
Step 1: check saved research first
- Look where the project rules say research notes live. If they say nothing, look in
docs/research/. - If a note on the same question is younger than the refresh age (default 6 months), use it. Do not search again.
Step 2: search with a subagent
If the agent can start subagents, send the search to a mid-tier one so the main session keeps only the report. Do not use the smallest model tier: it judges source quality poorly. In Claude Code: sonnet-worker if that agent exists, else general-purpose with model: "sonnet".
If subagents are not available (other agents, or inside a subagent), run the same steps yourself in the main session.
For a very large decision (core architecture, business direction), offer a multi-agent deep-research skill instead, if one is installed. Ask the user first, because it costs much more.
The brief to the subagent (or your own checklist) contains:
- The exact decision and the options.
- The context that matters (stack, scale, audience, constraints).
- The query, source, quote and budget rules below.
- The output format below.
Query rules
- Phrase at least one query neutrally. Do not put the preferred option in it.
- Run at least one query for the failures of each option: "X problems", "why we moved off X", "X postmortem".
Source rules
Count:
- Official docs and specs.
- Engineering blogs of known companies, postmortems.
- Maintainers answering in GitHub issues or discussions.
- Conference talks, books, papers.
- For non-tech fields: published work by named practitioners in that field.
Count with low weight (evidence of what practitioners complain about, not of what is right):
- Hacker News, Reddit, Stack Overflow.
Do not count:
- Content farms, unsigned "Top 10" lists, AI-written listicles.
- Vendor marketing with no data.
Trace each claim to its original source. Prefer the official doc or maintainer over a blog that repeats it.
Default minimum: 3 independent sources (not copying each other), each with URL and date. For official technical docs or specs with no date, write "undated (living doc)". Vendor pricing, sign-up or marketing pages do not get this label. For fast-moving tech, prefer sources under 3 years old.
Quote rule
Each claim carries one short verbatim sentence from its source and the source URL. A working link does not prove the page supports the claim, so the quote is required. A claim seen only in a search-result snippet, on a page you did not open, is [unverified].
Budget
Defaults, adjust when the decision is bigger or smaller:
- Up to 5 standard web searches per decision.
- Use extended search only when standard results are thin or off-target.
- If 3 good sources are not found within budget, stop and report "evidence not enough". Never present the AI's own view as if it had sources.
Step 3: verify the quotes
Before reporting, re-open each cited page (a second, cheap fetch subagent is fine, or do it yourself) and confirm the quoted sentence is on it and supports the claim.
- Confirmed: tag
[from sources]. - Page fails or quote missing: tag
[unverified].
Step 4: report before deciding
Use this format:
What pros do: <practice> (source 1, 2, 3 with dates)
Where they disagree: <points, or "none found">
How our case differs: <stack, scale, audience, constraints>
Recommendation: <choice>
Rejected options: <option: reason>
Sources:
- <title> | <URL> | <date or "undated (living doc)"> | "<verbatim quote>"
- Tag every claim
[from sources],[unverified]or[AI view], in every section, including "Where they disagree" and "Rejected options". - No URL in the Sources list, no
[from sources]tag. A paraphrase without a quote is[unverified].
Step 5: conflicts with user rules
If professional practice conflicts with a user rule (CLAUDE.md, AGENTS.md, memory):
- The user rule wins.
- Say in one line that pros do it differently, with the source.
- Never change the rule yourself. The user decides.
Step 6: save the result
Write a note where the project rules say research lives, else docs/research/<topic>.md. Include the question, the date (from date), the sources with quotes, the conclusion and the rejected options. Re-search when the note is older than the refresh age.