research

research is a command for Claude Code from app-vitals/shipwright. It costs 11 tokens per session (582 once invoked), scanned A, original, MIT.

A command that gathers project documents and web research for a specified task using a separate research agent. It looks for common documentation folders and can fall back to web-only research.

In plain words
What is it for?
Use it to investigate a task, load matching project documentation, and return a distilled research result.
Why use it?
It collects relevant context before work begins, including information that may not be present in the codebase.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents.

Part of the shipwright plugin — 27 skills, 32 commands, 5 agents shipped together

Good fit Use it to investigate a task, load matching project documentation, and return a distilled research result.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/app-vitals/shipwright/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/app-vitals/shipwright

Made for: Claude Code.

Or install shipwright, the plugin that ships this one along with the rest of its 27 skills, 32 commands, 5 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/app-vitals/shipwright/research/github.svg)](https://agentmods.dev/commands/app-vitals/shipwright/research)
Your own site
<a href="https://agentmods.dev/commands/app-vitals/shipwright/research"><img src="https://agentmods.dev/badge/commands/app-vitals/shipwright/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/app-vitals/shipwright/research"><img src="https://agentmods.dev/badge/commands/app-vitals/shipwright/research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 582 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.00011 $0.00582
Opus 5.5 $0.00004 $0.00233
Sonnet 5.5 $0.00002 $0.00116
Haiku 4.5 $0.00001 $0.00058

Measured 13d ago against content hash ece627fdc4fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 13d 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/shipwright/commands/research.md · 73 lines

How it starts

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

Research: $ARGUMENTS

Load task-relevant documentation and research context using an isolated sub-agent. All reasoning happens in the sub-agent — only the distilled result enters this session.

Step 1: Detect Docs Directory

Check for a documentation directory in the project root:

  1. Glob for docs/ — most common convention
  2. If not found, check documentation/
  3. If not found, check doc/

Also note whether CLAUDE.md exists at project root.

If no docs directory exists, inform the user and offer web-only research:

No docs/ directory found in this project.
Running web-only research for: $ARGUMENTS

Step 2: Launch Research Agent

Spawn the researcher agent via the Agent tool with run_in_background: false. Pass a prompt that includes:

  1. The task: $ARGUMENTS
  2. The docs directory path (if found)
  3. Project name (from package.json name field, or the current directory name)

Provide a clear, complete prompt — the agent has no prior context.

Example agent prompt:

Research the following task for this project:

Task: $ARGUMENTS
Project: {project name}
Docs directory: {docs path, or "none — web search only"}

Follow your standard workflow: discover docs, select relevant ones,
assess gaps, web search if needed, and return distilled results.

In addition to docs, search the codebase for:

1. REUSE PATTERNS — Find existing implementations similar to this task.
   Identify functions, utilities, or abstractions that can be reused
   rather than reimplemented. Search for related file paths, function
   names, or patterns near the Technical Details files.

2. ANTI-PATTERNS — Scan recent code (git log --oneline -10 to identify
   active files, then read them) for patterns to avoid: inconsistent
   naming, overly complex abstractions, or known tech debt areas.

3. TEST PATTERNS — Find test files for the same layer or module as this
   task. Extract the testing approach used: mocking strategy, assertion
   style, test file structure, and naming conventions.

Include a "## Patterns" section in your output with findings for each
of the three categories above. If nothing notable is found for a
category, write "None found."

Read the full file on GitHub · 73 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. 13d ago First seen · 73 lines · 11 tokens per session scan A ece627fdc4fe

Subscribe to this mod's changes

research is a command published in the GitHub repository app-vitals/shipwright (16 stars, last pushed today), licensed MIT. It adds 11 tokens to every session and 582 once invoked, about $0.0000 per session on Opus 5.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-11-17.

Related

research compared with commands from other repositories

research next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
researchapp-vitals/shipwrightCommand16todayMITA11Claude Code
plandmae97/omkCommand154todayMITA0Claude Code
constitutiondmae97/omkCommand154todayMITA0Claude Code
tasksdmae97/omkCommand154todayMITA0Claude Code
cleanupcan1357/oh-my-piCommand40ktodayMITA0Claude Code
fafWolfe-Jam/faf-cliCommand46todayMITA11Claude Code
checklistgithub/spec-kitCommand153k3d agoMITA13Claude Code