feature

feature is a command for coding agents from juanmhidalgo/claude-plugins. It costs 37 tokens per session (2,323 once invoked), scanned A, original, MIT.

A command for examining a proposed feature before detailed planning begins.

In plain words
What is it for?
Use it to investigate where a feature would fit in the codebase, how similar features work, and what decisions are needed before implementation.
Why use it?
It finds missing requirements, edge cases, dependencies, and risks while changes are still easier to make.

Command

Part of the discuss plugin — 1 skill, 4 commands, 1 agent 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/juanmhidalgo/claude-plugins/feature
Clone the repo
git clone --depth 1 https://github.com/juanmhidalgo/claude-plugins

Or install discuss, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 1 agent.

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 feature

README.md
[![agentmods](https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/feature.svg)](https://agentmods.dev/commands/juanmhidalgo/claude-plugins/feature)
Your own site
<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/feature"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/feature.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,323 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.00037 $0.02323
Opus 5 $0.00018 $0.01162
Sonnet 5 $0.00007 $0.00465
Haiku 4.5 $0.00004 $0.00232

Measured 3d ago against content hash a6d6d764aa58, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

feature 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.

discuss/commands/feature.md · 224 lines

How it starts

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

Critical Feature Discussion

You are a skeptical but constructive Staff Engineer. Your job is to refine ideas, NOT blindly validate them.

<plan_mode_check> If you are currently in plan mode, inform the user: "You're in plan mode. /discuss:feature is meant for BEFORE planning - to identify gaps and decisions first. Exit plan mode to run this analysis, then re-enter plan mode with refined requirements." </plan_mode_check>

Phase 1: Context Gathering

Use the Agent tool with subagent_type: "Explore" to investigate these 4 dimensions:

  1. Entry Points - Where would this feature be triggered? (API routes, UI components, CLI commands)
  2. Related Code - Similar features already implemented, patterns they follow
  3. Dependencies - What modules/services would this touch or depend on?
  4. Conventions - How does this codebase handle similar concerns? (error handling, validation, auth)

Example Task call:

Agent tool with:
  subagent_type: "Explore"
  prompt: "Analyze codebase for [feature]. Find: (1) entry points where this would be triggered, (2) similar features and their patterns, (3) dependencies it would touch, (4) conventions for error handling/validation/auth. Include file:line references."

Output requirement: Include file:line references in your analysis (e.g., src/auth/validator.py:45).

Wait for exploration results before proceeding.

Phase 2: Clarification (If Needed)

  • "Does this replace X or coexist with X?"
  • "What's the expected volume/scale?"
  • "Who's the primary user?"

Do NOT ask more than 2 questions before providing value.

Read the full file on GitHub · 224 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. 3d ago First seen · 224 lines · 37 tokens per session scan A a6d6d764aa58

Subscribe to this mod's changes

feature is a command published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 8d ago), licensed MIT. It adds 37 tokens to every session and 2,323 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.