Agent skill

Self Improving Agent

by pskoett in pskoett/self-improving-agent

Captures and maintains learnings, errors, and corrections. An agent skill from pskoett/self-improving-agent.

No licenceAuto-check passedAgent Workflows

Install Self Improving Agent

skills CLI
$ npx skills add pskoett/self-improving-agent --skill self-improving-agent -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pskoett/self-improving-agent self-improving-agent --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pskoett/self-improving-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/self-improving-agent .claude/skills/self-improving-agent && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
self-improving-agent
GitHub stars
767
Token cost
~6.4k tokens
SKILL.md length
2,674 words
Files
15 (incl. scripts, references, assets)
Skills in repo
1
Repo updated
First seen
Licence
None found

At a glance

Captures and maintains learnings, errors, and corrections. An agent skill from pskoett/self-improving-agent.

  • Works in 5 steps: Select entries relevant to the current… → Triage legacy/mixed entries: identify… → Check applicability and whether the… → …
  • A command fails
  • SKILL.md covers First-Use Initialisation, Quick Reference, OpenClaw Setup and Logging Format, plus 8 more sections
  • Runs JavaScript, TypeScript and Shell scripts from its folder; calls npm, git and pnpm

What it does

Self Improving Agent is an agent skill from pskoett/self-improving-agent. Captures and maintains learnings, errors, and corrections. Use when a command fails, the user corrects an assumption, a capability is missing, knowledge is outdated, or a better approach is found. Review relevant saved guidance before major tasks, reuse, and promotion; revalidate it according to what could change and how quickly.

Its SKILL.md is about 6.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 19 other files, including scripts, reference files and assets (for example `CHANGELOG.md`, `assets/ERRORS.md` and `assets/FEATURE_REQUESTS.md`).

It sits in Agent Workflows. The repository describes itself as: Self-improvement skill for OpenClaw. It captures learnings, errors, and feature requests to support continuous improvement across sessions.

When your agent uses it

  • A command fails
  • The user corrects an assumption
  • A capability is missing
  • Knowledge is outdated

Example prompts

  • “Use the self-improving-agent skill to capture and maintains learnings, errors, and corrections. An agent skill from pskoett/self-improving-agent”
  • “/self-improving-agent”

Requirements

  • Node.js
  • A Bash shell

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Select entries relevant to the current task by area, files, keywords, or source IDs, plus affected/due claims at natural breakpoints. Do…
  2. Triage legacy/mixed entries: identify the reusable claim, scope, authority, type/rate, and trigger. Keep unknowns explicit. A resolved…
  3. Check applicability and whether the trigger fired or evidence is due before reuse or promotion. Run the type-appropriate check when…
  4. Choose retain (supported and useful, or explicitly provisional while blocked), revise (correct/narrow with evidence), externalize (replace…
  5. Record and propagate: append a dated review note with the outcome, reason, evidence, and old → new claim when changed. Preserve original…

What it can do on your machine

Read from SKILL.md and the folder at commit 30478f1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript, TypeScript and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • npm
    • git
    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Self Improving Agent loads about 6.4k tokens when it runs, and up to ~15k if it reads all its reference files. Until then it costs about 88 tokens; SKILL.md has 2,674 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~88
When it runs · the whole SKILL.md, loaded when a task matches
~6.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~15k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 2,674 words (~6,386 tokens).

“Log learnings and errors to markdown files for continuous improvement. Agents can later process these into fixes, and important learnings get promoted to workspace memory. This version of the skill is built for OpenClaw only — for other agents, see…”

— opening of SKILL.md by pskoett
name
self-improving-agent
version
4.0.2

Read the full SKILL.md on GitHub

Files

SKILL.md and 14 other files (scripts, references, assets) in self-improving-agent of pskoett/self-improving-agent.

  • SKILL.md
  • CHANGELOG.md
  • assets/ERRORS.md
  • assets/FEATURE_REQUESTS.md
  • assets/LEARNINGS.md
  • assets/SKILL-TEMPLATE.md
  • hooks/openclaw/HOOK.md
  • hooks/openclaw/handler.js
  • hooks/openclaw/handler.test.js
  • hooks/openclaw/handler.ts
  • references/examples.md
  • references/maintenance-evals.md
  • references/openclaw-integration.md
  • references/uninstall.md
  • scripts/extract-skill.sh

Open the folder on GitHubat commit 30478f1

Compare with similar skills

Self Improving Agent next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Self Improving Agent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Self Improving Agent this skillpskoett/self-improving-agent767—~6.4kAutomated safety check: PassNone
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k11 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers296k2 repos~5.1kAutomated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official38k8 repos~2.8kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    296k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    795 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed

Categories

Questions about Self Improving Agent

What does Self Improving Agent do?

Captures and maintains learnings, errors, and corrections. An agent skill from pskoett/self-improving-agent. Self Improving Agent is an agent skill from pskoett/self-improving-agent. Captures and maintains learnings, errors, and corrections.

When should I use Self Improving Agent?

Self Improving Agent fits situations like: A command fails; the user corrects an assumption; A capability is missing; knowledge is outdated.

How do I install Self Improving Agent in Claude Code?

Run `npx skills add pskoett/self-improving-agent --skill self-improving-agent -a claude-code`. Or copy the skill folder (self-improving-agent in pskoett/self-improving-agent) into .claude/skills/self-improving-agent in your project. Claude Code loads it when a task matches its description.

How do I install Self Improving Agent in Codex?

Run `npx skills add pskoett/self-improving-agent --skill self-improving-agent -a codex`. Or copy the skill folder (self-improving-agent in pskoett/self-improving-agent) into .agents/skills/self-improving-agent in your project. Codex loads it when a task matches its description.

Can I use Self Improving Agent in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pskoett/self-improving-agent --skill self-improving-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/self-improving-agent, .gemini/skills/self-improving-agent, .github/skills/self-improving-agent and .opencode/skills/self-improving-agent in your project.

What does Self Improving Agent need to run?

Going by SKILL.md and its folder, Self Improving Agent needs JavaScript, TypeScript and a shell for the scripts in its folder and the command-line tools its instructions call (npm, git and pnpm). Our summary lists: Node.js; A Bash shell.

Does Self Improving Agent access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Self Improving Agent safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Self Improving Agent use?

No licence was found for Self Improving Agent or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Self Improving Agent use?

About 6.4k tokens (SKILL.md is roughly 26k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 9k tokens, read only when the agent opens those files.

What are the alternatives to Self Improving Agent?

Skills that share tags, products or a category with Self Improving Agent: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 296k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Self Improving Agent?

pskoett (a GitHub user) maintains it in pskoett/self-improving-agent, which has 767 GitHub stars. The repository was last updated on October 3, 2026.

Source: pskoett/self-improving-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.