← 返回 Skills 市场
KingOfZhao Decision Framework
作者
KingOfZhao
· GitHub ↗
· v1.0.0
· MIT-0
94
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install kingofzhao-decision-framework
功能描述
决策框架 Skill —— 已知/未知驱动的结构化决策系统,置信度加权+红线拦截+决策记忆
使用说明 (SKILL.md)
Decision Framework Skill
元数据
| 字段 | 值 |
|---|---|
| 名称 | decision-framework |
| 版本 | 1.0.0 |
| 作者 | KingOfZhao |
| 发布日期 | 2026-03-31 |
| 置信度 | 96% |
来源碰撞
self-evolution-cognition (已知/未知分离)
⊗
entrepreneur-cognition (商业决策)
⊗
ai-growth-engine (度量化)
↓
decision-framework (通用决策系统)
核心哲学
好决策 ≠ 好结果。好决策 = 在已知信息下,用结构化方法选择期望值最高的选项。 结果可能受运气影响,但决策过程可以优化。
四步决策法(KUWR)
K — Known 已知: 列出所有已知事实,标注置信度
U — Unknown 未知: 列出所有未知项,评估影响和获取成本
W — Weigh 权衡: 对每个选项做已知/未知加权评分
R — Record 记录: 记录决策+理由+预期结果,事后对比
决策评分公式
Option Score = (Known_Benefit × confidence) - (Known_Cost × confidence)
+ (Unknown_Upside × probability × 0.5)
- (Unknown_Downside × probability × 1.5)
注意: 未知下行风险权重(1.5) > 未知上行收益权重(0.5)
→ 这是"不对称风险偏好": 优先避免灾难性错误
红线拦截
决策前自动检查红线:
🔴 此决策是否触碰职业红线?→ 如果是,自动拦截
🔴 此决策是否不可逆?→ 如果是,强制等待24h冷静期
🔴 此决策是否影响他人?→ 如果是,强制咨询受影响方
🔴 已知信息置信度是否 \x3C50%?→ 如果是,建议先补充信息
决策记忆
decisions/{date}_{id}.md
- 问题描述
- 已知/未知列表
- 各选项评分
- 最终选择 + 理由
- 预期结果
- [事后] 实际结果 + 偏差分析
- [事后] 教训(更新决策参数)
安装命令
clawhub install decision-framework
调用方式
from skills.decision_framework import DecisionFramework
df = DecisionFramework(workspace=".")
result = df.decide(
problem="是否应该切换到新的技术栈?",
options=["保持现状", "渐进迁移", "完全重写"],
known=["当前技术栈稳定运行2年", "新栈性能提升40%", "团队3人熟悉新栈"],
unknown=["迁移周期", "业务中断风险", "学习曲线"],
redlines=["不中断生产服务"]
)
print(result.rankings) # 选项排名 + 评分
print(result.redline_check) # 红线检查结果
print(result.recommendation) # 建议选择 + 理由
学术参考
- A Survey of Self-Evolving Agents — 决策自进化
- SAGE: Multi-Agent Self-Evolution — 多Agent决策
- Memory in the Age of AI Agents — 决策记忆
安全使用建议
This appears to be a documentation-only decision framework (method + examples) rather than an actual packaged Python module. Before installing or running anything: 1) Confirm the source—visit the provided GitHub link and verify whether implementation files exist and are trustworthy. 2) Ask the author or maintainer where the referenced Python module and the 'clawhub install' artifacts come from; the package bundle you provided contains no code. 3) If you accept running this, run it in an isolated workspace because the framework expects to write decision records (decisions/{date}_{id}.md) which may contain sensitive decision rationale. 4) Because no credentials are requested, there is no obvious secret-exfiltration risk in the files shown, but the missing implementation and ambiguous install path are the primary concerns to resolve. If the author supplies the missing code, re-evaluate that code (or share it) before trusting automated execution.
功能分析
Type: OpenClaw Skill
Name: kingofzhao-decision-framework
Version: 1.0.0
The skill bundle provides a conceptual and structured decision-making framework (KUWR) for an AI agent, incorporating risk assessment, confidence weighting, and safety 'redline' checks. No malicious code, data exfiltration, or harmful prompt injections were identified; the content is focused on cognitive modeling and decision logic as described in SKILL.md and README.md.
能力评估
Purpose & Capability
The name/description (decision framework for known/unknown-driven decisions) matches the SKILL.md content (KUWR method, scoring, redline checks, decision memory). However the SKILL.md shows a Python usage example (from skills.decision_framework import DecisionFramework) and an install command (clawhub install decision-framework) while the skill bundle contains no code files or install spec. That mismatch (documentation claiming code/API that isn't included) is unexplained.
Instruction Scope
The runtime instructions are limited to decision structuring, scoring, redline checks, and recording decision-memory files (decisions/{date}_{id}.md). They do not instruct reading unrelated system files or exfiltrating secrets. The decision-memory convention implies writing files to the workspace; that is expected for this purpose but should be noted.
Install Mechanism
No install spec is present (instruction-only), which is low risk. The SKILL.md nevertheless references an external installer command (clawhub install decision-framework). Because no install artifacts or code are included, it's unclear whether that command fetches trusted code or whether the platform is expected to provide the implementation—this ambiguity should be resolved.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The declared requirements are minimal and proportionate to a documentation/methodology skill.
Persistence & Privilege
always is false and there's no indication the skill requests elevated or persistent platform privileges. It includes instructions to save decision records to a workspace path, which is reasonable for a memory/recording feature.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install kingofzhao-decision-framework - 安装完成后,直接呼叫该 Skill 的名称或使用
/kingofzhao-decision-framework触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
批量碰撞10轮: KUWR四步决策+红线拦截
元数据
常见问题
KingOfZhao Decision Framework 是什么?
决策框架 Skill —— 已知/未知驱动的结构化决策系统,置信度加权+红线拦截+决策记忆. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。
如何安装 KingOfZhao Decision Framework?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install kingofzhao-decision-framework」即可一键安装,无需额外配置。
KingOfZhao Decision Framework 是免费的吗?
是的,KingOfZhao Decision Framework 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
KingOfZhao Decision Framework 支持哪些平台?
KingOfZhao Decision Framework 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 KingOfZhao Decision Framework?
由 KingOfZhao(@kingofzhao)开发并维护,当前版本 v1.0.0。
推荐 Skills