scipilot-figure-skill
A visualization advisor for scientific data that profiles a dataset first, then recommends suitable chart types based on the user's argument. It flags common figure mistakes and outputs publication-ready figures for journals.
limingrui679-design/high-stakes-analytics-decision-lab is a plugin with skills that profile data and gate evidence for consequential decisions. It adds structured analysis and visual reports, and it suits cases where uncertainty or decision thresholds need a clear evidence check.
Claude Code
$ npx -y skills add limingrui679-design/high-stakes-analytics-decision-lab --agent claude-code
Codex
$ npx skills add limingrui679-design/high-stakes-analytics-decision-lab -a codex
Cursor
$ npx skills add limingrui679-design/high-stakes-analytics-decision-lab -a cursor
Gemini CLI
$ npx skills add limingrui679-design/high-stakes-analytics-decision-lab -a gemini-cli
GitHub Copilot
$ npx skills add limingrui679-design/high-stakes-analytics-decision-lab -a github-copilot
OpenCode
$ npx skills add limingrui679-design/high-stakes-analytics-decision-lab -a opencode
Windsurf
$ npx skills add limingrui679-design/high-stakes-analytics-decision-lab -a windsurf
Turn a decision about people or resources into an analysis another team can reproduce.
Quick start · Architecture · Live explorer · Portfolio · Documentation · Contributing
A transit planner choosing service locations and a review team prioritising complaints face a similar problem. An analysis has to answer a decision someone can actually make with the time, data and capacity available. This reusable analytics skill starts by defining that decision, the people affected and the unit of analysis. It then compares methods, tests how assumptions change the result, and links each finding to the data and code behind it.
The spatial equity case combines U.S. Census tract estimates with Massachusetts transit data to compare candidate service locations. Excluding tracts with missing rent-to-income data and filling those gaps with the observed median yielded the same five candidate sites. Treating the missing values as zero would have changed one selection. Explore the spatial equity analysis
The same workflow runs across 15 public-data cases.
| Principle | System behavior |
|---|---|
| Evidence before method | Declare the question, population, grain, target quantity, horizon, lineage, and claim boundary first |
| Readiness before analysis | Preserve the source, profile quality and privacy, and pause on material transformations |
| Adaptive routes | Add descriptive, diagnostic, predictive, or prescriptive work only when justified |
| Honest endpoints | Accept an evidence request, negative validation, do_not_deploy, or no recommendation |
| Dependent uncertainty | Retain shared time, market, participant, campaign, operational, and spatial shocks |
| Traceable communication | Link claims and accessible figures to JSON, CSV, hashes, and rerunnable code |
The skill produces an evidence report. When the analysis supports an action, a separate decision brief records the alternatives, their trade-offs and the conditions for revisiting the choice.
npx skills add limingrui679-design/high-stakes-analytics-decision-lab -g
The Agent Skills installer discovers the compact package under
skills/high-stakes-analytics-decision-lab/:
39 files and about 472 KiB, rather than the full research portfolio. Its
machine-readable file and hash contract is in
bundle-manifest.json.
Use docs/getting-started.md for Codex-specific,
no-install, and direct repository options.
$high-stakes-analytics-decision-lab
Run the data-readiness gate on this source, preserve the original file, and
select only the analytical routes the evidence supports. Produce an Evidence
Intelligence Report. Add a Decision Intelligence Brief only if the evidence
and decision context justify one.
Start with the decision or evidence question—not a preferred model. A valid
result may be a bounded action, a pilot requirement, targeted diligence, an
evidence request, negative validation, or do_not_deploy.
Every complete project keeps the narrative, machine result, visual evidence, and source lineage together:
report.md # primary Evidence Intelligence Report
results.json # machine-readable analytical result
chart-map.json # figure-to-question and source contract
figures/*.svg # accessible analytical visuals
A justified decision layer adds decision-report.md,
decision-results.json, and its own figure contract. It never replaces the
primary evidence product.
| Starting point | Command or guide | Outcome |
|---|---|---|
| Environment audit | python3 scripts/hsadl.py doctor | Python, runtime, template, write-access, and Skill-footprint checks |
| Safe 60-second walkthrough | python3 scripts/hsadl.py demo --output-dir build/demo | Synthetic source preservation, contract, quality gate, route, and accessible SVGs; no model or recommendation |
| Question only | python3 scripts/hsadl.py route "<question>" --scope full --output-dir <path> | Evidence and method blueprint; no invented result |
| Question plus data | python3 scripts/hsadl.py start <data.csv> --question "<question>" --output-dir <path> | Preserved source, draft contract, readiness profile, and unresolved decisions |
| Existing decision case | python3 scripts/hsadl.py validate <case.json> then python3 scripts/hsadl.py run <case.json> --output-dir <path> | Validated expected, tail, sensitivity, provenance, and group-impact outputs |
| Worked precedents | Fifteen-project portfolio | Complete source-to-report evidence paths |
The fixed evidence spine remains stable while the case-specific analytical layer changes.
| Fixed evidence spine | Adaptive case layer |
|---|---|
| Question, population, unit, target quantity, and horizon | Route, fields, methods, and validation |
| Source lineage, quality status, and reproducibility | Figures, report sections, and decision criteria |
| Uncertainty, limitations, and claim boundary | Bounded action, evidence request, or stopping status |
Uploaded row-level data do not go directly into a model. The system preserves the original, establishes a contract, checks grain and keys, profiles quality and privacy, and produces a dry-run remediation plan.
| Gate status | Meaning | Permitted next step |
|---|---|---|
ready | No material failure under the declared contract | Continue |
ready_with_documented_limitations | Localized issues remain | Continue with visible limits |
needs_user_confirmation | A substantive transformation, privacy, or intended-use choice remains | Pause for a named approval or clarification |
blocked | Grain, key, schema, leakage, or another critical failure invalidates the route | Stop and request corrected evidence |
Only safe normalization can run without approval. Deletion, imputation, outlier treatment, category merging, unit conversion, target correction, and grain changes require explicit action IDs. The processed copy never overwrites the source.
| Route | Question | Required discipline | Valid endpoint |
|---|---|---|---|
| Descriptive | What is happening? | Denominators, coverage, trends, segments, and missingness | Baseline report or evidence request |
| Diagnostic | Why might it be happening? | Contributions, competing explanations, hypotheses, and a visible causal boundary | Prioritized explanations to test |
| Predictive | What is likely next? | Target, horizon, baseline, held-out validation, calibration, subgroup error, and drift | Validated prediction, negative validation, or do_not_deploy |
| Prescriptive | What should be done, if justified? | Owner, alternatives, constraints, dependence, tail risk, sensitivity, and reversal conditions | Bounded action or no decision-ready recommendation |
Routes may compose, but a later route cannot erase the quality and evidence
requirements of an earlier stage. Read the full system design in
docs/architecture.md.
| Product | Main question | Contents | Existence rule |
|---|---|---|---|
| Evidence Intelligence Report | What does the evidence establish? | Source and QA contract, methods, validation, figures, uncertainty, limitations, lineage, and reproducibility | Primary record for every complete project |
| Decision Intelligence Brief | What action, pilot, diligence, evidence request, or stop follows? | Decision status, alternatives, constraints, shared shocks, tail risk, sensitivity, and reversal conditions | Conditional; only when a separate decision layer is justified |
Every material figure is generated from the shared editorial evidence system, includes a title and description, and is paired with its analytical question, supported interpretation, and claim boundary. The visual system is part of the evidence contract, not decorative reporting.
The public portfolio contains 15 primary reports and 10 conditional briefs—25 intelligence products in total—plus 119 canonical accessible figures: 50 evidence figures and 69 decision figures.
The cases span operational demand, distribution shift, scarce-capacity pilots, temporal model transport, tail-risk decisions, human-in-the-loop triage, commercial diligence, mitigation allocation, filing review, clustered field experiments, survival evidence, policy evaluation, repeated-measures inference, population transportability, and spatial equity.
They intentionally end differently: some support a bounded decision, some
require a pilot or targeted review, and some stop at an evidence request or
do_not_deploy.
| Explore | Open |
|---|---|
| Searchable route and capability explorer | Live case atlas · local source |
| Visual case gallery | Portfolio overview |
| Machine-readable catalog | cases.json |
| School-neutral capability paths | capability-map.json |
| Rebuild and comparison contract | Verification guide |
| Method and domain routing | method-domain-map.json |
The current stable release is
See 7 high-stakes-analytics-decision-lab alternatives
A visualization advisor for scientific data that profiles a dataset first, then recommends suitable chart types based on the user's argument. It flags common figure mistakes and outputs publication-ready figures for journals.
A skill for data scientists and analysts that writes cost-safe geospatial SQL for BigQuery, DuckDB, Snowflake, Wherobots, and Postgres, and can render results on an interactive map. Works locally or self-hosted without a SaaS account.
Claude Code skills for working with Stata: a reference for writing correct .do files, data management, econometrics, causal inference, graphics and Mata, plus guidance for building C and C++ plugins for Stata.
Install it with the command on its page. It includes high-stakes-analytics-decision-lab. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it