Skip to content
Documentation
Command

/check

Is the context layer still true? 0-token staleness + broken-citation audit (no LLM, CI-friendly). Add --status for the fast hash-only subset.

From plugin
deep-init
69 skills9 commands2 hooks
Install
> /plugin marketplace add deepfusionlabs/deep-init
> /plugin install deep-init@deepfusionlabs-deep-init

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/check

Context preview

What this command does when you run it.

Is the context layer still true? 0-token staleness + broken-citation audit (no LLM, CI-friendly). Add --status for the fast hash-only subset.

Command definition

check.md
description: Is the context layer still true? 0-token staleness + broken-citation audit (no LLM, CI-friendly). Add --status for the fast hash-only subset.
argument-hint: "[--status]"

Run the **deep-init** skill's staleness check — **no LLM, no network, 0 tokens** (any model call here is a bug). This is the unified front door over the two free checks (the `--status` and `--lint` flags stay available for hooks / CI):

1. **Status (deterministic keystone — always runs first).** Execute the status keystone and report its output verbatim:

python .ai/deepinit_status.py            # if setup-hooks has installed it into this repo
# else, from the plugin: python skills/deep-init/assets/deepinit_status.py

It compares `.ai/docs/current/.file_hashes.json` against the working tree (modified / removed via the Step-0 symmetric set-diff / pending). Exit 0 = fresh, 1 = stale.

2. **Lint (citation + coverage audit — when generated docs exist AND `--status` was NOT passed).** Follow `references/update.md`'s `--lint` flow: per-component fresh/stale/critical staleness, broken-reference (dead `file:line`) detection, ID consistency, and coverage — all by hash/citation comparison, still **0 tokens**. Non-zero exit on a critical/dead citation (the CI gate).

If it reports STALE, offer to run `/deep-init:refresh`. Report the result; **do not modify anything**. See `references/triggers.md` and `references/update.md`.

$ARGUMENTS

Read more
Ships withdeep-init

Claude Code plugin that writes grounded, verified context for your coding agent — every claim checked against your code. Lean CLAUDE.md + deep docs, 100% local, MIT.

Get the whole plugin
Stats
6
Stars
0
Forks
Active
Maintenance
Python
Language
MIT
License
25d ago
Last commit
2mo ago
Created

Repo: deepfusionlabs/deep-init

Other commands on deep-init.