research-component

research-component is a command for Claude Code from AlexK020908/infra-designer. It costs 39 tokens per session (416 once invoked), scanned A, original, MIT.

A documentation-driven command for adding a missing infrastructure component to a project registry.

In plain words
What is it for?
Checking whether the component already exists, researching documentation and relevant subpages, writing and registering the component, and validating the result.
Why use it?
Adding a component from memory can create duplicate entries or an incorrect provider setup when the official documentation has not been checked.

Command for Claude Code

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

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 infra-designer plugin — 19 skills, 5 commands shipped together

Good fit Checking whether the component already exists, researching documentation and relevant subpages, writing and registering the component, and validating the result.

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 AlexK020908/infra-designer
Claude Code
/plugin install infra-designer

Made for: Claude Code.

Or install infra-designer, the plugin that ships this one along with the rest of its 19 skills, 5 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-component

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/alexk020908/infra-designer/research-component"><img src="https://agentmods.dev/badge/commands/alexk020908/infra-designer/research-component.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 416 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.00039 $0.00416
Opus 5 $0.00019 $0.00208
Sonnet 5 $0.00008 $0.00083
Haiku 4.5 $0.00004 $0.00042

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

Security

Grade A, and why

research-component 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 9d 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.

infra-plugin/commands/research-component.md · 35 lines

What it actually says

Research a component from docs

The user wants to grow the registry from authoritative documentation. Their request (expected to contain a documentation URL, optionally with a description of the component):

$ARGUMENTS

How to run this

  1. If no URL is present, ask the user for the documentation link before doing anything — this command is doc-driven; don't research from memory.

  2. Confirm it's actually missing. Run python ${CLAUDE_PLUGIN_ROOT}/engine/cli.py list and skim ${CLAUDE_PLUGIN_ROOT}/components/<provider>/. If an existing component already covers the capability, say so and stop rather than adding a duplicate.

  3. Use the research-component skill (skills/research-component/SKILL.md) to do the deep research: crawl the supplied page, triage its links, fan out subagents in parallel over the relevant subpages (argument reference, IAM/auth, limits, pricing), and synthesize a verified research brief. Requires web access — if you don't have it, list what you'd need to verify and stop; never invent a provider schema.

  4. The skill hands the brief to the author-component skill to write the four-file component, register it (cli.py index), add it to knowledge/freshness.json, and validate it with a clean render.

  5. Report the new type, the files written, the sources crawled (and subagent count), anything left unverified with the conservative default chosen, and the render result. The component is now usable in /plan-infra and any infra/<project-name>/spec.json.

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. 9d ago First seen · 35 lines · 39 tokens per session scan A ec3cbab7eca1

Subscribe to this mod's changes

research-component is a command published in the GitHub repository AlexK020908/infra-designer (2 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 416 once invoked, about $0.0002 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.