by ChenChenyaqi
Learn Anything is an AI-powered recursive learning system — Socratic deep-dives and TDD-style exercises integrated directly into your coding assistant.
# Add to your Claude Code skills
git clone https://github.com/ChenChenyaqi/learn-anythingGuides for using ai agents skills like learn-anything.
learn-anything is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by ChenChenyaqi. Learn Anything is an AI-powered recursive learning system — Socratic deep-dives and TDD-style exercises integrated directly into your coding assistant. It has 207 GitHub stars.
learn-anything's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/ChenChenyaqi/learn-anything" and add it to your Claude Code skills directory (see the Installation section above).
learn-anything is primarily written in TypeScript. It is open-source under ChenChenyaqi on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh learn-anything against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
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:
# 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
During init or update, you'll be prompted to enable Context7 for documentation verification. When enabled, the AI fetches official docs and cross-references its explanations against authoritative sources — dramatically improving teaching accuracy.
Setup: Run
npx ctx7 setupor visit the Context7 docs for your AI tool.
| Command | What it does |
|---|---|
/learn:topic <name> |
Initialize a topic, generate a knowledge map, track progress |
/learn:explain <name> |
Recursive learning method — go as deep as you want |
/learn:practice <name> |
TDD-style coding exercises with structured feedback |
/learn:review [name] |
Spaced repetition review with personalized next-step plan |
/learn:status [name] |
Knowledge map heatmap — mastery, practice counts, confidence |
Start a zero-config web dashboard to browse your learning data:
# Start the visual dashboard (no npm install needed)
learn-anything serve
# Custom port
learn-anything serve --port 8080
# Disable auto-open browser
learn-anything serve --no-open
The dashboard is pre-built and shipped with the CLI — no extra dependencies or
npm installrequired.
The dashboard provides:
Your Project/
├── .claude/
│ ├── commands/learn/ # Slash commands for Claude
│ └── skills/ # Skill files with full workflow instructions
├── .cursor/commands/ # Cursor-specific command format
├── .gemini/commands/learn/ # Gemini TOML-format commands
├── .codex/prompts/ # Codex prompt files
│ ... # (30+ other tool formats)
│
├── .learn/ # 🧠 Your learning data lives here
│ └── topics/
│ └── typescript/
│ ├── state.json # Single source of truth
│ ├── knowledge-map.md # Auto-rendered from state.json
│ ├── sessions/ # Session history for spaced repetition
│ └── exercises/ # TDD-style coding exercises
└── ...
Each AI tool receives tool-appropriate file formats via an adapter pattern — YAML frontmatter for Claude, TOML for Gemini, Markdown for Cursor, etc.
learn-anything/
├── packages/
│ ├── cli/ # learn-anything-cli — published to npm
│ │ ├── site/ # Dashboard source (Vue 3 + Vite)
│ │ ├── scripts/ # Build scripts (bundle-site.mjs)
│ │ ├── src/
│ │ │ ├── cli/ # Commander.js CLI entry point
│ │ │ ├── core/ # init, config, command generation, templates
│ │ │ ├── i18n/ # en + zh-CN locales
│ │ │ └── utils/ # Filesystem, interactive helpers
│ │ ├── bin/ # learn-anything binary
│ │ └── package.json
│ └── gui/ # learn-anything-gui — coming soon 🚧
│ └── README.md
├── pnpm-workspace.yaml # pnpm workspace config
├── tsconfig.base.json # Shared compiler options
├── package.json # Workspace root (private)
└── pnpm-lock.yaml
| Package | npm | Description |
|---|---|---|
learn-anything-cli |
CLI tool — generate skill/command files for 30+ AI tools | |
learn-anything-gui |
private | Graphical desktop interface (in development) |
Manage, Amazon Q Developer, Antigravity, Auggie, Bob Shell, Claude Code, Cline, Codex, ForgeCode, CodeBuddy Code, Continue, CoStrict, Crush, Cursor, Factory Droid, Gemini CLI, GitHub Copilot, iFlow, Junie, Kilo Code, Kiro, OpenCode, Pi, Qoder, Lingma, Qwen Code, RooCode, Trae, Windsurf, and AGENTS.md-compatible assistants.
# Update existing skill files to the latest version (auto-detects installed tools)
npx learn-anything-cli update
git clone https://github.com/ChenChenyaqi/learn-anything.git
cd learn-anything
pnpm install
| Command | Description |
|---|---|
pnpm build |
Build all packages (tsc) |
pnpm test |
Run all tests (vitest run) |
pnpm test:watch |
Run tests in watch mode |
pnpm dev |
TypeScript watch mode (all packages) |
pnpm lint |
Lint all packages (eslint) |
pnpm format |
Format code (prettier) |
pnpm dev:site |
Dev server for the visual dashboard |
pnpm -F learn-anything-cli build # Build only CLI
pnpm -F learn-anything-cli test # Test only CLI
pnpm -F learn-anything-cli dev:cli # Build and run CLI locally