check

check is a command for Claude Code from restarter/lets-workflow. It costs 17 tokens per session (8,096 once invoked), scanned A, original, MIT.

A quick check of code changes or a written plan from several review perspectives. It can inspect uncommitted or staged changes, a commit, a branch, a pull request, a file, or a plan.

In plain words
What is it for?
Use it for a fast sanity check before committing or opening a pull request, checking a plan, or reviewing one existing file.
Why use it?
It catches common problems quickly without running a full, deeper review with separate expert agents. You can also request structured JSON output or provide a specific task specification.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; names the AskUserQuestion tool.

Part of the lets plugin — 20 skills, 26 commands, 16 agents shipped together

Good fit Use it for a fast sanity check before committing or opening a pull request, checking a plan, or reviewing one existing file.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/restarter/lets-workflow/check
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/restarter/lets-workflow

Made for: Claude Code.

Or install lets, the plugin that ships this one along with the rest of its 20 skills, 26 commands, 16 agents.

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 check

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/restarter/lets-workflow/check"><img src="https://agentmods.dev/badge/commands/restarter/lets-workflow/check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 8,096 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.00017 $0.08096
Opus 5.5 $0.00007 $0.03238
Sonnet 5.5 $0.00003 $0.01619
Haiku 4.5 $0.00002 $0.00810

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

Security

Grade A, and why

check 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 2d 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.

plugins/lets/commands/check.md · 496 lines

How it starts

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

Quick Local Code Check

Fast inline sanity check from 6 perspectives. Same target selection as /lets:review - the difference is depth: /lets:check reviews inline (no subagent dispatch, no AskUserQuestion gates), /lets:review dispatches expert agents.

Usage

/lets:check                      # uncommitted changes (default, same as --local)
/lets:check --local              # uncommitted changes (explicit)
/lets:check --staged             # only staged changes
/lets:check --last-commit        # last commit
/lets:check --branch             # full branch vs $LETS_MERGE_BRANCH (three-dot, like a PR)
/lets:check <PR-url-or-number>   # quick PR sanity (gh pr diff, inline - no agents)
/lets:check --file <path>        # quick sanity of an existing file (full content, not a diff)
/lets:check --plan               # quick plan sanity check
/lets:check --plan <path>        # quick sanity of a specific plan file
/lets:check ... --json           # structured JSON output instead of console report
/lets:check --spec <path>        # use this file as the spec (or a bare task id)
/lets:check --spec none          # there is deliberately no spec - no spec block, no caveat
/lets:check ... --fix            # verify each finding, then apply the fixes when nothing needs deciding (not with --json)

When to Use

  • Quick sanity check during development
  • Before commit for significant changes
  • When unsure if code is ready
  • Spot check after refactoring
  • Fast first pass on a PR before a full /lets:review

For full review: Use /lets:review (same modes, multiple expert agents, deeper analysis). Every mode below has a /lets:review --<same-flag> upgrade path.

Step 0: Determine Mode

Parse the argument(s):

Argument Mode Target
--plan / --plan <path> Plan review go to Plan Mode section below, skip code steps
--file <path> File review entire file content (not a diff)
bare PR URL or number (not a flag) PR gh pr diff <PR>
--local / no argument Local (default) git diff (uncommitted)
--staged Local git diff --staged
--last-commit Local git diff HEAD~1
--branch Local three-dot merge-base diff against the base the Step 1 guard resolves (origin/{LETS_MERGE_BRANCH} when it exists)

Read the full file on GitHub · 496 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. 2d ago Changed 4dd09cff1ad3
  2. 19d ago Changed · +2 lines ce7d21cb7aa1
  3. 23d ago Changed · +13 lines 4b3ae4157ddc
  4. 28d ago Changed · +12 lines 599e77751b61
  5. 1mo ago Changed · +4 lines 942c817ed361
  6. 1mo ago Changed c92e1178f551
  7. 1mo ago First seen · 465 lines · 17 tokens per session scan A 6de93feb8452

Subscribe to this mod's changes

check is a command published in the GitHub repository restarter/lets-workflow (17 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 8,096 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-30.