Home / Claude Code mods / Security / code-buddy

code-buddy

code-buddy is a Claude Code mod by jkm-4314 that a rubber duck in your Claude Code session: a quiet second opinion on each turn, a guard for risky commands, reminders, and lessons about your codebase.

Updated 2026-10-05

What is code-buddy?

code-buddy is a Claude Code mod by jkm-4314 that a rubber duck in your Claude Code session: a quiet second opinion on each turn, a guard for risky commands, reminders, and lessons about your codebase. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
Authorjkm-4314
Repositoryjkm-4314/code-buddy
Popularityno public popularity data yet
CategorySecurity
SecurityHigh risk (56/100)
Rank#6,606 of 9,397 Claude Code mods; #704 in Security
LicenseMIT
Last commit2026-10-05
Hooks9 events
Seesclassic hooks, every prompt, every tool call
Draws onPane, AbovePrompt

Is code-buddy safe to install?

code-buddy scores 56/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; watches every prompt or event. It passed 3 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.clock.sleep
$.command.register
$.config.setchanges config
$.fs.statreads files
$.model.forkdrives Claude
$.process.runruns processes
$.prompt.fillwrites the prompt box
$.prompt.read
$.session.usage
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install code-buddy?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/jkm-4314/code-buddy
    claude plugin validate ./code-buddy/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add jkm-4314/code-buddy && claude plugin install code-buddy@code-buddy

Or ask Claude to set it up

Paste this into Claude Code and it installs code-buddy for you:

Install the "code-buddy" Claude Code mod from https://github.com/jkm-4314/code-buddy. Run claude plugin validate on it first and show me what it can access before you enable it.