Agent Builder
shareAI-lab/learn-claude-code
Design and build AI agents for any domain. An agent skill from shareAI-lab/learn-claude-code.
Patterns for AI agents that learn from their own execution, detect failure modes, and improve autonomously.
$ npx skills add borghei/Claude-Skills --skill self-improving-agent -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install borghei/Claude-Skills self-improving-agent --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/borghei/Claude-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/engineering/self-improving-agent .claude/skills/self-improving-agent && rm -rf skills-srcUse ~/.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/
Install the "self-improving-agent" agent skill from https://github.com/borghei/Claude-Skills/tree/main/engineering/self-improving-agent into .claude/skills/self-improving-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "self-improving-agent", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/borghei/Claude-Skills/tree/main/engineering/self-improving-agentType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add borghei/Claude-Skills --skill self-improving-agent -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install borghei/Claude-Skills self-improving-agent --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/borghei/Claude-Skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/engineering/self-improving-agent .agents/skills/self-improving-agent && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "self-improving-agent" agent skill from https://github.com/borghei/Claude-Skills/tree/main/engineering/self-improving-agent into .agents/skills/self-improving-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "self-improving-agent", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add borghei/Claude-Skills --skill self-improving-agent -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install borghei/Claude-Skills self-improving-agent --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/borghei/Claude-Skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/engineering/self-improving-agent .cursor/skills/self-improving-agent && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "self-improving-agent" agent skill from https://github.com/borghei/Claude-Skills/tree/main/engineering/self-improving-agent into .cursor/skills/self-improving-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "self-improving-agent", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/borghei/Claude-Skills.git --path engineering/self-improving-agent--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add borghei/Claude-Skills --skill self-improving-agent -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install borghei/Claude-Skills self-improving-agent --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/borghei/Claude-Skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/engineering/self-improving-agent .gemini/skills/self-improving-agent && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "self-improving-agent" agent skill from https://github.com/borghei/Claude-Skills/tree/main/engineering/self-improving-agent into .gemini/skills/self-improving-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "self-improving-agent", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install borghei/Claude-Skills self-improving-agentInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add borghei/Claude-Skills --skill self-improving-agent -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/borghei/Claude-Skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/engineering/self-improving-agent .github/skills/self-improving-agent && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "self-improving-agent" agent skill from https://github.com/borghei/Claude-Skills/tree/main/engineering/self-improving-agent into .github/skills/self-improving-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "self-improving-agent", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add borghei/Claude-Skills --skill self-improving-agent -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install borghei/Claude-Skills self-improving-agent --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/borghei/Claude-Skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/engineering/self-improving-agent .opencode/skills/self-improving-agent && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "self-improving-agent" agent skill from https://github.com/borghei/Claude-Skills/tree/main/engineering/self-improving-agent into .opencode/skills/self-improving-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "self-improving-agent", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
self-improving-agentPatterns for AI agents that learn from their own execution, detect failure modes, and improve autonomously.
Self Improving Agent is an agent skill from borghei/Claude-Skills. Patterns for AI agents that learn from their own execution, detect failure modes, and improve autonomously. Use when building agents that get better over time, managing auto- memory, or designing self-correcting feedback loops.
Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 18 other files, including scripts and reference files (for example `references/feedback-loop-patterns.md`, `references/memory-curation-guide.md` and `references/meta-learning-architectures.md`).
It sits in AI & LLM Engineering, covering Building AI agents. The repository describes itself as: 385 AI skills, 77 expert agents, and 900 stdlib Python tools for every team: engineering, PM, marketing, C-level, compliance, business ops, research, and a LinkedIn toolkit… The licence is MIT.
Read from SKILL.md and the folder at commit 4a698e8. It shows what the files ask for, not the result of running them.
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.
Ships 6 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Self Improving Agent loads about 2.1k tokens when it runs, and up to ~7.3k if it reads all its reference files. Until then it costs about 62 tokens; SKILL.md has 860 words of instructions outside code blocks.
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.
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.
The full file from borghei/Claude-Skills at commit 4a698e8, republished under its MIT licence (© borghei). 860 words, ~2,094 tokens.
.claude/skills/self-improving-agent/SKILL.md (or your agent's skills folder). This skill also uses 15 other files; get the full folder from GitHub.Architectural patterns for AI agents that get better with use. Most agents are stateless -- they repeat mistakes because they cannot learn from their own execution. This skill closes that gap with patterns for feedback capture, memory curation, skill extraction, and regression detection. Key insight: auto-memory captures everything, but curation turns noise into knowledge.
Before capturing or promoting learnings, confirm these inputs. If any is unknown or vague, ASK — do not assume:
MEMORY.md, and rules dir to operate on (the subject the tools read and write)--min-occurrences; decides what is kept vs discarded)Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.
Compound sub-skill architecture — each file in skills/ handles one step of the improvement loop:
| Sub-Skill | File | Purpose |
|---|---|---|
| Remember | skills/remember.md | Capture errors and learnings from current session |
| Extract | skills/extract.md | Extract reusable patterns from completed work |
| Promote | skills/promote.md | Graduate proven patterns to permanent rules |
| Review | skills/review.md | Audit memory health, prune stale entries |
| Status | skills/status.md | Dashboard showing memory state and learning progress |
Flow: Remember → Extract → Promote → Review, with Status providing visibility back into the cycle.
| Tool | Purpose | Command |
|---|---|---|
pattern_extractor.py | Extract reusable patterns from session logs | python scripts/pattern_extractor.py --input sessions.jsonl --min-occurrences 3 |
memory_health_checker.py | Audit memory for line counts, stale, and promotable entries | python scripts/memory_health_checker.py --memory ./MEMORY.md --rules ./.claude/rules/ |
rule_promoter.py | Validate and apply promotions from memory to rules | python scripts/rule_promoter.py --memory ./MEMORY.md --list-candidates |
feedback_analyzer.py | Analyze feedback logs for success rates and opportunities | python scripts/feedback_analyzer.py analyze |
regression_detector.py | Compare baseline vs current performance metrics | python scripts/regression_detector.py compare |
rule_manager.py | Manage a learned rules knowledge base with CRUD | python scripts/rule_manager.py list |
Load the reference that matches the task — keep this file lean and pull detail on demand:
This skill covers:
This skill does NOT cover:
agent-workflow-designer and agent-protocol.prompt-engineer-toolkit.observability-designer.agent-designer.| Skill | Integration | Data Flow |
|---|---|---|
| context-engine | Controls what the agent sees per session; this skill decides what is worth remembering long-term | Promoted rules and curated memory feed context retrieval; context relevance metrics flow back for regression tracking |
| agent-designer | Defines the agent's architecture and capabilities; this skill layers learning infrastructure on top | Architecture constraints inform possible feedback loops; extracted skills feed back as new capabilities |
| prompt-engineer-toolkit | Prompts degrade as codebases evolve; this skill detects prompt regression via outcome tracking | Performance metrics flag underperforming prompts; prompt updates feed back as CLAUDE.md rule changes |
| observability-designer | Provides system-level metrics; this skill provides agent-behavior-level metrics | System telemetry enriches regression diagnosis; agent metrics export to observability dashboards |
| tech-debt-tracker | Stale rules and bloated memory are technical debt this can surface alongside code debt | Memory health metrics feed debt scoring; debt prioritization informs which stale rules to retire |
| agent-workflow-designer | Multi-step workflows benefit from per-step feedback capture and cross-workflow pattern extraction | Per-step outcome data flows into feedback loops; extracted optimizations update workflow definitions |
© borghei, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 15 other files (scripts, references) in engineering/self-improving-agent of borghei/Claude-Skills.
Open the folder on GitHubat commit 4a698e8
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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Self Improving Agent this skillborghei/Claude-Skills | 881 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Agent BuildershareAI-lab/learn-claude-code | 78k | 6 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Agenticx Agent BuilderDemonDamon/AgenticX | 294 | — | ~893 | Automated safety check: Pass | Apache-2.0 | |
| Create Agent Skillsglittercowboy/taches-cc-resources | 2k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Muse Governanceucsandman/DashClaw | 310 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Langgraph Agent Patternssoba-labs/langchain-agent-skills | 107 | — | ~3.6k | Automated safety check: Pass | MIT |
shareAI-lab/learn-claude-code
Design and build AI agents for any domain. An agent skill from shareAI-lab/learn-claude-code.
DemonDamon/AgenticX
Guide for creating persistent Near desktop digital avatars (数字分身) via natural-language interview and the createavatar tool.
glittercowboy/taches-cc-resources
Expert guidance for creating, writing, building, and refining Claude Code Skills.
ucsandman/DashClaw
Governance behavior for Muse agents governed by DashClaw. An agent skill from ucsandman/DashClaw.
soba-labs/langchain-agent-skills
Implement multi-agent coordination patterns (supervisor-subagent, router, orchestrator-worker, handoffs) for LangGraph applications.
n8n-io/n8n
Load immediately after an Agent intent. An agent skill from n8n-io/n8n.
borghei/Claude-Skills
Run delivery when AI coding and ops agents take tickets. An agent skill from borghei/Claude-Skills.
borghei/Claude-Skills
Check AI-generated marketing content and reviews for required disclosures under the EU AI Act, FTC rules and platform AI-label policies.
borghei/Claude-Skills
Idea to AI-generated prototype to customer validation to engineering handoff.
borghei/Claude-Skills
Analytics engineering across data modeling, dbt, transformation, and semantic layers.
borghei/Claude-Skills
Ansoff Matrix — 4-quadrant framework for growth options: market penetration, market/product development, and diversification.
borghei/Claude-Skills
OKR brainstorming and validation using the Radical Focus framework — outcome objectives, measurable key results, counter-metrics.
Categories
Patterns for AI agents that learn from their own execution, detect failure modes, and improve autonomously. Self Improving Agent is an agent skill from borghei/Claude-Skills. Patterns for AI agents that learn from their own execution, detect failure modes, and improve autonomously.
Self Improving Agent fits situations like: building agents that get better over time; managing auto- memory; designing self-correcting feedback loops.
Run `npx skills add borghei/Claude-Skills --skill self-improving-agent -a claude-code`. Or copy the skill folder (engineering/self-improving-agent in borghei/Claude-Skills) into .claude/skills/self-improving-agent in your project. Claude Code loads it when a task matches its description.
Run `npx skills add borghei/Claude-Skills --skill self-improving-agent -a codex`. Or copy the skill folder (engineering/self-improving-agent in borghei/Claude-Skills) into .agents/skills/self-improving-agent in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add borghei/Claude-Skills --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.
Going by SKILL.md and its folder, Self Improving Agent needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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.
Self Improving Agent is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.4k 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 5.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Self Improving Agent: Agent Builder (shareAI-lab/learn-claude-code, 78k stars), Agenticx Agent Builder (DemonDamon/AgenticX, 294 stars), Create Agent Skills (glittercowboy/taches-cc-resources, 2k stars) and Muse Governance (ucsandman/DashClaw, 310 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
borghei (a GitHub user) maintains it in borghei/Claude-Skills, which has 881 GitHub stars. The repository holds 349 skills in this directory. The repository was last updated on October 7, 2026.
Source: borghei/Claude-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.