research

research is a command for coding agents 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

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

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 commands/signalcompose/claude-tools/research
Clone the repo
git clone --depth 1 https://github.com/signalcompose/claude-tools

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.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.svg" alt="Measured on agentmods" 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. 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 $0.00006 $0.00313
Opus 5 $0.00003 $0.00156
Sonnet 5 $0.00001 $0.00063
Haiku 4.5 $0.00001 $0.00031

Measured 3d ago against content hash 0ba2e9fadc89, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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. 3d 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 6d ago), licensed MIT. It adds 6 tokens to every session and 313 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-31.