nfr-assess

nfr-assess is a command for Claude Code from cakemail/cakemail-api-documentation-mcp. It costs 0 tokens per session (1,895 once invoked), scanned A, a copy of nfr-assess, MIT.

A command for checking a user story’s non-functional requirements: security, performance, reliability, and maintainability. Non-functional requirements describe how well software should work, rather than what features it provides.

In plain words
What is it for?
It is for assessing a story, producing a YAML validation block, and saving a short Markdown assessment for quality assurance.
Why use it?
It helps identify quality risks even when the requested feature appears to work, and records concerns when the source story or evidence is missing.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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/cakemail/cakemail-api-documentation-mcp/nfr-assess
Clone the repo
git clone --depth 1 https://github.com/cakemail/cakemail-api-documentation-mcp

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 nfr-assess

README.md
[![agentmods](https://agentmods.dev/badge/commands/cakemail/cakemail-api-documentation-mcp/nfr-assess.svg)](https://agentmods.dev/commands/cakemail/cakemail-api-documentation-mcp/nfr-assess)
Your own site
<a href="https://agentmods.dev/commands/cakemail/cakemail-api-documentation-mcp/nfr-assess"><img src="https://agentmods.dev/badge/commands/cakemail/cakemail-api-documentation-mcp/nfr-assess.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,895 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00000 $0.01895
Opus 5 $0.00000 $0.00948
Sonnet 5 $0.00000 $0.00379
Haiku 4.5 $0.00000 $0.00189

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

Security

Grade A, and why

nfr-assess 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 5d 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.

Origin

This is a copy

100% identical to nfr-assess — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/BMad/tasks/nfr-assess.md · 350 lines

How it starts

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

/nfr-assess Task

When this command is used, execute the following task:

nfr-assess

Quick NFR validation focused on the core four: security, performance, reliability, maintainability.

Inputs

required:
  - story_id: '{epic}.{story}' # e.g., "1.3"
  - story_path: `.bmad-core/core-config.yaml` for the `devStoryLocation`

optional:
  - architecture_refs: `.bmad-core/core-config.yaml` for the `architecture.architectureFile`
  - technical_preferences: `.bmad-core/core-config.yaml` for the `technicalPreferences`
  - acceptance_criteria: From story file

Purpose

Assess non-functional requirements for a story and generate:

  1. YAML block for the gate file's nfr_validation section
  2. Brief markdown assessment saved to qa.qaLocation/assessments/{epic}.{story}-nfr-{YYYYMMDD}.md

Process

0. Fail-safe for Missing Inputs

If story_path or story file can't be found:

  • Still create assessment file with note: "Source story not found"
  • Set all selected NFRs to CONCERNS with notes: "Target unknown / evidence missing"
  • Continue with assessment to provide value

1. Elicit Scope

Interactive mode: Ask which NFRs to assess Non-interactive mode: Default to core four (security, performance, reliability, maintainability)

Which NFRs should I assess? (Enter numbers or press Enter for default)
[1] Security (default)
[2] Performance (default)
[3] Reliability (default)
[4] Maintainability (default)
[5] Usability
[6] Compatibility
[7] Portability
[8] Functional Suitability

> [Enter for 1-4]

2. Check for Thresholds

Look for NFR requirements in:

  • Story acceptance criteria
  • docs/architecture/*.md files
  • docs/technical-preferences.md

Interactive mode: Ask for missing thresholds Non-interactive mode: Mark as CONCERNS with "Target unknown"

No performance requirements found. What's your target response time?
> 200ms for API calls

No security requirements found. Required auth method?
> JWT with refresh tokens

Read the full file on GitHub · 350 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. 5d ago First seen · 350 lines · 0 tokens per session scan A 3ffab1d0e3c5

Subscribe to this mod's changes

nfr-assess is a command published in the GitHub repository cakemail/cakemail-api-documentation-mcp (0 stars, last pushed 11mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,895 tokens. A static security scan graded it A with 0 findings. It is 100% identical to nfr-assess, differing in 6 lines, and is treated as a copy.