self-improving-agent
Captures learnings, errors, and corrections to enable continuous improvement.
Skill by clark970417-eng
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/clark970417-eng-self-improving-agent
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/self-improving-agent
What's inside
- Skill name
self-improving-agent- Description
- Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge is outdated or incorrect, (6) A better approach is discovered for a recurring task. Also review learnings before major tasks.
- License
- MIT
- Instructions
- 640 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- metadata: must be a key/value mapping
- body: 640 lines (spec recommends under 500)
Files (15)
- README.md
- SKILL.md
- ERRORS.md · assets/
- FEATURE_REQUESTS.md · assets/
- LEARNINGS.md · assets/
- SKILL-TEMPLATE.md · assets/
- HOOK.md · hooks/openclaw/
- handler.js · hooks/openclaw/
- handler.ts · hooks/openclaw/
- examples.md · references/
- hooks-setup.md · references/
- openclaw-integration.md · references/
- activator.sh · scripts/
- error-detector.sh · scripts/
- extract-skill.sh · scripts/
SKILL.md (first lines)
---
name: self-improving-agent
description: "Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge is outdated or incorrect, (6) A better approach is discovered for a recurring task. Also review learnings before major tasks."
metadata:
---
# Self-Improvement Skill
Log learnings and errors to markdown files for continuous improvement. Coding agents can later process these into fixes, and important learnings get promoted to project memory.
## First-Use Initialisation
Before logging anything, ensure the `.learnings/` directory and files exist in the project or workspace root. If any are missing, create them:
```bash
mkdir -p .learnings
[ -f .learnings/LEARNINGS.md ] || printf "# Learnings\n\nCorrections, insights, and knowledge gaps captured during development.\n\n**Categories**: correction | insight | knowledge_gap | best_practice\n\n---\n" > .learnings/LEARNINGS.md
[ -f .learnings/ERRORS.md ] || printf "# Errors\n\nCommand failures and integration errors.\n\n---\n" > .learnings/ERRORS.md
[ -f .learnings/FEATURE_REQUESTS.md ] || printf "# Feature Requests\n\nCapabilities requested by the user.\n\n---\n" > .learnings/FEATURE_REQUESTS.md
```
Never overwrite existing files. This is a no-op if `.learnings/` is already initialised.
Do not log secrets, tokens, private keys, environment variables, or full source/config files unless the user explicitly asks for that level of detail. Prefer short summaries or redacted excerpts over raw command output or full transcripts.
If you want automatic reminders or setup assistance, use the opt-in hook workflow described in [Hook Integration](#hook-integration).
## Quick Reference
| Situation | Action |
|-----------|--------|
| Command/operation fails | Log to `.learnings/ERRORS.md` |
| User corrects you | Log to `.learnings/LEARNINGS.md` with category `correction` |
| User wants missing feature | Log to `.learnings/FEATURE_REQUESTS.md` |
| API/external tool fails | Log to `.learnings/ERRORS.md` with integration details |
| Knowledge was outdated | Log to `.learnings/LEARNINGS.md` with category `knowledge_gap` |
| Found better approach | Log to `.learnings/LEARNINGS.md` with category `best_practice` |
| Simplify/Harden recurring patterns | Log/update `.learnings/LEARNINGS.md` with `Source: simplify-and-harden` and a stable `Pattern-Key` |
| Similar to existing entry | Link with `**See Also**`, consider priority bump |
| Broadly applicable learning | Promote to `CLAUDE.md`, `AGENTS.md`, and/or `.github/copilot-instructions.md` |
| Workflow improvements | Promote to `AGENTS.md` (OpenClaw workspace) |
| Tool gotchas | Promote to `TOOLS.md` (OpenClaw workspace) |
| Behavioral patterns | Promote to `SOUL.md` (OpenClaw workspace) |
## OpenClaw Setup (Recommended)
OpenClaw is the primary platform for this skill. It uses workspace-based prompt injection with automatic skill loading.
### Installation
**Via ClawdHub (recommended):**
```bash
clawdhub install self-improving-agent
```
**Manual:**
```bash
git clone https://github.com/peterskoett/self-improving-agent.git ~/.openclaw/skills/self-improving-agent
```
Remade for openclaw from original repo : https://github.com/pskoett/pskoett-ai-skills - https://github.com/pskoett/pskoett-ai-skills/tree/main/skills/self-improvement
### Workspace Structure
OpenClaw injects these files into every session:
```
~/.openclaw/workspace/
├── AGENTS.md # Multi-agent workflows, delegation patterns
├── SOUL.md # Behavioral guidelines, personality, principles
├── TOOLS.md # Tool capabilities, integration gotchas
├── MEMORY.md # Long-term memory (main session only)
├── memory/ # Daily memory files
│ └── YYYY-MM-DD.md
└── .learnings/ # This skill's log files
├── LEARNINGS.md
├── ERRORS.md
└── FEATURE_REQUESTS.md
```
### Create Learning Files
```bash
mkdir -p ~/.openclaw/workspace/.learnings
```
Then create the log files (or copy from `assets/`):
- `LEARNINGS.md` — corrections, knowledge gaps, best practices
- `ERRORS.md` — command failures, exceptions
- `FEATURE_REQUESTS.md` — user-requested capabilities
### Promotion Targets
When learnings prove broadly applicable, promote them to workspace files:
| Learning Type | Promote To | Example |
|---------------|------------|---------|
| Behavioral patterns | `SOUL.md` | "Be concise, avoid disclaimers" |
| Workflow improvements | `AGENTS.md` | "Spawn sub-agents for long tasks" |
| Tool gotchas | `TOOLS.md` | "Git push needs auth configured first" |
### Inter-Session Communication
OpenClaw provides tools to share learnings across sessions:
- **sessions_list** — View active/recent sessions
- **sessions_history** — Read another session's transcript
- **sessions_send** — Send a learning to another session
- **sessions_spawn** — Spawn a sub-agent for background work
Use these only in trusted environments and only when the user explicitly wants cross-session sharing. Prefer sending a short sanitized summary and relevant file paths, not raw transcripts, secrets, or full command output.
### Optional: Enable Hook
For automatic reminders at session start:
```bash
# Copy hook to OpenClaw hooks directory
cp -r hooks/openclaw ~/.openclaw/hooks/self-improvementFrom clark970417-eng/Cyrene-Agent, MIT.
More from clark970417-eng/Cyrene-Agent
- 0.529score
pdf
clark970417-eng
当 PDF 的视觉质量和设计感很重要时,使用此 skill。 CREATE(从零生成):"制作一个 PDF"、"生成一份报告"、"写一份建议书"、 "创建一份简历"、"精美的 PDF"、"专业文档"、"封面"、 "精致的 PDF"、"客户就绪文档"。 FILL(填写表单域):"填写表单"、"填写这个 PDF"、…
SkillBFreshness: BClaude Code +9 - 0.526score
docx
Minimax
使用 OpenXML SDK (.NET) 进行专业的 DOCX 文档创建、编辑和格式化。 三种管道:(A) 从零创建新文档,(B) 在已有文档中填充/编辑内容, (C) 应用模板格式化并通过 XSD 验证门控检查。 当用户需要生成、修改或格式化 Word 文档时,必须使用此 skill——…
SkillBFreshness: BClaude Code +9 - 0.526score
xlsx
clark970417-eng
打开、创建、读取、分析、编辑或验证 Excel/电子表格文件(.xlsx、.xlsm、.csv、.tsv)。当用户要求创建、构建、修改、分析、读取、验证或格式化任何 Excel 电子表格、财务模型、数据透视表或表格数据文件时使用。涵盖:从零创建新的 xlsx、读取和分析已有文件、零格式丢失地编辑已有…
SkillBFreshness: BClaude Code +9 - 0.514score
cyrene-obsidian-workspace
clark970417-eng
Cyrene 在 Learn 模式下操作 Obsidian Vault 的规范:目录约定、文件读取、按标题定位、创建与修改 Markdown 的安全原则。
SkillBFreshness: BClaude Code +9 - 0.511score
cyrene-learn-tutor
clark970417-eng
Cyrene 在 Learn 模式下的教学流程策略:陪伴用户理解材料、生成练习、检查理解、维护学习进度。
SkillBFreshness: BClaude Code +9 - 0.476score
pptx-generator
clark970417-eng
生成、编辑和读取 PowerPoint 演示文稿。使用 PptxGenJS 从零创建(封面、目录、内容、章节分隔、总结幻灯片),通过 XML 工作流编辑已有 PPTX,或使用 markitdown 提取文本。触发词:PPT、PPTX、PowerPoint、演示文稿、幻灯片、slide、deck、slides。
SkillCFreshness: CClaude Code +9 - 0.470score
cyrene-original-voice
clark970417-eng
昔涟原作语气校准。系统自动检测场景并强制注入语气规则到 system prompt,ILM 必须遵守,不可选择忽略。
SkillCFreshness: CClaude Code +9 - 0.469score
cyrene-music-companion
clark970417-eng
使用网易云真实工具结果完成音乐陪伴、今日推荐、歌曲搜索、候选选择与播放。适用于用户表达无聊或疲惫并愿意听歌,要求找歌、推荐歌曲、播放指定歌曲,或引用近期音乐卡片中的“第一首、第二首、你挑一首”等场景。
SkillCFreshness: CClaude Code +9 - 0.466score
write-expense-report
clark970417-eng
当用户要生成记账/支出报告时用。读取近期支出数据,按类目汇总,输出 Excel
SkillCFreshness: CClaude Code +9 - 0.455score
skill-creator
clark970417-eng
Create new skills, modify and improve existing skills, and measure skill performance.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Aug 4, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/clark970417-eng/Cyrene-Agent
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from clark970417-eng
- 0.529score
pdf
clark970417-eng
当 PDF 的视觉质量和设计感很重要时,使用此 skill。 CREATE(从零生成):"制作一个 PDF"、"生成一份报告"、"写一份建议书"、 "创建一份简历"、"精美的 PDF"、"专业文档"、"封面"、 "精致的 PDF"、"客户就绪文档"。 FILL(填写表单域):"填写表单"、"填写这个 PDF"、…
SkillBFreshness: BClaude Code +9 - 0.526score
xlsx
clark970417-eng
打开、创建、读取、分析、编辑或验证 Excel/电子表格文件(.xlsx、.xlsm、.csv、.tsv)。当用户要求创建、构建、修改、分析、读取、验证或格式化任何 Excel 电子表格、财务模型、数据透视表或表格数据文件时使用。涵盖:从零创建新的 xlsx、读取和分析已有文件、零格式丢失地编辑已有…
SkillBFreshness: BClaude Code +9 - 0.514score
cyrene-obsidian-workspace
clark970417-eng
Cyrene 在 Learn 模式下操作 Obsidian Vault 的规范:目录约定、文件读取、按标题定位、创建与修改 Markdown 的安全原则。
SkillBFreshness: BClaude Code +9 - 0.511score
cyrene-learn-tutor
clark970417-eng
Cyrene 在 Learn 模式下的教学流程策略:陪伴用户理解材料、生成练习、检查理解、维护学习进度。
SkillBFreshness: BClaude Code +9 - 0.476score
pptx-generator
clark970417-eng
生成、编辑和读取 PowerPoint 演示文稿。使用 PptxGenJS 从零创建(封面、目录、内容、章节分隔、总结幻灯片),通过 XML 工作流编辑已有 PPTX,或使用 markitdown 提取文本。触发词:PPT、PPTX、PowerPoint、演示文稿、幻灯片、slide、deck、slides。
SkillCFreshness: CClaude Code +9 - 0.470score
cyrene-original-voice
clark970417-eng
昔涟原作语气校准。系统自动检测场景并强制注入语气规则到 system prompt,ILM 必须遵守,不可选择忽略。
SkillCFreshness: CClaude Code +9
Cite this page
self-improving-agent skill. Agent Mart. https://agentmart.dev/skills/clark970417-eng-self-improving-agent (last updated 2026-10-24)