9_gofer_tests

9_gofer_tests is a command for Claude Code from eai-support/eai-gofer. It costs 18 tokens per session (5,583 once invoked), scanned A, original, Apache-2.0.

A test-design command that creates acceptance test cases for a target component from several testing perspectives.

In plain words
What is it for?
Use it to define how a component should be tested and to prepare acceptance checks.
Why use it?
It makes expected behavior explicit before or during implementation.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node .specify/scripts/node/gofer-ui-preview.mjs --feature-dir {FEATURE_DIR} --command "./run.sh dev 3001" --require-scenarios --open auto --screenshot --change .

Part of the eai-gofer plugin — 4 skills, 28 commands, 42 agents, 3 hooks, 1 MCP server shipped together

Good fit Use it to define how a component should be tested and to prepare acceptance checks.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/eai-support/eai-gofer
agentmods
npx agentmods add commands/eai-support/eai-gofer/9_gofer_tests

Made for: Claude Code.

Or install eai-gofer, the plugin that ships this one along with the rest of its 4 skills, 28 commands, 42 agents, 3 hooks, 1 MCP server.

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 9_gofer_tests

README.md
[![agentmods](https://agentmods.dev/badge/commands/eai-support/eai-gofer/9_gofer_tests.svg)](https://agentmods.dev/commands/eai-support/eai-gofer/9_gofer_tests)
Your own site
<a href="https://agentmods.dev/commands/eai-support/eai-gofer/9_gofer_tests"><img src="https://agentmods.dev/badge/commands/eai-support/eai-gofer/9_gofer_tests.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,583 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.00018 $0.05583
Opus 5 $0.00009 $0.02792
Sonnet 5 $0.00004 $0.01117
Haiku 4.5 $0.00002 $0.00558

Measured 4d ago against content hash 28071e947084, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

9_gofer_tests 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 4d 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.

.specify/commands/9_gofer_tests.md · 660 lines

How it starts

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


description: Define acceptance test cases using DSL approach before or during implementation

Gofer Tests

MVP Capability-Based Validation

Use .specify/references/mvp-capability-validation.md as the source of truth. Validate the work that the active feature specification requires now. Do not apply later delivery requirements to an early MVP.

  1. Create .specify/specs/{feature}/ before app or operator-tool source work.
  2. Keep spec.md, plan.md, tasks.md, traceability.md, and the validation scope aligned.
  3. Mark each relevant capability as not_applicable, planned, implemented, verified, or blocked.
  4. Require evidence only for an implemented capability or a capability required by the current delivery decision.
  5. Treat run.sh, run.bat, and run.ps1 as launch evidence only. They do not prove authentication, sessions, EAI access, or deployment readiness.
  6. For a user-facing change, store the local HTTP check, screenshot, and review outcome in the feature validation report.
  7. If browser validation is blocked, mark that user journey unverified. Do not call it complete.
  8. If the user changes scope, update the feature artifacts before continuing. Explain what changed, what remains valid, and what now needs evidence.
  9. Use truthful completion language. For example: The server runs. Authentication is not in the current MVP scope.
  10. When the feature claims a release or deployed outcome, create release-capability-ledger.md from .specify/templates/release-capability-ledger-template.md.
  11. Do not report a release complete or score 100% when a required capability is missing from traceability, remains on an open PR, is absent from the release branch, or lacks required deployed evidence.

Application Classification And EAI Preflight

Before any EAI CLI, login, tenant, template, or app-enrollment action:

  1. Classify the request as EAI app delivery or non-application work using the application signals in .specify/commands/0_gofer_start.md.
  2. Create .specify/specs/{feature}/ and record the active delivery scope before app or operator-tool source work.
  3. If the request is clearly non-app work, confirm once: "This looks like non-app work, so I will skip EAI tenant/app setup and continue the Gofer research/docs path. Is that right?"
  4. If the user confirms non-app, record the decision and mark app-only capabilities not_applicable. Do not run eai whoami, eai tenant select, eai init, or /gofer:eai-first-run.
  5. For local MVP app work, validate the implemented user journey, repo runner, and preview evidence. Do not require EAI setup, authentication, or deployment when the active specification does not require them.
  6. When the feature uses EAI Platform services, requires a tenant, or prepares deployment, run eai whoami and record the EAI readiness evidence in eai-preflight.md.
  7. When the feature creates, changes, or validates an EAI Platform app integration, run node .specify/scripts/node/eai-app-template-readiness.mjs --root . --json. A missing checker or status other than ready blocks that EAI capability. It does not block unrelated local MVP work.
  8. When authentication is implemented or required, validate provider, callback, sign-in, session, first protected API call, and safe denied access.
  9. When deployment is requested or claimed, require the relevant EAI template, security, configuration, and deployment evidence before completion.
  10. For durable app delivery, use EAI Platform first, Azure second, and every other stack only by explicit exception.
  11. If the user changes scope, update spec.md, plan.md, tasks.md, traceability.md, and validation scope before continuing. Explain the business effect and evidence change.
  12. Do not accept copied marker files, partial scaffolds, or custom templates as readiness evidence for an EAI capability.
  13. Do not write tokens, secrets, private tenant IDs, or local .env values into Gofer artifacts; record only product-safe readiness status and evidence.

Read the full file on GitHub · 660 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. 4d ago First seen · 660 lines · 18 tokens per session scan A 28071e947084

Subscribe to this mod's changes

9_gofer_tests is a command published in the GitHub repository eai-support/eai-gofer (1 stars, last pushed today), licensed Apache-2.0. It adds 18 tokens to every session and 5,583 once invoked, about $0.0001 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-03.