AgentSkillsCN

rsn-reasoning-problems

运用六种认知模式,深入剖析问题。分别运用因果思维(执行目标)、溯因思维(解释观察结果)、归纳思维(寻找规律)、类比思维(从相似事物中迁移经验)、辩证思维(化解矛盾)以及反事实思维(评估备选方案)。当您需要进行规划、诊断问题、探寻规律、权衡利弊,或探索各种“如果……会怎样”的可能性时,可选用此技能。触发关键词包括:“为什么会这样?”、“如果……会怎样?”、“我们应该怎么做?”、“来分析一下这个”、“弄清楚……”

SKILL.md
--- frontmatter
name: rsn-reasoning-problems
description: Reasons through problems using six cognitive modes. Applies causal (execute goals), abductive (explain observations), inductive (find patterns), analogical (transfer from similar), dialectical (resolve tensions), and counterfactual (evaluate alternatives) thinking. Use when planning, diagnosing, finding patterns, evaluating trade-offs, or exploring what-ifs. Triggers on "why did", "what if", "how should", "analyze this", "figure out".
license: Complete terms in LICENSE.txt

Reasoning

Route to cognitive mode. Execute structured analysis. Produce formatted output.

Mode Selection

ModeQuestionOutputTrigger
CausalHow do we execute?Plan with actionsKnown process, operational workflow
AbductiveWhy did this happen?Diagnosis with hypothesesSingle anomaly, diagnosis needed
InductiveWhat pattern exists?Rules or assessmentMultiple observations, evaluation
AnalogicalHow is this like that?Adaptation planNovel situation, transfer needed
DialecticalHow do we resolve this?Synthesis or decisionConflicting positions, choosing options
CounterfactualWhat if we had/do X?Comparison with verdictDecision evaluation, scenarios

For simple cases without deep reasoning: Use templates directly.

Decision Tree

code
Is this operational execution with known steps?
  YES → Causal
  NO  ↓
Is there a single anomaly requiring explanation?
  YES → Abductive
  NO  ↓
Are there multiple instances suggesting a pattern?
  YES → Inductive
  NO  ↓
Is this a novel situation with a similar past case?
  YES → Analogical
  NO  ↓
Are there conflicting positions or trade-offs?
  YES → Dialectical
  NO  ↓
Evaluating past decisions or future scenarios?
  YES → Counterfactual
  NO  → Ask clarifying question

Mental Models

Apply these models to sharpen reasoning across all modes.

ModelCore InsightApply When
Telescope, Not BrainAI reveals data structure, doesn't create itDiagnosing AI/model failures
Geometry Under ConstraintsDense patterns → reasoning; thin patterns → hallucinationEvaluating AI confidence
Compression = GeneralizationModels compress structure into reproducible patternsExplaining model behavior
Four-Layer StackRepresentation → Generalization → Reasoning → AgencyLocalizing AI failures
Prediction vs BehaviorPrediction is cheap; behavior has consequencesDesigning agent constraints
Labels ≠ TruthLabels are opinions frozen in dataEvaluating training data

Full reference: references/mental-models.md


Challenge Techniques

Every conclusion must survive challenge. Use these techniques:

Devil's Advocate

Attack your own position. What's the strongest argument against this conclusion?

Pre-Mortem

Assume the plan failed in 6 months. Why did it fail?

Stakeholder Lens

How does [engineering/sales/user/finance] see this differently?

Steel-Man + Attack

State the opposing view at its strongest, then find the flaw.

Layer Check

Which layer is actually failing? (Representation → Generalization → Reasoning → Agency)


Mode Summaries

Causal

Purpose: Execute systematic cause-effect reasoning.

Flow: Input → Hypothesis → Implication → Decision → Actions → Learning

Output: Execution analysis or phased plan (for larger initiatives)

Key rules:

  • All claims require evidence with source
  • Hypothesis must be falsifiable
  • Implications need specific numbers (not "significant")
  • Decision must be explicit: PROCEED / DEFER / DECLINE
  • Actions need owner + deadline + success criteria
  • Learning compares expected vs actual

Challenge: "What would prove this hypothesis wrong?"

references/causal.md


Abductive

Purpose: Generate best explanation from observation.

Flow: Observation → Hypotheses (≥5) → Evidence Debate → Best Explanation

Output: Diagnosis with ranked hypotheses and minority report

Key rules:

  • Quantify the anomaly (%, deviation, timeline)
  • Generate hypotheses across ≥3 categories
  • For AI systems: check by layer (Representation/Generalization/Reasoning/Agency)
  • Include minority report if second hypothesis ≥40% confidence
  • State what was ruled out and why

Challenge: "What else could explain this? What doesn't this hypothesis explain?"

references/abductive.md


Inductive

Purpose: Extract patterns from multiple observations.

Flow: Collection (≥5 instances) → Pattern Detection → Generalization → Confidence Bounds

Output: Pattern analysis with rules, or assessment against criteria

Pattern types: Frequency, Correlation, Sequence, Cluster, Trend, Threshold

Key rules:

  • Minimum 5 instances before generalizing
  • Correlation ≠ causation (test mechanism separately)
  • State applicability bounds for every rule
  • Document exceptions (≥30% exception rate = unreliable rule)

Challenge: "Is this pattern or coincidence? What's the exception that breaks this?"

references/inductive.md


Analogical

Purpose: Transfer knowledge from source to target situation.

Flow: Source Retrieval → Structural Mapping → Target Application → Adaptation

Output: Adaptation plan with what transfers, what adapts, what's new

Key rules:

  • Source must have documented outcome
  • Map structure (objects, relations, mechanisms), not surface features
  • Identify at least one "broken" relation (perfect analogies don't exist)
  • Specify what's genuinely new (not just adapted)

Challenge: "Where does this analogy break down? What's different about the new context?"

references/analogical.md


Dialectical

Purpose: Synthesize opposing positions.

Flow: Thesis (steel-man) → Antithesis (steel-man) → Synthesis

Output: Synthesis resolving conflict, or decision selecting between options

Key rules:

  • State underlying concern, not just position
  • Steel-man both sides (strongest version)
  • Synthesis ≠ compromise (must address root concerns)
  • Explicit trade-offs with who accepts the cost

Resolution types: Integration, Sequencing, Segmentation, Reframing, Transcendence

Challenge: "Am I straw-manning either side? Does synthesis actually resolve the tension?"

references/dialectical.md


Counterfactual

Purpose: Evaluate alternatives through "what if" simulation.

Flow: Actual World → Intervention → Projection → Comparison

Output: Comparison with verdict and learning

Key rules:

  • Document what was knowable at decision time (avoid hindsight bias)
  • Intervention must have been actually available
  • Model three scenarios: Expected (55-60%), Optimistic (20-25%), Pessimistic (15-20%)
  • Verdict requires confidence bounds

Challenge: "Am I using hindsight? Was this actually an option then?"

references/counterfactual.md


Output Format

Prose, not YAML. Every reasoning output includes:

markdown
## [Mode] Analysis: [Topic]

**Conclusion:** [Primary finding in 1-2 sentences]

**Confidence:** [X%] — [Why this confidence level]

**Supporting evidence:**
- [Evidence 1]
- [Evidence 2]

**Challenges addressed:**
- [Challenge]: [How resolved]

**Uncertainty:** [What's still unknown]

**Next steps:**
1. [Action with owner if applicable]

Mode Transitions

FromToTrigger
AbductiveCausalDiagnosis complete → ready to act
InductiveCausalPattern validated → ready to apply
AnalogicalCausalAdaptation ready → ready to execute
DialecticalCausalSynthesis agreed → ready to implement
CounterfactualInductiveMultiple counterfactuals suggest pattern
AnyAbductiveUnexpected outcome during execution

Anti-Patterns

AvoidDo Instead
Skipping challenge stepEvery conclusion must survive attack
"It's obvious"Require evidence for conclusion
Vague confidence ("pretty sure")Numeric confidence with rationale
Single hypothesisGenerate ≥5 before evaluating
Perfect analogy assumptionAlways find where mapping breaks
Compromise as synthesisAddress underlying concerns
Hindsight in counterfactualsDocument what was knowable then

Templates

For simple structural needs without full reasoning, use templates directly.

TemplateUse CaseTrigger
SOP/RunbookDocument known process"create runbook", "write SOP"
ChecklistQuick verification"checklist for", "pre-flight"
Success CriteriaDefine "done""how do we know", "success metrics"
RecommendationActionable guidance"what should I do", "recommend"

references/templates.md


References

FileContent
mental-models.mdConceptual models for reasoning
causal.mdExecution flow + plan output
abductive.mdHypothesis testing + diagnosis output
inductive.mdPattern extraction + assessment output
analogical.mdKnowledge transfer + adaptation output
dialectical.mdPosition synthesis + decision output
counterfactual.mdAlternative evaluation + comparison output
templates.mdSOPs, checklists, success criteria, recommendations