lancegui

29 mods across 2 repositories, 4 stars between them.

economic-editor

01

lancegui/economic-editor-skills

Skill Claude CodeCodex

Edit and refactor LaTeX manuscripts for economics research into polished, submission-ready prose. Use when asked to edit, review, improve, tighten, refactor, or polish academic economics writing: introductions, abstracts, empirics, results, mechanisms, figure/table notes, appendices. Optimized for applied micro (DiD…

2 3mo ago A 153 tokens

causal-powers

02

lancegui/causal-powers

Plugin Claude Code

Causal Powers — a skills library for data analytics, causal inference, and reduced-form and structural econometrics.

2 8d ago A tokens not measured original MIT

causal-powers

03

lancegui/causal-powers

Plugin Claude Code

Superpowers for data analytics, causal inference, and econometrics: discipline skills that make the silent failures of data work loud — data contracts, data preparation, join-cardinality checks, wrong-number debugging, result verification, pre-analysis plans, descriptive evidence (stylized facts, trends, summary-stats.

2 8d ago A tokens not measured original MIT

lancegui/causal-powers

Instructions file CodexOpenCode

Instructions for lancegui/causal-powers, a project described as: Economist's discipline for data analysis, causal inference, and econometrics — reduced-form and structural. A Claude Code plugin whose name is a homage to superpowers; it makes the silent failures of data work loud.

2 8d ago A 4 tokens original MIT

analysis-reviewer

05

lancegui/causal-powers

Agent

Adversarial reviewer of a data analysis, notebook, script, or result for the silent-failure classes that pass ordinary code review but produce wrong answers — unchecked joins, leakage, bad controls, unreconciled totals, undefined metrics, identification gaps, fished specifications, implausible magnitudes, the…

2 8d ago A 162 tokens original MIT

robustness-runner

06

lancegui/causal-powers

Agent

Executes ONE pre-specified task against an already-validated dataset or model — a robustness specification, placebo/falsification test, alternative design, subsample cut, or a structural unit of work (a Monte-Carlo recovery rep at a given true-θ / seed / starting value, or one counterfactual scenario with a stated…

2 8d ago A 155 tokens original MIT

SessionStart

07

lancegui/causal-powers

Hook

Runs when a session starts on startup, clear, compact and resume, running an inline shell check (3 commands). From lancegui/causal-powers.

2 8d ago A tokens not measured copy · 58% MIT

PreCompact

08

lancegui/causal-powers

Hook

Runs before the context is compacted, running an inline shell check. From lancegui/causal-powers.

2 8d ago A tokens not measured original MIT

UserPromptSubmit

09

lancegui/causal-powers

Hook

Runs when you submit a prompt, before the agent sees it, running an inline shell check. From lancegui/causal-powers.

2 8d ago A tokens not measured copy · 56% MIT

PostToolUse

10

lancegui/causal-powers

Hook

Runs after a tool call finishes for Skill tool calls, running an inline shell check. From lancegui/causal-powers.

2 8d ago A tokens not measured original MIT

Stop

11

lancegui/causal-powers

Hook

Runs when the agent finishes a response, running an inline shell check. From lancegui/causal-powers.

2 8d ago A tokens not measured copy · 50% MIT

lancegui/causal-powers

Skill Claude CodeCodex

Use throughout the EXECUTION of any analysis — while running, debugging, modeling, or cleaning data — to decide which decisions you may make on your own and which you must STOP and bring to the user first. Forces a human-in-the-loop checkpoint before any consequential analytical choice — changing the research design…

2 8d ago A 166 tokens original MIT

analysis-craft

13

lancegui/causal-powers

Skill Claude CodeCodex

Use when WRITING or EDITING analysis code, notebooks, or data pipelines in R, Julia, or Python — keeping the code minimal, surgical, and legible rather than over-engineered. Use whenever you're about to add a class/framework to a one-off script, refactor a working pipeline you were only asked to tweak, build…

2 8d ago A 164 tokens original MIT

analysis-review

14

lancegui/causal-powers

Skill Claude CodeCodex

Use when reviewing a data analysis, notebook, script, model, or result — your own before you ship it, a colleague's before it's published, or one handed to you to "check" or "sanity-check" — in R, Julia, Python, or Stata. Hunts specifically for the silent-failure classes that pass code review but produce wrong answers…

2 8d ago A 187 tokens original MIT

lancegui/causal-powers

Skill Claude CodeCodex

Use whenever an analysis phase, decision log, artifact registry, run record, or subagent handoff needs to be created, updated, resumed, or compacted. Replaces the old habit of growing and rereading one long plan file with a small docs/analysis/ YAML index and task-specific records. Use at phase boundaries…

2 8d ago A 95 tokens original MIT

lancegui/causal-powers

Skill Claude CodeCodex

Use whenever an analysis makes or implies a CAUSAL claim — "the effect of", "X caused Y", "the policy raised", "the treatment increased", "because we did X, Y changed" — or whenever you're running difference-in-differences, event studies, instrumental variables, regression discontinuity, matching, synthetic control…

2 8d ago A 181 tokens original MIT

data-contracts

17

lancegui/causal-powers

Skill Claude CodeCodex

Use when computing, transforming, cleaning, joining, merging, aggregating, reshaping, or modeling ANY result from data — before you trust a number, a table, a model metric, or a chart. Establishes data contracts and invariants up front, validates assumptions before building on them, asserts join cardinality before…

2 8d ago A 193 tokens original MIT

data-preparation

18

lancegui/causal-powers

Skill Claude CodeCodex

Use when building, cleaning, or assembling the DATASET an analysis runs on in R, Julia, or Python — the moment someone says "clean the data", "the data is messy", "build/assemble the panel", "construct the dataset", "merge these files into one dataset", "prep the data", "dedupe these records", "reconcile the totals"…

2 8d ago A 201 tokens original MIT

lancegui/causal-powers

Skill Claude CodeCodex

Use when the deliverable is a DESCRIPTION of what's in the data rather than an effect, a counterfactual, or a prediction — stylized facts, trends ("what's the trend in X", "how has Y changed over time", "plot the growth"), summary-statistics/Table-1 tables, distributions, descriptive maps/choropleths ("map where X is…

2 8d ago A 228 tokens original MIT

lancegui/causal-powers

Skill Claude CodeCodex

Use once an analysis brief or pre-analysis plan is APPROVED and it's time to actually run the analysis — build the dataset, estimate the primary specification, run the robustness suite, placebo tests, and alternative designs, then assemble the results. Drives execution through the plan step by step, validating each…

2 8d ago A 177 tokens original MIT

figure-craft

21

lancegui/causal-powers

Skill Claude CodeCodex

Use when making a FIGURE / CHART / PLOT for a paper, deck, or presentation — in ANY language (R/ggplot2, Python/matplotlib, Julia/Makie). Governs the visual style: 16.5pt text throughout (axes, legend, title), no y-label (the title carries the y-axis meaning; paper figures get no headline title), concise axis labels…

2 8d ago A 248 tokens original MIT

pre-analysis-plan

22

lancegui/causal-powers

Skill Claude CodeCodex

Use BEFORE running a confirmatory analysis, an experiment readout, an A/B test, a policy evaluation, or any study whose credibility depends on not having fished for the result — especially causal/econometric work. Locks the hypotheses, estimand, primary specification, sample and exclusions, and the robustness suite…

2 8d ago A 163 tokens original MIT

predictive-modeling

23

lancegui/causal-powers

Skill Claude CodeCodex

Use whenever the GOAL is a prediction that drives an action — predict, score, rank, flag, classify, forecast, or detect anomalies on units ("which pharmacy is likely diverting opioids", "which claim to audit", "who's likely to churn", "rank by risk"). Route by GOAL, not algorithm: a prediction deliverable is this…

2 8d ago A 207 tokens original MIT

lancegui/causal-powers

Skill Claude CodeCodex

Use when finishing a piece of analysis and about to commit or push, when a directory has accreted files and it's unclear what is a deliverable versus scratch, when setting up or reorganizing a research repository, or when asked to clean up the directory, organize the repo, standardize naming, or make a project…

2 8d ago A 202 tokens original MIT