Skip to content

AnjanJ/bodhikit

Repository files navigation

BodhiKit

Buy Me A Coffee Sponsor

Research-backed interactive coding tutor for Claude Code.

Bodhi (Pali: "awakening") is a patient, wise guide that teaches you anything in the world of coding, software engineering, and tech. It does not write code for you. It teaches you to write code yourself.

What Makes BodhiKit Different

  • Research-backed: Built on proven learning science (Oakley, Feynman, Bloom, Vygotsky, Ericsson, Dweck, Bjork)
  • Deeply personalized: Assesses your unique skill level, builds a custom learning plan, adapts to your pace
  • Proactive teaching: /teach walks you through concepts step by step, not just answering questions
  • Hands-on: Learn by doing. Exercises, projects, code review. Never just reading.
  • Remembers your journey: Spaced repetition, progress tracking, cross-session continuity
  • Metacognitive reflection: End-of-session /reflect builds your awareness of HOW you learn
  • One command sessions: /continue auto-invokes status, teaching, practice, and reflection
  • Honest and wise: Feedback that is respectful, specific, and genuinely helpful

Install

/plugin marketplace add https://codeberg.org/AnjanJ/bodhikit.git
/plugin install bodhikit@bodhikit

Restart Claude Code after installing to load the plugin.

Important: Enable only where you need it. BodhiKit loads 15 knowledge bases. To avoid polluting context in other projects, enable it per-project instead of globally. In your learningWithBodhi/.claude/settings.json:

{
  "enabledPlugins": {
    "bodhikit@bodhikit": true
  }
}

Or disable it in projects where you do not need it by adding to .claude/settings.local.json:

{
  "enabledPlugins": {
    "bodhikit@bodhikit": false
  }
}

Or test locally without installing:

claude --plugin-dir ~/code/bodhikit

That's it. All skills, agents, rules, and knowledge bases are immediately available.

Quick Start

/bodhikit:learn react        # Start learning React
/bodhikit:continue           # Resume — auto-runs status, teach, reflect
/bodhikit:teach              # Guided teaching of the next concept
/bodhikit:quiz               # Test your knowledge
/bodhikit:status             # Quick 3-line check-in
/bodhikit:progress           # Full progress dashboard

Skills (17)

Skill Description
/learn Start a new learning project with assessment and personalized plan
/continue Resume from where you left off — auto-invokes teach, reflect, status
/teach Proactive guided teaching: explain, demonstrate, practice, verify
/assess Standalone skill assessment on any topic
/review Educational code review (local files, GitHub, GitLab, Codeberg)
/quiz Active recall check with spaced repetition tracking
/plan View, adjust, or regenerate your learning plan
/progress Learning progress dashboard
/resources Find, verify, and manage learning resources
/explain Deep-dive explanation using the Feynman technique
/practice Hands-on exercise calibrated to your level
/evaluate Comprehensive evaluation of your learning journey
/reflect End-of-session metacognitive reflection
/status Quick 3-line check-in: project, module, streak, concepts due
/mentor Career and learning path guidance using the GROW model
/pair Pair programming: strong-style, ping-pong, or navigator mode
/debug-together Scientific debugging: reproduce, hypothesize, probe, isolate, fix

Agents (3)

Agent Model Purpose
skill-assessor Sonnet Adaptive Bloom's taxonomy skill evaluation
code-reviewer Sonnet Educational code review (what code reveals about understanding)
resource-finder Haiku Web search for verified free learning resources

Knowledge Bases (15)

Each learning methodology lives in its own focused knowledge base, loaded only when needed (progressive disclosure):

Knowledge Base Purpose
spaced-repetition Ebbinghaus forgetting curve, Leitner box system
blooms-taxonomy 6 cognitive levels for programming, mastery criteria
zone-of-proximal-development Three zones, detection signals, scaffolding strategy
feynman-technique 4 steps for deep understanding, when to use
deliberate-practice Targeted exercises at the edge of ability
growth-mindset Language patterns, praising strategy over talent
desirable-difficulties Spacing, interleaving, retrieval, generation, variation
metacognition Teaching learners HOW to learn, Dunning-Kruger, illusions of competence
constructivism Spiral curriculum, project progression by level
ai-learning-safeguards Risks of AI over-reliance, structural safeguards
mentoring-theory GROW model, Kram's career and psychosocial functions
pair-programming Strong-style, driver/navigator, ping-pong TDD, Williams & Kessler
scientific-debugging TRAFFIC method, debugging mindset, wolf fence, expert vs novice
assessment-framework Question templates by Bloom's level, exercise design
teaching-personality Oogway/Yoda/Buddha/Ambedkar personality guide

Path-Scoped Rules (1)

Rule Activates On
learning-project Files inside learningWithBodhi/ directories

Learning Project Structure

When you start learning, BodhiKit creates a project folder:

learningWithBodhi/
├── react-fundamentals/
│   ├── .bodhi/              # Progress tracking
│   │   ├── state.json       # Current position, streak, session history
│   │   ├── plan.md          # Your personalized learning plan
│   │   ├── progress.md      # Per-topic mastery levels
│   │   ├── spaced-review.json  # Leitner box system for retention
│   │   ├── assessment.md    # Assessment history
│   │   └── resources.md     # Curated resources
│   ├── exercises/           # Hands-on exercises
│   ├── projects/            # Larger project work
│   └── notes/               # Your personal notes

We recommend backing this with git and a remote repository.

See docs/example-project/ for a realistic example of what these tracking files look like after a few sessions.

How a Session Works

Run /bodhikit:continue and the plugin handles the entire flow:

/continue
  ├── /status       → quick 3-line check-in
  ├── spaced review → quiz on concepts due for review
  ├── /teach        → guided teaching of the next concept
  │     ├── explain with analogies and code examples
  │     ├── work through a problem together
  │     ├── independent exercise
  │     └── quick retention check
  └── /reflect      → end-of-session metacognitive reflection

One command. Complete learning session. No need to remember which skills to invoke.

The Science

BodhiKit integrates these research-backed methodologies. We stand on the shoulders of giants:

The Philosophy

BodhiKit speaks with the voice of a wise, patient teacher. Think Master Oogway, Yoda, Gautama Buddha, and Dr. B.R. Ambedkar.

  • The learner writes code. BodhiKit asks questions.
  • Every struggle is an opportunity for growth.
  • Honest feedback, wrapped in compassion.
  • The goal is to become unnecessary.

Learn More

Read the full blog post on Medium — detailed scenarios, the science behind the plugin, and how to get the most out of it.

Uninstall

/plugin uninstall bodhikit@bodhikit

Your learningWithBodhi/ project folders are not affected.

License

MIT

Support

If this project saves you time, consider sponsoring. It keeps development going and lets me know people are finding it useful.

Sponsor on GitHub  Buy Me A Coffee


Made with ❤️ by Anjan

About

Research-backed interactive coding tutor for Claude Code. Mirror of codeberg.org/AnjanJ/BodhiKit

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors