Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Self Improve

ASecurity

Self-correction and cross-session learning loop. Use when a check fails and needs iterating to green, when the user corrects the same thing more than once, or when a non-obvious fix/gotcha is worth remembering for next time.

2 stars
0 votes
0 copies
0 views
Added 9/22/2026
ai-agentsgofrontend

Security Analysis

A100/100

Scanned 9/22/2026

Install to Claude Code

$npx -y skills add CodeWithJuber/forgekit --skill self-improve --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Self Improve?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Self Improve
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/codewithjuber-self-improve/badge)](https://www.skillsdirectory.com/skills/codewithjuber-self-improve)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: self-improve
description: Self-correction and cross-session learning loop. Use when a check fails and needs iterating to green, when the user corrects the same thing more than once, or when a non-obvious fix/gotcha is worth remembering for next time.
---

# Self-improve

Honest scope: you can't reinforcement-learn a hosted model's weights in a config.
What works is **experiential learning** — correct within the session, persist
durable lessons for the next one. Two loops:

## Loop A — self-correct (within a session)
Close the loop yourself instead of waiting for the user to catch errors:
1. Run a check that returns pass/fail: tests, build, typecheck, lint, or a
   screenshot diff (UI).
2. On fail, read the actual error and diagnose the **root cause** — don't patch
   the symptom or suppress it. Record it: `forge diagnose "<error>" --file <f>`.
3. Fix, then re-run the same check. Show the evidence (command + result).
4. Cap it: `forge diagnose` counts recurrences — the 3rd identical failure
   signature mints a **diagnosis claim** in the team ledger and says STOP.
   Don't keep retrying: state the diagnosis (`forge ledger show <id>`), add what
   you tried, and escalate ONE model tier with the diagnosis at the head of the
   new prompt — never a bare "try again, but more expensive". Repeated failed
   patches pollute context and make it worse.
Use the `verifier` / `frontend-verifier` subagents for an independent check on
non-trivial diffs.

## Loop B — capture the lesson (across sessions)
When something was non-obvious — the user corrected you twice on the same point,
or a fix depended on a project gotcha — record it so it's not re-learned next time:
- Cortex captures recurring corrections on its own as you work; for explicit
  facts, `forge recall add "<name>" "<fact>"` (or a one-line entry in the repo's
  `AGENTS.md`).
- Keep it a rule, not a story: "In <project>, X fails unless Y — do Y first."
- Never store secrets/PII. Delete lessons that turn out wrong.
Lessons and facts land as claims in `.forge/ledger/` — confidence moves only when
independent oracles (tests, CI, human accept/revert) confirm or refute them, and
`forge ledger blame <id>` shows that history.

## What "self-evolving" honestly means here
Code knowledge stays current via the atlas (`forge atlas build`); behaviour
improves through Loop B, and the ledger demotes lessons that stop earning
confirmations. Anything promising weight-level RL from a local config is
overstating it — treat those claims with `tech-selector` skepticism.

Attribution

CodeWithJuberCodeWithJuber
View sourceMore from CodeWithJuber →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1066601 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

651 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →