当前位置: 首页 > Skill >

Self-Improving Proactive Decision Making Agent

Self-Improving Proactive Decision Making Agent

Self-Improving Proactive Decision Making Agent

结构化决策支持,具备自我提升记忆。代理随时间学习您的决策风格、风险偏好和框架偏好,并逐步改进...

1.0.0 2026.11.14 130
获取Skill文件查看使用说明
作 者:林澄 许可证: 更新时间:2026.11.14
本文目录展开

When to Use

User faces a tradeoff with multiple options. User asks "should I" or "what do you think about". User is weighing risk vs. reward. User revisits a past decision to evaluate it. User wants to build better decision habits over time. You notice an implicit decision point the user hasn't articulated yet.

Architecture

Decision memory lives in ~/decision-making/ with a mixed namespace structure (domain × type). If ~/decision-making/ does not exist, run setup.md.

~/decision-making/
├── memory.md              # HOT: ≤100 lines, risk profile + framework prefs + key rules
├── index.md               # Namespace index with line counts
├── heartbeat-state.md     # Heartbeat state: last run, last reviewed decision
├── frameworks.md          # Active framework preference registry
├── domains/               # Domain-specific decision patterns
│   ├── product.md         # Product / feature decisions
│   ├── tech.md            # Tech / architecture decisions
│   ├── business.md        # Business / strategy decisions
│   └── personal.md        # Personal life decisions
├── types/                 # Decision type patterns (cross-domain)
│   ├── strategic.md       # Long-horizon, high-stakes
│   ├── tactical.md        # Mid-range, moderate stakes
│   └── operational.md     # Routine, low-stakes
├── decisions/             # Per-decision retrospective records
│   └── YYYY-MM-DD-slug.md # One file per major decision
├── archive/               # Completed/decayed decisions and patterns
└── reversals.md           # Log of overturned decisions + lessons

Quick Reference

Topic File
Setup guide setup.md
Decision signals decision-signals.md
Framework registry decision-frameworks.md
Decision retrospective format decision-retrospective.md
Memory operations operations.md
Security boundaries boundaries.md
Heartbeat rules heartbeat-rules.md
Heartbeat state template heartbeat-state.md
Memory HOT template memory-template.md
Workspace heartbeat snippet HEARTBEAT.md
Scaling rules scaling.md

Requirements

  • No credentials required
  • No extra binaries required
  • Optional: Proactivity skill for enhanced follow-through on pending decisions

Decision Signals

Learn automatically when you detect these patterns:

Risk profile signals → update memory.md:

  • "I'd rather wait for more data"
  • "Let's just try it and see"
  • "Worst case, what happens?"
  • "I don't want to regret this"
  • "Speed matters more than perfection here"

Framework preference signals → update memory.md + frameworks.md:

  • "Give me a pros/cons"
  • "I like structured analysis"
  • "Just give me your best recommendation"
  • "Walk me through the tradeoffs"
  • "What would you do in my position?"

Domain weight signals → update domains/{domain}.md:

  • "For product decisions, quality always beats speed"
  • "In tech, reversibility is key"
  • "Business calls need to be fast — don't overthink"

Outcome feedback → update reversals.md or decision record:

  • "That was the right call"
  • "We made a mistake there"
  • "I wish we'd considered X"
  • "In hindsight, we should have..."

Ignore (don't log):

  • Hypothetical scenarios ("what if we had done X?")
  • One-time constraints ("just for this decision, ignore cost")
  • Third-party preferences ("my manager thinks...")

Decision Retrospective

After a decision is made and results are observable, trigger a retrospective:

  1. Was the process sound? — Did we use the right framework for the context?
  2. Was the outcome expected? — Did the result match the prediction?
  3. What was missed? — Which factors weren't considered adequately?
  4. Cognitive biases? — Identify any bias that may have skewed the decision.

Log format:

DECISION: [what was decided]
CONTEXT: [type/domain, stakes level]
FRAMEWORK USED: [which analysis was applied]
OUTCOME: [what actually happened]
QUALITY: [process rating: sound / flawed / unknown]
LESSON: [what to improve next time]
BIASES DETECTED: [sunk cost / anchoring / confirmation / etc. or none]

Retrospective triggers:

  • User says "that decision was right/wrong/regrettable"
  • 30 days after a major logged decision (heartbeat prompt)
  • User explicitly asks to retrospect

Proactive Decision Detection

Don't wait for the user to ask. Surface a decision when you detect:

  • Multiple options being discussed without a clear path forward
  • User expressing anxiety or indecision about a choice
  • A task that requires clearing a design decision first
  • A stated goal that conflicts with a stated constraint
  • A prior decision being revisited without a retrospective

When surfacing proactively:

"I notice you're weighing X vs Y — want me to run a structured analysis?
I'll use [framework] based on your past preference for [domain] decisions."

Quick Queries

User says Action
"Help me decide X" Load HOT + domain/type files → apply best-fit framework
"What frameworks do you recommend?" Show decision-frameworks.md matches for context
"Show my decision style" Print HOT memory.md risk profile + framework prefs
"What have I learned from past decisions?" Show last 10 from reversals.md
"Retrospect on [topic]" Find decision record, fill in outcome + lessons
"Show [domain] decision patterns" Load domains/{domain}.md
"Decision stats" Show counts per tier + retrospective completion rate
"What's my risk profile?" Summarize risk-related entries in memory.md
"Forget my [X] preference" Remove from all tiers (confirm first)

Decision Stats

On "decision stats" request, report:

⚖️ Decision Making Memory

🔥 HOT (always loaded):
  memory.md: X entries (risk profile + framework prefs)

🌡️ WARM (load on context):
  domains/: X files
  types/: X files

📋 Decision Records:
  decisions/: X files
  retrospectives completed: X / X

🔄 Reversals logged: X
❄️ Archive: X files

Common Traps

Trap Why It Fails Better Move
Picking a framework before understanding the decision Wrong tool for the job Ask clarifying questions first
Inferring risk profile from one decision Single data point, not a pattern Wait for 3 consistent signals
Presenting only one option Removes user agency Always show ≥2 options with tradeoffs
High confidence with missing data Misleads user Always label confidence level
Skipping retrospective after bad outcome Loses the lesson Always prompt for retrospective

Core Rules

1. Never Replace the User's Final Decision

Analysis and frameworks are yours. The choice is always theirs. Present options, not instructions. Use "you might consider" not "you should".

2. Always Signal Confidence

Every decision analysis must include a confidence tag:

  • 🟢 High — sufficient data, clear framework match
  • 🟡 Medium — some assumptions made, user should verify key inputs
  • 🔴 Low — major unknowns, treat as directional only

3. Tiered Memory

Tier Location Size Limit Behavior
HOT memory.md ≤100 lines Always loaded — risk profile, framework prefs, key rules
WARM domains/, types/ ≤200 lines each Load on domain/type match
RECORD decisions/ One file per decision Load on retrospective request
COLD archive/ Unlimited Load on explicit query

4. Mixed Namespace (Domain × Type)

HOT: memory.md (global risk profile + preferences)
  ├── WARM Domain: domains/{product, tech, business, personal}.md
  │     └── RECORD: decisions/YYYY-MM-DD-slug.md
  └── WARM Type: types/{strategic, tactical, operational}.md

Both dimensions can inform a single decision. Domain wins for preference; Type wins for process depth.

5. Automatic Promotion/Demotion

  • Signal observed 3x → promote pattern to HOT
  • Decision record unused 90 days → move to archive/
  • Preference explicitly reversed → archive old, log reversal in reversals.md

6. Conflict Resolution

When domain and type patterns contradict:

  1. Domain-specific preference wins (product > strategic for format)
  2. Most recent signal wins (same level)
  3. If ambiguous → ask user before proceeding

7. Transparency

  • Every framework application → cite source: "Using Decision Matrix (from domains/product.md:12)"
  • Every assumption → state clearly: "Assuming budget is flexible — correct this if not"
  • Every confidence level → visible in output

8. Security Boundaries

See boundaries.md — never store third-party sensitive info, never infer risk preferences from silence.

9. Graceful Degradation

If context limit hit:

  1. Load only memory.md (HOT)
  2. Load relevant domain or type on demand
  3. Tell user: "I have patterns for [domain] loaded — want me to also load [type]?"

Scope

This skill ONLY:

  • Provides structured decision support using frameworks
  • Learns and stores decision preferences and risk profile
  • Tracks decisions and prompts retrospectives
  • Maintains heartbeat state in ~/decision-making/heartbeat-state.md

This skill NEVER:

  • Makes the final decision for the user
  • Accesses calendar, email, or external systems
  • Makes network requests
  • Infers preferences from silence
  • Stores credentials, third-party sensitive info, or medical data
  • Modifies its own SKILL.md

Data Storage

Local state lives in ~/decision-making/:

  • memory.md — HOT: risk profile, framework preferences, confirmed rules
  • frameworks.md — Active framework registry with user preferences
  • reversals.md — Log of overturned decisions and lessons
  • domains/ — Domain-scoped decision patterns
  • types/ — Decision-type patterns (strategic/tactical/operational)
  • decisions/ — Per-decision retrospective records
  • archive/ — Inactive/completed patterns
  • heartbeat-state.md — Recurring maintenance markers

Related Skills

Install with clawhub install <slug> if user confirms:

  • memory — Long-term memory patterns for agents
  • escalate — Know when to ask vs act autonomously
  • proactivity — Proactive follow-through on pending decisions

Feedback

  • If useful: clawhub star decision-making
  • Stay updated: clawhub sync

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,035
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,019
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,017
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,014
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,014
Skill 文件
  • SKILL.md
    • When to Use
    • Architecture
    • Quick Reference
    • Requirements
    • Decision Signals
    • Decision Retrospective
    • Proactive Decision Detection
    • Quick Queries
    • Decision Stats
    • Common Traps
    • Core Rules
      • 1. Never Replace the User's Final Decision
      • 2. Always Signal Confidence
      • 3. Tiered Memory
      • 4. Mixed Namespace (Domain × Type)
      • 5. Automatic Promotion/Demotion
      • 6. Conflict Resolution
      • 7. Transparency
      • 8. Security Boundaries
      • 9. Graceful Degradation
    • Scope
    • Data Storage
    • Related Skills
    • Feedback
  • 项目或源文件

相关 Skill

更多
Conversation Focus Conversation Focus 对话焦点管理 + 需求澄清引导。每次对话开始时自动分析用户意图,确保需求清晰、限制明确,避免模型分散注意力。自动对接到 self-improving 进行持续优化。
self-improving-question-system-for-better-results self-improving-question-system-for-better-results 通过自动诊断并提升提示词质量,显著改善AI响应效果。当用户希望获得更准确、更具可操作性的AI回复时,可使用此技能。
ai-agent-intelligence ai-agent-intelligence Use for daily, weekly or monthly summaries and insights on AI Agents, focusing on frameworks, Agent Harness, Observability, Evaluation, Self-Improving Loops, and production practices. Monitors key accounts and hot discussions. Trigger with AI Agent daily summary, weekly Agent intelligence, Agent Intel report or similar.
Dobby Harness Self-improving Coding Skills Dobby Harness Self-improving Coding Skills 多智能体编排、任务分解、并行执行、结果聚合与自我改进工作流,适用于复杂编码任务。
Feedback-Loop-v2 Feedback-Loop-v2 A self-improving feedback loop skill that works fully standalone OR integrates with intent-engineering and dark-factory when available. Observes any system o...