/cogni-consult:consult-dashboardfrom cogni-consult
Generates an interactive HTML dashboard visualizing a consulting engagement's status including action fields, deliverables, design-thinking stage, and persona-review progress.
Ships in cogni-consult. 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.
Read when SKILL.md points to them; scripts run unread.
Generate a self-contained HTML dashboard that visualizes a consulting engagement's
status — the action-field work breakdown, every deliverable's state and
design-thinking stage, acting-persona review progress, knowledge-base linkage, and
the recommended next action. The dashboard opens in the browser and is the visual
sibling of the text WBS table that consult-resume and consult-action-fields
render inline.
Engagement status lives in consult-project.json plus one field.json per action
field, where each deliverable carries its own state, dt_stage, and
persona_review. The text WBS table is good for a quick check; this dashboard is for
visual exploration — scanning field-by-field progress, spotting which deliverables are
stuck mid-loop, and seeing persona-review coverage at a glance.
Deliverable state is the single source of truth (it lives only in field.json);
field and engagement completion are derived at read time, never stored. The
generator is read-only — it never modifies any engagement file.
Before any user-facing output, resolve the interaction language — the
workspace default, overridden by the user's message language — per
$CLAUDE_PLUGIN_ROOT/references/interaction-language.md, which owns the
resolution ladder. Conduct the entire conversation in the resolved language.
It is independent of the engagement's language field, which is the
deliverable axis. This contract holds on the default path: it does not depend
on an output style being active.
The description of a Bash tool call is rendered to the consultant, so it is
user copy — write it in the interaction language, outcome-shaped, at most 6
words, with no script, file, or skill names, and never derived from the
script's filename or header comment. Worked pair:
Discover cogni-consult engagements → Laufende Engagements holen.
Section (f) of the canonical ecosystem register owns these five constraints —
edit them there first, then mirror into
$CLAUDE_PLUGIN_ROOT/references/user-facing-output.md and here.
The dashboard document's own <html lang> attribute and language badge follow
the engagement's deliverable language, not the interaction language.
The register that output follows has two tiers. The overlay
$CLAUDE_PLUGIN_ROOT/references/user-facing-output.md carries this plugin's own
state lexicon, coinages and German step vocabulary, and opens with the command
that reads the canonical ecosystem register behind it — which owns scope, the
table contract, step announcements and brevity budgets, and the executive
register. Read the overlay and follow that command; table cells and headers are
user copy too, not an exemption.
Discover engagements with scripts/discover-projects.sh (the registry wrapper), or scan
for consult-project.json files under cogni-consult/ paths. If multiple engagements
exist, ask the user which one to open. Store the resolved engagement directory path.
First, check whether <engagement-dir>/output/design-variables.json already exists from
a previous dashboard run. If it does, ask the user: "A dashboard theme is already
configured. Reuse it, or pick a new one?" Default to reuse — most re-runs just want fresh
data with the same look.
cogni-publishing:manage-themes (Operation 11, Select Theme)
skill to let the user select a theme. The skill returns theme_path, theme_name, and
theme_slug.Additional skip conditions (auto-select without prompting): the caller already
provided a theme_path, or only one theme exists in the workspace.
Read the selected theme.md and produce a design-variables JSON file at
<engagement-dir>/output/design-variables.json, following the schema at
$CLAUDE_PLUGIN_ROOT/skills/consult-dashboard/schemas/design-variables.schema.json. See
the example at
$CLAUDE_PLUGIN_ROOT/skills/consult-dashboard/examples/design-variables-cogni-work.json.
This is the same design-variables contract the rest of the ecosystem uses, so the consult
dashboard inherits the same look as the portfolio dashboard. What the LLM adds beyond a
raw token extraction: derive surface2 (~4% darker than surface), accent_muted /
accent_dark variants from accent, a Google Fonts @import URL, dark-theme shadow
opacity, and WCAG-AA contrast between text and surfaces.
Required fields: theme_name, colors (13 keys), status (4 keys), fonts (3 keys).
Optional with defaults: google_fonts_import (empty), radius ("12px"), shadows.
python3 $CLAUDE_PLUGIN_ROOT/skills/consult-dashboard/scripts/generate-dashboard.py "<engagement-dir>" --design-variables "<engagement-dir>/output/design-variables.json"
The script reads consult-project.json and every action-fields/<slug>/field.json (the
same read model as engagement-status.sh), counts research syntheses under scope/research/
and action-fields/<slug>/research/, loads the design-variables JSON, writes a self-contained
HTML file at <engagement-dir>/output/dashboard.html, and prints
{"success": true, "data": {"path": ..., "theme": ..., "completion_pct": ...}, "error": ""}.
After the dashboard is written, resolve any {{asm:}} assumption placeholders it
carries so the status view shows registered values instead of raw markers. Run a
read-only dry-run resolve (omit --in-place) and write the returned resolved
text back to dashboard.html yourself — this rewrites only the generated output,
never the assumption registry:
# 1. Dry-run resolve → JSON on stdout (omit --in-place; assumptions.json stays untouched).
# 2. Extract data.resolved_text and overwrite dashboard.html with it — but only when
# placeholders were actually found, so a marker-free dashboard is a clean no-op.
python3 $CLAUDE_PLUGIN_ROOT/scripts/resolve-assumptions.py "<engagement-dir>" resolve "<engagement-dir>/output/dashboard.html" \
| python3 -c 'import json,sys; e=json.load(sys.stdin); d=e.get("data") or {}; (open("<engagement-dir>/output/dashboard.html","w",encoding="utf-8").write(d["resolved_text"]) if e.get("success") and d.get("placeholders_found",0)>0 else (None if e.get("success") else sys.stderr.write((e.get("error") or "resolve failed")+chr(10))))'
resolve-assumptions.py — the plugin-level scripts/ resolver, distinct from the
skill-local generate-dashboard.py above — reads assumptions.json and returns
each {{asm:<suffix>}} marker replaced by the registered value (and, where
present, its status and provenance) in data.resolved_text. Take that text and
overwrite dashboard.html with it; when data.placeholders_found is 0 the
dashboard has no markers and no write is needed (a clean no-op). Deliberately
omit --in-place: the in-place mode records a used_by[] reference edge back
into assumptions.json, which would both mutate engagement state (breaking the
read-only contract below) and pollute the register's backlink graph with an
ephemeral, overwrite-on-rerun render artifact. The dry-run keeps assumptions.json
untouched. The resolver is fail-loud on an unknown or malformed placeholder (exit
1, success:false with a data.failed_check discriminator) — surface that as a
warning rather than aborting the dashboard.
Legacy fallback: the script also accepts --theme <path-to-theme.md> (best-effort
markdown parse) for CI/automated runs. Precedence: --design-variables > --theme >
built-in default.
open "<engagement-dir>/output/dashboard.html"
Tell the user the dashboard is open. To refresh after working on deliverables, just rerun the
script (re-running overwrites the previous output/dashboard.html), or let the
consult-dashboard-refresher agent regenerate it at a milestone — see Milestone Dashboard below.
The dashboard is also a checkpoint tool, not just a capstone. Once an engagement has a theme
configured (output/design-variables.json), the engagement skills offer a fresh dashboard at
natural milestones — consult-design-thinking after a deliverable reaches complete (or its
persona review closes), consult-action-fields after the WBS structure changes, and
consult-resume at re-entry. At those checkpoints the skill delegates to the
consult-dashboard-refresher agent (engagement_dir, plugin_root: $CLAUDE_PLUGIN_ROOT), which
runs the read-only generator and opens the HTML without a theme prompt. When no theme is
configured yet, the skills point the consultant back here to set one up first.
The generated HTML is a single self-contained page with these sections:
done/total count; each deliverable row shows its title, a
state badge, a five-step design-thinking indicator (empathize→define→ideate→prototype→test
with the current stage highlighted), and its persona-review status. A deliverable that an
upstream change has invalidated (lineage_status.status: "stale") carries a stale badge
next to its state, and a deliverable with declared dependencies shows a ⤴ depends on
hint listing the upstream deliverables to refresh first. A deliverable that has been published
via consult-publish shows a 📤 publish sub-row — one chip per published format naming
the format, the brief path, and the publish date, with a → render in Claude Design pointer
(hand the brief to Claude Design to render). An unpublished deliverable shows no sub-row.
A deliverable that carries any of the optional scheduling fields (start_date, due_date,
duration, owner, milestone) in its field.json shows a 🗓 schedule sub-row — an
owner chip, a start→due range chip, and a duration chip, preceded by a ◆ milestone marker
when the deliverable is a milestone. These fields are authored for the project-plan / schedule
read model (consult-project-plan, deliverable-graph.py schedule); a deliverable with none of
them set shows no schedule sub-row — the surface degrades silently, the same graceful pattern as
the publish sub-row. Read-only throughout: the dashboard never writes these fields.consult-publish, or (when all are published) hand
the briefs to Claude Design to render.A Warnings card appears only when a field.json is unreadable (surfaced, never conflated
with "pending").
consult-project.json, field.json, and assumptions.json without ever modifying them. The only file it writes is its own generated output/dashboard.html (rendered by generate-dashboard.py, then rewritten in place with resolved assumption values via the dry-run resolve above — the resolver reads assumptions.json read-only and records no used_by[] edge).output/dashboard.html.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/consult-action-fieldsThis skill should be used when the user wants to manage the WBS of a
cogni-consult engagement — listing each action field's deliverables and
their status, planning a field's deliverable set, picking the next
deliverable to work, adding/splitting/merging action fields after
scoping, or setting a deliverable's schedule (due date, effort, owner,
milestone). Trigger on: "show the WBS", "action fields dashboard", "what
deliverables are open", "plan the deliverables", "next deliverable",
"add an action field", "split this field", "merge two action fields",
"set a deliverable's due date", "set the start date/effort/owner",
"mark a deliverable as a milestone", "schedule the deliverables",
or when consult-scope hands off a freshly scoped engagement. Double
Diamond phase phrasing ("discover phase", "deliver phase status")
refers to a legacy engagement model no longer in the ecosystem; new
consulting work lives in cogni-consult (this skill owns its WBS and
deliverable management).
/consult-design-thinkingThis skill should be used when the user wants to produce a deliverable of a
cogni-consult engagement by running its design-thinking loop —
empathize→define→ideate→prototype→test on one deliverable inside an action
field. Trigger on: "work the deliverable", "run design thinking on
<deliverable>", "produce the <deliverable> deliverable", "start the DT loop",
"draft the deliverable", "continue the deliverable", or when a WBS
dashboard recommendation hands off the next unstarted deliverable. Starting
a fresh (not-yet-in-progress) deliverable requires a satisfied personas gate:
when it is unsatisfied the loop routes to consult-personas first before
opening, so a fresh start may bounce to persona seeding or a waiver. Global
phase phrasing ("discover phase", "develop phase", "diamond") refers to a
legacy engagement model no longer in the ecosystem — do not run
this loop against legacy engagement directories; cogni-consult has no
engagement-level phases; design thinking runs per deliverable.
npx claudepluginhub cogni-work/insight-wave --plugin cogni-consultOther plugins' skills for the same job