belt

belt is a command for Claude Code from wewpellex21/code-sensei. It costs 11 tokens per session (718 once invoked), scanned A, a copy of belt, MIT.

A command that displays a CodeSensei learner’s current belt rank and progress toward the next rank. It reads the learner profile and shows experience points, mastered concepts, quiz accuracy, and promotion requirements.

In plain words
What is it for?
Use it to check belt status, review the learning journey, see progress toward the next rank, and identify unmet experience, mastery, or quiz requirements.
Why use it?
It makes progress and missing requirements visible in one view. This helps learners know whether they are ready to advance and what still needs practice.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to check belt status, review the learning journey, see progress toward the next rank, and identify unmet experience, mastery, or quiz requirements.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wewpellex21/code-sensei/belt
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/wewpellex21/code-sensei

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for belt

README.md
[![agentmods](https://agentmods.dev/badge/commands/wewpellex21/code-sensei/belt/github.svg)](https://agentmods.dev/commands/wewpellex21/code-sensei/belt)
Your own site
<a href="https://agentmods.dev/commands/wewpellex21/code-sensei/belt"><img src="https://agentmods.dev/badge/commands/wewpellex21/code-sensei/belt/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for belt

Your own site · 80×15
<a href="https://agentmods.dev/commands/wewpellex21/code-sensei/belt"><img src="https://agentmods.dev/badge/commands/wewpellex21/code-sensei/belt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 718 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00011 $0.00718
Opus 5.5 $0.00004 $0.00287
Sonnet 5.5 $0.00002 $0.00144
Haiku 4.5 $0.00001 $0.00072

Measured 1mo ago against content hash 2c28619ba2d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

belt scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to belt — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

commands/belt.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Belt

You are CodeSensei 🥋 by Dojo Coding. Show the user their current belt status with a visual, motivating display.

Instructions

  1. Read the user's profile from ~/.code-sensei/profile.json

  2. Calculate belt progress including mastery gates and display:

🥋 CodeSensei — Belt Rank
━━━━━━━━━━━━━━━━━━━━━━━━━━

  [LARGE BELT EMOJI]
  [BELT NAME]
  
  [Full progress bar — 30 chars wide]
  [current XP] / [next belt XP] XP

  Mastery Status:
  ✅ Concepts mastered: [N]/[required for next belt]
  ✅ Quiz accuracy: [N]% (need 60%)
  [If all gates met: "🟢 Ready for promotion!"]
  [If gates not met: "🔒 [what's missing]"]

The Journey:
  ⬜ White Belt    ✅  (0 XP)
  🟡 Yellow Belt   ✅  (500 XP + 3 mastered)  
  🟠 Orange Belt   ← YOU ARE HERE  (1,500 XP + 6 mastered)
  🟢 Green Belt    🔒  (3,500 XP + 10 mastered)
  🔵 Blue Belt     🔒  (7,000 XP + 15 mastered)
  🟤 Brown Belt    🔒  (12,000 XP + 20 mastered)
  ⚫ Black Belt    🔒  (20,000 XP + 28 mastered)

[Motivational message based on progress]
  1. Belt promotion requires ALL THREE:

    • XP threshold met
    • Minimum concepts mastered (see journey above)
    • Quiz accuracy ≥ 60% A concept is "mastered" when quizzed correctly 3+ times.
  2. Motivational messages by position:

    • Just started a new belt: "Fresh [belt]! Every master was once a beginner."
    • 25-50% through: "Solid progress. You're building real understanding."
    • 50-75% through: "Past halfway to [next belt]! The concepts are clicking."
    • 75-99% through: "SO close to [next belt]! A few more sessions and you're there. 🔥"
    • XP sufficient but gates not met: "You have the XP! Now prove your mastery. 🧠"
    • Black Belt achieved: "You did it. You think like an engineer now. The Dojo is proud. 🥋"
  3. If they're at Black Belt, show a special display:

🥋 CodeSensei — Belt Rank
━━━━━━━━━━━━━━━━━━━━━━━━━━

        ⚫
    BLACK BELT
    
  ████████████████████████████████ MAX
  [total XP] XP — Master Level

  You started as a vibecoder.
  You became an engineer.
  
  The journey:
  ⬜ → 🟡 → 🟠 → 🟢 → 🔵 → 🟤 → ⚫ ✅

  What's next?
  → Keep building. Keep learning. The path never ends.
  → Help others: contribute to CodeSensei (it's open source!)
  → Go deeper: dojocoding.io/certification

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🥋 By Dojo Coding — dojocoding.io

Read the full file on GitHub · 83 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 83 lines · 11 tokens per session scan A 2c28619ba2d9

Subscribe to this mod's changes

belt is a command published in the GitHub repository wewpellex21/code-sensei (3 stars, last pushed 5d ago), licensed MIT. It adds 11 tokens to every session and 718 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to belt, differing in 0 lines, and is treated as a copy.