Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/subhansh-dev/agent-maxxingnpx agentmods add skills/subhansh-dev/agent-maxxing/17-self-improvementWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/subhansh-dev/agent-maxxing/17-self-improvement)<a href="https://agentmods.dev/skills/subhansh-dev/agent-maxxing/17-self-improvement"><img src="https://agentmods.dev/badge/skills/subhansh-dev/agent-maxxing/17-self-improvement/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/subhansh-dev/agent-maxxing/17-self-improvement"><img src="https://agentmods.dev/badge/skills/subhansh-dev/agent-maxxing/17-self-improvement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00102 | $0.04728 |
| Opus 5.5 | $0.00041 | $0.01891 |
| Sonnet 5.5 | $0.00020 | $0.00946 |
| Haiku 4.5 | $0.00010 | $0.00473 |
Grade A, and why
self-improvement scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
98% identical to self-improvement — 27 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 633 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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.
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):
clawdhub install self-improving-agent
Manual:
git clone https://github.com/peterskoett/self-improving-agent.git ~/.claude/skills/self-improving-agent
Original repo: https://github.com/pskoett/pskoett-ai-skills
Workspace Structure
Your agent injects these files into every session:
~/.agent/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
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 633 lines · 102 tokens per session scan A f918287de7e5
self-improvement is a skill published in the GitHub repository subhansh-dev/agent-maxxing (4 stars, last pushed 4mo ago), licensed MIT. It adds 102 tokens to every session and 4,728 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 98% identical to self-improvement, differing in 27 lines, and is treated as a copy.
self-improvement compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| self-improvementsubhansh-dev/agent-maxxing | Skill | 4 | 4mo ago | MIT | A | 102 | Claude Code |
| api-contract-reviewergvkhosla/compound-engineering-pi | Skill | 52 | 2mo ago | MIT | A | 56 | Claude Code, Codex |
| dhh-rails-reviewergvkhosla/compound-engineering-pi | Skill | 52 | 2mo ago | MIT | A | 40 | Claude Code, Codex |
| api-designNew1Direction/korgex | Skill | 5 | 1mo ago | MIT | A | 17 | Claude Code, Codex |
| building-an-mcp-serverNew1Direction/korgex | Skill | 5 | 1mo ago | MIT | A | 20 | Claude Code, Codex |
| concurrency-correctnessNew1Direction/korgex | Skill | 5 | 1mo ago | MIT | A | 19 | Claude Code, Codex |
| data-pipelinesNew1Direction/korgex | Skill | 5 | 1mo ago | MIT | A | 17 | Claude Code, Codex |