Claude Code Mastery
16 partsTL;DR
Claude Code skills can now reflect on sessions, extract corrections, and update themselves with confidence levels. Your agent gets smarter every time you use it.
You correct Claude on something - maybe a button selector, a naming convention, or a validation check. The fix works. Session ends. Next day, same mistake.
It happens again. And again.
LLMs don't learn from you. Every conversation starts from zero. That's not a feature. It's friction.
This affects every coding harness, every model. Without memory, your preferences aren't persisted. You're repeating yourself forever.
Claude Code now supports something different: skills that analyze sessions, extract corrections, and update themselves with confidence levels.

The mechanism is elegant because it stays simple. No embeddings. No vector databases. No complexity. Just a markdown file that learns and lives in Git.
Here's how it works.
The /reflect command analyzes your conversation in real-time. It scans for:
From those signals, Claude extracts learnings and proposes updates to your skill file.
Example flow:
code-review skill/reflect code-review
You approve, Claude commits to Git with a message. Rolled back if something breaks. Version control tracks every evolution.
That's manual. You're in charge. Good for starting out.
Get the weekly deep dive
Tutorials on Claude Code, AI agents, and dev tools - delivered free every week.
For maximal learning, bind the reflect mechanism to a stop hook - a command that runs when your Claude Code session ends.
#!/bin/bash
# .claude/hooks/stop.sh
reflect --auto
Now every session automatically:
No intervention. Silent learning. Your coding harness evolves in the background.
You'll see a notification like: "Updated code-review skill from session insights."

But here's the catch: confidence matters. If you're using auto-reflect, you need confidence in what's being learned. Start with manual. Get comfortable. Then automate.
Most "memory systems" are black boxes - embeddings, similarity scores, retrieval chains. You can't debug them. You can't audit them. You can't roll them back cleanly.
This approach is different:
Over time, you watch your system evolve. Front-end skills learn DOM patterns. API design skills absorb your architecture preferences. Security skills tighten validation logic.
Each skill becomes a living artifact of your standards.
This isn't just for general coding. The pattern works anywhere:
Any skill can reflect. Any skill can learn.
/reflect [skill-name] after sessions where you corrected something.The goal is simple: correct once, remember forever.
Technical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
Anthropic's agentic coding CLI. Runs in your terminal, edits files autonomously, spawns sub-agents, and maintains memory...
View ToolAI-native code editor forked from VS Code. Composer mode rewrites multiple files at once. Tab autocomplete predicts your...
View Tool
New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.
The original AI coding assistant. 77M+ developers. Inline completions in VS Code and JetBrains. Copilot Workspace genera...
Configure Claude Code for maximum productivity -- CLAUDE.md, sub-agents, MCP servers, and autonomous workflows.
AI AgentsInstall Claude Code, configure your first project, and start shipping code with AI in under 5 minutes.
Getting StartedInstall the dd CLI and scaffold your first AI-powered app in under a minute.
Getting Started
Setting Up Self-Improving Skills in Claude Code: Manual & Automatic Methods In this video, you'll learn how to set up self-improving skills within Claude Code. The tutorial addresses the key problem

Unlocking Continual Learning in Claude Code with Skills In this video, we delve into the concept of continual learning within Claude Code. The traditional approach to developing AI agents...

Anthropic has released Channels for Claude Code, enabling external events (CI alerts, production errors, PR comments, Discord/Telegram messages, webhooks, cron jobs, logs, and monitoring signals) to b

Skills turn Claude Code sessions into persistent memory. Successes and failures get captured, progressively disclosed, a...

MCP servers and function calling both let AI tools interact with external systems. They solve different problems. Here i...

Anthropic's computer use feature lets Claude see your screen, move the cursor, click, and type. Here is how it works, wh...