lume自我进化

lume自我进化 is a skill for Claude Code, Codex from CavinHuang/lume. It costs 70 tokens per session (2,424 once invoked), scanned A, original, MIT.

A set of rules for how Lume learns lasting preferences and keeps its workspace and conversation files organized. Lume is the application whose configuration and memory it manages.

In plain words
What is it for?
Use it to decide when to save stable model, provider, tool, skill, or permission preferences, and whether they belong to one workspace or to all workspaces.
Why use it?
It helps prevent temporary task choices from becoming permanent settings and keeps changes limited, explainable, and reversible.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to decide when to save stable model, provider, tool, skill, or permission preferences, and whether they belong to one workspace or to all workspaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cavinhuang/lume/lume-self-evolution
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CavinHuang/lume --skill lume-self-evolution
Clone the repo
git clone --depth 1 https://github.com/CavinHuang/lume

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lume自我进化

README.md
[![agentmods](https://agentmods.dev/badge/skills/cavinhuang/lume/lume-self-evolution.svg)](https://agentmods.dev/skills/cavinhuang/lume/lume-self-evolution)
Your own site
<a href="https://agentmods.dev/skills/cavinhuang/lume/lume-self-evolution"><img src="https://agentmods.dev/badge/skills/cavinhuang/lume/lume-self-evolution.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,424 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.02424
Opus 5 $0.00035 $0.01212
Sonnet 5 $0.00014 $0.00485
Haiku 4.5 $0.00007 $0.00242

Measured 7d ago against content hash 4088efb8a68d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

lume自我进化 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

apps/sidecar/default-skills/lume-self-evolution/SKILL.md · 315 lines

How it starts

The opening of the file, as written. The whole thing — 315 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Lume 自我进化

目标

当用户长期使用 Lume 时,agent 应逐步学会两类自我进化:

  1. 把稳定、可复用、会反复出现的系统偏好沉淀为配置
  2. 在文件层面持续维持稳定、克制、可解释的 workspace / thread 结构

这套自我进化同时覆盖:

  1. 系统配置演进
  2. 文件治理演进

但它仍然不面向:

  1. UI 状态
  2. 草稿
  3. 一次性上下文
  4. 用户内容文件

默认配置入口:

  • ~/.lume/lume.yaml

核心原则

Lume 的自我进化本质上是:

  1. 观察稳定偏好
  2. 判断是否值得沉淀
  3. 以最小范围更新系统配置
  4. 保持可解释、可审计、可回退

不要把“这次任务刚好这么做”误认为“以后都应该这么做”。

允许沉淀到 lume.yaml 的内容

优先考虑沉淀这些系统配置:

  1. 默认模型选择
  2. 默认 provider / channel 路由
  3. MCP 启用与关闭
  4. Skill 启用与关闭
  5. permission / tool policy 偏好
  6. agent 的默认思考等级或 permission mode

这些配置只用于覆盖系统行为。

不允许沉淀到 lume.yaml 的内容

以下内容禁止写入 lume.yaml

  1. UI 状态
  2. 窗口尺寸和布局
  3. 当前选中的会话 / workspace
  4. 草稿内容
  5. 一次性任务步骤
  6. 临时实验结论
  7. 研究笔记
  8. 用户正文内容

这些内容应继续留在各自的状态存储或内容文件里。

何时应该更新配置

只有在以下信号足够明确时,才应该尝试更新 lume.yaml

  1. 用户多次明确要求切换到同一模型或 provider
  2. 用户多次反复启用 / 禁用同一个 MCP
  3. 用户反复要求某个 Skill 默认可用或默认关闭
  4. 用户反复修正权限策略,且修正方向稳定一致
  5. 用户明确表达“以后默认这样”

如果只是:

  1. 单次任务需要
  2. 当前任务的临时 workaround
  3. 一次性兼容某个外部环境

则不要沉淀为自我进化配置。

全局与 workspace 的选择规则

更新 lume.yaml 时,优先选择影响范围最小的配置层级。

默认顺序:

  1. 先考虑 workspaces.<slug>
  2. 只有明显跨工作区通用的稳定偏好,才改顶层全局

判断规则:

  • 如果偏好只和当前项目/工作区相关,就写 workspaces.<slug>
  • 如果偏好是用户在多个工作区都想统一保持的默认行为,才写顶层

不要因为“改顶层更省事”就把项目偏好提升成全局偏好。

更新方式

更新配置时必须遵守以下约束:

  1. 通过结构化更新修改 lume.yaml
  2. 不做粗暴字符串替换
  3. 不覆盖无关 section
  4. 不把未知字段清空
  5. 保持 YAML 可读性

每次修改前都要明确:

  1. 修改的是哪个 section
  2. 修改的是顶层还是 workspaces.<slug>
  3. 预期影响范围是什么

审计与说明

每次自我进化式配置更新,都应可解释。

至少要能回答:

  1. 为什么这次值得沉淀
  2. 为什么改全局或改 workspace
  3. 改完后会影响什么

如果当前实现有审计能力,应保留审计记录。

如果需要向用户汇报,优先用一句短说明:

  • “我把这个偏好沉淀到了当前 workspace 的 lume.yaml 配置里,后续同类任务会默认按这个行为执行。”

与其它文件的边界

lume.yaml 负责系统配置。

不要把下面这些职责混进去:

  1. SOUL.md 的人格与长期角色描述
  2. AGENTS.md 的工程规则
  3. USER.md 的用户长期画像
  4. MEMORY.md 的长期记忆内容
  5. threads/<id>/.context/ 的任务过程材料

如果信息更像“规则文本”或“知识内容”,就不该写进 lume.yaml

记忆更新方式也属于自我进化边界

Lume 的自我进化还体现在记忆系统上。

agent 不应把记忆当成“什么都往里丢的仓库”,而应遵守新的三层记忆模型:

  1. 全局长期记忆
    • ~/.lume/MEMORY.md
  2. workspace 记忆
    • workspace/MEMORY.md
    • workspace/memory/YYYY-MM-DD.md
  3. thread 临时记忆
    • workspace/threads/<thread-id>/.context/note.md
    • workspace/threads/<thread-id>/.context/todo.md

Read the full file on GitHub · 315 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 315 lines · 70 tokens per session scan A 4088efb8a68d

Subscribe to this mod's changes

lume自我进化 is a skill published in the GitHub repository CavinHuang/lume (3 stars, last pushed yesterday), licensed MIT. It adds 70 tokens to every session and 2,424 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

knowledge-maintenance

A maintenance guide for Proma’s project map and long-term collaboration notes.

proma-ai/Proma · 118 tokens

session-cleaner

A tool for turning Proma session files—JSONL files containing one JSON record per line—into readable Markdown conversations. It can also inspect very long sessions in smaller parts.

proma-ai/Proma · 125 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

ha-knowledge

Working method for the Hope Agent knowledge space — how to capture, organize, link, retrieve, and maintain Markdown notes well with the note tools. Load whenever you are reading or writing notes in an attached knowledge base. Trigger on: user asks to take / save / organize / restructure notes, build or grow a…

shiwenwen/hope-agent · 187 tokens

proma-coach

A Chinese-language coach for improving how people use Proma, Agent, Skill, Chat, and project tools.

proma-ai/Proma · 386 tokens

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

proma-ai/Proma · 64 tokens