continuous-learning-agent
Self-improvement patterns for AI agents to learn from feedback, errors, and successful patterns across sessions
Skill by 4444J99
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/4444j99-continuous-learning-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: 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
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/continuous-learning-agent
What's inside
- Skill name
continuous-learning-agent- Description
- Self-improvement patterns for AI agents to learn from feedback, errors, and successful patterns across sessions
- License
- MIT
- Metadata
- source: affaan-m/everything-claude-code · category: agent-improvement · adapted-by: ai-skills
- Instructions
- 405 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- learning-resources.md · references/
SKILL.md (first lines)
# Continuous Learning Agent
A meta-skill that enables AI agents to learn from experience and improve over time by separating journaled memory from policy changes that alter future behavior.
## Core Concept
Traditional agents reset completely between sessions. This skill treats memory and learning as related but distinct operations:
- **Journal / memory** records what happened, what was tried, and what evidence exists.
- **Learning / policy** changes what the agent will do next time for a recognizable event class.
Do not call a session log, decision journal, or context note "learning" unless it produces a policy delta, threshold revision, banned move, or acquired pattern that changes future behavior.
## Learning Mechanisms
Every learning loop has two layers:
1. **Journal layer**: episodic or semantic records used for auditability.
2. **Policy layer**: compact behavioral deltas used to improve performance on future tasks.
The journal layer is optional when an existing memory system already covers it. The policy layer is mandatory for this skill.
### 1. Error Pattern Recognition
After each error, first document the event if no existing memory system already captures it:
```markdown
## Error Log Entry
**Date**: 2026-01-30
**Context**: Implementing user authentication
**Error**: TypeError: Cannot read property 'id' of undefined
**Root Cause**: Missing null check before accessing user object
**Fix**: Added optional chaining: user?.id
**Pattern**: Always validate object existence before property access
**Prevention**: Add TypeScript strict null checks
```
Then extract the policy delta:
```markdown
## Policy Delta: [Short Title]
**Date**: 2026-01-30
**Event Class**: Accessing nested properties on possibly absent objects
**Prior Policy**: Read nested properties directly after optimistic object construction.
**Failure Mode**: Undefined objects caused runtime TypeErrors.
**Revised Policy**: Validate object existence or use typed optional access before nested reads.
**Trigger**: Any code path receiving user, API, database, or tool-returned objects.
**Propagation Target**: Project AGENTS.md, test helper, lint rule, or skill source.
**Verification**: Add or run a test that fails under the prior policy and passes under the revised policy.
```
### 2. Success Pattern Collection
After successful implementations, record both the reusable pattern and the policy form that lets future agents apply it without replaying the whole story:
```markdown
## Success Pattern
**Task**: Add pagination to API endpoint
**Approach**: Cursor-based pagination with encoded tokens
**Why It Worked**: Handles large datasets efficiently, stateless
**Reusable Pattern**:
- Use cursor tokens instead of offset/limit
- Encode cursor with base64
- Include hasNext/hasPrevious flags
- Return next/previous cursor in response
**Code Template**:
\`\`\`typescript
interface PaginatedResponse<T> {
data: T[];
cursor: {
next: string | null;
previous: string | null;
};
}
\`\`\`
```
```markdown
## Acquired Pattern
**Event Class**: API endpoints returning large ordered datasets
**Revised Policy**: Prefer cursor tokens over offset pagination unless the product explicitly needs random page access.
**Trigger**: New list endpoint over a growing table or external API collection.
**Verification**: Exercise first page, next page, empty page, and invalid cursor behavior.
```
### 3. Feedback Integration
Use the active project's policy surface when one exists. Examples:
- `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, or other runtime instruction files for enduring operating rules.
- `.claude/policy/`, `.codex/policy/`, `.agents/policy/`, or equivalent for local policy deltas.
- A governed memory or feedback-note repository when the user has established one.
Only create a local journal directory when there is no stronger existing memory surface:
```bash
mkdir -p .claude/journal .claude/policy/deltas
```
Store journal records and policy deltas separately:
```
.claude/journal/
patterns/
authentication.md
database-queries.md
error-handling.md
mistakes/
common-bugs.md
performance-issues.md
preferences/
code-style.md
testing-approach.md
naming-conventions.md
.claude/policy/
deltas/From 4444J99/a-i--skills, MIT.
More from 4444J99/a-i--skills
- 0.646score
artifact-resurfacing
4444J99
Four-phase protocol for clearing accumulated drift between memory claims, CLAUDE.md citations, and on-disk reality.
SkillAFreshness: A★ 17Claude Code +9 - 0.646score
d2l-discussion-responder
4444J99
Review D2L/Brightspace discussion threads as an instructor, identify unanswered questions, verify course facts, and draft concise replies in the instructor's…
SkillAFreshness: A★ 17Claude Code +9 - 0.646score
domain-ideal-whole-substrate
4444J99
Foundational layer beneath PDE.
SkillAFreshness: A★ 17Claude Code +9 - 0.641score
conversation-content-pipeline
4444J99
Transform AI conversations and chat transcripts into publishable content including blog posts, documentation, tutorials, and knowledge base entries.
SkillAFreshness: A★ 17Claude Code +9 - 0.641score
document-audit-extraction
4444J99
Audit document collections to extract features, identify patterns, assess quality, and build structured inventories.
SkillAFreshness: A★ 17Claude Code +9 - 0.637score
closeout
4444J99
Session-end ritual that walks back through plans authored and atoms touched in this session, assigning each a closure status (DONE-NNN, IRF-XXX-NNN, or…
SkillAFreshness: A★ 17Claude Code +9 - 0.601score
code-review-checklist
4444J99
Guide an AI agent through a structured code review — correctness, security, performance, readability, and test coverage — producing a summary with actionable…
SkillBFreshness: B★ 17Claude Code +9 - 0.556score
ecosystem-autopsy
4444J99
Orchestrate a full directory-graph autopsy across an ORGANVM workspace, then emit migration signals that unite repositories under canonical governance.
SkillCFreshness: C★ 17Claude Code +9 - 0.551score
expansive-inquiry
4444J99
Multi-perspective collaborative inquiry.
SkillCFreshness: C★ 17Claude Code +9 - 0.551score
corpus-persona-extraction
4444J99
Ingest a corpus of session logs (JSONL transcripts, chat exports) and extract a persona profile — vocabulary frequency, unique idioms and coinages, structural…
SkillCFreshness: C★ 17Claude Code +9 - 0.491score
accessibility-patterns
4444J99
Build inclusive web experiences following WCAG guidelines.
SkillDFreshness: D★ 17Claude Code +9 - 0.491score
evaluation-to-growth
4444J99
Systematic content evaluation framework progressing through Critique → Reinforcement → Risk Analysis → Growth.
SkillDFreshness: D★ 17Claude Code +9
Signals
- Stars
- 17
- Forks
- 9
- Open issues
- 6
- Last commit (this folder)
- May 17, 2026 (5 months ago)
- Last release
- Feb 6, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/4444J99/a-i--skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from 4444J99
- 0.646score
d2l-discussion-responder
4444J99
Review D2L/Brightspace discussion threads as an instructor, identify unanswered questions, verify course facts, and draft concise replies in the instructor's…
SkillAFreshness: A★ 17Claude Code +9 - 0.646score
domain-ideal-whole-substrate
4444J99
Foundational layer beneath PDE.
SkillAFreshness: A★ 17Claude Code +9 - 0.646score
artifact-resurfacing
4444J99
Four-phase protocol for clearing accumulated drift between memory claims, CLAUDE.md citations, and on-disk reality.
SkillAFreshness: A★ 17Claude Code +9 - 0.641score
conversation-content-pipeline
4444J99
Transform AI conversations and chat transcripts into publishable content including blog posts, documentation, tutorials, and knowledge base entries.
SkillAFreshness: A★ 17Claude Code +9 - 0.641score
document-audit-extraction
4444J99
Audit document collections to extract features, identify patterns, assess quality, and build structured inventories.
SkillAFreshness: A★ 17Claude Code +9 - 0.637score
closeout
4444J99
Session-end ritual that walks back through plans authored and atoms touched in this session, assigning each a closure status (DONE-NNN, IRF-XXX-NNN, or…
SkillAFreshness: A★ 17Claude Code +9
Cite this page
continuous-learning-agent skill. Agent Mart. https://agentmart.dev/skills/4444j99-continuous-learning-agent (last updated 2026-10-24)