Continuous Learning for Claude Code: Skills + Slash Commands That Update After Every Session
Watch on TikTok
Claude Code can learn after every session, not just remember. The technique uses two building blocks: Claude skills (reusable playbooks) and slash commands (quick shortcuts). Combined, they create a feedback loop where the AI updates its own skills based on what worked and what failed in each session.
Step 1: Create a Claude Skill
A skill is a reusable playbook that Claude follows the same way every time. It can include your prompt, examples, sample outputs, code snippets, and supporting files. You can ask Claude Code to help you create the skill itself. The skill encodes how you want a specific workflow or process handled.

Step 2: Create a Slash Command
A slash command is a shortcut that runs a saved workflow or prompt. Instead of rewriting instructions every session, you type the command and it executes. The key is what the slash command does. It needs to do three things:
- Read the entire conversation from the session you just had
- Extract what worked, what failed, and any learnings
- Process those learnings and update the skill you created in Step 1
The creator calls this command "retrospective." After using a skill, you run the retrospective, and it takes the full conversation context and updates the skill file with new learnings.

The Feedback Loop in Action
The demo shows a discovery session analyzer skill being used on an "audit" subfolder. After the first run, the creator notes improvements needed: output should be a Word doc, it should show how long it took, and it should explain why it recommended a specific AI solution. Running the retrospective slash command captures all of these notes and updates the skill.
When the same skill runs on a different subfolder ("tax"), all the improvements from the audit session are automatically applied. The output is now a Word doc, includes creation notes with timing, and explains the rationale for recommendations.

Scaling to Agent Swarms
The creator shows a more advanced version in Cursor with six agents, each pulling from a specific skill. After every run of the agent swarm, a retrospective command automatically updates each agent's skill. The same pattern scales from a single skill to a full multi-agent system.

Key Takeaways
- Claude skills are reusable playbooks; slash commands are shortcuts that trigger workflows
- A "retrospective" slash command reads the full session, extracts learnings, and updates the skill file automatically
- This pattern scales from a single skill to multi-agent swarms where each agent's playbook improves after every run
Resources
- Claude Code Documentation -- Official docs covering skills and slash commands
- @karl.yeh_ai_explorer on TikTok -- More content on Claude Code workflows and continuous learning patterns
Published May 25, 2026. Writeup generated from a favorited TikTok.