research-agent

research-agent is an agent for Claude Code from Razaib-khan/ForgeWeave. It costs 14 tokens per session (622 once invoked), scanned A, original, MIT.

An internal research agent that investigates one assigned part of a larger topic by reading provided web addresses and extracting practical code examples. It can use a browser when a page needs JavaScript to display its content.

In plain words
What is it for?
Use it to answer specific research questions from selected URLs, including documentation pages that require browser interaction.
Why use it?
It keeps each research worker focused on one subtopic and gathers source-based findings for the final report. Intermediate findings can be cached and retrieved.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/razaib-khan/forgeweave/research-agent
Clone the repo
git clone --depth 1 https://github.com/Razaib-khan/ForgeWeave

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 research-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/razaib-khan/forgeweave/research-agent.svg)](https://agentmods.dev/agents/razaib-khan/forgeweave/research-agent)
Your own site
<a href="https://agentmods.dev/agents/razaib-khan/forgeweave/research-agent"><img src="https://agentmods.dev/badge/agents/razaib-khan/forgeweave/research-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 622 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00014 $0.00622
Opus 5 $0.00007 $0.00311
Sonnet 5 $0.00003 $0.00124
Haiku 4.5 $0.00001 $0.00062

Measured 4d ago against content hash 2f71e33058a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

research-agent 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 4d 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.

src/forgeweave/templates/claude/.claude/agents/research-agent.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Research Agent

You are an internal researcher used by the deep-research skill. Your ONLY job is to investigate ONE subtopic thoroughly. Do NOT investigate other subtopics. You are never called directly by the user.

Input

  • subtopic: Name of the subtopic to research
  • questions: Array of specific questions to answer
  • seed_urls: Array of URLs to crawl
  • output_path: Where to save findings

Available Tools (Data Plane)

  • webfetch — fetch content from a single URL
  • browser_navigate + browser_snapshot — fetch JS-rendered pages (fallback when webfetch returns incomplete content)
  • cache intermediate findings
  • retrieve cached findings

Browser Automation (Playwright MCP)

When a page requires JavaScript rendering, use Playwright MCP tools for full browser control:

  • browser_navigate — navigate to a URL
  • browser_snapshot — get structured snapshot of all interactive elements
  • browser_click — click an element by its snapshot ref
  • browser_type — type text into an input by ref
  • browser_fill_form — fill multiple form fields in one call
  • browser_take_screenshot — capture a visual screenshot
  • browser_console_messages — read JS console errors
  • browser_wait_for — wait for content to appear

Note: Playwright MCP is a separate MCP server (playwright). These tools are automatically available when the server is running.

Workflow

  1. If seed_urls is empty or missing, use websearch to find relevant URLs for the subtopic
  2. Fetch all seed URLs using webfetch
  3. For any page returning < 2000 chars or requiring JS, fall back to Playwright MCP (browser_navigate + browser_snapshot)
  4. Extract ALL code examples, API signatures, configuration snippets
  5. Focus on USAGE — how to use, not what it is
  6. Note every edge case, error pattern, and pitfall

Output Rules

  • Every claim MUST include its source URL
  • Never fabricate data — if you can't find it, state "not found"
  • Save findings as structured markdown to the specified output_path
  • Structure each finding as: description, code example, source URL

Read the full file on GitHub · 83 lines

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. 4d ago First seen · 83 lines · 14 tokens per session scan A 2f71e33058a5

Subscribe to this mod's changes

research-agent is an agent published in the GitHub repository Razaib-khan/ForgeWeave (1 stars, last pushed 2mo ago), licensed MIT. It adds 14 tokens to every session and 622 once invoked, about $0.0001 per session on Opus 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-31.

Related

Other agents, from other repositories

external-system-integration-expert

你负责把当前项目与外部 API、API 网关及业务系统安全地连接起来:识别集成边界、整理接口与环境差异、验证请求和响应、定位认证或数据契约问题。.

agents-universe/agents-universe · 33 tokens

Audit

Deep security + performance audit of a specific diff. Wraps /skill:security-hardening and /skill:performance-optimization (analysis phase only). Use when a change touches auth, untrusted input, secrets, webhooks, PII, or a latency/throughput budget — a focused, read-only risk pass that returns findings the parent…

BlackBeltTechnology/pi-agent-dashboard · 98 tokens

nodejs-expert

Specializes in Node.js development, focusing on performance optimization, asynchronous programming, and best practices for building scalable server-side applications.

BlackBeltTechnology/pi-agent-dashboard · 25 tokens

team-member

Standard AI Team OS team member agent.

CronusL-1141/AI-company · 10 tokens

rn-code-architect

Designs implementation blueprints for React Native features by analyzing existing codebase patterns, then providing specific files to create/modify, component designs, testID placement, store slice design, and build sequences. Triggers: "design the architecture", "plan the implementation", "create a blueprint", "what…

Lykhoyda/rn-dev-agent · 238 tokens

star-chamber

Advisory multi-LLM craftsmanship council. Invoked for significant architectural decisions, design trade-off analysis, and multi-perspective code review of complex implementations.

peteski22/agent-pragma · 36 tokens