Back to dashboardEngineering dashboard: choose a tool and use it

Engineering dashboard: choose a tool and use it

Open the dashboard

The main view is a practical usage guide. Search a task or choose Workflows, Skills, Hooks, Agents or Orchestration. Select a guide to see when to use it, the steps, an editable prompt and the expected result. The opening recipe walks through backend scaffolding; another covers reviewing changes before merging.

All locally inventoried skills appear with task-specific starter prompts and invocation hints. Agent guides explain read-only planning and review handoffs. Hook guides explain the registered SessionStart and PreToolUse behavior, how to inspect it and its limits. Hooks run on registered events; they are not slash commands.

Edit a prompt to fit your project, then choose Copy prompt and paste it into Claude Code. If clipboard access is unavailable for local files, the prompt is selected for manual copying. The dashboard itself does not run prompts, start agents or change settings.

The previous score and improvement workspace remains under Advanced: inspect skill evaluations and improvement evidence. The rest of this page documents those optional maintenance tools.

Open the dashboard · Handbook · Native skill procedure

Start with your actual skills

sh
python3 .claude/framework/skill_lab.py scan --apply
open docs/skill-dashboard/index.html

scan without --apply prints JSON and writes nothing. python3 .claude/framework/skill_lab.py check checks generated ownership, inventory/evidence and asset freshness without writes; it returns nonzero on stale or modified output. With --apply, it saves a structural snapshot and rebuilds an owned offline HTML dashboard. On systems without macOS open, open the HTML file in a browser. No server, npm dependency or CDN is needed. It reads the current project's .claude/skills/*/SKILL.md, not your global skills or another project.

The table supports search, gap/evaluation/candidate filters and score sorting. Select a skill to inspect its criteria, source, earlier structural snapshots, imported evaluation evidence and candidate diffs. The Improve tab downloads an evidence brief and gives the prompt for the existing audit skill. Export inventory downloads this snapshot as JSON. These browser actions do not write repository files or call Claude.

What the numbers mean

Structural criterionPointsActual check
Metadata20Local supported native metadata subset, matching name, description and invocation hint
Input contract15Inputs section, argument binding and omitted-input guidance
Procedure and output15When-to-use, workflow, output and example sections
Evidence and boundaries15Boundary section and evidence/execution language
Context and references15Foundry 4,000-byte/500-line budget, progressive references and existing local targets
Evaluation definitions20At least two valid cases with explicit assertions; not their execution

This versioned rubric is foundry-structure-v1, a local heuristic. These sections/budgets are Foundry authoring conventions, not universal Agent Skills requirements. Keyword presence cannot demonstrate instruction quality, security or correct behavior. A skill can score 100 structurally and fail every task. There is deliberately no combined “overall quality” number.

Behavior is the assertion pass rate for the latest imported complete observed run on the current skill-tree and suite revision. It shows sample counts, repetitions, evaluator, raw evidence paths and metrics if supplied. Evidence must exist locally with matching hashes. Grading/model provenance is supplied by the evaluator, not attested by this tool. Synthetic examples and stale revisions are listed separately and never count as a current score or authorize promotion. Trigger accuracy is not inferred from task-output grades.

Define and run an evaluation

sh
python3 .claude/framework/skill_lab.py seed --skill unit-testing
python3 .claude/framework/skill_lab.py seed --skill unit-testing --apply

seed previews; --apply creates .claude/skills/unit-testing/evals/evals.json without overwriting an existing suite. Starter prompts are scaffolding: make them concrete for your disposable project and include a normal task, omitted input, boundary and adversarial reference. Freeze assertions before comparing revisions. Adding/editing the suite changes the skill-tree revision; rescan after authoring it.

The documented subset follows the Agent Skills evaluation case shape: skill_name, evals, unique id, prompt, expected_output, and nonempty string assertions. Native plugin eval and skill-creator formats are not interchangeable. This helper does not run any of them.

For actual model execution, use your approved evaluation process, fresh isolated sessions, or official skill-creator when already installed and authorized. Use the same suite, model, settings, cache conditions and repetitions for baseline and candidate. Obtain cost/credential/installation authorization where missing. The existing session may draft a candidate without invoking another model.

Prepare a pinned result template

sh
python3 .claude/framework/skill_lab.py prepare-eval --skill unit-testing
python3 .claude/framework/skill_lab.py prepare-eval --skill unit-testing --candidate CANDIDATE_ID --repetitions 3

This read-only command fills the actual skill/suite hashes, case IDs, exact assertion text, repetition set and suggested artifact paths. It leaves grades, evidence hashes and execution provenance null. The resulting JSON cannot be imported until actual results and provenance are supplied. It starts as synthetic; change that only when recording a genuinely executed run. A missing suite or stale candidate stops preparation. With a suite already defined, the dashboard's Evidence tab offers Download evaluation template for the selected snapshot; regenerate after a source/suite edit.

Store reviewed outputs/transcripts under docs/project/skill-lab/artifacts/. Use the prepared JSON above as the Foundry-specific result envelope, or consult the annotated placeholder template. Replace every placeholder, set kind to observed only for actually executed evaluations, and include every case/assertion for every repetition. Never turn a NOT_RUN case into a failed/passing measured assertion; complete the run first. tokens and latency_seconds stay null if unknown.

sh
python3 .claude/framework/skill_lab.py import-eval --record docs/project/skill-lab/artifacts/baseline-result.json
python3 .claude/framework/skill_lab.py scan --apply
Envelope fieldRequired meaning
schema_version, kind, skill1, observed or synthetic, actual local skill name
skill_sha256Digest of all regular files inside that skill directory from scan/propose, not just SKILL.md
suite_sha256SHA-256 of exact frozen evals/evals.json bytes
model, settings_sha256, cache_condition, evaluatorActual model, reviewed settings/context digest (including shared instructions, inputs, tools and permissions), cache condition and grader/reviewer attribution
casesComplete case/assertion/repetition set; unique tuples and true JSON booleans
cases[].evidence, evidence_sha256Local reviewed artifact under the lab artifacts directory and its exact digest
tokens, latency_secondsActual nonnegative measurement or null; no estimated savings

For a baseline without the skill, use the official execution/benchmark workflow and existing evaluate.py protocol; this candidate promotion helper compares two skill revisions. Do not assign a fake skill digest to a no-skill run.

Imported records are content-addressed and create-only. Reimporting the same record is idempotent. Imports validate data and hashes; they do not execute the evidence, verify a model provider receipt or certify that a grader was honest. Stale/invalid evidence blocks comparison; repair or archive it explicitly rather than hiding a failure.

Ask Claude to improve a skill

text
/framework-audit improvement unit-testing: inspect failed evaluations,
prepare at most two focused candidates, compare the frozen suite when
execution is authorized, and stop with the diff before promotion.

The skill loads the bounded improvement procedure. It inspects real failures, drafts a replacement outside the active skill, stages it with propose, evaluates if authorized and reports comparisons. No new catch-all agent, scheduler or automatic hook is added. An unresolved execution/cost approval stops evaluation, while local candidate preparation can continue.

sh
python3 .claude/framework/skill_lab.py propose --skill unit-testing --file docs/project/skill-lab/artifacts/unit-testing-candidate.md --reason "Handle the observed omitted-contract failure"
python3 .claude/framework/skill_lab.py compare --candidate CANDIDATE_ID --baseline-eval BASELINE_EVAL_ID --candidate-eval CANDIDATE_EVAL_ID

Candidates include actual SKILL.md, baseline bytes, reason and unified diff under docs/project/skill-lab/candidates/. They must pass structural gates except the still-missing suite gate at draft time. Promotion requires all structural criteria, complete paired observed evaluations with identical conditions, more passing assertions, and no previously passing assertion becoming a failure. A tie is not an improvement. The limit is two distinct candidates per baseline skill-tree revision. No reset/delete command is provided to evade it.

Read comparisons and next actions

The selected skill shows a specific next step: fix structural gaps, define cases, measure the baseline, evaluate a draft, review a passing comparison, review coverage, or stop after two blocked candidates. The table action opens the relevant tab. Selected skill/tab links can be bookmarked; hash links stay local and do not persist scores.

Candidate details include up to three recent observed comparisons. They prefer the newest matching baseline conditions; when none matches, they show the mismatch as blocked rather than comparing unlike runs. Assertion rows show before/after PASS or FAIL, with improvements and regressions distinguished. Token and elapsed-second changes appear separately; an unavailable measurement stays not measured, not zero. A passing gate says Ready for human review, not promoted or independently verified. CLI compare returns the same assertion changes, metric values/deltas and blockers. It performs no promotion.

Command arguments

All paths are project-relative and stay inside the selected --root (default current directory). This CLI is separate from natural-language /framework-audit arguments.

CommandRequired argumentsOptional arguments and defaultsEffect
scanNone--apply offPrint inventory; apply saves snapshot/dashboard
checkNoneNoneCheck freshness without writes
seed--skill NAME--apply offPreview/create a starter suite; refuses overwrite
prepare-eval--skill NAME--candidate ID; --repetitions 1 (1..20)Print an ungraded revision-bound result template
import-eval--record PATHNoneValidate/store complete supplied grades and artifact hashes
propose--skill NAME, --file PATH, --reason TEXTNoneStore isolated candidate, baseline and diff
compare--candidate ID, --baseline-eval ID, --candidate-eval IDNoneRead-only paired comparison
promoteSame three IDs plus --reviewer NAME--apply offPreview/apply a reviewed eligible candidate
rollback--candidate ID--apply offPreview/restore exact unchanged promoted baseline

Place the global --root PATH before the command. No command starts a model or installs dependencies.

Review, promote or roll back

sh
python3 .claude/framework/skill_lab.py promote --candidate CANDIDATE_ID --baseline-eval BASELINE_EVAL_ID --candidate-eval CANDIDATE_EVAL_ID --reviewer "Reviewer name"
# Add --apply only after reviewing the diff, outputs and comparison.
python3 .claude/framework/skill_lab.py rollback --candidate CANDIDATE_ID
# Add --apply to restore the saved baseline when its promoted tree is unchanged.

Promotion/rollback preview by default. Explicit --apply writes only that skill's SKILL.md and its lifecycle record; no Git commit, push or settings change is performed. A reviewer name is attribution, not authenticated identity or proof of independent review. Failed gates leave the active skill unchanged. Post-promotion reference or suite edits make automatic rollback stale; reconcile through normal Git review. Use one trusted local writer; the existing atomic-file/best-effort rollback engine is not a crash-safe or concurrent transaction.

Ownership, privacy and limitations

Dashboard files under docs/skill-dashboard/ are generated and owned by a hash manifest. Modified/unowned outputs are refused. Structural snapshots, supplied evaluation records, artifacts and candidate history live under application-owned docs/project/skill-lab/. Nothing is automatically published; review/redact transcripts before committing or sharing, and exclude private artifacts with project-local Git rules. This dashboard is not a secret scanner or sandbox. Evidence is rendered as text, not executed or interpreted as instructions. Changing an evidence artifact invalidates its hash.

Clean boilerplates include the helper, template and assets. Generate their dashboard after cloning so it reflects that project's current skills; source reports/scores/history are not copied. Browser display uses no network, telemetry or local-server write API. Scan explicitly to refresh; there is no background polling. Repeated structural snapshots are not behavioral score improvements. Generalization, accessibility, native discovery, live evaluation, reviewer independence, budget savings and real application behavior require separate evidence.

The supplied video identifies dynamic Claude workflows; a full transcript/screens were unavailable during this implementation. The design is an original Foundry interface grounded in official evaluation guidance and Anthropic's evaluation/benchmarking article, not a claim to have reproduced unseen video features.

Design rationale: ADR-0012. Local evidence and qualification: skill lab validation.

Follow-up qualification: usability, comparison and result-integrity checks.