/nika:check <file.nika>from nika
Audits a .nika workflow file for issues before execution — reports findings with NIKA-XXXX codes, cost envelope, native-strict violations, and permit boundary.
Ships in nika. Installing the plugin adds it to Claude Code.
Audit the workflow before any run — check is the oracle, the file is the contract.
Target: $ARGUMENTS (no argument? Glob for *.nika — one match
runs, several ask).
nika check $ARGUMENTS --native-strict --json and read the
payload, not the prose. clean is the verdict the exit code
carries under the flags you passed. A workflow whose real work
hides inside exec python3 helper.py comes back clean: false,
exit code 2, with one findings[] row per exec a builtin covers
(kind: native_strict · code: native-first/00N · task · fix);
native_strict_clean repeats clean on that lane. Then:
findings[] carries every refusal (the per-class keys such as
conformance stay) · pricing carries the rates (a null rate is
UNKNOWN, never $0) · models_resolve (0.99+) says every model:
runs in THIS binary.NIKA-XXXX · task <id> · <message>,
with the fix the diagnostic teaches. Unknown code? Run
nika explain NIKA-XXXX and fold its teaching in.≤ $X) or the floor (≥ $X FLOOR — name
WHY it is unbounded: missing max_tokens, uncataloged model,
expression fan-out). This estimates OUTPUT tokens, not input billing
or the complete invoice. Metered caps may overshoot for calls already
admitted. A local model is unpriced, never free.hints[] rows with kind: native-first. Each
one names an exec that a builtin already covers, and under
--native-strict each one is also a findings[] row (kind: native_strict) that fails clean. The one repair is the builtin
the hint names; an exec ledger comment documents intent for a
reviewer and does not clear the gate. An exec of a real tool
(git, docker) passes; an exec of a .py/.mjs/.sh
wrapper does not.NIKA-AUTH-006.
Suggest nika check $ARGUMENTS --infer-permits to write the
tightest one.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub nika-open/nika --plugin nika6 commands in this plugin
/compileCompile a reviewable workflow through the stateless engine core/doctorDiagnose Nika installation, provider access and client wiring./explainNarrate a workflow (waves · cost · touches · how to run) or teach a NIKA-XXXX error code/permitsReconcile a workflow's declared permits with its intended effects./traceInspect a Nika run's result, trace integrity and recovery evidence.Other plugins' commands for the same job