Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计提醒

procedural-memory程序记忆

Agent Skill

procedural-memory 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,529

周安装

185

GitHub Stars

公开资料未说明

下载量

1,465
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install procedural-memory

简介

用于查找、检索和筛选相关信息,支持程序记忆保存。procedural-memory 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合在 OpenClaw 中根据关键词快速定位候选结果。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装前建议确认权限范围和维护状态,避免触发文件写入。
  • 安装方式:clawhub,适用于 OpenClaw 宿主环境。

SKILL.md

name
procedural-memory
description
Inspired by Hermes Agent's procedural memory system. When a workflow works, save it as a reusable skill. Triggered when: (1) user says 'remember this workflow', (2) complex task succeeds, (3) same pattern succeeds 2+ times, (4) end-of-day review. Creates SKILL.md files for agent self-evolution.

Procedural Memory — Automatic Workflow Memory

_"When a workflow works, save it as a reusable skill."_

Inspired by Hermes Agent's core feature: an agent that learns from experience by saving successful workflows as reusable skills.


Directory Prerequisites

mkdir -p ~/self-improving
mkdir -p ~/.openclaw/workspace/skills

The log file ~/self-improving/procedural-memory-log.md will be created automatically if missing.


Trigger Conditions (Priority Order)

🔴 High Priority — Explicit User Request

  • "记住这个workflow" / "remember this workflow"
  • "以后遇到类似就这样做" / "do this next time"
  • "这个方法很好,以后也这样用" / "this works, use it again"
  • "这个技巧值得记住" / "this is worth remembering"

🟡 Medium Priority — Proactive Review

  • End of day (or user says "review")
  • After a complex task completes successfully

🟢 Low Priority — Pattern Recognition

  • Same workflow applied successfully 2+ times
  • Recurring solutions discovered

Workflow

Step 1 — Evaluate Worthiness

Must meet ALL:

  • ✅ Takes 3+ steps to complete
  • ✅ Likely applicable to future conversations
  • ✅ Not one-time / context-specific
  • ✅ User would benefit

Auto-trigger: If the same workflow succeeds 3+ times, auto-create skill WITHOUT asking (记录到日志即可)。

Otherwise: ask user "我可以把这个 workflow 存为 skill 吗?"

If user confirms → continue. Otherwise → silent skip.

Step 2 — Check for Conflicts

ls ~/.openclaw/workspace/skills/ | grep <keyword>
  • Same name exists → log "already exists, skip"
  • Similar function exists → consider merge or append

Step 3 — Extract Pattern

Record:

**Skill Name**: [verb]-[problem] (kebab-case)
**Trigger**: [when this would be used]
**Problem Solved**: [what issue this solves]
**Steps**: [numbered list]
**Key Insight**: [why this works]
**Limitations**: [when NOT to use]

Step 4 — Create Skill File

Create ~/.openclaw/workspace/skills/[skill-name]/SKILL.md:

---
name: [skill-name]
description: "[one-line description of when to use]
---
# [Skill Name]

## What This Solves
[trigger conditions and problem]

## When to Use
- [specific scenario 1]
- [specific scenario 2]

## How To Execute
[Step 1]
[Step 2]
[Step 3...]

## Key Insight
[why this is effective]

## Limitations
[when this won't work]

Step 5 — Validate

ls ~/.openclaw/workspace/skills/[skill-name]/SKILL.md
head -20 ~/.openclaw/workspace/skills/[skill-name]/SKILL.md

Recreate if corrupted.

Step 6 — Log

Append to ~/self-improving/procedural-memory-log.md:

## YYYY-MM-DD

### [skill-name]
- **Trigger**: [what triggered this]
- **Problem solved**: [what was solved]
- **Key insight**: [the key learning]
- **Skill file**: `~/.openclaw/workspace/skills/[skill-name]/SKILL.md`

Step 7 — Notify User

Tell user the skill was created and ask if they want to enable auto-execution:

"已记住这个 workflow,存为 skill/[skill-name]。是否需要我下次遇到类似情况时自动执行?"

Default behavior: Do NOT auto-execute without user confirmation.


Skill Loading

When new conversation context matches a saved skill's trigger:

  1. Load the skill's SKILL.md
  2. Ask user: "我之前学过这个,要我用这个方法吗?"
  3. Only execute AFTER user confirms
  4. Never auto-execute without explicit user approval

Privacy Consideration

  • This skill scans conversation history to identify worth-saving workflows
  • Derived content is persisted to disk (~/.openclaw/workspace/skills/ and ~/self-improving/)
  • Sensitive conversation data may be captured — user is responsible for what they share in conversations
  • Log files contain pattern summaries, not raw conversation, but could still contain sensitive references
  • Users should be aware of what they discuss with the agent

End-of-Day Review Prompt

When user says "复盘" or at end of day:

"今天有什么 workflow 值得我记住吗?"

Scan today's conversation for:

  • Complex but successful tasks
  • Repeatedly used techniques
  • Reusable solutions

References

  • Skill Creator Guide: ../skill-creator/SKILL.md
  • Self-Improving Memory: ~/self-improving/memory.md
  • Procedural Memory Log: ~/self-improving/procedural-memory-log.md

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

72.92%
按下载量换算1,068

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills