# Causal And Counterfactual Video Reasoning

> Use this skill when the user asks for 'why did that happen', 'what caused it', 'what would happen if this were removed', or 'make the answer depend on reasoning rather than direct observation.' Trigger it for clips where the visible events must be interpreted through motive, mechanism, or hypothetical intervention.

- Skill: `dingxingdi/causal-and-counterfactual-video-reasoning-2` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add dingxingdi/causal-and-counterfactual-video-reasoning-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dingxingdi/causal-and-counterfactual-video-reasoning-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: dingxingdi (https://skillmd.com/u/dingxingdi)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/dingxingdi/causal-and-counterfactual-video-reasoning-2

---


# Skill: causal-and-counterfactual-video-reasoning
## 1. Capability Definition & Real Case
* **Professional Definition**: The capability to infer why an event happened and what would happen under a modified condition, by combining observed dynamics with causal structure rather than relying on surface co-occurrence.
* **Dimension Hierarchy**: Long-Horizon Reasoning->Inference and Planning->causal-and-counterfactual-video-reasoning
### Real Case

**[Case 1]**
* **Initial Environment**: A football match video with repeated player interactions and a physically contested dribble. The question centers on one contact event between two players during active play.
* **Real Question**: Why did Player number 4 in white push down Player number 17 in purple during the match?
* **Real Trajectory**: Track the offensive possession before contact, identify the attempted dribble by Player 17, examine Player 4's defensive movement and timing, and infer the motive from the tactical context rather than the collision frame alone.
* **Real Answer**: Player number 4 in white was making a defensive play to prevent Player number 17 in purple from successfully dribbling past him.
* **Why this demonstrates the capability**: The answer is causal, not merely descriptive: the agent must explain the contact by reasoning about the prior offensive setup and the defender's goal. This is precisely the kind of higher-order inference that goes beyond naming visible actions.

---
## Pipeline Execution Instructions
To synthesize data for this capability, you must strictly follow a 3-phase pipeline. **Do not hallucinate steps.** Read the corresponding reference file for each phase sequentially:

1. **Phase 1: Environment Exploration**
   Read the exploration guidelines to discover raw knowledge seeds:
   `references/EXPLORATION.md`

2. **Phase 2: Trajectory Selection**
   Once Phase 1 is complete, read the selection criteria to evaluate the trajectory:
   `references/SELECTION.md`

3. **Phase 3: Data Synthesis**
   Once a trajectory passes Phase 2, read the synthesis instructions to generate the final data:
   `references/SYNTHESIS.md`

