forge-research

forge-research is a command for Claude Code from Razaib-khan/ForgeWeave. It costs 16 tokens per session (541 once invoked), scanned A, original, MIT.

A command that researches a topic across multiple sources and produces a structured report. It can also turn the findings into a reusable SKILL.md file, which is a set of instructions for future coding-agent tasks.

In plain words
What is it for?
Use it for framework overviews, architecture research, comparisons, usage guides, or other questions that need several sources and citations.
Why use it?
It organizes a larger investigation instead of requiring separate searches and manual notes. Progress is reported while the research runs.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions OpenCode.

Good fit Use it for framework overviews, architecture research, comparisons, usage guides, or other questions that need several sources and citations.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/razaib-khan/forgeweave/forge-research
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.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/razaib-khan/forgeweave/forge-research/github.svg)](https://agentmods.dev/commands/razaib-khan/forgeweave/forge-research)
Your own site
<a href="https://agentmods.dev/commands/razaib-khan/forgeweave/forge-research"><img src="https://agentmods.dev/badge/commands/razaib-khan/forgeweave/forge-research/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 forge-research

Your own site · 80×15
<a href="https://agentmods.dev/commands/razaib-khan/forgeweave/forge-research"><img src="https://agentmods.dev/badge/commands/razaib-khan/forgeweave/forge-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 541 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.00016 $0.00541
Opus 5.5 $0.00006 $0.00216
Sonnet 5.5 $0.00003 $0.00108
Haiku 4.5 $0.00002 $0.00054

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

Security

Grade A, and why

forge-research 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 2mo 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/commands/forge-research.md · 53 lines

How it starts

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

Forge Research

Triggers the deep-research skill which internally runs a 6-stage pipeline: planner → parallel researchers → validator → synthesizer → raw output → skill conversion.

The caller only sees the finished report and skill path. All pipeline stages are internal.

Usage: /forge-research <topic> [--depth=<quick|standard|deep>] [--focus=<usage|architecture|comparison|general>] [formatted|unformatted] [skill|no-skill]

Behavior

  1. Triggers the deep-research skill with the topic and options
  2. Output format:
    • formatted (default): Produces a well-organized, structured markdown report with sections, code examples, and citations
    • unformatted: Produces raw scraped output only — one markdown file per source URL with minimal processing
  3. Skill generation:
    • skill (default): Also generates a reusable SKILL.md in .opencode/skills/<topic>/
    • no-skill: Skips skill generation — report only
  4. Progress is reported via chat messages during execution

Internal Pipeline (hidden from caller)

Stage Component What it does
Plan Planner agent Decompose topic into subtopics + seed URLs (uses Playwright MCP for JS-rendered pages)
Research Research agents (×N parallel) Crawl URLs, extract code examples (Playwright MCP for JS content)
Validate Validator agent Cross-check claims, remove hallucinations
Synthesize Synthesizer agent Merge into final structured report
Raw Output Output writer Save raw scraped data as research/<slug>-raw/*.md
Skill Conversion Skill builder Convert raw findings into industry-grade .opencode/skills/<topic>/SKILL.md

Rules

  • All 6 stages run automatically — no manual intervention
  • Sources must be official docs, API refs, usage guides only
  • NO blog posts, NO changelogs, NO marketing pages
  • Every claim must have a traceable source URL
  • Progress is reported via chat messages during execution

Examples

/forge-research Next.js 16 caching --depth=deep --focus=usage formed
/forge-research Next.js 16 caching unformatted no-skill
/forge-research Python 3.14 pattern matching formated no-skill
/forge-research React Server Components formated skill

Read the full file on GitHub · 53 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. 2mo ago First seen · 53 lines · 16 tokens per session scan A 646da2578bbb

Subscribe to this mod's changes

forge-research is a command published in the GitHub repository Razaib-khan/ForgeWeave (1 stars, last pushed 4mo ago), licensed MIT. It adds 16 tokens to every session and 541 once invoked, about $0.0001 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-31.

Related

forge-research compared with commands from other repositories

forge-research next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
forge-researchRazaib-khan/ForgeWeaveCommand14mo agoMITA16Claude Code
aligndsswift/ionCommand5yesterdayMITA51Claude Code
squashdsswift/ionCommand5yesterdayMITA25Claude Code
resolve-dependabot-prsdsswift/ionCommand5yesterdayMITA35Claude Code
update-vocabularydsswift/ionCommand5yesterdayMITA19Claude Code
autoInsajin/autopus-adkCommand1111mo agoMITA13Claude Code
auto-canaryInsajin/autopus-adkCommand1111mo agoMITA20Claude Code