跳到正文
TakoAPI
返回技能列表

correction-memory

由 donovanpankratz-del 提供

Web & Frontend Development
254下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Makes agent corrections persistent and reusable.

描述

该技能的功能

Correction Memory makes agent corrections persistent across sessions. When an agent repeats a mistake you've already fixed, this skill stores your override and prepends it automatically the next time that agent type is spawned. Corrections expire after 30 days to prevent stale rules from accumulating.

Unlike one-off system prompt edits, corrections are stored per agent type and replayed automatically, so you never have to re-teach the same rule in a new session.

何时使用

  • Stopping a CoderAgent from repeatedly using ESM imports instead of require()
  • Teaching a writing agent to maintain a specific narrative voice across sessions
  • Logging corrections via natural language without touching code
  • Auditing all past corrections per agent type with a single shell command
  • Sharing correction history across team members working in the same workspace

示例工作流

输入

User tells the main agent: 'Note that CoderAgent: used ESM import instead of require() — always use require() for Node.js stdlib modules'

智能体
  1. 1

    Main agent calls logCorrection() with agent type, issue description, and correct behavior

  2. 2

    correction-tracker.js writes the entry to memory/corrections/CoderAgent.jsonl

  3. 3

    Next time a task matching CoderAgent keywords is spawned, agent-context-loader detects the agent type

  4. 4

    Loader reads CoderAgent.jsonl and prepends a corrections preamble to the task

  5. 5

    CoderAgent receives the correction context before executing

输出

CoderAgent uses require() consistently in all subsequent sessions without being reminded

安装

clawhub install donovanpankratz-del/correction-memory

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接