agentleFS
Rune-kitRune-kit/rune/skills/research/SKILL.md

research

Skill88 starsChanged 7 months agoMITView on GitHub

Web search and external knowledge lookup. Gathers data on technologies, libraries, best practices, and competitor solutions.

187 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use which-skill, wait-what and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • risadamsSkill

    which-skill

    Router over this pack's skills and flows. Ask it "which skill fits X" when you don't remember what's available.

    Also in 6 projects that use this

  • AWSSkill

    wait-what

    Stop. That last message did not land: re-pitch it.

    Also in 62 projects that use this

  • AWSSkill

    wizard

    Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.

    Also in 66 projects that use this

  • RoentekSkill

    writing-beats

    Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.

    Also in 23 projects that use this

  • loulanyueSkill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 16 projects that use this

  • pahwarangerSkill

    setup-skills

    Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's ticket tracker (GitHub or local markdown), triage label vocabulary, and domain doc layout. Run before first use of `to-tickets`, `to-prd`, `triage`, `diagnose`, `tdd`, `improve-codebase-architecture`, or `zoom-out` — or if those skills appear to be missing context about the ticket tracker, triage labels, or domain docs.

    Also in 8 projects that use this

  • +4 more from aws

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 161 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every research conclusion MUST be backed by at minimum 3 complementary sources from DIFFERENT source types.

    line 54
  2. Very specific:

    Call WebSearch for each query.

    line 58
  3. Distinctive:

    After each WebSearch call, evaluate whether additional searches are productive:

    line 76
  4. Very specific:

    Call WebFetch on the top 3-5 URLs identified in Step 2.

    line 99
  5. Distinctive:

    Check if conflicts are temporal (old vs new info) or genuine disagreement

    line 109
  6. Distinctive:

    Always cite source URL for every finding

    line 125
  7. Distinctive:

    If no useful results found, report that explicitly rather than fabricating

    line 128

“Common” is measured: kept by at least 6 in 10 of the 161 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

research

Purpose

Web research utility. Receives a research question, executes targeted searches, deep-dives into top results, and returns structured findings with sources. Stateless — no memory between calls.

Calls (outbound)

None — pure L3 utility using WebSearch and WebFetch tools directly.

Called By (inbound)

  • plan (L2): external knowledge for architecture decisions
  • brainstorm (L2): data for informed ideation
  • marketing (L2): competitor analysis, SEO data
  • hallucination-guard (L3): verify package existence on npm/pypi
  • autopsy (L2): research best practices for legacy patterns
  • ba (L2): research similar products and integrations
  • graft (L2): research source repo patterns before grafting
  • mcp-builder (L2): research MCP standards and existing implementations
  • scaffold (L1): research project templates and best practices

Execution

Input

research_question: string   — what to research
focus: string (optional)    — narrow the scope (e.g., "security", "performance")

Step 1 — Formulate Queries

Generate 2-3 targeted search queries from the research question. Vary phrasing to cover different angles:

  • Primary: direct question as search terms
  • Secondary: "[topic] best practices 2026" or "[topic] vs alternatives"
  • Tertiary: "[topic] example" or "[topic] tutorial" if implementation detail needed

Step 2 — Search (Minimum 3 Complementary Sources)

<HARD-GATE> Every research conclusion MUST be backed by at minimum 3 complementary sources from DIFFERENT source types. Single-source conclusions are flagged as `low` confidence regardless of source authority. </HARD-GATE>

Call WebSearch for each query. Collect result titles, URLs, and snippets. Identify the top 3-5 most relevant URLs prioritizing source diversity:

Source TypeExamplesWhy
Official docsFramework docs, API reference, RFCAuthoritative but may lag behind reality
CommunityStack Overflow, GitHub Issues, RedditReal-world pain points, edge cases
Technical blogsDev.to, Medium engineering blogs, personal blogsPractical experience, tutorials
RepositoriesGitHub repos, npm packages, example codeWorking implementations

Selection rules:

  • Source authority (official docs > major blogs > personal blogs)
  • Recency (prefer 2025-2026)
  • Relevance to the query
  • Diversity: never select 3+ URLs from the same domain — spread across source types

Step 2b — Diminishing Returns Detection

After each WebSearch call, evaluate whether additional searches are productive:

Track across search results:

  • Entity set: Extract key entities from each result set (library names, API names, version numbers, technique names, company names)
  • New entity ratio: new_entities_in_this_search / total_entities_found_so_far
  • Result overlap: How many URLs from this search were already seen in previous searches
SignalThresholdAction
New entity ratio < 10%Last search added almost nothing newSkip remaining queries, proceed to Step 3 with existing results
Result overlap > 60%Most URLs already fetched or seenSkip this query's results entirely
All 3 queries return same top 3 URLsSearch space is exhaustedProceed directly to Step 3 — more queries won't help

Report when triggered:

Note: Research saturation reached after [N] searches — [M] unique entities found.
Additional queries showed <10% new information. Proceeding with synthesis.

Why: Research skills commonly waste 2-3 WebFetch calls on pages that repeat information already gathered. Saturation detection saves tool calls and context tokens while preserving research quality — the first 3 sources typically contain 90%+ of available information.

Step 3 — Deep Dive

Call WebFetch on the top 3-5 URLs identified in Step 2. Hard limit: max 5 WebFetch calls per research invocation. For each fetched page:

  • Extract key facts, API signatures, code examples
  • Note the source URL and publication date if visible
  • Tag the source type (official/community/blog/repo) for Step 4 triangulation

Step 4 — Synthesize (Triangulation)

Across all fetched content, triangulate — don't just aggregate:

  • Identify points of consensus across sources (≥3 sources = strong signal)
  • Flag any conflicting information explicitly (e.g., "Source A says X, Source B says Y")
  • Check if conflicts are temporal (old vs new info) or genuine disagreement
  • Assign confidence using source diversity:
ConfidenceCriteria
high3+ sources from different types agree
medium2 sources agree, or 3+ from same type
lowSingle source, or sources conflict without resolution
unverifiedNo sources found — report this explicitly, NEVER fabricate

Step 5 — Report

Return structured findings in the output format below.

Constraints

  • Always cite source URL for every finding
  • Flag conflicting information — never silently pick one side
  • Max 5 WebFetch calls per invocation
  • If no useful results found, report that explicitly rather than fabricating

Output Format

## Research Results: [Query]
- **Sources fetched**: [n]
- **Confidence**: high | medium | low

### Key Findings
- [finding] — [source URL]
- [finding] — [source URL]

### Conflicts / Caveats
- [Source A] says X. [Source B] says Y. Recommend verifying against [authority].

### Code Examples
```[lang]
[relevant snippet]

Recommendations

  • [actionable suggestion based on findings]

## Sharp Edges

Known failure modes for this skill. Check these before declaring done.

| Failure Mode | Severity | Mitigation |
|---|---|---|
| Fabricating findings when no useful results found | CRITICAL | Constraint: report "no useful results found" explicitly — never invent citations |
| Reporting conflicting sources without flagging the conflict | HIGH | Constraint: flag conflicting information explicitly, never silently pick one side |
| Assigning "high" confidence from a single source | MEDIUM | High = 3+ sources agree; 1-2 sources = medium confidence |
| Exceeding 5 WebFetch calls per invocation | MEDIUM | Hard limit: prioritize top 3-5 URLs from search, fetch only the most relevant |
| Single-source conclusions presented as fact | HIGH | HARD-GATE: minimum 3 complementary sources from different source types. Single source = `low` confidence |
| All sources from same domain (e.g., 3 Stack Overflow links) | MEDIUM | Source diversity rule: never 3+ URLs from the same domain. Spread across official/community/blog/repo |

## Done When

- 2-3 search queries formulated and executed
- Top 3-5 URLs identified and fetched (max 5 WebFetch calls)
- Conflicting information between sources explicitly flagged
- Confidence level assigned (high/medium/low) with rationale
- Research Results emitted with source URLs for every key finding

## Cost Profile

~300-800 tokens input, ~200-500 tokens output. Haiku. Fast and cheap.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.