Code Sensei
Claude Code plugin that teaches programming while you vibecode, contextual explanations, micro-quizzes, and belt progression. Free & open source by Dojo Coding.
Install: /plugin marketplace add DojoCodingLabs/code-sensei
Works with Claude Code · 14 GitHub stars
Install
/plugin marketplace add DojoCodingLabs/code-senseiInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →CodeSensei
An in-context coding tutor for Claude Code, for builders who ship with AI and want to understand what they built.
CodeSensei is a free, open-source Claude Code plugin by Dojo Coding that turns every coding session into a learning session.
It watches what you build locally, explains what just happened in plain language, quizzes you on concepts from your own project, and tracks your growth with a martial arts belt progression system.
Get started · Commands · Privacy · Contribute · Report an issue
Why it exists
Millions of people are building with AI before they fully understand the code.
That is not a failure — it is a new starting point.
The problem is what happens next:
- something breaks
- a new feature needs a custom change
- the AI explanation feels too abstract
- the user realizes they shipped something they cannot yet reason about
CodeSensei closes that gap.
Instead of forcing people to stop building and go study in a separate environment, it teaches inside the workflow they already use.
What you get
- 🧠 Contextual explanations — learn from your actual project, not fake toy examples
- 🧩 Micro-quizzes — quick checks that reinforce understanding instead of syntax memorization
- 🥋 Belt progression — White Belt to Black Belt, earned through XP + mastery gates
- 🔁 Persistent local profile — progress follows you across projects on the same machine
- 🎯 Adaptive teaching — explanations adjust to your belt level and professional background
- 🔒 Local-first design — no telemetry, no external calls, no code uploads from the plugin scripts
Quick start
Requirements
- Claude Code with plugin support
jqinstalled locally- macOS:
brew install jq - Ubuntu/Debian:
sudo apt install jq
- macOS:
jq is required for profile tracking, imports, quizzes, and diagnostics.
Supported platforms
- ✅ macOS
- ✅ Linux
- ⚠️ Windows via WSL recommended
CodeSensei is a Unix-shell plugin today. Its runtime depends on bash, jq, and standard Unix tools, so WSL is the safest path on Windows.
Install from marketplace
Inside Claude Code:
/plugin marketplace add DojoCodingLabs/code-sensei
/plugin install code-sensei@code-sensei
First-run flow
After install:
- Run
/code-sensei:progressto initialize your local profile - Optional: run
/code-sensei:level background marketing(or design, finance, medicine, etc.) - Build normally with Claude Code
- Use
/code-sensei:explainafter a code change you want to understand - Run
/code-sensei:doctorif you want to verify setup or inspect local storage paths
Update
Inside Claude Code:
/plugin marketplace update DojoCodingLabs/code-sensei
/plugin update code-sensei@code-sensei
Restart your Claude Code session after updating so hooks reload cleanly.
Local development install
git clone https://github.com/DojoCodingLabs/code-sensei.git
cd code-sensei
/plugin marketplace add .
/plugin install code-sensei
Commands
CodeSensei currently ships with 10 commands:
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code, like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…