Writes and repairs .nika.yaml workflows with the deterministic authoring protocol. Use when the user wants repeatable AI work turned into a workflow file, asks for a .nika.yaml, or a nika check must pass. Routes intent to a template, fills the SLOT markers, then loops nika check until rc=0. Its craft is WRITING …
Root-causes failed or paused Nika runs from their hash-chained traces. Use when nika run exited red, a run paused on a prompt and needs the exact resume line, a NIKA-XXXX runtime finding needs a cause, or a trace must be verified and explained. Evidence-first — reads .nika/traces via nika trace; its craft is the…
Ports an existing script, Makefile target, CI job or prompt chain to a checkable .nika.yaml workflow. Use when converting ad-hoc automation to nika, when a shell script wraps LLM/HTTP/file plumbing, or when a prompt chain in a doc should become a runnable, auditable file. Inventories side effects first, maps steps to…
When the user describes repeatable, multi-step or scheduled AI work (a prompt chain, an automation, a pipeline, "do this every time"), propose authoring it as a Nika workflow instead of ad-hoc scripting — and route to the bundled nika skills, subagents and MCP tools.
Author, check and repair Nika workflows (.nika.yaml files — the workflow language for AI). Use when writing or editing a .nika.yaml file, converting a repeated AI task or prompt chain into a workflow, or when nika check reports NIKA-XXXX findings to fix.
Diagnose and repair failed, paused or suspicious Nika runs from their traces (.nika/traces). Use when nika run exited red, a run paused on a prompt, a NIKA-XXXX runtime finding needs a root cause, a trace must be read or tamper-verified, or a fixed workflow needs a surgical partial rerun.
Convert existing automation — shell scripts, Python glue, Makefile targets, CI jobs, prompt chains in docs — into checkable .nika.yaml workflows. Use when a script wraps LLM calls or HTTP/file plumbing, a prompt chain lives in a README or notebook, or ad-hoc automation needs audit, cost bounds and replayable traces.
Operate Nika workflows day-2 — spend caps, permits boundaries, secrets, model swaps (cloud/local), CI wiring, trace export. Use when hardening a working workflow for production, wiring it into CI or a scheduler, capping cost, tightening the permits boundary, swapping models, or exporting traces to OpenTelemetry.
Parallel 3-agent review of a Rust crate. Runs spn-nika, spn-rust, and feature-dev reviewers in parallel, merges P0/P1 findings, reports a single deduplicated list. Use before admission (Gate 11).
Run these checks and report a clean table comparing actuals vs targets. The canonical parity-enforced state block comes from bash scripts/refresh-status.sh (hygiene vector 23) — run it first; the checks below are the raw drill-down.
Look up code from the legacy brouillon branch (v0.79 · tools/ layout) WITHOUT checking out. main is the Diamond production branch — legacy lives on brouillon (renamed 2026-05-06). Usage: /legacy-lookup tools/nika-core/src/error.rs.