Plugin · sc-web · Default

Web research

Your agent researches the web with Exa and checks its claims.

Default

sc-web is a default plugin: sc expects it in every workspace, and sc doctor flags a manifest that leaves it out. It needs no other plugin.

Claude Code uses it when the task calls for it, so you do not have to call it by name.

What you get in every workspace

  • It splits a question into angles, searches them in parallel, then merges the results.
  • Verifiers try to refute each claim a deep report depends on.
  • Every search runs on Exa, with result count and category set per call.

sc-web is the research plugin. It adds Exa as the search backend, in place of the built-in WebSearch once you deny that tool (see Configuration). You ask in plain words, and the agent decides how much searching the question needs.

Using it#

Compare the current Rust async runtimes for a CLI daemon.

A question like this is split into angles, each searched by a parallel subagent, and merged into one cited answer. It fans out once and stops.

Do deep research on what changed in the HTTP/3 support of major CDNs this year.

When being wrong is costly, say so. The agent searches, has verifiers try to refute each claim, and repeats on the gaps its critics name. The report carries a confidence and citations per finding, and the open questions. Name critics when the question needs them, for example “use the rigor and recency critics”.

What is the latest stable release of Node?

A single known fact or one page gets one Exa call.

The system workspace loads sc-web already. Export EXA_API_KEY before you launch.

How it works

sc-web connects a session to Exa’s hosted MCP server: web search, a page crawler, code search and company lookups. Exa returns a page as the server sends it, so a page that renders in JavaScript or sits behind a login comes back as an empty shell. The routing rule the agent follows is published as when-to-use.

“Search the web” has two shapes. A quick question benefits from several angles searched at once and merged. A question where being wrong is costly needs claims checked against fresh sources, and someone other than the researcher deciding when the work is done. The agent picks the shape from how you ask.

Quick answers and verified reports#

The quick answer is the breadth path. It triages first: a single known fact or URL gets one Exa call in the main loop, and a question that needs verification goes to deep research instead.

Otherwise it splits the question into 2 to 5 angles that do not depend on each other. It launches one subagent per angle in a single message, each told to use only the Exa tools and return 3 to 8 cited findings. For a narrow question it can issue one web_search_exa call with additionalQueries instead. It then drops duplicate sources, prefers primary and recent ones where they conflict, and writes one answer with citations and the gaps it found. It fans out once and does not loop.

The verified report is a loop driven by critics. Round 0 splits the question into 3 to 6 angles. Each round then:

  1. Searches and fetches, with at most 15 fetches per round, and records every source so later rounds add only new material.
  2. Checks each load-bearing claim with 3 independent verifiers, each told to refute it against fresh sources. A claim survives at 2 of 3 confirmations and is killed at 2 refutations. Anything else is carried as unverified, never as true.
  3. Runs the critics as independent subagents over the findings. Each returns SATURATED or FOLLOW-UP NEEDED with a prioritized list of gaps.

The next round targets only the gaps the critics named. A gap that yields no new sources counts as exhausted. The loop stops when every critic says SATURATED or after 5 rounds, whichever comes first.

The completeness critic always runs. The skill adds a rigor critic for high-stakes or technical questions, a source-diversity critic for contested or marketing-heavy topics, and a recency critic for fast-moving ones. More critics cost more tokens.

The report opens with a short summary. It groups findings by angle with a high, medium or low confidence and citations, lists killed and unverified claims separately, and says how many rounds ran, which critics ran and why it stopped. It closes with 2 to 4 open questions, including any gap still open at the cap.

When either skill runs as a background fork, its final reply is the whole result: cited findings, not a narration.

The Exa server#

.mcp.json declares one remote HTTP server, exa, at Exa’s MCP endpoint. The URL carries ${EXA_API_KEY}, which Claude Code substitutes from the environment at launch, and a tools= list that pins the exposed set: neural web search, a page crawler, code and documentation search, company and LinkedIn lookups, and Exa’s own async deep-research task. There is no local process to start. The plugin ships no subagents; both skills spawn disposable subagents at runtime, one per search angle or critic.

The skills also read a bundled reference on Exa’s parameters. It covers numResults, category, content controls, includeText and excludeText, and additionalQueries, which issues several related queries in one call and lets Exa fan out server-side. For library or API questions it steers the model to get_code_context_exa with the language and version in the query. A single page comes back through crawling_exa; WebFetch stays available for a known URL.

Why Exa, and why a deny rule#

sc-web makes Exa the only search path, for its neural search and its controls over result count, category and how much page text comes back. The workspace removes WebSearch and the plugin supplies the replacement.

A plugin cannot remove a built-in tool by itself. sc-web does not block WebSearch on every call with a hook either, because a blocked tool stays in the model’s tool list. The tool is removed by a deny rule in the workspace, and sc-web checks that the rule is there.

The startup check#

A function-hook module runs once per conversation on prompt.context, and again after compaction or /clear. It runs three probes:

  • EXA_API_KEY is unset, still contains ${, or is a placeholder such as changeme.
  • No WebSearch deny rule exists in the merged settings: user, project, local, the --settings object sc injects, and managed policy.
  • ~/.claude.json declares its own exa MCP server, at user scope or for a project, which can shadow the plugin’s server.

Any failing probe adds one <sc-web-doctor> block of warnings to the context blocks on the conversation’s first user message. The block is appended after the existing blocks and never rewrites them, so it does not evict the prompt cache. The check never blocks, and a probe that errors injects nothing.

What it needs
NeedsRequiredWhat for
EXA_API_KEYyesthe Exa server; get a key at dashboard.exa.ai
A WebSearch deny ruleyesmakes Exa the only search path; see Configuration
Network access to mcp.exa.aiyesthe Exa server is remote

The Exa key is the only thing sc-web needs. No other plugin is involved.

Configuration

Remove WebSearch in the manifest (.claude/superclaude.toml) with a [harness] table. sc compiles it into a permissions.deny rule, so Claude Code drops the tool from the model’s list:

[harness]
remove_tools = ["WebSearch"]

A workspace that loads sc-web. Naming its prompt section is optional and only pins where it renders:

plugins = ["$SC_PLUGINS/sc-web"]
system_prompt = ["identity", "sc-web:when-to-use"]

[harness]
remove_tools = ["WebSearch"]

[section.identity]
content = "You own <what this workspace is responsible for>."

Outside a manifest, put the same rule in the workspace’s .claude/settings.json:

{ "permissions": { "deny": ["WebSearch"] } }

sc-web publishes one prompt section, sc-web:when-to-use. It tells the model to use Exa rather than WebSearch, when to pick each skill, and when a page needs a real browser rather than a fetch. Every workspace loads sc-web by default, so it renders in each main agent’s prompt. Naming sc-web:when-to-use in system_prompt, as above, only pins where it renders. sc validate resolves that name when sc-web is in plugins. sc <project> <agent> --prompt shows the assembled prompt.

Next: Your own browser

View as Markdown