construct-counterfactual
SkillDev toolsLets your agent build a counterfactual 'what if' version of a scenario to test how one changed factor affects outcomes.
Available today. Use it from your connected AI after setup.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the construct-counterfactual skill
About this skill
Construct the minimally or explicitly intervened counterfactual world required by the parent analysis.
What this skill tells your AI
The instructions your AI receives, as published by yogsoth-ai/de-anthropocentric-research-engine in skills/construct-counterfactual/SKILL.md and read by ahel’s review.
Purpose
Construct the minimally or explicitly intervened counterfactual world required by the parent analysis.
Input contract
required: [baseline_artifact, intervention_target, intervention_specification]
optional: [structural_model, invariants, outcome_query]
constraints: [alter only declared factors; preserve stated invariants]
Procedure
- Freeze the baseline artifact and enumerate the target factor's dependencies.
- Apply the intervention specification while holding declared invariants fixed.
- Propagate direct and cascading effects through the structural model.
- Compare queried outcomes and classify hold, weaken, flip, or indeterminate.
Output contract
produces: [counterfactual_world, changed_factors, cascading_effects, conclusion_status, consistency_check]
delta_fields: [findings, hypothesis_updates, uncertainties, open_questions]
Quality gates
- The intervention is minimal or explicitly justified as non-minimal.
- Every changed downstream variable has a propagation explanation.
- Internal consistency and conclusion status are separately reported.
Parameterization
Caller supplies artifact schema, intervention grammar, invariants, propagation model, outcome query, and status vocabulary.
Failure and counterexamples
Reject worlds that silently alter non-target factors or violate declared structural constraints.
Provenance map
- resolved: counterfactual-scenario-construction
Signals
- GitHub stars
- 501
- Forks
- 41
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Key
construct-counterfactual- Source
- github.com/yogsoth-ai/de-anthropocentric-research-engine