/neural:exercise [--spec <plan path>] [--scenario "..."] [app / url / command]from Neural Claude Code
Verifies completed changes through real user behavior after automated tests. Drives concrete scenarios with evidence capture. Use as a behavioral gate for web, desktop, CLI, or documentation workflows.
Ships in Neural Claude Code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Verify that the changed product works for a user. Tests answer whether code checks pass. Exercise answers whether the promised workflow is usable end to end.
This skill is the Claude Code port of the Neural Codex exercise gate. Same contract, slash invocation. Default backend is CLI/HTTP so the kit runs with no extra MCP.
Detect the changed surface:
curl against local endpoints by default. Isolated browser automation only if MCP tools are present and the assertion is visualIf browser or computer-use MCP is NOT available, do not block. Fall back to the test suite + CLI/HTTP path and say so in the report.
Ask for launch details only when they cannot be derived safely from repository scripts or documentation.
Detect and run the repository's normal test command. Record pass/fail counts and warnings. A failing suite makes the exercise verdict FAIL. Do not hide it behind a successful manual scenario.
If no test suite exists, record Tests: none found as a caveat.
When --spec <plan> is supplied, turn its when/requires/ensures acceptance into one to three user flows. Otherwise derive flows from the user request and changed documentation.
Before reading the plan or selecting an evidence directory, resolve the repository root, the repository's plans/ directory, and the candidate spec. Require os.path.commonpath([candidate, plans_root]) == plans_root and reject escaping symlinks. Reject ../../outside/plan.md, plans/../outside/plan.md, /tmp/external-plan.md, and equivalent traversal. Without --spec, resolve exercise-evidence/ beneath the repository root and apply the same containment check before writing.
Each scenario needs:
Launch only local trusted software. Poll for readiness instead of using blind delays. Follow the same public commands and navigation a user would use.
Capture at least one artifact per scenario:
curlNever trigger payment, deletion, sending, deployment, or another destructive/external side effect without explicit confirmation. Keep evidence free of secrets and personal data. Store safe artifacts under the validated plan's evidence/ directory.
A scenario passes only when the observed result matches the expected result and the supporting evidence exists. Console errors, non-zero exits, unexpected files, broken links, missing UI content, or unavailable required steps fail the scenario.
Do not infer behavior solely from source inspection. When a surface cannot be run, label it NOT RUN and make the overall verdict FAIL if it is required. A green test suite does not make the run PASS if a required scenario failed.
## Exercise Report
Target: <surface>
Backend: <cli|http|browser|desktop|docs>
Tests: <passed/failed/none>
Scenarios: <run/passed>
### PASS | FAIL: <scenario>
- Steps:
- Expected:
- Observed:
- Evidence:
### Verdict: PASS | FAIL
### Residual risk
/exercise --spec plans/2026-07-12-hooks/plan.md/exercise verify the setup script in a temporary HOME/exercise walk the changed GitHub Page on desktop and mobileThe automated suite has run, every required scenario has direct evidence, and the final PASS or FAIL follows from observed behavior rather than assertion.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub brolag/neural-claude-code --plugin neural9 skills in this plugin
/craftBuild a non-trivial change from an approved plan.md. Use after /spec to capture a baseline, execute dependency-aware subtasks, record evidence and deviations, run independent /vet and /exercise gates, measure the delta, and stop for human ship approval without committing or publishing automatically. Don't use for trivial changes (<25 LOC); edit directly./discoverSurface hidden requirements and architectural unknowns before planning non-trivial work. Use when a request is ambiguous, spans unfamiliar code, has meaningful tradeoffs, or needs a grounded blindspot pass before /spec. Produces an unknowns-map.md artifact and stops without implementing. Don't use when you already know exactly what you want (go straight to /spec) or for trivial changes./git-saveStage and commit code changes with Conventional Commits format. Use when: code changes are complete and ready to commit, after review approval, user says 'save', 'commit', 'ship it'. Don't use when: tests are failing or work is still in progress./htmlRender a Claude Code plan (PlanViewer), a task result, or a recap of a branch/commit/PR diff (ResultViewer) as a single-file, self-contained HTML artifact with anti-fatigue UX. Use when the user asks for an HTML artifact, a plan/result/recap view, or to "show this as HTML". Not for plain markdown/text or one-liners./initScan project and generate a customized CLAUDE.md. Detects stack, test commands, and conventions. Use when onboarding to a new project or user says 'init', 'setup claude', 'generate CLAUDE.md'./slop-scanScan a codebase for accumulated slop, technical debt, dead code, and refactor opportunities. Default is recent changes only. Use when user says 'scan for slop', 'find tech debt', 'what needs cleanup', or before a refactor sprint. Don't use as the pre-PR gate — that is /vet (lens D).Other plugins' skills for the same job