test

test is a command for Claude Code from daphnee-ovo/dev-flow. It costs 16 tokens per session (480 once invoked), scanned A, original, MIT.

A test-phase command that runs tests for the whole project or for a specific task. It supports configured commands and built-in runners for several common programming languages and test tools.

In plain words
What is it for?
Use it to run project-wide tests, test the files linked to a task, or configure custom test commands.
Why use it?
It provides one defined way to verify changes and record test failures as issues.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to run project-wide tests, test the files linked to a task, or configure custom test commands.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/daphnee-ovo/dev-flow/test
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/daphnee-ovo/dev-flow

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 test

README.md
[![agentmods](https://agentmods.dev/badge/commands/daphnee-ovo/dev-flow/test/github.svg)](https://agentmods.dev/commands/daphnee-ovo/dev-flow/test)
Your own site
<a href="https://agentmods.dev/commands/daphnee-ovo/dev-flow/test"><img src="https://agentmods.dev/badge/commands/daphnee-ovo/dev-flow/test/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 test

Your own site · 80×15
<a href="https://agentmods.dev/commands/daphnee-ovo/dev-flow/test"><img src="https://agentmods.dev/badge/commands/daphnee-ovo/dev-flow/test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 480 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.00016 $0.00480
Opus 5.5 $0.00006 $0.00192
Sonnet 5.5 $0.00003 $0.00096
Haiku 4.5 $0.00002 $0.00048

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

Security

Grade A, and why

test 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.

plugin/commands/test.md · 67 lines

What it actually says

TEST — Test execution

/test is the explicit TEST-phase workflow entry. Do not invoke it from Task completion or a hook reminder; ask the user to enter TEST instead. The dow test CLI is the only test executor and the only component that creates test-failure ISSUE files.

Commands

Full project test:

dow test

Task-scoped test:

dow test TASK-ID

dow test TASK-ID reads the matching Task from both active task_* and completed done_task_* files, then runs its files.test. An empty test list is PASS. Paths are relative to project_root.

Configuration

Create .dev-doc/test.ci when project defaults do not fit:

devtest:
  run: <Task test command>
test:
  run: <full project test command>

The command runs in project_root with inherited environment variables. Available placeholders are project_root, task_id, task_file, and test_files. Unknown placeholders and missing tools are PRECONDITION_FAILED.

Without custom commands, the CLI uses built-in adapters for Rust, Go, Python pytest, JavaScript/TypeScript package test scripts and runners, and compatible Shell tests. Unsupported files or runners are precondition failures; they are not silently executed as Shell.

Outcomes

  • PASS exits 0.
  • TEST_FAILED exits 1, returns the original test output, and creates a P1 ISSUE with source: test.
  • PRECONDITION_FAILED exits 2, returns the prerequisite error, and does not create an ISSUE.

The ISSUE title is Test fail:<summary> for full tests and Test TASK-ID fail:<summary> for Task tests. Generated ISSUE Markdown may contain files_modify and files_create; public issue create/update input uses the nested files object.

There is no --file or --task test selector. Use the language's own command for an ad hoc single-file check, or configure test.ci.

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 · 67 lines · 16 tokens per session scan A bfe49d82eb46

Subscribe to this mod's changes

test is a command published in the GitHub repository daphnee-ovo/dev-flow (2 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 480 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.