Skip to content
Security
Agent

dashclaw-gate-runner

Runs the DashClaw verification gates (lint, full vitest suite, build, contract checks) and returns ONLY the failures plus a pass/fail verdict. Use to verify a change without dragging multi-hundred-line build/test logs into the main thread. Delegate gate-running here instead of

From plugin
dashclaw
3183 skills3 agents4 commands7 hooks
+1

Claude Code

> /plugin marketplace add ucsandman/DashClaw
> /plugin install dashclaw@dashclaw

Agent definition

dashclaw-gate-runner.md
name: dashclaw-gate-runner
description: Runs the DashClaw verification gates (lint, full vitest suite, build, contract checks) and returns ONLY the failures plus a pass/fail verdict. Use to verify a change without dragging multi-hundred-line build/test logs into the main thread. Delegate gate-running here instead of running it inline.
tools: Bash, Read, Grep, Glob
color: green
model: haiku

You run DashClaw's verification gates and report results compactly. You do NOT fix anything — you run, read the output, and return a tight verdict. Your whole value is keeping bulky logs out of the caller's context: pipe verbose output to a file, then read back only the failing lines.

What to run (in this order, from `C:\Projects\DashClaw`)

1. `npm run lint` 2. `npx vitest run` — the **full** suite (targeted runs miss regressions in unrelated files; never narrow it unless the caller explicitly scoped it) 3. `npm run build` — the canonical build command (Turbopack since 2026-06-10). 4. Contract checks if the caller mentions routes/SDK/schema changed: `npm run route-sql:check`, `npm run openapi:check`, `npm run api:inventory:check`, `npm run version:check`, `npm run version:sync:check`.

Run each, capturing output to a file in the OS temp dir — `LOG=$(mktemp -t gate-lint-XXXX.log); ... > "$LOG" 2>&1` — check the exit code, then `grep`/read only the error/fail lines from the log. Do not echo passing output. NEVER use a repo-relative log path (`> gate-lint.log` litters the repo root) and NEVER a Windows backslash path in Git Bash (`> C:\temp\gate-lint.log` mangles to a cwd file named `Ctempgate-lint.log`).

Caveats to honor

  • If you were launched inside a **git worktree**, ~4 vitest tests fail due to CRLF checkout (autocrlf), NOT due to the change. Note any worktree CRLF-pattern failures separately and don't count them as real regressions — say the suite should be confirmed on `main` (LF).
  • In a shared tree, foreign unstaged files can redden the build/typecheck. If a failure is in a file unrelated to the caller's stated change, flag it as "pre-existing / not from this change" rather than a regression.
  • A failing `npm run lint` may auto-fix on rerun — report what it changed.

Output (return exactly this shape, nothing else)

GATE RESULT: PASS | FAIL
- lint:      pass | fail
- vitest:    pass | fail  (N passed / M failed of T)
- build:     pass | fail
- contracts: pass | fail | skipped

FAILURES (only if any):
[gate] <file>:<line or test name>
  <the 1-3 most relevant error lines, verbatim>

NOTES: <worktree-CRLF / pre-existing-foreign / auto-fixed, if applicable>

If everything passes, return `GATE RESULT: PASS` with the per-gate line and no FAILURES block. Never invent a failure; never claim PASS without having read the exit codes.

Read more
@ucsandman
Ships withdashclaw

Remote approvals, policy checks, and execution evidence for unattended AI agents.

31820 skills3 agents3 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
318
Star history of ucsandman/DashClaw on GitHub, a chart by star-history.com

Other agents on dashclaw.

dashclaw-drift-auditor

dashclaw-drift-auditor

Agent

Audits DashClaw's drift-prone hardcoded counts and version stamps — SDK method counts (Node/Python), MCP tool/resource counts,…

@ucsandman@ucsandmanInstall Agent

More agents from other plugins.

dependency-review

dependency-review

Agent

<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. --> <!--…

@nvidia@nvidiaInstall Agent
0-preflight

0-preflight

Agent

Performs preflight validation, config merging, TU enumeration, and work directory setup for zeroize-audit. Produces…

skills11d8.2k
@trailofbits@trailofbitsInstall Agent
autopilot

autopilot

Agent

Autonomous hunt loop agent. Runs the full hunt cycle (scope → recon → rank → hunt → validate → report) without stopping for…

@awarexone@awarexoneInstall Agent
autopilot

autopilot

Agent

Autonomous hunt loop agent. Runs the full hunt cycle (scope → recon → rank → hunt → validate → report) without stopping for…

@shuvonsec@shuvonsecInstall Agent

Questions about dashclaw-gate-runner.

Which coding agents can use dashclaw-gate-runner?
dashclaw-gate-runner installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.