From growthub-governed-console
Run the offline causal-intelligence CLI over a governed Growthub workspace — growthub plan (blast radius, stale surfaces, lineage), growthub patch (offline allowlisted edit with impact + compliance, PR-ready), growthub capture (live vs repo drift), growthub readiness (ship verdict across forks). Use for scripted or CI-side impact analysis when you want JSON output instead of MCP tool calls.
How this skill is triggered — by the user, by Claude, or both
Slash command
/growthub-governed-console:workspace-causal-cliThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The same pure derivers behind the `governed-universe` MCP tools ship as four
The same pure derivers behind the governed-universe MCP tools ship as four
CLI commands. Use these when you want machine-readable JSON in a script, a CI
gate, or a PR body — the MCP tools and these commands derive from one spine,
so they can never disagree.
Resolve the CLI in this order (first available wins):
growthub … — installed CLI (npm i -g @growthub/cli)npx -y @growthub/[email protected] … — no install requiredAll commands accept --fork <path> (default: cwd; the path must contain
growthub.config.json at root or under apps/workspace/) and --json.
growthub plan — pre-merge causal impactgrowthub plan --json # graph stats + stale surfaces
growthub plan --impact <nodeId> --json # blast radius + workflow impact
growthub plan --lineage <nodeId> --json # dependents + dependencies closure
<nodeId> accepts a graph node id, metadataId, or label.
growthub patch — offline allowlisted edit, PR-readygrowthub patch --set 'dataModel.objects[0].label="Customers"' --json # dry-run
growthub patch --set '<path>=<jsonValue>' --write # edit repo artifact
dashboards, widgetTypes, canvas, dataModel are patchable —
disallowed top-level keys are reported and never written.--write edits the repo artifact only — it never touches live state.
Promotion stays on the governed PATCH /api/workspace / workflow/publish
lanes (see the governed-workspace-mutation skill).growthub capture — live ↔ repo driftgrowthub capture --live http://127.0.0.1:3777 --json
Compares the running control plane (GET /api/workspace) against the repo
artifact per allowlisted field and prints the reconcile step when drifted.
growthub readiness — ship verdictgrowthub readiness --json # this fork
growthub readiness --fork ./a --fork ./b --json # rollup across forks
growthub readiness --app <appId> --json # one app scope
Returns { ready, score, summary, nextAction } per fork plus a rollup —
suitable as a CI gate before deploys.
patch --write, which writes one
file (the repo config artifact) and is still never a live mutation.--json in scripts.@growthub/cli in CI for reproducible verdicts.npx claudepluginhub growthub-ai/growthub-local --plugin growthub-governed-consoleOperate the governed-universe MCP tools over a Growthub workspace — describe the workspace, traverse the metadata graph, simulate causal impact and blast radius, check ship-readiness, dry-run a PATCH with preflight_patch, and convert findings into governed next actions. Use whenever you need to answer "what exists, what depends on what, what would break, is it ready, and what governed call should happen next" in a workspace that contains growthub.config.json.
Detects drift between CLAUDE.md / AGENTS.md narrative and live repo state: path resolution, project counts, issue freshness, session files, command counts, config parity, vault-dir parity, generated-rule staleness, rule-scoping defects, and docs parity. Useful as an opt-in session-end quality gate.
Audits repositories for test artifacts, dependency issues, CI/CD health, documentation sync, and git hygiene. Generates prioritized cleanup plans. Use for deep cleaning or ongoing maintenance.