research

research is a command for Claude Code from boparaiamrit/skills-by-amrit. It costs 19 tokens per session (796 once invoked), scanned A, original, MIT.

A structured investigation of a topic, technology, or part of a codebase before planning or implementation.

In plain words
What is it for?
Use it to answer technical questions, evaluate technologies, understand a codebase area, or prepare a research report.
Why use it?
It gathers relevant code, dependencies, history, and tests so decisions are based on the existing project rather than guesses.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the skills-by-amrit plugin — 33 skills, 34 commands, 9 agents shipped together

Good fit Use it to answer technical questions, evaluate technologies, understand a codebase area, or prepare a research report.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/boparaiamrit/skills-by-amrit/research
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/boparaiamrit/skills-by-amrit

Made for: Claude Code.

Or install skills-by-amrit, the plugin that ships this one along with the rest of its 33 skills, 34 commands, 9 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

README.md
[![agentmods](https://agentmods.dev/badge/commands/boparaiamrit/skills-by-amrit/research/github.svg)](https://agentmods.dev/commands/boparaiamrit/skills-by-amrit/research)
Your own site
<a href="https://agentmods.dev/commands/boparaiamrit/skills-by-amrit/research"><img src="https://agentmods.dev/badge/commands/boparaiamrit/skills-by-amrit/research/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

Your own site · 80×15
<a href="https://agentmods.dev/commands/boparaiamrit/skills-by-amrit/research"><img src="https://agentmods.dev/badge/commands/boparaiamrit/skills-by-amrit/research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 796 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.00019 $0.00796
Opus 5 $0.00010 $0.00398
Sonnet 5 $0.00004 $0.00159
Haiku 4.5 $0.00002 $0.00080

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

Security

Grade A, and why

research 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 11d 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.

commands/research.md · 113 lines

How it starts

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

/research — Deep Research

Conduct thorough research on a topic before planning or implementation. Produces a structured research report.

Instructions

Step 1: Define Research Scope

From $ARGUMENTS, determine:

  • Research question: What exactly are we investigating?
  • Research type: Codebase analysis, technology evaluation, domain knowledge, or competitive analysis?
  • Depth required: Quick scan (30 min) or deep dive (2+ hours)?

Step 2: Codebase Research (If Applicable)

For questions about the existing codebase:

# Find relevant files
grep -rn "[keyword]" --include="*.ts" --include="*.js" --include="*.py" . | grep -v node_modules | head -50

# Map structure of relevant area
find [directory] -type f -not -path '*/node_modules/*' | head -50

# Check git history for relevant changes
git log --all --oneline --grep="[keyword]" | head -20

# Find related tests
find . -path "*/test*" -name "*[keyword]*" -o -path "*/spec*" -name "*[keyword]*" | head -20

For each relevant file found:

  1. Read the full file — Don't skim. Understand the complete context.
  2. Trace imports/exports — Map the dependency chain.
  3. Read the tests — Tests document expected behavior.
  4. Check git blame — Who wrote it, when, and why?

Step 3: Technology Research (If Applicable)

For questions about technologies or approaches:

  1. Official documentation — Always start here
  2. GitHub examples — Look at how others use it
  3. Known issues — Check for gotchas, breaking changes, compatibility
  4. Alternatives — What else could solve this problem?
  5. Performance characteristics — Speed, memory, scalability

Step 4: Synthesize Findings

Create a structured research report. Save to .planning/research/[topic-slug].md:

# Research: [Topic]

## Question
[The specific research question]

## Executive Summary
[3-5 sentence summary of key findings]

## Key Findings

### Finding 1: [Title]
- **Source:** [file:line or URL]
- **Detail:** [What was discovered]
- **Implications:** [What this means for our work]

### Finding 2: [Title]
...

## Patterns & Conventions
- [Pattern 1]: [Description and where it's used]
- [Pattern 2]: ...

## Risks & Concerns
| Risk | Likelihood | Impact | Mitigation |
|------|-----------|--------|------------|
| [Risk] | Low/Med/High | Low/Med/High | [Action] |

## Recommendations
1. [Actionable recommendation]
2. [Actionable recommendation]

## References
- [Source 1] — [What it contributes]
- [Source 2] — [What it contributes]

## Open Questions
- [Question that needs further investigation]
- [Question that needs user input]

Read the full file on GitHub · 113 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. 11d ago First seen · 113 lines · 19 tokens per session scan A 36ad29613145

Subscribe to this mod's changes

research is a command published in the GitHub repository boparaiamrit/skills-by-amrit (5 stars, last pushed 5mo ago), licensed MIT. It adds 19 tokens to every session and 796 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.