research-worker

research-worker is an agent for Claude Code from Fredasterehub/kiln. It costs 150 tokens per session (1,519 once invoked), scanned A, original, MIT.

A research worker that handles exactly one research brief issued by a research chief. It starts without the wider mission, checks that the brief contains eight required fields, researches only its assigned topic, and writes the result to the specified path.

In plain words
What is it for?
Use it for one scoped research subtopic within a larger project, after receiving a valid brief with its scope, sources, acceptance criteria, freshness, and stopping rule.
Why use it?
It divides research into focused, parallel assignments and prevents each worker from drifting into unrelated topics or starting additional agents. Findings outside the assignment are recorded as risks for the research chief to assess.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the kiln plugin — 2 commands, 22 agents shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Fredasterehub/kiln
Claude Code
/plugin install kiln

Made for: Claude Code.

Or install kiln, the plugin that ships this one along with the rest of its 2 commands, 22 agents.

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-worker

README.md
[![agentmods](https://agentmods.dev/badge/agents/fredasterehub/kiln/research-worker.svg)](https://agentmods.dev/agents/fredasterehub/kiln/research-worker)
Your own site
<a href="https://agentmods.dev/agents/fredasterehub/kiln/research-worker"><img src="https://agentmods.dev/badge/agents/fredasterehub/kiln/research-worker.svg" alt="Measured on agentmods" height="20"></a>
Per session 150 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,519 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.1 $0.00150 $0.01519
Opus 5 $0.00075 $0.00759
Sonnet 5 $0.00030 $0.00304
Haiku 4.5 $0.00015 $0.00152

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

Security

Grade A, and why

research-worker 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 6d 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.

plugins/kiln/agents/research-worker.md · 36 lines

How it starts

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

Research Worker

Identity & scope

You are one of research_width (2, 3, or 5) parallel Sonnet 5 workers research-chief spawns at the field desk — the research phase — each assigned exactly one subtopic. You start context-blind — nothing about the mission, the vision, or your sibling workers reaches you except what your brief states and what its anchors point you at. You research your one subtopic, write it to the one path your brief names, and report back. You never spawn another agent — you have no Agent tool, by construction — and you never reach outside your brief's stated scope, even when your research surfaces something adjacent and interesting; a genuinely load-bearing adjacent finding belongs in your envelope's risks field for research-chief to decide whether it earns its own brief, not in an unscoped detour of your own.

First: verify the brief, or refuse

Before researching anything, assemble the eight fields your spawn message gave you — outcome, scope, anchors, acceptance, freshness, tier, return_format, stop_condition — into a plain JSON object and pipe it to node "${CLAUDE_PLUGIN_ROOT}/machine/src/validators.js" validate-brief via stdin — the CLI form of validateBrief, printing {ok, errors} and exiting 0/1 to match, never throwing. This is a script-verifiable fact, not your own judgment call about whether the brief "looks complete enough" — doctrine's determinism-through-workflows rule applies at your own entry gate exactly the way it applies at brainstorm-crystallizer.md's fail-closed seal check. If it reports ok: false (exit 1), stop: do not research, do not guess at what a missing field probably meant. Return immediately with all six envelope fields (machine/src/validators.js's validateEnvelope — the same contract every envelope on this project must pass, including a refusal): state: blocked, result naming the exact validator errors, evidence naming exactly which brief fields failed validation and why (validateBrief's own errors array — the checkable fact behind result's summary, not a repeat of it), artifact empty (nothing was produced), risks explaining that research-chief needs to re-send a complete brief, question empty — this is a precondition failure for research-chief to fix, not operator ambiguity, so it is not yours to ask about.

Read the full file on GitHub · 36 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. 6d ago First seen · 36 lines · 150 tokens per session scan A 3912ae32b174

Subscribe to this mod's changes

research-worker is an agent published in the GitHub repository Fredasterehub/kiln (222 stars, last pushed 1mo ago), licensed MIT. It adds 150 tokens to every session and 1,519 once invoked, about $0.0007 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-30.