微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

Active Self-Improvement

Active Self-Improvement · v1.1.0
安全 unknown 级 作者 dodge1218 公开目录收录
1.1k 下载 0 安装 3.8k 收藏 1 浏览

简介

Active Self-Improvement

原始描述

Active self-improvement loop that reads learnings, errors, batch outputs, and memory — detects patterns — and UPDATES skills/protocols/behavior automatically...

通过你的 Agent 添加

安装目录:auto-improve/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/active-self-improvement/
Codex CLI~/.codex/skills/active-self-improvement/
DeepSeek Harness~/.agents/skills/active-self-improvement/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: auto-improve version: 1.0.0 description: Active self-improvement loop that reads learnings, errors, batch outputs, and memory — detects patterns — and UPDATES skills/protocols/behavior automatically. Use when the agent should get smarter without being prompted. Triggers continuously in background. Different from passive logging (self-improving-agent) — this ACTS on what it learns. The missing piece between logging and intelligence.

Auto-Improve

Active self-improvement loop. Reads its own notes, detects patterns, changes behavior.

What This Is NOT

  • NOT a logging skill (that's self-improving-agent — passive, writes notes)
  • NOT a memory manager (that's memory-guardian — manages files)
  • This is the brain that reads the notes and rewrites the playbook.

Trigger

Runs at the END of every meaningful work session (after Recorder, after batch meta-think, after any project completion). Also runs on explicit "improve" or "what have we learned" prompts.

Input Sources (read all before acting)

  1. .learnings/ERRORS.md — what broke and how it was fixed
  2. .learnings/LEARNINGS.md — corrections, insights, knowledge gaps
  3. systems/batch-cognition/learnings.md — what worked/wasted in batch processing
  4. systems/batch-cognition/value-stack.md — ranked ideas across all batches
  5. systems/batch-cognition/connection-graph.md — cross-batch idea connections
  6. memory/permanent/*.md — current knowledge state
  7. Recent session memory (memory/2026-*.md) — what happened lately

The Loop

Step 1: SCAN (read sources, find patterns)

Read all input sources. Look for:

  • Repeated errors (same mistake 2+ times → needs a rule)
  • Repeated corrections (user keeps fixing the same thing → behavior change needed)
  • Emerging patterns (3+ batch items connecting → thesis forming)
  • Stale knowledge (facts in permanent memory contradicted by recent sessions)
  • Unused wins (high-value items tagged 🟢 that haven't been acted on)

Step 2: PROPOSE (write specific changes)

For each detected pattern, propose a concrete change:

Pattern Type Proposed Action Target File
Repeated error Add prevention rule TOOLS.md or relevant skill
Repeated correction Update behavior guideline SOUL.md or AGENTS.md
Emerging thesis Write thesis doc + next steps OUTSTANDING.md or new file
Stale knowledge Update the fact memory/permanent/*.md
Unused win Create ticket or reminder NEXT_TICKET.md or cron

Format each proposal as:

PROPOSAL: [short title]
EVIDENCE: [what triggered this — file#line references]
CHANGE: [exact edit — old text → new text, or new file content]
RISK: [low/medium/high — what could go wrong]
REVERSIBLE: [yes/no — can we undo easily]

Step 3: APPLY (low-risk only, flag high-risk)

  • Low risk + reversible: Apply immediately. Log the change.
  • Medium risk: Apply but notify user on next interaction.
  • High risk: Write to OUTSTANDING.md as "PROPOSED IMPROVEMENT" — user decides.

Step 4: LOG (always)

Append to .learnings/LEARNINGS.md:

### [date] Auto-Improve Cycle
- Scanned: [N sources, M total lines]
- Patterns found: [N]
- Changes applied: [N low-risk]
- Changes proposed: [N medium/high-risk]
- Details: [1-line per change]

Safety Rules

  • NEVER edit MEMORY.md root structure without user approval
  • NEVER delete files — only append, edit, or create
  • NEVER change model/API configuration
  • NEVER modify cron schedules without flagging
  • All changes are git-tracked → always reversible via git revert
  • If uncertain: propose, don't apply

What Gets Better Over Time

Session Count Improvement Layer
1-5 Error logging (passive)
5-20 Pattern detection (finds repeats)
20-50 Behavior updates (stops making same mistakes)
50-100 Thesis formation (connects ideas across sessions)
100+ Predictive (anticipates user needs before they ask)

Integration

  • Runs after recorder skill (end of meaningful work)
  • Runs after batch-cognition meta-think
  • Runs on heartbeat if idle for 6+ hours
  • Runs on explicit "improve" / "what have we learned" / "get smarter"

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill