Dev.to
7/10/2026

Teaching Claude Code to Write and Grow Its Own Skills: A Self-Replicating Agent Environment
Short summary
The author describes a system where Claude Code automatically discovers and writes reusable skills to ~/.claude/skills/auto/, accumulating 64 auto-generated skills over months. A two-tier pipeline handles in-session and nightly batch generation, while a weekly Curator retires stale skills. The design carefully limits generation triggers to prevent noise and separates auto-generated skills from hand-written ones.
- •Claude Code auto-generates reusable skills in-session and via nightly batch harvesting
- •64 skills accumulated over months with deduplication and cost-guard mechanisms
- •Weekly Curator demotes unused skills after 30 days and archives them after 90
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



