hooks — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited hooks (Hook) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
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.
<p align="center"> <img src="codesenseicover.png" alt="CodeSensei — Learn to code while you build" /> </p>
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:
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.
jq installed locallybrew install jqsudo apt install jqjq is required for profile tracking, imports, quizzes, and diagnostics.
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.
Inside Claude Code:
/plugin marketplace add DojoCodingLabs/code-sensei
/plugin install code-sensei@code-senseiAfter install:
/code-sensei:progress to initialize your local profile/code-sensei:level background marketing (or design, finance, medicine, etc.)/code-sensei:explain after a code change you want to understand/code-sensei:doctor if you want to verify setup or inspect local storage pathsInside Claude Code:
/plugin marketplace update DojoCodingLabs/code-sensei
/plugin update code-sensei@code-senseiRestart your Claude Code session after updating so hooks reload cleanly.
git clone https://github.com/DojoCodingLabs/code-sensei.git
cd code-sensei
/plugin marketplace add .
/plugin install code-senseiCodeSensei currently ships with 10 commands:
| Command | What it does |
|---|---|
/code-sensei:explain | Explain what Claude just changed in terms you understand |
/code-sensei:quiz | Test your understanding with a contextual quiz |
/code-sensei:why | Explain why a specific decision or pattern was used |
/code-sensei:progress | Show your learning dashboard, streak, mastery, and next belt requirements |
/code-sensei:recap | Summarize what you learned in the session |
/code-sensei:level | Adjust difficulty or set your professional background |
/code-sensei:belt | Show current belt rank and progress |
/code-sensei:export | Export your local profile for backup or migration |
/code-sensei:import | Restore a profile from a previous export |
/code-sensei:doctor | Verify setup health and inspect exactly what CodeSensei stores locally |
Prompt Claude to create files, edit code, install dependencies, and run commands.
CodeSensei listens for file changes and shell commands, then queues lightweight teaching moments locally.
Use /code-sensei:explain, /code-sensei:why, or /code-sensei:quiz whenever you want to understand something better.
White Belt gets analogy-first explanations. Advanced belts get more technical language, tradeoffs, and architecture discussion.
Your profile lives in ~/.code-sensei/ and carries across projects on that machine.
⬜ White Belt → 0 XP “You wrote your first prompt”
🟡 Yellow Belt → 500 XP “You understand files & folders”
🟠 Orange Belt → 1,500 XP “You get frontend vs backend”
🟢 Green Belt → 3,500 XP “You can read and modify code”
🔵 Blue Belt → 7,000 XP “You understand APIs & databases”
🟤 Brown Belt → 12,000 XP “You can architect a full app”
⚫ Black Belt → 20,000 XP “You think like an engineer”Promotion is not XP-only.
Each new belt also requires:
That keeps progress tied to understanding, not just activity.
“Claude just added a translator to your server. Raw form data arrives as text, and this translator turns it into something your code can actually read.”
“Claude added middleware to parse JSON before requests hit your route handlers, so req.body is already normalized when your business logic runs.”Same project. Same concept. Different depth.
Set a background with /code-sensei:level background marketing and CodeSensei will adapt examples to your field.
Examples:
CodeSensei currently includes:
Categories:
Everything lives under ~/.code-sensei/.
Primary files:
profile.json — belt, XP, streaks, quiz stats, preferences, mastered conceptsprofile.json.backup — last backup created during importsession-commands.jsonl — recent command log, truncated and redactedsession-changes.jsonl — recent file-change logsessions.log — compact session start/stop historypending-lessons/ — queued teaching moments for the current sessionlessons-archive/ — archived teaching momentserror.log — local script errors onlyRetention:
session-commands.jsonl keeps the most recent 1000 linessession-changes.jsonl keeps the most recent 1000 linessessions.log keeps the most recent 500 lineslessons-archive/ keeps the last 30 daily archive filespending-lessons/ is cleared at session endSensitive data handling:
For a more detailed breakdown, see PRIVACY.md.
CodeSensei is designed to be local-first.
The shell scripts in this repo:
Important precision:
/code-sensei:doctorIf you ever want a clean reset, delete ~/.code-sensei/.
code-sensei/
├── .claude-plugin/
│ ├── plugin.json
│ └── marketplace.json
├── commands/ # 10 slash commands
├── agents/
│ └── sensei.md # teaching agent prompt
├── hooks/
│ └── hooks.json # SessionStart, SessionEnd, PostToolUse hooks
├── scripts/ # local runtime behavior (bash + jq)
├── skills/ # teaching modules
├── data/
│ ├── concept-tree.json # 45 concepts across 10 categories
│ └── quiz-bank.json # 124 quiz items
└── tests/Contributions are welcome.
High-value areas:
See CONTRIBUTING.md.
Dojo Coding is a LATAM-first tech education ecosystem helping more people become builders.
CodeSensei is free forever, open source, and designed to help users go from “I shipped something with AI” to “I understand what I’m building.”
Learn more:
MIT License.
<p align="center"> <strong>From vibecoder to engineer — one session at a time.</strong><br> <em>Free. Open source. By <a href="https://dojocoding.io">Dojo Coding</a>.</em> </p>
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.