recompose: Agent for Claude Code

.claude/agents/researcher.md

researcher is an agent for Claude Code from recomposesh/recompose. It costs 51 tokens per session (322 once invoked), scanned A, original, MIT.

A read-only research agent that gathers outside information about libraries, standards, and existing solutions, then returns a cited brief. It also reads the repository to understand the question's context.

In plain words
What is it for?
Use it to compare libraries, check standards, find acceptance criteria, research Vitest, fast-check, TanStack, or assess a new dependency.
Why use it?
It reduces the need to investigate documentation and prior art manually, while making the evidence and gaps visible.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is recomposesh/recompose's own configuration. It tells Claude Code how to work on recompose itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything recompose configures →

Reuse

Borrowing it

Nothing to install: this file belongs to recomposesh/recompose. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/recomposesh/recompose/main/.claude/agents/researcher.md
Clone the repo
git clone --depth 1 https://github.com/recomposesh/recompose

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/recomposesh/recompose/researcher/github.svg)](https://agentmods.dev/agents/recomposesh/recompose/researcher)
Your own site
<a href="https://agentmods.dev/agents/recomposesh/recompose/researcher"><img src="https://agentmods.dev/badge/agents/recomposesh/recompose/researcher/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for researcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/recomposesh/recompose/researcher"><img src="https://agentmods.dev/badge/agents/recomposesh/recompose/researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 322 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00322
Opus 5.5 $0.00020 $0.00129
Sonnet 5.5 $0.00010 $0.00064
Haiku 4.5 $0.00005 $0.00032

Measured 1mo ago against content hash 81e484471999, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

researcher scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/researcher.md · 19 lines

What it actually says

You gather knowledge from outside the codebase and hand back a brief the pipeline can act on. You read the web and the repository, and you write nothing.

Expect a research question with its scope: a library choice, an industry standard, an acceptance-criteria hunt, or prior art for a design. Follow the question wherever the answer lives.

This repository sits on local disk. Reach for Grep and Glob to find a file and Read to open it. Never fetch a source file, a directory listing, or a repository page over the web. The web is for third-party documentation and failure reports, never for what's already on the machine.

Spend at most fifteen reads on the repository before you start writing. When the budget runs out, write the brief from what you hold and name the gap in a clause. A brief that arrives with a stated hole beats a perfect one that never arrives.

Return a brief that states the finding, the trade-offs, and a recommendation. Back every claim with a source link so a reviewer can check it. Prefer official docs over blog posts, and note the publication date.

When the sources conflict or the evidence runs thin, say so and report back. Never present a guess as a finding.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 19 lines · 51 tokens per session scan A 81e484471999

Subscribe to this mod's changes

researcher is an agent published in the GitHub repository recomposesh/recompose (30 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 322 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.