Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计提醒

experience-layer体验层

Agent Skill

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

总安装

6,504

周安装

271

GitHub Stars

公开资料未说明

下载量

2,168
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install experience-layer

简介

自动积累 Agent 执行中的经验教训与最佳实践。

  • 适合故障驱动学习、能力缺口识别与知识迭代时使用。
  • 需在 OpenClaw 中通过 clawhub 安装,持续监听任务执行日志。
  • 建议评估是否具备错误模式学习与知识库写入权限。experience-layer 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 适用于持续提升 Agent 自主性与鲁棒性的运维场景。

SKILL.md

name
experience-layer
description
Skill Experience Layer - A failure-driven learning mechanism for OpenClaw agents that automatically accumulates lessons and best practices to avoid repeating mistakes.
author
jilanfang
license
MIT
tags
[experience, learning, memory, best-practices, failure]
version
1.0.2

Skill Experience Layer for OpenClaw

A failure-driven learning mechanism that systematically accumulates experience from tool calls, mistakes, and successes. Each tool/skill category has its own experience file with:

  • Lessons learned from failures
  • Common mistakes pattern matching
  • Preventive best practices
  • Statistics tracking (total executions, success/failure counts)

Core Philosophy

"The man who repeats the same mistake and expects different results is a fool." - This mechanism eliminates that.

Every failure is a one-time tuition payment for permanent knowledge.

How It Works

1. Pre-execution Experience Loading

Before any tool call, the agent must:

  1. Identify the experience category
  2. Read the compact experience file
  3. Apply learned best practices
  4. Avoid known mistakes

2. Post-execution Experience Update

If the tool call fails:

  1. Stop immediately and analyze root cause
  2. Add/Update the experience entry
  3. Record the mistake and prevention
  4. Continue only after updating

If the tool call succeeds:

  1. Optionally add high-value best practices
  2. Keep experience lean and actionable

3. Weekly/Monthly Maintenance

  • Weekly: Remove outdated experiences
  • Monthly: Clean up duplicates, consolidate patterns

Experience Category Structure

{
  "type": "skill",
  "name": "tool-name",
  "lastUpdated": "ISO timestamp",
  "totalExecutions": N,
  "successCount": N,
  "failureCount": N,
  "experiences": [
    {
      "mistake": "Description of what went wrong",
      "when": "Context/scenario where it happens",
      "avoidance": "How to avoid this mistake",
      "count": 1
    }
  ],
  "patterns": {
    "commonMistakes": [
      "List of frequent mistakes"
    ],
    "bestPractices": [
      "List of proven best practices"
    ]
  }
}

Built-in Categories

CategoryDescription
readFile reading, web fetching
writeFile writing, editing
editExact text replacement in files
execShell command execution
browserBrowser automation
messageMessage sending, media upload
searchWeb search tools
feishuAll Feishu/Lark API tools
feishu-*Fine-grained Feishu sub-skill experiences
memoryMemory search and retrieval
skillSkill management operations
cronCron job scheduling and delivery modes
video-framesVideo frame extraction with ffmpeg

Installation

clawhub install experience-layer

Or manually:

mkdir -p ~/.openclaw/workspace/memory/experiences
# Copy the empty category template to start
cp templates/empty-category.json ~/.openclaw/workspace/memory/experiences/your-category.json
# Edit the JSON and add your first experience

What's Included

  • SKILL.md - Complete documentation
  • templates/empty-category.json - Starter template for new categories
  • templates/example.json - Real-world example from production usage
  • examples/ - Full production-ready experience files:

- examples/edit.json - Experience for file editing - examples/exec.json - Experience for shell command execution - examples/feishu.json - Experience for Feishu/Lark API - examples/message.json - Experience for message sending - examples/cron.json - Experience for cron job scheduling

Usage in OpenClaw Workflow

  1. Before calling a tool:
read memory/experiences/{category}.json
apply the best practices and avoid the common mistakes
  1. After failure:
analyze root cause
update the corresponding experience file
record the lesson learned
then retry

Benefits

  • No repeated mistakes - Same mistake only pays tuition once
  • Progressive improvement - System gets better over time
  • Compact and searchable - JSON format for easy semantic search
  • Low overhead - Small files, quick to load
  • Open extension - Add new categories as needed

Changelog

1.0.2 (2026-03-18)

  • Add examples/ directory with full production experience files
  • Include 5 complete real-world experience JSON: edit, exec, feishu, message, cron
  • Users can drop these directly into their memory/experiences/ to start

1.0.1 (2026-03-18)

  • Add template directory with empty category template
  • Add complete example JSON from production
  • Improve installation documentation

1.0.0 (2026-03-18)

  • Initial public release
  • 25+ experience categories with real-world lessons from production usage
  • Complete JSON schema
  • Documentation

Author

jilanfang

License

MIT

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

74.55%
按下载量换算1,616

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills