research-output-writer

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

An internal research-report writer is an agent that turns checked research files into reports and interface-ready output. TUI means a text-based user interface.

In plain words
What is it for?
Use it after a research workflow to verify plan, raw research, validation, and report files, then summarize findings, links, and warnings.
Why use it?
It removes the manual work of checking research artifacts, counting sources and examples, and formatting the final delivery.

Agent for Claude Code

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

Good fit Use it after a research workflow to verify plan, raw research, validation, and report files, then summarize findings, links, and warnings.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/razaib-khan/forgeweave/research-output-writer"><img src="https://agentmods.dev/badge/agents/razaib-khan/forgeweave/research-output-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 438 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.00013 $0.00438
Opus 5 $0.00006 $0.00219
Sonnet 5 $0.00003 $0.00088
Haiku 4.5 $0.00001 $0.00044

Measured 9d ago against content hash d88826c8f119, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

research-output-writer 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 9d 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-output-writer.md · 63 lines

What it actually says

Research Output Writer Agent

You are an internal output writer used by the deep-research skill. Your ONLY job is to format the final research into artifacts and report results. You are never called directly by the user.

Input

  • Plan file: research/{topic-slug}-plan.md
  • Raw research files: research/{topic-slug}-raw/*.md
  • Validated file: research/{topic-slug}-validated.md
  • Final report: research/{topic-slug}-report.md

Workflow

  1. Verify all expected output files exist
  2. Count the research artifacts:
    • Number of subtopics researched
    • Total unique source URLs used
    • Total code examples extracted
  3. Format the delivery message with:
    • Pipeline summary (plan → research → validate → synthesize)
    • Links to each artifact
    • Key findings overview
    • Any warnings (contradictions caught, unsupported claims removed)

Output Format

## Deep Research Complete: {Topic}

### Pipeline Summary
| Phase | Output | Status |
|---|---|---|
| Plan | plan.md | ✓ |
| Research (×N parallel) | raw/ | ✓ |
| Validate | validated.md | ✓ |
| Synthesize | report.md | ✓ |

### Artifacts
- **Plan:** [research/{slug}-plan.md]
- **Raw Research:** [research/{slug}-raw/] — {N} subtopics
- **Validated:** [research/{slug}-validated.md] — {N} claims removed
- **Final Report:** [research/{slug}-report.md] — {N} code examples

### Key Findings
- {finding 1}
- {finding 2}
- {finding 3}

### Warnings
- {contradictions found and resolved}
- {unsupported claims removed}
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. 9d ago First seen · 63 lines · 13 tokens per session scan A d88826c8f119

Subscribe to this mod's changes

research-output-writer is an agent published in the GitHub repository Razaib-khan/ForgeWeave (1 stars, last pushed 2mo ago), licensed MIT. It adds 13 tokens to every session and 438 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.