Index of every page on this site: llms.txt
All skills
zazencodes avatar

/gemini-web-research

@a174880
Run it yourself

Delegate substantial web research to Gemini CLI or agy only when explicitly requested. Not for ordinary research or quick searches.

Use this Skill: https://skilld.dev/gh/zazencodes/skills/gemini-web-research

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈38 tokens for metadata: the name and description. ≈909 when used: this file. ≈27 more on demand in 1 file.

Description uses 1.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈153 characters, or 1.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Gemini Web Research

You are the research lead. Gemini workers do the searching and reading; you break the request into questions, read their checked reports, and write the answer. Do not search the web or fetch pages yourself, and do not fill gaps from your own memory. Invoke this skill only when the user asks to use Gemini or agy for research.

How a round runs

python3 <this skill's directory>/scripts/gemini_research.py '<question 1>' '<question 2>' '<question 3>'

One call is one round. Each question becomes an independent Gemini 4 Hydrogen job at high effort, all running in parallel. A round takes 3 to 6 minutes. Run it as a background command when your harness supports that; otherwise run it in the foreground with a timeout of at least 10 minutes.

Each worker must search the web, read the pages it cites, and back every claim with a verbatim quote. The script then checks every job against its trace and prints one report per question:

  • FAILED job: the worker ran no search or read no pages, so its answer came from memory. Nothing from it is usable.
  • [OK] claim: the quote was found in a page the worker read. Usable as a fact.
  • [FLAG] claim: the URL was never read or the quote is not on the page. Not a fact.
  • Unconfirmed: things the worker could not find on any page it read.

Pick the tier

Before launching, write one line naming the tier and why. If you are torn between two tiers, pick the higher one. Use exactly these counts:

Tier When Rounds × jobs
Easy One fact or a few facts with an obvious authoritative source: a version, date, price, link, or "what is X". 1 round × 2 jobs
Medium How something works, a comparison of a few options, or a summary across several sources. 1 round × 3 jobs
Hard Contested, poorly documented, fast-moving or deeply technical; several linked unknowns; or the answer drives a costly decision. 2 rounds × 3 jobs

What the jobs cover:

  • Easy: job 1 asks the question directly. Job 2 asks for the same facts from a different angle, for example from the changelog or package registry instead of the docs, so the two answers check each other.
  • Medium: three different sub-questions that together answer the request.
  • Hard, round 1: three different sub-questions, like Medium.
  • Hard, round 2: written after you read round 1. One job on the most important gap or unconfirmed item. One job on a contradiction between jobs, or on a flagged claim the answer needs. One job that confirms the claim your conclusion rests on from a different source.

Write each question

  • Self-contained. The worker has none of your context. Name the thing fully and add what disambiguates it: a URL, the vendor, the version, the date range.
  • One target per job. No two jobs in a round cover the same ground.
  • Ask for the specific facts you need, not "everything about X". Never paste the user's whole request in as a question.

Read the results

  • State as fact only [OK] claims. A [FLAG] claim is a lead, not a fact.
  • Rerun a FAILED job once with the same question. If it fails again, report it as failed.
  • In an Easy round, compare the two jobs. If they disagree, the disagreement is a gap.
  • After an Easy or Medium round, if the answer still depends on a gap, a flagged claim or an unconfirmed item, run one more round of exactly one job aimed at it. After a Hard round 2, report remaining gaps as unconfirmed.

Answer

Give a synthesis, not the raw reports. Link each fact to the URL its [OK] claim came from. Say plainly what stayed unconfirmed.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert2d3 checks · Risk HIGH
  • Gen Agent Trust Hub2d

    The gemini-web-research skill provides automated, multi-round web research. It is classified as High risk due to significant data exposure vulnerabilities. The skill's research trace parser contains logic that automatically reads local files ending in 'output.txt' if their paths are discovered within the content of a fetched web page, potentially allowing malicious websites to steal local data. Additionally, the tool used to fetch web pages does not restrict protocols, allowing it to read local system files if directed to a 'file://' URL. The skill also executes an external research tool and handles untrusted internet data, creating a surface for indirect prompt injection.

  • Socket2d

    No alerts

  • Snyk2d

    Risk: MEDIUM · 1 issue

Signed by skilld at a174880. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 5 days ago

README badge

README badge for zazencodes/skills/gemini-web-research