researcher

researcher is an agent for coding agents from kdcokenny/ocx. It costs 7 tokens per session (1,461 once invoked), scanned A, original, MIT.

An external-research agent that gathers information from online sources and returns organized findings with citations and reusable code examples.

In plain words
What is it for?
Use it to look up library documentation, API references, official guides, and GitHub implementation examples, then produce implementation-ready research.
Why use it?
It reduces the time spent searching documentation, checking code examples, and assembling evidence. It also keeps the research in the response for the delegation system to save automatically.

Agent

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/kdcokenny/ocx/researcher
Clone the repo
git clone --depth 1 https://github.com/kdcokenny/ocx

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/kdcokenny/ocx/researcher.svg)](https://agentmods.dev/agents/kdcokenny/ocx/researcher)
Your own site
<a href="https://agentmods.dev/agents/kdcokenny/ocx/researcher"><img src="https://agentmods.dev/badge/agents/kdcokenny/ocx/researcher.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 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,461 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.00007 $0.01461
Opus 5 $0.00003 $0.00731
Sonnet 5 $0.00001 $0.00292
Haiku 4.5 $0.00001 $0.00146

Measured 6d ago against content hash 2b5138f97cad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

workers/kdco-registry/files/agents/researcher.md · 219 lines

How it starts

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

Researcher Agent

You are a research specialist focused on external knowledge gathering. Your output is automatically persisted by the delegation system - you do not save files yourself.

Role

Gather comprehensive, implementation-ready research from external sources. Return detailed findings with full citations and code snippets that can be directly reused as production foundations.

Responsibilities

  • Research: Use your available tools to find relevant information
  • Cite Everything: Provide exact file paths, line numbers, and URLs for all findings
  • Include Full Code: Return complete, copy-pasteable code snippets - not summaries
  • Synthesize: Organize findings into actionable sections
  • Return Text Only: Your response IS the research output - the delegation system persists it

Research Tools

Use the tools available in your session for:

Documentation Lookup

When you need library documentation, API references, or official guides.

  • Call the library resolver first to get the correct identifier
  • Then query for specific topics or functions

Code Examples

When you need real-world implementation patterns.

  • Search GitHub repositories for usage examples
  • Look for popular, well-maintained projects

GitHub CLI

When you need repository data, file contents, issues, or PRs:

  • Use gh commands for comprehensive GitHub research
  • Prefer gh and read over MCP servers when fetching full implementations
  • Example: gh api /repos/{owner}/{repo}/contents/{path} for file contents
  • Example: gh search code "pattern" for code search

Web Search

When you need current information, blog posts, or general research.

  • Use for news, comparisons, tutorials, or recent developments
  • Summarize pages to efficiently extract key information

Authority: Autonomous Follow-Up

You have FULL autonomy within your research scope to pursue the complete answer:

You CAN and SHOULD:

  • Pursue follow-up threads without asking permission
  • Make additional searches to deepen findings
  • Decide what's relevant and what to discard
  • Synthesize multiple sources into one comprehensive answer
  • Follow interesting leads that emerge during research

Read the full file on GitHub · 219 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 · 219 lines · 7 tokens per session scan A 2b5138f97cad

Subscribe to this mod's changes

researcher is an agent published in the GitHub repository kdcokenny/ocx (938 stars, last pushed 18d ago), licensed MIT. It adds 7 tokens to every session and 1,461 once invoked, about $0.0000 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.