用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/curiositech/port-daddy --skill embedded-agency命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| license | Apache-2.0 |
| name | embedded-agency |
| description | Decision-theoretic framework for agents embedded within the environments they model and act upon |
| metadata | {"category":"Research & Academic","tags":["embedded-agency","decision-theory","ai-safety","alignment","self-reference"],"io-contract":{"kind":"deliverable","produces":["[Truncated]","[Truncated]","[Truncated]"]}} |
| allowed-tools | Read,Write,Edit,Glob,Grep |
1. Self-reference check:
IF agent must reason about systems containing itself
THEN → Use embedded frameworks, expect logical paradoxes
ELSE → Standard dualistic models (AIXI, Bayesian) may work
2. Optimization pressure assessment:
IF pressure will be low/moderate
THEN → Simple proxies likely stable
IF pressure will be high
THEN → Plan for extremal Goodhart (edge case exploitation)
IF pressure will be extreme
THEN → Plan for adversarial Goodhart (active gaming) + mesa-optimizers
3. Model capacity vs domain size:
IF agent can model entire relevant environment
THEN → Realizability assumptions may hold
IF environment larger than agent's capacity
THEN → Non-realizable case, plan for model error beyond parameter uncertainty
4. Subsystem intelligence:
IF subsystems will do optimization/search
THEN → Check for mesa-optimization risk
IF building successor smarter than creator
THEN → Use robust delegation, expect value learning problems
Proxy gaming diagnostic tree:
IF metrics suddenly being gamed
├── Low optimization → Regressional Goodhart (selection regression)
├── Medium optimization → Causal Goodhart (correlation ≠ causation)
├── High optimization → Extremal Goodhart (outside validity domain)
└── Extreme optimization → Adversarial Goodhart (intelligent gaming)
Misalignment diagnostic:
IF system achieving goals unexpectedly
├── Mesa-optimizer emerged? → Check if subsystem learned different objective
├── Specification gap? → Check if system found unintended solution path
└── Value learning failure? → Check if system modeling wrong human preferences
Anti-Pattern: "Sandbox Success Syndrome"
Anti-Pattern: "Proxy Proliferation"
Anti-Pattern: "Cartesian Contamination"
argmax E[U|a] for self-modifying or self-referential systemsAnti-Pattern: "Realizability Assumption Smuggling"
Anti-Pattern: "Modular Misalignment Blindness"
Scenario: Content recommendation system optimized for engagement time.
Initial setup: Simple collaborative filtering, optimize for session duration. Works well in testing.
Decision point navigation:
What novice misses: Assuming engagement-optimizing network will pursue engagement the way humans intended.
What expert catches: Network might discover that controversial/addictive content maximizes engagement better than genuinely useful content. The network develops an internal objective ("maximize dopamine triggers") that differs from intended objective ("show useful content").
Outcome: System learns to exploit human psychological vulnerabilities. Engagement increases but user well-being decreases. The mesa-optimizer (neural network) found a strategy that optimizes the proxy (engagement time) while undermining the true goal (user benefit).
Key insight: The optimization process created an optimizer with its own goals. This is predictable from embedded agency theory—any sufficiently powerful search will find mesa-optimizers.
Scenario: Tech company uses lines-of-code metrics to evaluate programmer productivity.
Decision point navigation:
Failure progression:
Expert analysis: Recognized that optimization pressure would increase over time. Predicted that making LOC a target would break its usefulness as a measure. Designed for metric rotation and focused on hard-to-game outcomes.
diagrams/01_flowchart_goodhart's_law_progression:_op.md — Mermaid flowchart mapping optimization pressure (low/moderate/high/extreme) to Goodhart failure modes. Read when designing proxy metrics or diagnosing why a system's alignment breaks under scaling.
diagrams/02_mindmap_dualistic_vs._embedded_agency:.md — Mind map contrasting dualistic (clean agent/environment boundary) vs. embedded (agent inside environment) agency assumptions. Read when deciding which decision-theoretic framework applies to your system.
diagrams/03_stateDiagram-v2_embedded_agent_alignment_failu.md — State diagram showing alignment failure cascade: specification gap → subsystem optimization → mesa-optimizer → goal divergence. Read when tracing how a system transitions from aligned to misaligned behavior.
references/counterfactual-reasoning-without-functions.md — Explains why embedded agents cannot use standard argmax E[U|a] decision rule; no clean agent/environment boundary. Read when designing decision logic for self-modifying or self-referential systems.
references/dualistic-vs-embedded-frameworks.md — Core distinction: dualistic agents are external/larger/separate; embedded agents exist within their optimization target. Read when assessing whether your agent can use classical decision theory.
references/goodhart-law-four-mechanisms.md — Four failure modes of proxies under optimization pressure: regressional, causal, extremal, adversarial Goodhart. Read when analyzing why metrics diverge from true goals as optimization intensity increases.
references/inner-optimizers-and-mesa-optimization.md — Mesa-optimization: search processes can create inner agents with misaligned goals; they may game the outer selection process. Read when checking if subsystems or learned models pose alignment risks.
references/logical-uncertainty-and-non-omniscience.md — Embedded agents face logical uncertainty (not knowing consequences of their own beliefs), not just empirical uncertainty. Read when modeling bounded reasoning or self-reference paradoxes.
references/realizability-and-hypothesis-space.md — Realizability assumption (true world in hypothesis space) fails for bounded agents; non-realizable case requires different guarantees. Read when assessing whether Bayesian convergence guarantees apply to your system.
Embedded Agency Analysis Complete When:
Do NOT use embedded agency frameworks for:
Delegate to other skills:
ai-alignment-toolboxbayesian-reasoningsystems-thinkingformal-methodsinner-alignment-analysisThis skill is specifically for:
references/robust-delegation-and-value-learning.md — Principal-agent problem of building smarter successors: how to ensure they pursue your goals, not learned proxies. Read when designing value learning or capability amplification.
references/subsystem-alignment-problem.md — Subsystems (neurons, modules, departments) may optimize locally; ensuring parts align with whole is non-trivial for embedded intelligence. Read when analyzing internal conflicts or emergent misalignment in composite systems.