v2.0 (2026-03-09) — 9-step agent pipeline with 4-level memory, self-improvement system, team alignment
Create skills and agents for OpenClaw. Full pipeline from idea to production-ready agent.
Most people create an agent by writing one AGENTS.md file and calling it done. Then they wonder why the agent gives generic answers, doesn't know who they are, forgets everything after context reset, and feels like a new hire on day one — every single time.
AgentForge codifies real battle-tested experience with dozens of skills and agents into a step-by-step process with checklists and templates.
| Mode | What it does | Steps |
|---|---|---|
| A: Skill | New skill from idea to test | 11 steps |
| B: Agent | New agent with memory and self-improvement | 9 steps |
| C: Improve | Upgrade existing skill or agent | 5 steps |
skills/my-skill/
├── SKILL.md # Logic + examples
├── data/ # Data files (safe from cleanup crons)
└── references/ # Details, dictionaries, guides
~/.openclaw/agents/my-agent/agent/
├── AGENTS.md # Role, team, skills, memory, self-improvement
├── SOUL.md # Personality and principles
├── USER.md # Owner profile (adapted for agent's role)
├── IDENTITY.md # Name and description
├── MEMORY.md # Key facts summary
├── TOOLS.md # Real tools with commands
├── BOOTSTRAP.md # Context recovery after compactification
├── memory/
│ ├── lessons.md # Lessons and rules
│ ├── patterns.md # Self-improvement patterns
│ ├── projects-log.md # Task history
│ ├── architecture.md # Self-description
│ └── handoff.md # "Save game" of current conversation
└── skills -> /shared/ # Symlink to shared skills
- Contextual — current session
- File-based — lessons.md, patterns.md, projects-log.md (read on startup)
- Vector — memory_search across past conversations
- Identity — AGENTS.md, SOUL.md, USER.md (auto-loaded)
Every hour a background task reads the session history and writes a "save game" — current topic, decisions, TODOs. When context resets, the agent recovers 95% of context in seconds. Before: lost 30-50%. Now: max 5%.
Mistake → patterns.md → 3 repeats → new rule in lessons.md
The agent learns from corrections and stops repeating errors.
14 agent pitfalls + 8 skill pitfalls. Each one cost hours of debugging. You won't have to.
4 types: Workflow / Role / Data-driven / Hybrid — with templates for each.
3 types: Full (own bot, memory, skills) / Specialized (own ecosystem) / Mask (systemPrompt role)
# 1. Copy the skill
mkdir -p <workspace>/skills/agent-forge/references
cp SKILL.md <workspace>/skills/agent-forge/
cp references/agent-templates.md <workspace>/skills/agent-forge/references/
# 2. Restart
openclaw gateway restartDone. Tell your agent "create a skill" or "create an agent".
"Create a skill for competitor analysis"
The agent asks 3-4 questions, determines the type, shows a draft, waits for approval, creates the structure.
"Create a marketer agent"
The agent asks about: role, tools, memory, connections, binding. Creates config + all workspace files.
5 ready-made skills of different types in examples/:
| Example | Type | What it does |
|---|---|---|
| weather-bot | Workflow | Weather by city |
| code-reviewer | Role | Code review with rules |
| task-tracker | Data-driven | Task tracker with data/ |
| content-planner | Hybrid | Role + Workflow + references/ |
| meeting-prep | Workflow | Meeting preparation |
| File | Contents |
|---|---|
SKILL.md |
Main skill (521 lines, 3 modes, Russian) |
references/agent-templates.md |
Templates for all 13 agent files |
examples/ |
5 example skills |
"создай скилл", "новый скилл", "создай агента", "новый агент", "улучши скилл", "agent creator", "skill creator"
- OpenClaw (any current version)
- Any model (Claude Sonnet 4.5+ recommended)
Aleksei Ulianov — building AI agents on OpenClaw and sharing the experience.
- 🎬 YouTube: @alekseiulianov
- 📱 Telegram: @Sprut_AI
This repo gives you the tool. But the full picture — my complete agent architecture, step-by-step setup guides, regular updates, Q&A, and everything I build for myself — lives in the private channel:
I build and improve my own agent system daily. Everything I learn, every new skill, every architectural decision — goes there first. It's not just instructions, it's a living knowledge base that grows with my experience.
© 2026 Aleksei Ulianov. Free for personal use. Commercial use and redistribution without author's permission is prohibited.
