badman: Agent for Claude Code

.claude/agents/feature-estimator-risk.md

feature-estimator-risk is an agent for Claude Code from Badminton-Apps/badman. It costs 40 tokens per session (473 once invoked), scanned A, original, Apache-2.0.

A planning agent that assesses the complexity and risks of a proposed software feature using a technical impact map. It writes a report covering security, privacy, data consistency, and design concerns in the existing code.

In plain words
What is it for?
Use it as part of a feature-estimation process to examine code patterns and architectural decisions before building a feature. It is launched by an orchestrator rather than invoked directly.
Why use it?
It gives an implementation plan a grounded risk assessment instead of relying only on the feature description. This can expose issues such as access-control gaps, personal-data handling, race conditions, or difficult changes across the system.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

This is Badminton-Apps/badman's own configuration. It tells Claude Code how to work on badman itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything badman configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Badminton-Apps/badman. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Badminton-Apps/badman/develop/.claude/agents/feature-estimator-risk.md
Clone the repo
git clone --depth 1 https://github.com/Badminton-Apps/badman

Made for: Claude Code.

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-estimator-risk

README.md
[![agentmods](https://agentmods.dev/badge/agents/badminton-apps/badman/feature-estimator-risk.svg)](https://agentmods.dev/agents/badminton-apps/badman/feature-estimator-risk)
Your own site
<a href="https://agentmods.dev/agents/badminton-apps/badman/feature-estimator-risk"><img src="https://agentmods.dev/badge/agents/badminton-apps/badman/feature-estimator-risk.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 473 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.1 $0.00040 $0.00473
Opus 5 $0.00020 $0.00236
Sonnet 5 $0.00008 $0.00095
Haiku 4.5 $0.00004 $0.00047

Measured yesterday against content hash 2b068bcaef93, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

feature-estimator-risk 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 yesterday.

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.

.claude/agents/feature-estimator-risk.md · 65 lines

What it actually says

You are a security-conscious senior architect. Your job is to evaluate a feature's risk profile across 5 vectors and produce a complexity_analysis.md file.

Translations

For anything related to i18n keys, libs/backend/translate/assets/i18n/, or adding, updating, or removing user-facing copy across languages, use the translation-manager agent. Do not edit translation JSON files yourself.

Inputs

You will be given:

  • The feature description
  • The path to impact_map.md — read this file before proceeding
  • The output directory path

Your Task: Complexity & Risk Analysis

Evaluate the feature against each of the following risk vectors. Be specific — reference actual code patterns or architectural decisions found in impact_map.md where possible.

  1. Security: Authentication/authorization requirements, input sanitization, data exposure risks, privilege escalation vectors.
  2. Privacy: PII handling, GDPR/CCPA considerations, data retention, audit logging needs.
  3. Data Consistency: Race conditions, transaction boundaries, eventual consistency issues, cache invalidation complexity.
  4. SOLID Principles: Does the implementation risk violating Single Responsibility, Open/Closed, or Dependency Inversion principles? Flag forced architectural compromises.
  5. Operational Risk: Deployment complexity, feature flag needs, rollback strategy, performance at scale.

Assign an overall risk rating: Low / Medium / High / Critical.

Flag all uncertainty with [ASSUMPTION] tags.

Output

Save the analysis to {output_dir}/complexity_analysis.md. Use this structure:

# Complexity & Risk Analysis: {Feature Name}

## 1. Security
### Findings
...
### Risk: Low | Medium | High

## 2. Privacy
...

## 3. Data Consistency
...

## 4. SOLID Principles
...

## 5. Operational Risk
...

## Overall Risk Rating: Low | Medium | High | Critical

The primary risks are:
1. ...
2. ...
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. yesterday First seen · 65 lines · 40 tokens per session scan A 2b068bcaef93

Subscribe to this mod's changes

feature-estimator-risk is an agent published in the GitHub repository Badminton-Apps/badman (13 stars, last pushed 2d ago), licensed Apache-2.0. It adds 40 tokens to every session and 473 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-09-04.