research-do

research-do is a command for Claude Code from jayvee/aigon. It costs 9 tokens per session (1,447 once invoked), scanned A, original, Apache-2.0.

A command that carries out a planned research topic and writes the findings to a designated Markdown file. It first checks the repository and applies strict rules about which files the research agent may change.

In plain words
What is it for?
Use it to investigate a research topic after it has been started, using the topic ID and recording the results in the research log.
Why use it?
It gives research work a defined place and prevents the agent from modifying source code or another agent’s findings.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to investigate a research topic after it has been started…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jayvee/aigon/research-do
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/jayvee/aigon

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/jayvee/aigon/research-do.svg)](https://agentmods.dev/commands/jayvee/aigon/research-do)
Your own site
<a href="https://agentmods.dev/commands/jayvee/aigon/research-do"><img src="https://agentmods.dev/badge/commands/jayvee/aigon/research-do.svg" alt="Measured on agentmods" height="20"></a>
Per session 9 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,447 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.00009 $0.01447
Opus 5 $0.00005 $0.00724
Sonnet 5 $0.00002 $0.00289
Haiku 4.5 $0.00001 $0.00145

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

Security

Grade A, and why

research-do 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 3d 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

2 near-identical copies found in the catalogue:

.claude/commands/aigon/research-do.md · 135 lines

How it starts

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

aigon-research-do

Run this command followed by the Research ID.

aigon research-do {{args}}

Argument Resolution

If no ID is provided, or the ID doesn't match an existing topic in progress:

  1. List all files in ./docs/specs/research-topics/03-in-progress/ matching research-*.md
  2. If a partial ID or name was given, filter to matches
  3. Present the matching topics and ask the user to choose one

This command is the research equivalent of feature-do: it is the main work step after research-start.

Step 0: Verify your workspace (MANDATORY)

Before doing ANYTHING else, verify your environment:

pwd
git branch --show-current

Research agents work in the main repository on the current branch. This is normal — research does not require branch isolation because you are only writing findings files, not modifying code.

CRITICAL RULES for research:

  • You MUST NOT modify any source code files (.js, .ts, .py, .json, etc.)
  • You MUST NOT modify other agents' findings files
  • You MUST ONLY write to YOUR findings file: docs/specs/research-topics/logs/research-{ID}-cc-findings.md
  • You MUST NOT run git checkout, git branch, or create new branches — stay where you are

Required Lifecycle Step

Before starting active research, run:

aigon agent-status implementing

This updates your agent state in the main repo so the dashboard and coordinator know you're actively working.

Your Task

  1. Find the research topic in docs/specs/research-topics/03-in-progress/research-{ID}-*.md

  2. Check for worktree/Fleet mode: Look for your findings file at: docs/specs/research-topics/logs/research-{ID}-cc-findings.md

  3. Conduct deep research to answer each question in the research doc. Go broad before going deep:

    How to research thoroughly:

    • Search the web for documentation, blog posts, comparisons, and real-world usage. Don't rely only on what's in the codebase.
    • Read primary sources — official docs, GitHub repos, RFCs — not just summaries.
    • Explore multiple approaches before settling on one. For each question, consider at least 2-3 alternatives.
    • Look at the codebase to understand current patterns, constraints, and what's already been tried.
    • Compare trade-offs with evidence, not just intuition. Include concrete pros/cons.
    • Cite your sources — every claim should link back to where you found it.

Read the full file on GitHub · 135 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. 3d ago First seen · 135 lines · 9 tokens per session scan A 3a9e5d4ad8a2

Subscribe to this mod's changes

research-do is a command published in the GitHub repository jayvee/aigon (25 stars, last pushed 5d ago), licensed Apache-2.0. It adds 9 tokens to every session and 1,447 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-09-03.