<h1 align="center">Learn Anything</h1>
<p align="center">
<strong>AI-Powered Recursive Learning System</strong><br />
Turn your AI coding assistant into an interactive tutor — Socratic method & TDD-style exercises.
</p>
<p align="center">
<a href="https://www.npmjs.com/package/learn-anything-cli"><img src="https://img.shields.io/npm/v/learn-anything-cli?color=blue&label=npm" alt="npm version" /></a>
<a href="https://nodejs.org/"><img src="https://img.shields.io/badge/node-%3E%3D20.0-green" alt="Node.js" /></a>
<a href="https://pnpm.io/"><img src="https://img.shields.io/badge/pnpm-workspace-orange" alt="pnpm workspace" /></a>
<a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="License MIT" /></a>
</p>
<p align="center">
<a href="./README.md">English</a> · <a href="./README.zh-CN.md">中文</a>
</p>
What is Learn Anything?
Learn Anything generates skill and command files for 30+ AI coding tools — Claude Code, Cursor, Codex, OpenCode, and more. Once generated, your AI assistant gains five slash commands that guide you through systematically mastering any technical topic:
- 🧭 Choose your own path — AI generates a knowledge map; you decide what to learn next
- 🎓 Recursive learning method — Recursive explanations that follow your curiosity as deep as you want
- 🧪 TDD-style practice — Write real code with structured feedback, from beginner to challenge
- 📊 Spaced repetition — Smart review that surfaces weak spots when you need them most
- 🔥 Knowledge visualization — Heatmap showing exactly where you stand
Quick Start
# Interactive mode — auto-detects your AI tools and prompts you to choose
npx learn-anything-cli init
# Target specific tools
npx learn-anything-cli init --tools claude
# Or install globally
pnpm add -g learn-anything-cli # npm install -g learn-anything-cli
learn-anything init
Context7 Integration (optional)
During init or update, you'll