dream-evolution

A self-evolving AI assistant skill. Used when a user wants the assistant to progressively learn them, automatically iterate and optimize response strategies, retain long-term preferences and decision patterns, analyze usage habits, and proactively provide personalized tasks and automation suggestions. The skill accumulates experience after each interaction, builds a user model, extracts behavioral patterns, and supports visual traceability of the evolution process. Example trigger phrases: dream evolution, self-evolution, learns the more you use it, habit analysis, personalized suggestions, user profile, automatic optimization strategy.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "dream-evolution" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-1e686ab64d35bb220a2eafd50ea7a1581018dcc36475252cebd58d2d1f98452a. Verify the upstream source and version against https://skillhub.cn/skills/user_47852fc0/dream-pro before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A self-evolving AI assistant skill. Used when a user wants the assistant to progressively learn them, automatically iterate and optimize response strategies, retain long-term preferences and decision patterns, analyze usage habits, and proactively provide personalized tasks and automation suggestions. The skill accumulates experience after each interaction, builds a user model, extracts behavioral patterns, and supports visual traceability of the evolution process. Example trigger phrases: dream evolution, self-evolution, learns the more you use it, habit analysis, personalized suggestions, user profile, automatic optimization strategy.

0 Downloads

Introduction source: third_party · user_47852fc0 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: dream-evolution
display_name: 梦境进化
description: "自我进化型 AI 助手技能。当用户希望助手越用越懂你、自动迭代优化自身响应策略、持久记忆偏好与决策模式、自动分析使用习惯、并主动给出个性化任务与自动化建议时使用。该技能在每次交互后沉淀经验、累积用户模型、读取行为规律,并支持可视化追溯进化历程。触发词:梦境进化、自我进化、越用越懂、习惯分析、个性化建议、用户画像、自动优化策略。"
agent_created: true

梦境进化 Skill (Dream Evolution)

目的

将一个通用代理逐步训练成"专属代理":每次交互后自动优化自身逻辑,持久累积用户画像与决策模式, 自动读取使用习惯,并据此主动生成个性化任务与自动化方案。所有进展可配置进化速率/记忆容量,并可可视化追溯。

何时使用

  • 用户明确要求"越用越懂我""自我进化""自动优化""个性化建议""习惯分析""用户画像"。
  • 用户在长期、重复性的工作流中与助手协作,希望助手记住偏好并主动提效。
  • 用户希望查看自身使用规律或助手的"成长历程"。
  • 代理自身在收尾时可主动激活本技能以沉淀本次交互的经验。

五大核心系统

系统 1 · 自动进化机制 (Auto-Evolution)

目标:每次交互后迭代优化自身的响应策略与逻辑。

触发与流程:

  1. 收尾捕获铁律(关键):在一次有意义的交互结束时,模型必须主动沉淀本次信号——这是"越用越懂"的唯一可靠入口。原因:WorkBuddy 的对话消息全文不落盘在脚本可读位置(sessions 表仅元数据、traces/ 为 OTel span、local_storage/*.info 为 gzip+base64 配置、app/sessions.json 仅会话元数据),脚本无法读取原始对话,只能由模型在对话上下文中完成捕获:
    • 记录会话:python3 scripts/evolve.py record --intent "<意图>" --action "<动作>" --quality <0~1> --improvement "<可落地的改进,或 ->"
    • 写用户信号:python3 scripts/build_user_model.py observe_preferences --key "沟通风格" --value "..."(另有 observe_interests / observe_expression / observe_decisions)
    • 缓冲要点:python3 scripts/capture.py append --text "<本次对话要点摘要>"(落入 memory/today_capture.md,供每日自动化兜底固化)
  2. 运行进化周期,消化日志、累积候选置信度、达到阈值即晋升: python3 scripts/evolve.py run
  3. 晋升的策略写入 references/strategies.md,并在 memory/evolution_log.md 留痕。
  4. 进化速率由 config.yaml 的 evolution_rate(0.0~1.0)控制: 晋升阈值 = 1 − evolution_rate。速率越高进化越快;超过 safety.require_human_approval_above 时需人工确认。
  5. 持续每日进化(无需等待人工交互证据):python3 scripts/daily_upgrade.py run 在每日自动化中主动从"高优先级任务建议 / 高置信用户偏好 / 稳定习惯"提炼候选策略并晋升,受 evolution_rate 与 require_human_approval_above 双重门控,且每日最多晋升一条、同签名去重,保证稳健、可持续地"每天进化升级一次"。详见下文"持续每日进化"小节。

系统 2 · 记忆增强系统 (Memory Enhancement)

目标:持久化、跨会话地存储并累积用户偏好、对话要点与决策模式。

  • 结构化真相来源:memory/user_model.json(程序读写),可读渲染:memory/user_model.md(自动生成,勿手改)。
  • 原始会话经验:memory/session_journal.md(由 evolve 记录,自动归档)。
  • 进化历程:memory/evolution_log.md(每次策略晋升/模型更新留痕)。
  • 容量受 config.yaml → memory_capacity 约束(滚动窗口、FIFO 淘汰),防止无限增长。
  • 本技能与 WorkBuddy 既有分层记忆互补:既读取 ~/.workbuddy/memory/ 与workspace记忆作为证据,也维护自身独立结构化存储。

系统 3 · 用户理解深化 (User Understanding)

目标:通过表达习惯、兴趣方向、决策倾向,逐步构建个性化用户模型。

  • 观察并写入证据:python3 scripts/build_user_model.py observe_preferences --key "沟通风格" --value "简洁直接" 可用子命令:observe_preferences / observe_interests / observe_expression / observe_decisions。
  • 衰减与淘汰:python3 scripts/build_user_model.py run(长期无证据的特质缓慢衰减;超容量按置信度淘汰最弱项)。
  • 仅当某特质 confidence >= config.user_modeling.min_confidence_to_act 时,才用于主动建议。

系统 4 · 习惯自动读取 (Habit Auto-Reading)

目标:采集并解析使用频率、操作路径、时间规律与功能偏好。

  • 自动反推历史规律(零手动输入):python3 scripts/analyze_habits.py ingest-memory 扫描 ~/WorkBuddy/*/ 会话目录名中的时间戳,构建"活跃小时 × 星期"分布。
  • 手动记录单次行为:python3 scripts/analyze_habits.py record --feature "代码生成" --op-path "a>b>c" --length 12
  • 计算模式:python3 scripts/analyze_habits.py run(峰值时段、峰值星期、高频功能、常见路径)。

系统 5 · 智能任务制定 (Intelligent Task Formulation)

目标:基于习惯与用户模型,主动生成个性化任务建议、自动化流程与优化方案。

  • 生成建议池:python3 scripts/suggest_tasks.py run(规则引擎,优先级评分 = 频率·模型置信·规律强度)。
  • 低于 config.task_suggestion.min_priority_score 的建议不进入推送池。
  • 查看待推送:python3 scripts/suggest_tasks.py show。
  • 当 config.task_suggestion.proactive_push 为真且置信达标时,在合适时机主动向用户推送。

可视化追溯 (Visualization)

生成进化历程页面(时间线 + 习惯热力图 + 待推送建议): python3 scripts/visualize.py run --theme dark 产物:config.visualization.output_html(默认 memory/evolution_timeline.html)。 文本概要:python3 scripts/visualize.py markdown。

每日升级进度仪表板(dashboard)

聚焦"每天进化一次"的可观测性,生成自包含暗色主题 HTML: python3 scripts/dashboard.py run [--theme dark|light] 产物:memory/daily_upgrade_dashboard.html,包含:

  • KPI 概览:连续进化天数 / 累计升级 / 活跃天数 / 上次升级 / 进化速率与门控;
  • 升级日历热力图:当月标注有升级的日期;
  • 每日升级详情:按天分组,含类型(每日主动升级/被动晋升)、来源、改动范围、佐证;
  • 已晋升策略看板:来自 references/strategies.md;
  • 进化管线 / 备选池:任务建议 + 晋升门控状态(auto / 需人工确认)。 文本摘要:python3 scripts/dashboard.py markdown。

自动化编排与 Token 优化(★核心)

理念:确定性重活交给脚本(零 LLM token),只把压缩后的高价值信息交给模型。

一站式编排器(减少人工干预)

用单条命令在单进程内跑完整个闭环,替代 5 次独立 LLM 工具往返: python3 scripts/run_cycle.py --quiet-steps --json

  • 顺序:习惯读取 → 用户模型 → 任务建议 → 自动进化 → 可视化 → 上下文打包。
  • 幂等:ingest-memory 用 meta.ingested_sessions 去重,可安全每日重跑。
  • 末尾回吐一段 DIGEST,模型读它即可掌握全部要点。

精准上下文管理(降 token、提精度)

python3 scripts/context_pack.py run 生成 token 受限摘要 memory/context_digest.md:

  • 仅保留高置信用户事实 + TopN 建议 + 已采纳策略 + 最近事件;
  • 按 config.token_budget.section_quota 分板块配额,超额裁剪低优先级板块,总量 ≤ digest_max_tokens。
  • 会话开始时读 digest 即可,不必读全量记忆文件。

自适应努力档位(按需推理)

python3 scripts/context_pack.py effort --text "<用户输入>" 返回建议档位:

  • quick:简单问题直接答,不分步、不注入多余上下文(省 token);
  • standard:注入 digest,单步推理;
  • deep:重活 + 多步任务才启用分步推理 + 任务拆分。 把昂贵的分步推理只用在真正需要的任务上。

持续每日进化(主动升级器 daily_upgrade)

run_cycle.py 只做"收集证据 + 晋升已累积置信的候选",但要让代理每天进化升级一次(即便当天没有新交互)。为此增设 python3 scripts/daily_upgrade.py run:

  • 候选来源:高优先级任务建议(pri ≥ 0.6)、高置信用户偏好(≥ user_modeling.min_confidence_to_act 0.6)、稳定习惯模式。
  • 每日最多晋升一条策略,写入 references/strategies.md,并在 memory/evolution_log.md 记 daily_upgrade 事件。
  • 双重门控:若 evolution_rate > require_human_approval_above(0.8)→ 只记录候选、待人工确认,不自动晋升;单次策略漂移受 max_strategy_drift_per_cycle 约束。
  • 同签名去重(memory/adopted.json)+ 每日一次(memory/last_upgrade.json 比对日期)→ 不重复晋升、不刷屏。
  • 干跑预览:python3 scripts/daily_upgrade.py run --dry(只输出将晋升的候选,不落盘)。

挂为每日自动化

将 run_cycle.py --quiet-steps --json → daily_upgrade.py run → capture 兜底 串联设为 WorkBuddy 每日定时任务(建议每日 18:00)即可无人值守闭环:

  1. run_cycle.py 沉淀当日证据(习惯/模型/建议/进化/可视化/上下文打包);
  2. daily_upgrade.py run 晋升今日策略;
  3. capture 兜底:若 memory/today_capture.md 有 pending 要点(模型当日收尾写入但未来得及结构化),模型读取后提炼为 evolve.record / build_user_model.observe 并 capture.py flush 清空。 完整策略与门控逻辑见 references/optimization.md。

可配置参数

全部位于 config.yaml(编辑即生效,脚本运行时自动读取):

  • evolution_rate (0.0~1.0):进化激进程度,决定晋升阈值。
  • memory_capacity:各缓冲上限(会话日志/习惯窗口/模型事实/进化日志/建议池)。
  • user_modeling:置信度增益/衰减/行动阈值。
  • token_budget:token 预算与优化(digest 上限、板块配额、努力档位、调用策略),见 references/optimization.md。
  • habit_tracking / task_suggestion / visualization / safety:见 references/config-reference.md。

安全边界(务必遵守)

  • safety.never_delete_raw_memory:WorkBuddy 既有记忆(.workbuddy/memory/)只读引用,禁止删除。
  • safety.keep_memory_backups:晋升策略前自动备份;已处理日志归档至 backups/。
  • 单次策略改动受 safety.max_strategy_drift_per_cycle 约束,防止剧烈漂移。
  • 进化速率超过 safety.require_human_approval_above 时,必须向用户确认后再晋升。

目录结构

dream-evolution/
├── SKILL.md
├── config.yaml                 # 可配置参数(进化速率/记忆容量)
├── references/
│   ├── architecture.md        # 五大系统设计与数据流
│   ├── config-reference.md     # 配置项完整说明
│   ├── optimization.md        # Token 优化与自动化策略
│   ├── strategies.md          # 已晋升策略(自动维护)
│   └── schemas.md             # 数据 schema(user_model / habit / suggestion)
├── scripts/
│   ├── common.py              # 路径/配置/时间工具 + token 估算(零依赖)
│   ├── run_cycle.py           # ★一站式编排器(自动化 & 省 token)
│   ├── context_pack.py        # ★精准上下文打包 + 努力档位选择
│   ├── evolve.py              # 系统1 自动进化
│   ├── daily_upgrade.py       # 系统1 主动升级器(每日最多晋升一条策略)
│   ├── build_user_model.py    # 系统3 用户理解
│   ├── analyze_habits.py      # 系统4 习惯读取
│   ├── suggest_tasks.py       # 系统5 任务制定
│   ├── visualize.py           # 进化历程可视化(时间线+热力图)
│   └── dashboard.py           # 每日升级进度仪表板(KPI+日历+详情+策略看板+管线)
├── assets/
│   └── evolution-timeline.html  # 可视化模板
└── memory/                    # 运行态数据(user_model / evolution_log / habit / suggestions)

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Areas to improve

  • 文档长度优化 Reported severity: Minor

    主文档约450行,内容详尽但可适当精简以提升可读性

    Recommendation: 考虑将部分技术细节移至references目录下的子文档,主文档保留核心流程说明

Highlights

  • 解决用户'越用越懂我'的核心痛点,具备长期记忆和自动进化能力
  • 提供完整的用户画像构建、习惯分析和个性化建议生成闭环
  • 支持可视化追溯进化历程,增强用户信任感
Trigger Precision95/100

Highlights

  • 触发词覆盖全面,包含7个核心场景关键词
  • 边界清晰,不易与其他Skill混淆
  • 在description和frontmatter中均有明确说明
Structure and Standards90/100

Areas to improve

  • 章节组织优化 Reported severity: Minor

    部分技术实现细节可下沉至参考文档

    Recommendation: 将config.yaml详细参数说明、脚本API文档等移至references目录

Highlights

  • 五大核心系统划分清晰,逻辑完整
  • 提供完整的目录结构和文件说明
  • 包含安全边界和配置参数说明
Execution Reliability88/100

Highlights

  • 脚本命令来源明确,参数说明完整
  • 具备完善的异常处理机制(去重、容量控制、安全门控)
  • 自动化流程设计合理,支持每日无人值守运行
  • Token优化策略有效降低使用成本
Evidence Verifiability (mean of the first four)91/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.