features:analyze

features:analyze is a command for Claude Code from ruslan-korneev/claude-plugins. It costs 15 tokens per session (967 once invoked), scanned A, original, MIT.

A command that examines an existing codebase and turns its models, workflows, integrations, and business rules into feature specifications. It also compares the findings with existing feature documents.

In plain words
What is it for?
Use it to document an unfamiliar project, identify core and workflow features, record connections to outside services, and update feature documentation.
Why use it?
It helps keep written requirements aligned with what the software actually contains, revealing missing, changed, or obsolete feature descriptions.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the tech-lead plugin — 14 commands, 9 agents shipped together

Good fit Use it to document an unfamiliar project, identify core and workflow features, record connections to outside services, and update feature documentation.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ruslan-korneev/claude-plugins/features-analyze
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/ruslan-korneev/claude-plugins

Made for: Claude Code.

Or install tech-lead, the plugin that ships this one along with the rest of its 14 commands, 9 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 features:analyze

README.md
[![agentmods](https://agentmods.dev/badge/commands/ruslan-korneev/claude-plugins/features-analyze/github.svg)](https://agentmods.dev/commands/ruslan-korneev/claude-plugins/features-analyze)
Your own site
<a href="https://agentmods.dev/commands/ruslan-korneev/claude-plugins/features-analyze"><img src="https://agentmods.dev/badge/commands/ruslan-korneev/claude-plugins/features-analyze/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 features:analyze

Your own site · 80×15
<a href="https://agentmods.dev/commands/ruslan-korneev/claude-plugins/features-analyze"><img src="https://agentmods.dev/badge/commands/ruslan-korneev/claude-plugins/features-analyze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 967 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.00015 $0.00967
Opus 5.5 $0.00006 $0.00387
Sonnet 5.5 $0.00003 $0.00193
Haiku 4.5 $0.00002 $0.00097

Measured 1mo ago against content hash 87c107119f4b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

features:analyze 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/tech-lead/commands/features-analyze.md · 174 lines

How it starts

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

Command /feature-list:analyze

Analyze existing codebase and generate feature specifications.

Instructions

Step 1: Launch Codebase Analyzer

Use the Task tool to spawn the codebase-analyzer agent:

Analyze the codebase at {path} and extract:
1. Domain entities (models, tables)
2. API endpoints (routes, handlers)
3. Business services
4. External integrations

For each entity, identify:
- CRUD operations
- Business rules (validations, constraints)
- Relationships and dependencies
- Current implementation status

Step 2: Process Analysis Results

From the analyzer output, categorize findings:

Core Features (from models):

  • Each major model → potential core feature
  • Identify domain codes from model names

Workflow Features (from services):

  • Multi-step processes
  • Cross-entity operations

Integration Features (from clients/adapters):

  • External API clients
  • Third-party service connections

Step 3: Check Existing Features

Use Glob to find existing feature files:

docs/technical-requirements/features/*.md

Compare with analysis to identify:

  • New features to create
  • Existing features to update
  • Obsolete features to flag

Step 4: Confirm with User

Use AskUserQuestion to confirm the proposed features:

## Proposed Features

Based on codebase analysis, I found these features:

### Core (entities)
- [ ] `core-01-user` — User model with authentication
- [ ] `core-02-product` — Product catalog

### Workflow (processes)
- [ ] `workflow-01-checkout` — Order creation flow

### Integration (external)
- [ ] `integration-01-email` — SendGrid integration

Should I generate these feature specifications?

Step 5: Generate Feature Files

For each confirmed feature:

  1. Determine next number for phase:

    Glob: docs/technical-requirements/features/{phase}-*.md
    
  2. Generate feature file using template from SKILL.md

  3. Extract business rules from code:

    • Model validations → BR-XXX rules
    • Unique constraints → BR-XXX rules
    • Required fields → BR-XXX rules

Read the full file on GitHub · 174 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. 1mo ago First seen · 174 lines · 15 tokens per session scan A 87c107119f4b

Subscribe to this mod's changes

features:analyze is a command published in the GitHub repository ruslan-korneev/claude-plugins (5 stars, last pushed 7mo ago), licensed MIT. It adds 15 tokens to every session and 967 once invoked, about $0.0001 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.