agentleFS
tatashbartatashbar/Economic-Modeling-Studio/.agents/skills/sensitivity-analysis/SKILL.md

sensitivity-analysis

Skill8 starsChanged 3 days agoMITView on GitHub

Runs global sensitivity and uncertainty analysis to rank assumptions and parameters that drive results.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If a required input is ABSENT, that part is NOT ASSESSED — NO DATA: do not estimate or invent it.

    line 26
  2. Very specific:

    Collaboration: Follow .claude/docs/collaboration-protocol.md: ask questions first, present options, get approval before writing files, and …

    line 28
  3. Distinctive:

    Run Sobol/Morris or Monte Carlo analysis

    line 46
  4. Distinctive:

    Check convergence of indices.

    line 47
  5. Distinctive:

    After ranges: confirm their sources

    line 52
  6. Distinctive:

    After ranking: confirm which drivers need further evidence

    line 53

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- Generated from .claude/skills/sensitivity-analysis/SKILL.md by tools/sync_agents.py. Edit the source, then run the script. -->

/sensitivity-analysis — Sensitivity Analysis

Category: Validation & QA · Primary agent: sensitivity-uncertainty-specialist

Runs global sensitivity and uncertainty analysis to rank assumptions and parameters that drive results.

Arguments: whatever the user wrote after the command name.

Purpose

Rank the parameters and assumptions that drive a model's results using global methods, propagate their uncertainty, and test whether the conclusions survive plausible ranges of the top drivers. The output is a key-driver ranking and a statement of how uncertain the results really are, including structural uncertainty where alternative models exist.

Use it when a model's results will inform decisions, calibration is uncertain, or reviewers ask which assumptions matter.

Do not use it when the question is whether conclusions survive other models or identification schemes (/robustness-check).

Before you start

  1. Check required inputs. For each input below record FOUND or ABSENT (never 'assumed'):
    • Model code
    • Parameter ranges If a required input is ABSENT, that part is NOT ASSESSED — NO DATA: do not estimate or invent it; name what is missing and which skill produces it. If all required inputs are absent, stop and say so.
  2. Check confidentiality. Identify the data classification level of the inputs (.claude/docs/confidentiality-and-ai-use.md). Do not proceed with restricted or confidential data in a way the policy does not allow.
  3. Collaboration. Follow .claude/docs/collaboration-protocol.md: ask questions first, present options, get approval before writing files, and update production/session-state/active.md after each approved section.

Agents

  • sensitivity-uncertainty-specialist — primary agent; coordinates the work and integrates results
  • bayesian-dsge-estimation-specialist — Estimates DSGE models by Bayesian methods (MCMC, SMC) and checks identification, priors and fit

Each agent is defined in .claude/agents/<name>.md. If your tool runs subagents, run these agents as subagents, in parallel where the steps are independent; otherwise read each agent's file and apply its instructions in turn. Subagents only write to the paths named in your instructions.

Key design decisions (present options, let the user choose)

DecisionTypical optionsWhat it changes
MethodMorris screening, Sobol indices, Monte Carlo propagationInteraction detection and cost
Rangesposterior intervals, literature ranges, expert rangesPlausibility
Outputsdecision-relevant metricsRelevance
Cost controlsurrogate models, sparse samplingFeasibility

Workflow

  1. Define output metrics and plausible parameter/assumption ranges with rationale
  2. Run Sobol/Morris or Monte Carlo analysis
    • Check convergence of indices; report total-effect indices for interactions
  3. Rank drivers and test whether conclusions are robust to them
  4. Report structural uncertainty if alternative models exist

Checkpoints with the user

  • After ranges: confirm their sources
  • After ranking: confirm which drivers need further evidence

Common pitfalls

  • One-at-a-time sensitivity in nonlinear models
  • Ranges without sources
  • Outputs that do not relate to the decision

Output

validation/<model>/sensitivity-report.md

The report presents ranges with sources, methods, index estimates with convergence, the key-driver ranking and the robustness of conclusions.

Gate / verdict

  • Ranges justified; top drivers identified
  • Index convergence is checked
  • Interactions are assessed with total-effect indices

Suggested next steps

  • /validate-model
  • /robustness-check

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.