Omniscio

OmniscioSubagent examplesResearcher

A research subagent

A question like "does this library retry on a timeout, and since which version" takes eight searches and returns one paragraph. Done inline, the eight searches stay in your conversation and are re-read on every turn after them; done by a subagent, only the paragraph comes back.

The file below is built around the part that goes wrong most often: an answer with no source. Its description names the question shape, and its rules make "not found" a permitted result rather than a failure to hide.

Checked against Anthropic's Claude Code documentation on November 25, 2026. By the Omniscio team. Updated .

When Claude delegates to it

Claude matches your request, the description and the context. The description below says what or why, and that the material is spread out — which is the moment this agent earns its model call. A question that one file answers does not need it.

Anthropic ships a built-in Explore agent for searching a codebase, and it is the right tool for "where is this handled". The reason to write your own is the report shape and the web: a research agent can weigh a documentation page against the code and hand back both, with dates.

It inherits your tools, not your messages: the conversation is invisible to it, so the question has to be self-contained. "Research the retry behaviour" returns a survey; "does client v3 retry on a 504, and when was that added" returns an answer.

The file

The search budget in step 2 is the line worth tuning: enough to find the answer, few enough to stop it wandering.

---
name: researcher
description: Answers a question by reading the codebase, the project docs and the web, and returns a short answer with the sources it used. Use when the question is what or why, and the evidence is spread across many files or pages.
tools: Read, Grep, Glob, WebFetch, WebSearch
model: sonnet
---

You answer questions. You do not change files.

1. Restate the question in one line, and list what would settle it: a file, a doc page, a release
   note, a source line.
2. Search with a budget: at most 10 searches and 10 page reads. Prefer primary sources — the
   repository, the vendor's own documentation, the changelog — over blog posts and forums.
3. Read what you decide to cite. Never cite a page from its title or a search snippet.
4. Answer, then back it:
   - The answer in at most five sentences, first.
   - Then the evidence: for code, the file and line; for a page, the URL and the date you read it.
   - Then what you could not check, and what would change the answer.
5. If the sources disagree, say so and give both, with which one is newer.

Never invent a fact to fill a gap. "Not found in what I searched" is a complete answer when it is
true, and it is more useful than a confident guess. Never state a version number, a default or a
limit that you did not read in a source.

What each field does

name

The identifier, at most 256 characters, no colon. Hooks see it as agent_type, so a hook that logs research runs follows this value.

description

The routing rule. Research is the easiest agent to over-delegate to, so the description says what shape of question qualifies: what or why, spread across sources. Descriptions load into context at every session start, so a narrow one also costs less.

tools

Read, Grep and Glob for the repository; WebFetch to read a page and WebSearch to find one. Without the two web tools it is a codebase agent only.

Both web tools survive the background filter: Anthropic keeps WebFetch and WebSearch for a background subagent, alongside Read, Grep, Glob, Bash and the writing tools. That matters here because a custom subagent Claude spawns from the main conversation starts in the background.

model

The aliases are sonnet, opus, haiku and fable, a full model ID, or inherit. sonnet keeps the cost of a question predictable; inherit follows the session's model when the question deserves it.

Project file or user file

Either can be right, and the deciding question is what it researches. A repository with its own docs, conventions and terms wants the project file, because the body can name them. A researcher for a library or an API you use in every project belongs in ~/.claude/agents/. Where both exist under one name, the project's wins.

  • .claude/agents/ is the project's, usually committed so a teammate gets the same answer shape.
  • ~/.claude/agents/ is yours, in every project.
  • Duplicate names inside one directory mean one file never loads; /doctor names the pair.

Confirm Claude picked it up

  1. No restart. The agent directories are watched and an edit is picked up within a few seconds, except in a folder added with --add-dir or a session started with --disable-slash-commands.
  2. Ask by name with a question you already know the answer to. A wrong answer is a prompt problem; no delegation at all is a loading problem.
  3. /tasks lists the run and its model, which is how you confirm sonnet took effect (v2.1.242 or later).
  4. /agents confirms the two folders are the source of truth: it prints a reminder to manage subagents through Claude or by editing them, and the wizard that listed them was v2.1.197 and earlier.
  5. The transcript shows the delegation row and the answer beneath it, sources included.

When it goes wrong

  • It answers without sources. Usually because the report shape was not fixed. The numbered output in step 4 is the fix: an answer with no evidence line is an incomplete answer.
  • It wanders. Research has no natural stopping point, so the search budget does the stopping. Ten searches and ten reads is enough for most questions and far short of a survey nobody asked for.
  • It answers a different question. It has no conversation history. Restating the question first, as step 1 does, is what surfaces that early rather than after the answer.
  • It never launches. When no entry in the tools list resolves to a tool, Claude Code usually refuses the launch and names the entries; an empty list, or a list narrowed to nothing by disallowedTools, launches with no tools instead.
  • It reads the wrong version of a page. Ask for the date read in every citation. A vendor page that changed last week is a different fact from last year's answer.

Adapting it to your sources

  1. Name the sources that count for your team: the vendor docs, the changelog, the internal wiki, the incident notes. A source allowlist is more useful than a source ban.
  2. Set the search budget from experience. A support team's question is smaller than an architecture review's.
  3. Add the output you actually file: a ticket comment format, a decision record heading, a Slack-length summary.
  4. Keep the "could not check" section. It is the difference between research and confident prose.

The other files are on the subagent examples page, and the subagents guide covers the built-in agents, the concurrency limit and what a subagent inherits.

Sources

  • Anthropic's Create custom subagents, for the frontmatter reference, the tool filters (including the background list), delegation, the built-in Explore agent and what loads at startup, read November 25, 2026.
  • Anthropic's error reference, for the zero-tools refusal and its exceptions, read November 25, 2026.
  • Anthropic's commands reference, for /agents and /tasks, read November 25, 2026.

The agent file and its report shape were written for this site. The fields and their behaviour are Anthropic's and were read from the pages above on the same day. The agent was not run against a live repository here.

Common questions

What is the difference between this and the built-in Explore agent?

Explore is Anthropic's built-in agent for searching a codebase. A research agent you write can also read the web, keep a source list and answer in a fixed shape. Use Explore for where something is; use your own agent when the answer has to carry its sources.

Do subagents have web access?

A subagent inherits the main conversation's built-in and MCP tools, narrowed by its own tools list, so this agent needs WebFetch or WebSearch there. Anthropic keeps both for background subagents, so it still works after the delegation returns, and its documentation notes one exception: in a session where the main conversation reads pages through the built-in web-fetch agent, other subagents Claude starts can still call WebFetch.

How do I stop it inventing an answer?

Make not-found a valid result and make every claim carry a source. The body does both: it says what a source must be, allows "not found in what I searched", and forbids a version number or default nobody read.

Which model should a research agent use?

sonnet is a fair default, because the work is reading and checking rather than writing code. Use inherit when the question needs the session's strongest model.

Research that leaves a trail

Omniscio is a desktop app for running Claude Code and other coding agents side by side, with one list of sessions and one inbox, so an agent only interrupts you when a decision needs you.

The features page lists what is in it today, pricing covers the plans, and you can download it for Windows, macOS or Linux.