Spiral gives your agent every tool with one account. Browse the tools →

How to Add the Web Research Skill to Your AI Agent

Web skillUse when the user provides URLs, asks about a specific business, product, service package, place, study or paper, or asks for current prices, menus or opening details, references specific brands or styles, mentions trends, asks whether to search first before generating, or needs external knowledge to inform generation prompts. Covers when and how to search and scrape the web for real-world context before generating media and for answering factual questions.

How to add Web Research to your agent

Pick the way that suits you. Each takes about two minutes.

Save SKILL.md into your agent's skills

  1. Download the skill

    Claude Code, and other agents that read Agent Skills, load it from this folder when they start.

    mkdir -p ~/.claude/skills/web-research
    curl -fsSL https://spiral.ai/skills/web-research/SKILL.md -o ~/.claude/skills/web-research/SKILL.md
  2. Connect Spiral

    The skill runs its tools through Spiral. Send your agent this message once to set it up.

    set up https://spiral.ai/SKILL.md

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init
  2. Read the skill

    Built-in skills are on for every organization: the CLI prints this one with all its files.

    spiral agent-skills get web-research --json

Read it from the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Fetch the skill

    The answer holds SKILL.md and every other file of the skill, in path order.

    curl https://api.spiral.ai/v1/skills/web-research \
      -H "Authorization: Bearer $SPIRAL_API_KEY"

Then ask your agent for the task: it loads Web Research when a request matches the skill's description.

When to use (description)

Use when the user provides URLs, asks about a specific business, product, service package, place, study or paper, or asks for current prices, menus or opening details, references specific brands or styles, mentions trends, asks whether to search first before generating, or needs external knowledge to inform generation prompts. Covers when and how to search and scrape the web for real-world context before generating media and for answering factual questions.

Instructions

Web Research

When to Search

Search and scrape the web to gather real-world context BEFORE generating media, and to answer factual questions (see below), when:

  • User references a specific brand, product, or public figure ("in Apple's style", "like Nike ads").
  • User mentions a trend or current event ("trending TikTok aesthetic", "2026 Pantone color").
  • User provides a URL as reference -- scrape it to read the page content.
  • User asks about capabilities or pricing that may have changed since training data.
  • COMPLEX/MEGA projects where visual accuracy matters -- research the subject first.
  • You write something that runs inside a named third-party product (template tags, merge fields, formulas, API fields, settings paths) -- open its docs first and use only names it lists. If the docs lack what the user wants, say so and offer the nearest documented option instead of inventing one.
Answering factual questions

A question about a specific business, product or service package, place, study or paper, or about current prices, menus, schedules or figures, is a lookup, not a recall task.

Check the tool catalog before the web. The catalog has tools that read many sites, registries and authorities directly (a regulator's directives, a company register, PubMed, a marketplace's listings). First find a tool by the site, source or kind of data the question names (for example "Alberta Energy Regulator directives" or "PubMed article"), read its input schema and run it. Search the web only when no tool fits the site or data, or a tool's answer lacks what the question needs, and say why you went to the web.

Otherwise search, then open the official page or the paper, and answer from what you read, with the source link. "I don't know, check their website" is not an answer while search is available; if the search finds nothing, say what you searched. Before you cite a figure the user gives you, check it against the source you name; if the source says something else or covers a different area or year, say so and use the source's figure. When a price depends on a condition (minimum stay, blackout dates, eligibility) the request does not seem to meet, check it where the price is committed (cart or checkout) or in the offer terms; if you can't, give the price with that condition stated. When sources disagree on a fact your deliverable relies on, such as a rule, rate or date, open the primary source (the legislation or the regulator's guidance) and follow it. If that does not settle it, say which reading you used, and put the same note in the deliverable where the fact is used, not only in your reply.

For a rule set by law or an authority (tax or filing deadlines, rates, thresholds, eligibility), read the authority's own data or text: its catalog tool when one fits (above), else its page or the legal text, and work the date or amount out from the rule as written, including any weekend or holiday shift the rule defines. A bank, news or blog page is a lead, not the source. If you can't open a primary source, say the figure is unconfirmed and name what to check.

When NOT to Search
  • Simple generation with clear instructions ("a sunset over mountains") -- just generate.
  • User already provided detailed style descriptions -- do not second-guess them.
  • Follow-up messages in an ongoing conversation where context is already established. A new factual question about a named business, product, place, study or paper is still a lookup.
  • The URL IS the subject of the task (not research context). When the user pastes a URL as the thing to act on, go straight to the right tool — do NOT scrape it first:
  • YouTube / TikTok / Instagram URL + "transcribe / get the transcript" → follow model-recommendations → Transcription (social links): a transcription tool whose schema takes that platform's URL, else download the media first (next bullet) and transcribe the file.
  • YouTube / TikTok / Instagram URL + "summarize" → get the transcript the same way first, then summarize it.
  • YouTube URL + "captions / subtitles" → the subtitler (VEED Subtitles) cannot take a YouTube link, and there is no YouTube video download tool. Get the words with YouTube transcript (the video's own captions) or the media understanding tool, and deliver them as a transcript or caption file; burned-in captions on the YouTube video itself are unsupported unless the user supplies the video file.
  • TikTok / Instagram / X / LinkedIn URL + "captions / subtitles" → download the media first (the social-video-download skill), then follow model-recommendations § Captions / subtitles on a video.
  • Image / video / audio URL to edit, compose, upscale, lipsync, etc. → pass the URL to the relevant tool's input field.
  • Never scrape a media URL you intend to transcribe, caption, edit, or include in composition — media hosts block scraping and the tools accept the URL natively.
Workflow
  1. For a factual lookup, find a catalog tool for the site or data first (Answering factual questions, above). Otherwise, or when none fits, search the web for visual references, style guides, or context: Firecrawl Search · Web Search (or Exa Search · Web Search).
  2. If snippets lack detail (common for paywalled or video sites), scrape the most promising URLs with Firecrawl Scrape · Web Page Content (many pages: Firecrawl Batch Scrape · Many Pages). Do NOT re-search with different queries if you already have good URLs.
  3. Skip YouTube/video URLs for text-based research -- they rarely have useful text content. Prefer reputable news/article sites.
  4. If a scrape returns a page shell, a loading message, a dashboard without the figures you need, or a list shorter than the count the page states (playlists, feeds and search results load more rows as you scroll), the page is rendered in the browser: scrape it again with browser actions (wait, click its controls such as area, year or indicator, scroll), as the scrape tool's input schema names them, and read the values there. For a long list, scroll and collect rows until you reach the stated count (virtualized lists drop rows that scroll out of view). Never tell the user you cannot scroll or use a page before trying browser actions. Only after they also fail, say the page could not be read, and what you tried.
  5. If a scrape reports a user-supplied link as not found or unreachable, try it once more before calling it broken. Never change its domain or path; say the tool could not open it, not that the link is invalid.
  6. PDFs: every parsed page is charged. Cap the pages you parse (for example parsers: [{type: "pdf", maxPages: 10}] when the scrape schema offers it), raise the cap only when the task needs more of the document, and when a result's numPages is below its totalPages, say you read the first pages and offer to read more.
  7. Translate findings into prompt elements: specific hex codes or color names, art direction or photography style, brand tone and mood, and observed composition patterns.
  • Use when producing a narrative video about historical figures, fictional stories, day-in-the-life pieces, educational explainers with a protagonist, brand mascot stories, and any narrative video that depends on a consistent main character across scenes. Methodology for producing multi-scene character-driven short films: covers the full 11-phase pipeline — creative brief, style reference, character sheet, scene stills, animation, voiceover, per-clip audio mix, stitching, music with proper fade technique, optional subtitles, and optional Fin card — plus approval gates, parallelization strategy, asset naming, and the prompting principles that hold across video models. Tool and model selection is delegated to model-recommendations.

  • Use when creating ultra-realistic AI-generated photography (a believable real-world photo, not art or illustration). Covers the 9-step prompt construction workflow, required/optional inputs, the structured positive+negative prompt format, anti-failure guardrails, primary focus technique, camera/light/material domain language, and the self-checklist.

  • Use when generating multiple related assets, working with character references, brand assets, or scene sequences, or revising an earlier asset. Maintains visual and tonal consistency across multi-asset media projects: character reference workflows, style briefs, model matching rules, revisions, prompt enhancement, iterative quality testing, and scene consistency.

    Built-in
  • Use when the inferred intent calls for performed speech rather than read speech with ElevenLabs V4 or V4 Turbo (Eleven v4), expressive TTS models controlled by inline audio tags ([whispers], [excited], [sighs], [pause], [long pause]), text structure (punctuation/capitalization) and stability — emotional narration, character dialogue, audiobook delivery, expressive shorts, anything where pauses, laughter, sighing, whispering, shouting or accents matter. Covers tag inventory and placement, pause tags (SSML <break> is ignored), tag combining, punctuation tricks, stability behavior (the main reason tags appear to do nothing), voice compatibility, pronunciation without dictionaries, text normalization, script length and splitting, full example scripts, and common mistakes. Older ElevenLabs V3 uses the same tags. For multi-speaker output, generate each speaker's track separately and combine in post.

Questions about Web Research

What does the Web Research skill do?

Use when the user provides URLs, asks about a specific business, product, service package, place, study or paper, or asks for current prices, menus or opening details, references specific brands or styles, mentions trends, asks whether to search first before generating, or needs external knowledge to inform generation prompts. Covers when and how to search and scrape the web for real-world context before generating media and for answering factual questions.

Which tools does Web Research use?

It runs VEED Subtitles, YouTube transcript, Firecrawl Search · Web Search, Exa Search · Web Search, Firecrawl Scrape · Web Page Content, Firecrawl Batch Scrape · Many Pages through Spiral, each at the price on its tool page.

Does the Web Research skill cost anything?

The skill is free. The tools it runs are billed pay-as-you-go from your Spiral balance at each tool's stated price, with no plan.

How does my agent know when to use Web Research?

An agent reads each skill's description and loads its instructions when a request matches it.

How do I add Web Research to Claude Code?

Save its files into ~/.claude/skills/web-research/ with the commands on this page; Claude Code loads it when it starts.

Can I use Web Research in other agents?

Yes. Any agent that reads Agent Skills folders loads the same files, and any other agent reads the skill with `spiral agent-skills get web-research --json` or the Spiral API.

Is Web Research on for my Spiral organization?

Yes. Built-in skills are on for every organization; an admin can turn Web Research off on the console's Skills page.

Where is the Web Research SKILL.md file?

At https://spiral.ai/skills/web-research/SKILL.md, with no key needed. On the console's Skills page, Customize saves a copy you can edit as your organization's own skill.