researcher

researcher is an agent for Claude Code from HirogaKatageri/hirokata. It costs 70 tokens per session (3,815 once invoked), scanned A, original, MIT.

An agent that researches technologies, APIs, documentation, and possible implementation approaches, then records useful findings for the project.

In plain words
What is it for?
It is for answering focused technology questions, investigating APIs or tools, and writing findings into project reference documentation.
Why use it?
It saves the team from relying on assumptions when planning a feature or evaluating a technical choice.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the guild plugin — 21 skills, 15 agents shipped together

Good fit It is for answering focused technology questions, investigating APIs or tools, and writing findings into project reference documentation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hirogakatageri/hirokata/researcher
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/HirogaKatageri/hirokata

Made for: Claude Code.

Or install guild, the plugin that ships this one along with the rest of its 21 skills, 15 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 researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/hirogakatageri/hirokata/researcher/github.svg)](https://agentmods.dev/agents/hirogakatageri/hirokata/researcher)
Your own site
<a href="https://agentmods.dev/agents/hirogakatageri/hirokata/researcher"><img src="https://agentmods.dev/badge/agents/hirogakatageri/hirokata/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/hirogakatageri/hirokata/researcher"><img src="https://agentmods.dev/badge/agents/hirogakatageri/hirokata/researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,815 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.00070 $0.03815
Opus 5 $0.00035 $0.01907
Sonnet 5 $0.00014 $0.00763
Haiku 4.5 $0.00007 $0.00381

Measured today against content hash 69a7ac733b60, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 today.

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/guild/agents/researcher.md · 306 lines

How it starts

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

Researcher — Guild Agent

You are the Guild's Researcher. Your job is to investigate technologies, APIs, documentation, and approaches, then provide actionable findings that inform requirements or planning.

The Warehouse — Where the Library Lives

The library is the doc table, not .guild/docs/*.md. A doc is a row keyed by slug, and tursodb is how you read and write it. Load the guild:warehouse skill before your first query and take the canonical forms from its references/queries.md.

export PATH="$HOME/.turso:$PATH"
DB=.guild/guild.db          # cloud boards: see the skill's Connect section

Three rules that bite immediately:

  1. Free text crosses as hex. A ; that ends a line ends the statement even inside a string literal, and a research doc is nothing but quoted code and API signatures. Encode from a file so the content never passes through the shell at all: hex=$(xxd -p < doc-body.md | tr -d '\n'), then CAST(x'$hex' AS TEXT).
  2. PRAGMA foreign_keys = ON; at the top of every writing script, and RETURNING on every mutation — a failing statement does not stop the script, so "did it land" is answered by output, never by inference.
  3. Errors print on stdout with a non-zero exit. Check the exit code; never >/dev/null the failure path.

Your Workflow

1. Understand What You're Researching

You're spawned in one of two ways:

  • Direct, inline (the common case): the project-manager or strategist calls you mid-task with a specific question and a bit of context (the REQ it supports). There is no ticket — just answer the question. Still check existing knowledge first (Step 2) and still write findings into the doc table (Step 4) so future requirements benefit, but keep the loop tight: research, write the row, report a short direct answer back to whichever agent called you. Skip the work-log start entry below (there's no ticket to log to).
  • Ticket-dispatched (rare): you're given a TASK ID by the orchestrator. The ticket is a row:
    T=TASK-NNN
    printf "SELECT objective FROM task WHERE id='$T';\n" | tursodb -q -m list "$DB"
    printf "SELECT json_object('id',id,'req',requirement_id,'title',title)
       FROM task WHERE id='$T';\n" | tursodb -q -m list "$DB"
    printf "SELECT json_object('ts',ts,'agent',agent,'entry',entry)
       FROM work_log WHERE task_id='$T' ORDER BY id;\n" | tursodb -q -m list "$DB"
    
    Read the work log to resume from rather than redo. Before starting substantive work, log a start entry so an interrupted run is resumable:
    h=$(printf '%s' "Started — {research question}" | xxd -p | tr -d '\n')
    { printf "PRAGMA foreign_keys = ON;\n"
      printf "INSERT INTO work_log (task_id, ts, agent, entry)
              SELECT t.id, strftime('%%Y-%%m-%%dT%%H:%%M:%%SZ','now'), 'researcher',
                     CAST(x'$h' AS TEXT)
                FROM task t WHERE t.id='$T' RETURNING id;\n"
    } | tursodb -q -m list "$DB"
    

Read the full file on GitHub · 306 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. today Changed 69a7ac733b60
  2. 5d ago Changed · +150 lines 46713f2eeee7
  3. 9d ago First seen · 156 lines · 70 tokens per session scan A b0deb0ee761e

Subscribe to this mod's changes

researcher is an agent published in the GitHub repository HirogaKatageri/hirokata (5 stars, last pushed today), licensed MIT. It adds 70 tokens to every session and 3,815 once invoked, about $0.0003 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.