/capx-casa:casa-review [mode:agent] [grade <nodeId>] [path to the artifact, or blank for the most recent decision]from capx-casa
Critiques company artifacts (decisions, plans, copy, pricing, decks, metrics) using a panel of specialist persona agents, then merges and confidence-gates findings into a ranked verdict. Use after drafting before a launch or commitment.
Ships in capx-casa. 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.
The critic. Adapts the parallel-persona review pipeline (always-on plus conditional personas, structured findings, confidence-gated merge) from code review onto company decisions. It is the review half of the build then review loop.
grade <nodeId>: run the GRADE MODE below instead of the persona critique. It scores
a completed node's deliverable 0-100 against the playbook's deliverable spec and
rubric, combining deterministic checks with an LLM judgment, and persists the score.mode:agent (or mode:headless): return only the merged JSON verdict, apply no
fixes, mutate nothing. Default mode is interactive (render a briefing, offer to
apply safe fixes).company-brain/decisions/ or the artifact the last casa-build produced.If company-brain/profile.json does not exist, tell the founder to run /casa-start
first and stop.
Scope. Identify the artifact and its type (decision, copy, plan, pricing,
positioning, design, metrics, deck). Read it, plus profile.json,
build-map.json, and any decisions/ it references.
Select personas. Always-on: customer-skeptic, investor-redteam,
brand-copy-critic, analyst-honesty. Add conditional personas by signal:
designers-eye for UI, legal-risk for legal, contract, privacy, custody, or
payments artifacts, tokenomics-critic when the artifact touches a token or
on-chain mechanics. Select by judgment about the artifact, not by keyword.
Spawn the personas in parallel as subagents. Give each the artifact and the context. Each returns ONLY this JSON, no prose:
{
"persona": "<name>",
"findings": [
{ "severity": "P0|P1|P2|P3", "confidence": 0|25|50|75|100,
"title": "<short>", "where": "<section, line, or claim>",
"why": "<the risk>", "fix": "<specific correction>" }
],
"residual_risks": ["<what you could not assess>"]
}
Merge and gate, deterministically (not by hand):
where plus a normalized title.Output.
Record. Append a short review record to company-brain/ledger/ (artifact,
personas run, count of surviving findings, verdict). Do not edit the artifact in
mode:agent.
Invoked as casa-review grade <nodeId> (called after a casa-build to score the
output). This is a quality grade of one finished deliverable, not the persona panel.
It returns a score 0-100, a pass or fail, and a short list of concrete gaps, combining
deterministic checks with an LLM judgment, and it persists the score on the node.
Load the spec. Read ${CASA_ROOT:-${CLAUDE_PLUGIN_ROOT}}/playbooks/_index.json and find the entry
whose id is <nodeId>. Pull two optional fields:
deliverable -- what good output is, for example
{ "file": "...", "sections": ["..."], "max_words": 800 }.rubric -- how to grade it (the criteria that define quality for this artifact).
If the entry has no deliverable spec, grade against the GENERIC bar (step 5) and
say so in the output.Read the actual deliverable. Read the file or files the node produced under
company-brain/outputs/<nodeId>/ (or the deliverable.file path if the spec names
one). If nothing is there, the grade is an automatic fail with the gap "no
deliverable found"; persist it (step 6) and stop.
Deterministic checks (these are facts, not opinion):
Sections present: every required name in deliverable.sections appears as a
heading or labelled section in the deliverable. Each missing one is a gap.
Word count: if deliverable.max_words is set, the deliverable is within it. Over
budget is a gap.
Copy-lint clean: run the canon linter on each deliverable file and read the JSON:
node ${CASA_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/copy-lint.mjs company-brain/outputs/<nodeId>/<file> --json
Any entry in errors (an em-dash, an emoji, or a placeholder or test company
name) is a hard canon violation and a gap. warnings (founder-bro buzzwords) are
soft and noted, not a hard fail.
LLM judgment against the rubric. Read the deliverable as a sharp operator and judge
how well it meets each rubric criterion: is it specific and grounded in this
company, is it actionable, does it actually do the job the playbook intends, or is it
thin or generic. Name concrete gaps tied to the rubric, not vague notes.
Score and verdict. Combine into one score 0-100 and a boolean pass:
max_words, or
a copy-lint error each pulls the score down materially, and any of them forces
pass: false regardless of the rubric judgment (a deliverable that violates the
hard spec cannot pass).deliverable or rubric.score >= 70 AND no deterministic hard violation.Persist the score. Hand it to the engine, which is the only thing that writes
brain state. Never append to company-brain/scores.jsonl yourself.
node scripts/brain.mjs grade company-brain <nodeId> <score> <true|false> '["gap one","gap two"]'
The persisted shape is { "nodeId", "score", "pass", "gaps": [...], "ts" },
append-only. The engine rejects an unknown playbook id, a score outside 0-100,
or gaps that are not a JSON array of strings, so a bad grade fails loudly here
rather than silently corrupting the record a verifier will later read.
Output. Report the score, the pass or fail, and the short ordered list of concrete gaps (deterministic gaps first, then the rubric gaps). Keep it tight; this feeds a one-click "make it better" loop, so each gap should be a fixable instruction.
What SKILL.md sets; muted values are Claude Code's defaults
26 skills in this plugin
/casaThe front door to Capx Casa and the one command to remember. Start my session here. It reads the whole business and tells you in plain English where we are, the single move it recommends and why, what is in flight, and what is waiting on you, then asks before doing anything. Use when you type casa, ask what should I do or where are we, or want to open a work session./casa-approvalsYour control surface. Shows everything queued and waiting for your yes, lets you approve or reject each item with a note, and shows and changes how much Casa does on its own per department. Four things always ask no matter what: spending money, publishing or announcing publicly, shipping code changes, and anything destructive or irreversible. Use when you want to approve work, see what is waiting on you, or change how hands-on Casa is./npx claudepluginhub capx-ai/casa --plugin capx-casaOther plugins' skills for the same job