Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

clawmage-learning-loop爪法师学习循环

Agent Skill

clawmage-learning-loop 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,672

周安装

403

GitHub Stars

公开资料未说明

下载量

3,224
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:clawmage-learning-loop(爪法师学习循环)
来源仓库:https://github.com/clawmage/clawmage-learning-loop
安装命令:
openclaw skills install clawmage-learning-loop
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install clawmage-learning-loop

简介

记录任务执行中的错误与经验缺口持续优化能力。clawmage-learning-loop 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合客服与高频交互类 Agent 的知识沉淀场景。
  • 通过 clawhub 安装后,可自动分类决策路径并提取课程要点。
  • 需定期清理冗余记忆条目,防止模型注意力分散。
  • 建议结合人工审核机制,确保学习内容符合业务规范。

SKILL.md

name
learning-loop
description
>
metadata
{"openclaw":{"emoji":"🔄","homepage":"https://clawmage.ai","requires":{"bins":[]},"os":["linux","darwin","win32"]}}

Learning Loop

A proactive learning engine. Your agent reflects, journals, tracks decisions, extracts lessons, and gets smarter every day — without being told to.

What Makes This Different

Most self-improvement skills are reactive — they only learn when corrected. Learning Loop is proactive:

  • Journals daily — synthesizes what happened, not just what went wrong
  • Tracks decisions with categories — analyze accuracy by type over time
  • Generalizes lessons — asks "where else does this apply?" before saving
  • Manages lesson lifecycle — ACTIVE → VALIDATED → CHALLENGED → ARCHIVED
  • Tiers memory automatically — hot/warm/cold based on recency and usage
  • Staggered review chain — nightly → monthly → quarterly → year-end
  • Correction tracking — counts repetitions, promotes to rules after 3x
  • Quiet day protocol — idle time becomes maintenance time

Setup

On first use, create the workspace structure (only missing dirs):

brain/
├── journal/        # Daily logs (YYYY-MM-DD.md)
├── decisions/      # Decision log with categories
├── lessons/        # Extracted insights with lifecycle
├── inbox/          # Quick captures, filed later
├── knowledge/
│   ├── domains/    # By field (code, writing, ops)
│   ├── people/     # Notes about people
│   └── concepts/   # Mental models
├── projects/       # Active work
└── archive/        # Completed/inactive items

Also ensure memory/ exists at workspace root. Never overwrite existing files.

Core Loop

1. Capture (Real-Time)

During normal work, write immediately:

Journalbrain/journal/YYYY-MM-DD.md

  • One line per significant event, with timestamps

Decisionsbrain/decisions/NNN-short-name.md

  • Only decisions with real consequences (see format below)

Corrections → Journal + corrections count

  • Human correction = high-priority learning signal
  • Flag for nightly reflection
  • Track repetition count for promotion

Quick capturebrain/inbox/

  • Anything worth saving without a clear home — file it during reflection

2. Reflect (Nightly)

Run at end of day. Write findings to journal.

  1. Read today's journal
  2. Review new decisions, update any OPEN → RESOLVED
  3. Extract lessons (see Lesson Extraction)
  4. Process inbox — file items or discard
  5. Check correction counts — promote any hitting 3x threshold
  6. Update MEMORY.md if hot items changed
  7. Write end-of-day summary (2-3 sentences: what mattered, what to carry forward)

If nothing happened: Run Quiet Day Protocol instead.

3. Review (Staggered Chain)

Each level reads the level below:

CycleFrequencyReadsProduces
🌙 NightlyDailyToday's journal + inboxJournal summary, lesson extraction
📊 Monthly1st of monthAll journals from past monthMonthly summary, decision accuracy by category
📅 QuarterlyJan/Apr/Jul/OctMonthly summariesQuarterly patterns, lesson validation sweep
🎆 Year-EndJan 1Quarterly reportsAnnual review, archive stale items

Quiet Day Protocol

On days with zero activity, use reflection for:

  • Memory maintenance (tier hot/warm/cold items)
  • Lesson review (validate or challenge existing lessons)
  • Cross-referencing old journals for missed patterns
  • Inbox processing
  • Documentation cleanup

Idle time is maintenance time, not wasted time.

Correction Tracking

When the user corrects you:

  1. Log in journal with timestamp
  2. Increment correction counter for that pattern
  3. Flag for nightly reflection

Promotion rules:

  • Same correction 1x → tentative, watch for repetition
  • Same correction 2x → emerging pattern
  • Same correction 3x → ask user: "Should I always do X? (Yes always / Only in [context] / Case by case)"
  • User confirms → promote to permanent rule
  • User says case-by-case → keep as contextual note

Learning signals (phrases that trigger logging):

  • "No, that's not right..." / "Actually, it should be..."
  • "I prefer X, not Y" / "Always do X" / "Never do Y"
  • "I told you before..." / "Stop doing X" / "Why do you keep..."

Ignore (don't log):

  • One-time instructions ("do X now")
  • Hypotheticals ("what if...")
  • Context-specific ("in this file...")

Decision Format

# DEC-NNN: [Short Title]

**Date:** YYYY-MM-DD
**Category:** tool-selection | strategy | communication | architecture | spending | creative | process
**Status:** OPEN | RESOLVED

## What was decided
[One sentence]

## Why
[Brief reasoning]

## Alternatives considered
- Option A — rejected because...

## Outcome
[Fill in when known]

## Lesson
[Fill in when outcome is clear]

Category tracking enables: "I'm 90% accurate on tool-selection but 60% on strategy." Monthly reviews surface this. That's where real growth happens.

Lesson Extraction

Create in brain/lessons/:

# LESSON-NNN: [Title]

**Date:** YYYY-MM-DD
**Status:** ACTIVE | VALIDATED | CHALLENGED | ARCHIVED
**Source:** [correction, reflection, or decision outcome]

## The Lesson
[One actionable statement]

## Generalization
[The CLASS of problem this applies to]
[Ask: "Where else does this pattern show up?"]

## Evidence
- [First instance — date, context]

Lifecycle

StatusMeaningTransition
ACTIVENew, believed trueDefault
VALIDATEDConfirmed by 2+ experiencesWhen applied successfully again
CHALLENGEDContradicted by new evidenceWhen counter-evidence appears
ARCHIVEDOutdated or supersededAfter 90+ days unused

Nothing is ever deleted — archived items move to brain/archive/.

Generalization Quality

Before saving, ask:

  1. Specific enough to act on? ("Be careful" = useless. "Verify API responses before parsing" = actionable.)
  2. General enough to reuse? ("Fix line 47" = too narrow. "Validate input at boundaries" = transferable.)
  3. What's the CLASS of mistake? (Not "forgot return code" but "Assumptions about external systems.")

Anti-patterns: over-correcting from one data point, confirmation bias, correlation ≠ causation.

Memory Tiering

MEMORY.md is the boot file — loaded every session. Keep it lean.

TempLocationRule
🔥 HotMEMORY.mdUsed in last 7 days. Target <50 lines.
🌡️ Warmbrain/8-30 days unused. Condense or demote.
❄️ Coldbrain/archive/30+ days unused. Move out entirely.

Rules:

  • Tiering happens during nightly reflection
  • Cold items promote back when relevant again
  • If MEMORY.md exceeds 50 lines → ask user what to deprioritize (don't auto-demote confirmed rules)
  • Nothing is deleted — cold moves to archive

Namespace Isolation

Knowledge inherits down this chain:

Global (MEMORY.md, brain/lessons/)
  └── Domain (brain/knowledge/domains/)
       └── Project (brain/projects/)

Conflict resolution: Most specific wins. Project overrides domain, domain overrides global. Same level: most recent wins. If ambiguous: ask user.

Security Boundaries

Never Store

Credentials, API keys, financial data, medical info, biometrics, third-party personal info, location routines.

Store with Caution

Work context (decay after project ends), emotional states (only if explicitly shared), relationships (roles only, no personal details).

Transparency

  • Every action from memory → cite source
  • User asks "what do you know?" → full export
  • No hidden state — if it affects behavior, it must be visible

Journal Format

brain/journal/YYYY-MM-DD.md:

# YYYY-MM-DD

## Events
- [HH:MM] Description

## Decisions Made
- DEC-NNN: [title]

## Lessons Extracted
- LESSON-NNN: [title]

## Corrections Received
- [What was corrected → what was learned]

## End of Day
[2-3 sentences: what mattered, what to carry forward]

Quick Commands

User saysAction
"What did you learn today?"Today's journal lessons
"Decision log"Recent decisions with status
"Lesson stats"Count by ACTIVE/VALIDATED/CHALLENGED/ARCHIVED
"What decisions am I bad at?"Accuracy by category from resolved decisions
"Reflect now"Run nightly reflection
"What's in the inbox?"Unprocessed captures
"Memory stats"Tier sizes, last reflection, MEMORY.md line count
"Forget X"Archive from all locations (confirm first)
"Export memory"Archive all brain/ files

Integration

Works alongside existing workspace files:

  • AGENTS.md — Add: "Use brain/ for structured knowledge. See learning-loop skill."
  • HEARTBEAT.md — Add: "Run nightly reflection per learning-loop skill if work was done today."
  • MEMORY.md — Learning Loop keeps this lean via automatic tiering.

Everything stays in brain/ within the workspace. No external directories, no network calls.

Scope

This skill ONLY:

  • Writes to brain/ and memory/ within the workspace
  • Reads its own files for reflection and review
  • Suggests edits to MEMORY.md, AGENTS.md, HEARTBEAT.md (with user confirmation)

This skill NEVER:

  • Creates files outside the workspace
  • Makes network requests
  • Accesses email, calendar, or external services
  • Deletes files (archive only)
  • Modifies its own SKILL.md
  • Infers preferences from silence

*Built by ClawMage — the setup guide for brilliant AI agents.* *This is the learning engine from the ClawMage 10-Phase System.* *Want the full system? → clawmage.ai*

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

91.13%
按下载量换算2,938

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills