verify

A verification command that checks a codebase in a fixed order: build, type checks, linting, tests, console.log usage, and Git status. Linting checks code style and common problems; type checking finds mismatched data types.

In plain words
What is it for?
It is for quick or full validation before committing or opening a pull request, including test results, coverage, logs, uncommitted changes, and security checks for the pre-PR mode.
Why use it?
It gathers the main pre-commit or pre-review checks into one repeatable report and stops early if the build fails.

Command

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/codelably/harmony-claude-code/verify
Clone the repo
git clone --depth 1 https://github.com/codelably/harmony-claude-code
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 424 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 $0.00000 $0.00424
Opus 5 $0.00000 $0.00212
Sonnet 5 $0.00000 $0.00085
Haiku 4.5 $0.00000 $0.00042

Measured yesterday against content hash 86b9a455df3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

commands/verify.md · 60 lines

What it actually says

验证(Verification)命令

对当前代码库状态进行全面验证。

指令(Instructions)

请按以下确切顺序执行验证:

  1. 构建检查(Build Check)

    • 运行此项目的构建命令
    • 如果构建失败,报告错误并停止(STOP)
  2. 类型检查(Type Check)

    • 运行 TypeScript/类型检查器
    • 报告所有错误及其对应的 file:line(文件:行号)
  3. 代码规范检查(Lint Check)

    • 运行 Linter
    • 报告警告与错误
  4. 测试套件(Test Suite)

    • 运行所有测试
    • 报告通过/失败的数量
    • 报告覆盖率百分比
  5. Console.log 审计

    • 在源文件中搜索 console.log
    • 报告其所在位置
  6. Git 状态(Git Status)

    • 显示未提交的更改
    • 显示自上次提交以来修改的文件

输出(Output)

生成一份简洁的验证报告:

VERIFICATION: [PASS/FAIL]

Build:    [OK/FAIL]
Types:    [OK/X errors]
Lint:     [OK/X issues]
Tests:    [X/Y passed, Z% coverage]
Secrets:  [OK/X found]
Logs:     [OK/X console.logs]

Ready for PR: [YES/NO]

如果存在任何关键问题,请列出这些问题并给出修复建议。

参数(Arguments)

$ARGUMENTS 可以是:

  • quick - 仅执行构建 + 类型检查
  • full - 执行所有检查(默认)
  • pre-commit - 执行与提交相关的检查
  • pre-pr - 执行完整检查以及安全扫描
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 · 60 lines · 0 tokens per session scan A 86b9a455df3c

Subscribe to this mod's changes

verify is a command published in the GitHub repository codelably/harmony-claude-code (42 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 424 tokens. 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-30.