ears-acceptance-criteria

ears-acceptance-criteria is a skill for Claude Code, Codex from phuonghx/aim-cli. It costs 106 tokens per session (1,100 once invoked), scanned A, original, MIT.

A requirements-writing skill that uses EARS, a format for expressing one clear, testable software behavior per statement.

In plain words
What is it for?
Use it to write acceptance criteria for normal behavior, events, states, errors, and optional features using consistent templates.
Why use it?
It turns vague requirements into observable rules that are easier to review and map directly to tests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to write acceptance criteria for normal behavior, events, states, errors, and optional features using consistent templates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/phuonghx/aim-cli/ears-acceptance-criteria
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.

Any agent
npx skills add phuonghx/aim-cli --skill ears-acceptance-criteria
Clone the repo
git clone --depth 1 https://github.com/phuonghx/aim-cli

Made for: Claude Code, Codex.

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 ears-acceptance-criteria

README.md
[![agentmods](https://agentmods.dev/badge/skills/phuonghx/aim-cli/ears-acceptance-criteria/github.svg)](https://agentmods.dev/skills/phuonghx/aim-cli/ears-acceptance-criteria)
Your own site
<a href="https://agentmods.dev/skills/phuonghx/aim-cli/ears-acceptance-criteria"><img src="https://agentmods.dev/badge/skills/phuonghx/aim-cli/ears-acceptance-criteria/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 ears-acceptance-criteria

Your own site · 80×15
<a href="https://agentmods.dev/skills/phuonghx/aim-cli/ears-acceptance-criteria"><img src="https://agentmods.dev/badge/skills/phuonghx/aim-cli/ears-acceptance-criteria.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,100 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.00106 $0.01100
Opus 5.5 $0.00042 $0.00440
Sonnet 5.5 $0.00021 $0.00220
Haiku 4.5 $0.00011 $0.00110

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

Security

Grade A, and why

ears-acceptance-criteria 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 3mo 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.

aim/templates/aim-agents/skills/ears-acceptance-criteria/SKILL.md · 94 lines

How it starts

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

EARS Acceptance Criteria

One criterion, one behavior, one test.

EARS (Easy Approach to Requirements Syntax) constrains free-text requirements to a few keyword-driven templates. The result is unambiguous, reviewable, and maps 1:1 to a test case.

The five patterns

Pattern Keyword shape Use for
Ubiquitous THE SYSTEM SHALL <response>. Always-true invariants
Event-driven WHEN <trigger> THE SYSTEM SHALL <response>. A reaction to an event
State-driven WHILE <state> THE SYSTEM SHALL <response>. Behavior during a state
Unwanted behavior IF <condition> THEN THE SYSTEM SHALL <response>. Errors, faults, abuse
Optional feature WHERE <feature included> THE SYSTEM SHALL <response>. Behavior gated on a feature/config

Keywords combine. Compound: WHILE <state> WHEN <trigger> THE SYSTEM SHALL <response>. Keep SHALL (the obligation) in every line.

Template

<pattern keywords> THE SYSTEM SHALL <single observable response>
[within <measurable bound>].
  • Trigger / condition / state — the precondition, in user-visible terms.
  • SHALL — exactly one behavior you can observe and assert.
  • Bound (optional) — a number a test can check (time, count, size, %).

One atomic, verifiable behavior per criterion

  • If a line contains "and" joining two behaviors, split it into two.
  • If you can't picture the assertion, it's too vague — rewrite it.
  • Responses must be observable (output, state change, status code), not internal ("the system processes the data correctly").
  • Prefer measurable bounds over adjectives ("fast", "large", "secure").

Good vs. bad

❌ Bad ✅ Good (EARS)
The system should be fast. WHEN a user submits the form THE SYSTEM SHALL return a response within 500ms.
Handle invalid input gracefully. IF the email field is malformed THEN THE SYSTEM SHALL reject the submission and show a field-level error.
Users can log in and see their dashboard. WHEN valid credentials are submitted THE SYSTEM SHALL authenticate the user. (then a second criterion for the dashboard)
The app supports offline mode. WHERE offline mode is enabled THE SYSTEM SHALL queue writes and sync them WHEN connectivity returns.
Keep the session secure. WHILE a session is idle for 15 minutes THE SYSTEM SHALL log the user out.

Read the full file on GitHub · 94 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. 3mo ago First seen · 94 lines · 106 tokens per session scan A 66bb23361ad4

Subscribe to this mod's changes

ears-acceptance-criteria is a skill published in the GitHub repository phuonghx/aim-cli (1 stars, last pushed 5mo ago), licensed MIT. It adds 106 tokens to every session and 1,100 once invoked, about $0.0004 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.

Related

ears-acceptance-criteria compared with skills from other repositories

ears-acceptance-criteria next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ears-acceptance-criteriaphuonghx/aim-cliSkill15mo agoMITA106Claude Code, Codex
hindsight-coding-agentvectorize-io/hindsightSkill64k3d agoMITA74Claude Code, Codex
memory-retainvectorize-io/hindsightSkill64k3d agoMITA46Cursor
managing-mcp-serversJetBrains/thinkrailSkill8.5ktodayApache-2.0A62Claude Code, Codex
todosJetBrains/thinkrailSkill8.5ktodayApache-2.0A58Claude Code, Codex
writing-workflow-skillsJetBrains/thinkrailSkill8.5ktodayApache-2.0A60Claude Code, Codex
research-repositoryOwl-Listener/designer-skillsSkill3.6k3d agoMITA43Claude Code, Codex