Skip to content
Back to skills

Construct Counterfactual

ASecurity

Construct the minimally or explicitly intervened counterfactual world required by the parent analysis.

  • 499 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 24, 2026
research

Security analysis

A100/100

Scanned September 24, 2026

npx -y skills add yogsoth-ai/de-anthropocentric-research-engine --skill construct-counterfactual --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Construct Counterfactual?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Construct Counterfactual
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yogsoth-ai-construct-counterfactual/badge)](https://www.skillsdirectory.com/skills/yogsoth-ai-construct-counterfactual)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: construct-counterfactual
description: "Construct the minimally or explicitly intervened counterfactual world required by the parent analysis."
---

# construct-counterfactual

## Purpose
Construct the minimally or explicitly intervened counterfactual world required by the parent analysis.

## Input contract
```yaml
required: [baseline_artifact, intervention_target, intervention_specification]
optional: [structural_model, invariants, outcome_query]
constraints: [alter only declared factors; preserve stated invariants]
```

## Procedure
1. Freeze the baseline artifact and enumerate the target factor's dependencies.
2. Apply the intervention specification while holding declared invariants fixed.
3. Propagate direct and cascading effects through the structural model.
4. Compare queried outcomes and classify hold, weaken, flip, or indeterminate.

## Output contract
```yaml
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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.