AGENT SKILL

probabilistic-decision-core

Operational probability, calibration, and expected-value discipline for YURI OS decisions under uncertainty. Use when making or supporting a decision involving task priority, route selection, risk acceptance, opportunity ranking, forecast-backed planning, resource allocation, go/no-go judgment, escalation threshold, or postmortem calibration — e.g. '/yuri probability', '/probability', or '/pdc'.

License 许可
MIT
最近更新
2026-11-11
Stars
★ 2
Forks
0

01 前言 Front Matter

name
probabilistic-decision-core
scope
harness
status
active
version
1.0.0
requires
[ "execution-domain-core", "non-destructive-infinity-guard", "failure-evolution-loop" ]
triggers
[ "/yuri probability", "/probability", "/pdc" ]
invocation
ability
description
Operational probability, calibration, and expected-value discipline for YURI OS decisions under uncertainty. Use when making or supporting a decision involving task priority, route selection, risk acceptance, opportunity ranking, forecast-backed planning, resource allocation, go/no-go judgment, escalation threshold, or postmortem calibration — e.g. '/yuri probability', '/probability', or '/pdc'.
enterprise_ready
true
non_destructive_default
true

03 SKILL.md 正文

Probabilistic Decision Core Skill

When to use

Use this skill when Yuri OS / YURI must make or support an operational decision under uncertainty:

  • task priority
  • route selection
  • risk acceptance
  • opportunity ranking
  • forecast-backed planning
  • resource allocation
  • go / no-go judgment
  • escalation threshold
  • postmortem calibration

Also use it when the active task matches this operating principle:

Separate forecast, goal, plan, confidence, and cost of error before action. Update the estimate when evidence changes. Calibrate against outcomes after the decision resolves.

When not to use

Do not use this skill when:

  • the task is deterministic and local evidence fully decides it
  • the decision is identity-level, relationship-critical, or owner-only
  • the only available estimate would be fake precision
  • the action is high or critical risk and lacks owner approval
  • the outcome cannot be observed later enough to calibrate

Operating doctrine

  1. Forecasts are not goals.
  2. Probability is a decision input, not a permission slip.
  3. Base rates come before local signals.
  4. Local signals must name direction and strength.
  5. Confidence describes evidence quality, not emotional certainty.
  6. Expected value must include cost of being wrong.
  7. High-impact irreversible actions require guard routing even when probability is favorable.
  8. Forecasts must be logged when the outcome can later be checked.

Required output shape

probabilistic_decision:
  decision: string
  outcome_being_estimated: string
  time_horizon: string
  base_rate:
    estimate: number | unknown
    source: string
    confidence: low | medium | high
  predictability:
    factor_understanding: low | medium | high
    data_available: none | weak | adequate | strong
    future_similarity: low | medium | high
    observer_effect: none | weak | material
    verdict: low | medium | high
  signals_for:
    - signal: string
      strength: weak | medium | strong
      source: string
  signals_against:
    - signal: string
      strength: weak | medium | strong
      source: string
  estimate:
    probability: number | range | not_estimable
    confidence: low | medium | high
    rationale: string
  decision_value:
    upside: string
    downside: string
    cost_if_wrong: low | medium | high | critical
    reversibility: low | medium | high
    expected_value: negative | neutral | positive | unclear
  action:
    recommendation: proceed | defer | gather_more_evidence | escalate_to_owner | block
    next_step: string
    calibration_log_required: true | false

Execution steps

  1. Define the decision and the concrete outcome being estimated.
  2. Separate goal from forecast: name what Marcel wants and what seems likely.
  3. Check predictability before assigning a probability.
  4. Establish a base rate from local history, external evidence, or mark it unknown.
  5. Add local evidence as signals for and against, with strength.
  6. Estimate probability as a range unless evidence supports a point estimate.
  7. Evaluate expected value, reversibility, and cost of error.
  8. Select action: proceed, defer, gather evidence, escalate, or block.
  9. If the outcome is observable, append a calibration row to the active probability calibration log.

Probability bands

Band Use
0-20% unlikely
20-40% doubtful
40-60% uncertain / coin-flip zone
60-80% likely
80-95% strong likelihood
95%+ only for deterministic or heavily evidenced cases

Calibration rules

  • Prefer ranges for first-pass estimates.
  • Do not use decimals unless produced by a real model or calculation.
  • Mark not_estimable when predictability is low and evidence is weak.
  • Score resolved binary forecasts with Brier score: (forecast_probability - outcome)^2.
  • Review calibration in buckets: 20-40%, 40-60%, 60-80%, 80-95%.
  • Treat overconfidence as a failure pattern and route repeated failures through failure-evolution-loop.

Integration with Yuri operations

  • Use before execution-domain-core when uncertainty shapes the domain boundary.
  • Use before non-destructive-infinity-guard when probability affects risk acceptance.
  • Use after failure-evolution-loop when a wrong estimate caused bad routing, priority, or action.
  • Use alongside market intelligence, operational planning, research prioritization, and other work where outcome probabilities drive decisions.

Quantum-probability instrument (gate-passed 2026-06-11)

For ORDER-SENSITIVE or frame-dependent evidence, classical Bayes is provably blind to sequence effects. The quantum-probability layer passed its falsification gate (node _SYSTEM/Scripts/quantum-vs-bayes-benchmark.mjs → exit 0; 4/4 gates: machinery exact, QQ-coincidence <1% under the classical family on Gallup order-effect data, no spurious win on order-free control). Module: _SYSTEM/Scripts/quantum-hypothesis-tracker.mjs.

  • WHEN: combining evidence whose framing/order changes the judgment (sequential advisor opinions, owner corrections after partial conclusions, poll-style A-then-B assessments). With commuting/compatible evidence it reduces EXACTLY to Bayes — use plain Bayes there.
  • API: stateVector, projector, hypothesisPosteriors(psi, hypotheses, evidenceSeq) (order-aware), qqEquality (the structural test), schmidtDecomposition (coupling test for "are these two variables genuinely entangled or independent").
  • KNOWN LIMITS (recorded in the benchmark): 2D models force p(yy)/p(yn)=p(nn)/p(ny) per order — quantitative joint fits of heterogeneous populations need dim>2; the Clinton/Gore joint cells used by gates G2/G4 are literature-recalled and flagged OWNER-VERIFY; one real dataset so far (literature has 72 — extend when verified tables are available).

Research basis

  • Forecasting practice should distinguish forecasts, goals, and plans; planning responds to forecasts and goals.
  • Predictability depends on factor understanding, data availability, future similarity to the past, and whether forecasts affect the outcome.
  • Distributional forecasts should be evaluated against outcomes, not just stated.
  • Decision analysis should propagate uncertainty through alternatives instead of relying only on point estimates.
  • Proper scoring rules such as Brier score reward honest probabilistic forecasts and support calibration review.

Sources:

Safety rules

  • Do not let favorable probability bypass explicit owner approval.
  • Do not convert owner preferences into forecasts.
  • Do not treat model confidence as evidence confidence.
  • Do not log personal, identity-level, or relationship-sensitive predictions unless explicitly requested.
  • Do not write to protected state surfaces.

Success criteria

The skill succeeds when it produces:

  • a clear decision recommendation
  • separated forecast, goal, plan, and confidence
  • explicit base rate or unknown
  • named evidence for and against
  • cost-of-error and reversibility assessment
  • calibration log proposal when the outcome can be checked

Failure handling

If execution fails, return:

failure:
  extension_id: "probabilistic-decision-core"
  halt_reason: string
  missing_inputs: []
  unsafe_precision_risk: true | false
  recommended_next_action: string

Session Notes

2026-06-16

  • session: 183m | peak ctx: 0% | compacts: 0
  • tools: Bash×400, Read×122, Edit×62, Write×19, WebSearch×19, Agent×10, WebFetch×8, ToolSearch×5, TodoWrite×4, ExitPlanMode×3, AskUserQuestion×2, Workflow×1, Skill×1
  • corrections: none
  • errors: none

2026-06-15

  • session: 136m | peak ctx: 0% | compacts: 0
  • tools: Bash×272, Read×67, Edit×26, WebSearch×19, Write×9, WebFetch×8, Agent×7, ToolSearch×5, ExitPlanMode×2, TodoWrite×2, AskUserQuestion×1, Workflow×1
  • corrections: Base directory for this skill: /Users/marcelspatz/.claude/skills/cross-reference-navigation

Cross-Reference Navigation (XREF)

The GROUND step of the work loop, made reflexive. One question asked a | Base directory for this skill: /Users/marcelspatz/.claude/skills/quantum-hypothesis-simulation

Quantum Hypothesis Simulation

The quantum-probability layer for YURI's claim/pulse machinery. It mode | Base directory for this skill: /Users/marcelspatz/.claude/skills/cross-reference-navigation

Cross-Reference Navigation (XREF)

The GROUND step of the work loop, made reflexive. One question asked a

  • errors: none

2026-06-11

  • session: 50m | peak ctx: 100% | compacts: 8
  • tools: Bash×66, Read×24, Edit×15, Write×14, WebFetch×7, WebSearch×3, TodoWrite×3, ToolSearch×2, Agent×1
  • corrections: none
  • errors: none

2026-05-16

  • session: 41m | peak ctx: 0% | compacts: 0
  • tools: Bash×44, Write×25, Edit×21, TodoWrite×6, Read×5, mcp×1, Skill×1
  • corrections: Base directory for this skill: /Users/marcelspatz/.claude/skills/end-of-transmission

End of Transmission

Continuous background reflection engine for YURI. Runs two modes:

  1. Micro-EOT
  • errors: none

2026-05-10

  • tools used: web research, local file inspection, apply_patch
  • corrections: none
  • errors: none
  • notes: Created as an operational decision layer for Yuri OS probability, uncertainty, expected value, and calibration discipline.

04 同仓库更多 Skills

nexuslinkproductions
nexuslinkproductions/yuri-os

zoom-out

Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

yuri-shura

6-perspective adversarial review for high-stakes turns (architecture decisions, refactor planning, deployment review) — fans out architect, adversary (7-vector attack), maintainer, ops, product, and security perspectives in parallel, then consolidates. Use when user says 'review this decision', '/shura', 'adversarial review', 'what could go wrong', 'architecture review', or 'deployment review'.

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

yuri-sales-intelligence

Unified sales and outreach skill generating cold outreach openers, social selling sequences, objection rebuttals, and ad creative for any paid platform — multi-persona aware, adapting tone and offer frame to buyer type. Use when user says 'write a cold email', 'outreach sequence', 'objection handling', 'ad copy', or 'sales pitch'.

邮件与沟通
★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

yuri-code-intelligence

Unified code quality intelligence layer that diagnoses code smells (Long Method, Feature Envy, design pattern issues), prescribes targeted Fowler refactoring techniques, and reviews code for security, performance, and clarity. Use when user says 'review this code', 'refactor this', 'what's wrong with this method', 'code smells', or 'clean this up'.

开发工程师代码审查
★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

yuri-adw

Invoke when user asks to run the ADW loop / agentic engineering loop / software factory workflow.

★ 2
nexuslinkproductions
nexuslinkproductions/yuri-os

writing-skills

Use when creating new skills, editing existing skills, or verifying skills work before deployment

内容创作者测试与质量写作与文案
★ 2