research

research is a command for Claude Code from signalcompose/claude-tools. It costs 6 tokens per session (313 once invoked), scanned A, original, MIT.

A command that uses the Codex command-line tool to research a question and return a summary. It is intended for technical topics such as dependency injection, retry logic, and error handling.

In plain words
What is it for?
Use it to research programming concepts, implementation approaches, and technical best practices.
Why use it?
It collects findings and caveats from a query so you do not have to investigate the topic manually before getting an initial overview.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Claude Code; runs codex exec; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ask-codex plugin — 1 skill, 2 commands shipped together

Good fit Use it to research programming concepts, implementation approaches, and technical best practices.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add signalcompose/claude-tools
Claude Code
/plugin install ask-codex

Made for: Claude Code.

Or install ask-codex, the plugin that ships this one along with the rest of its 1 skill, 2 commands.

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/signalcompose/claude-tools/research/github.svg)](https://agentmods.dev/commands/signalcompose/claude-tools/research)
Your own site
<a href="https://agentmods.dev/commands/signalcompose/claude-tools/research"><img src="https://agentmods.dev/badge/commands/signalcompose/claude-tools/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/signalcompose/claude-tools/research"><img src="https://agentmods.dev/badge/commands/signalcompose/claude-tools/research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 313 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.00006 $0.00313
Opus 5.5 $0.00002 $0.00125
Sonnet 5.5 $0.00001 $0.00063
Haiku 4.5 $0.00001 $0.00031

Measured 1mo ago against content hash 0ba2e9fadc89, 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 1mo 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/ask-codex/commands/research.md · 53 lines

What it actually says

Codex Research Command

Research technical topics using OpenAI Codex CLI.

Steps

  1. Check Codex Installation

Run the installation check script:

${CLAUDE_PLUGIN_ROOT}/scripts/check-codex.sh

If this fails, inform the user to install Codex CLI:

  • npm install -g @openai/codex
  • Set OPENAI_API_KEY environment variable
  1. Execute Research Query

IMPORTANT: The codex CLI requires access to macOS system configuration APIs that are blocked by Claude Code's sandbox. You MUST use dangerouslyDisableSandbox: true when executing this script. Without this, codex CLI will crash with exit code 101.

Run the research with the provided arguments:

${CLAUDE_PLUGIN_ROOT}/scripts/codex-exec.sh "$ARGUMENTS"
  1. Summarize Results

After execution:

  • Summarize the key findings
  • Highlight actionable insights
  • Note any limitations or caveats

Usage Examples

/ask-codex:research What is dependency injection
/ask-codex:research How to implement retry logic in TypeScript
/ask-codex:research Best practices for error handling in Node.js

Notes

  • Research queries are executed via codex exec
  • Timeout is set to 120 seconds
  • Results may vary based on Codex model capabilities
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. 1mo ago First seen · 53 lines · 6 tokens per session scan A 0ba2e9fadc89

Subscribe to this mod's changes

research is a command published in the GitHub repository signalcompose/claude-tools (4 stars, last pushed 1mo ago), licensed MIT. It adds 6 tokens to every session and 313 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-08-31.