Home / Claude Code mods / Git & CI / code-reference

code-reference

code-reference is a Claude Code mod by hyperbola-bear that replies that point at code: ask with /code-reference (a question, or a PR to review) and each place the reply names opens in a code pane beside it, the prose linked to it and boxed under.

Updated 2026-10-18

What is code-reference?

code-reference is a Claude Code mod by hyperbola-bear that replies that point at code: ask with /code-reference (a question, or a PR to review) and each place the reply names opens in a code pane beside it, the prose linked to it and boxed under. It is listed under Git & CI and has no public popularity data yet.

TypeClaude code mod
Authorhyperbola-bear
Repositoryhyperbola-bear/claude-mods
Popularityno public popularity data yet
CategoryGit & CI
SecurityHigh risk (44/100)
Rank#3,389 of 5,272 Claude Code mods; #244 in Git & CI
Last commit2026-10-18
Hooks9 events
Seesevery prompt
Draws onAssistantMessage, Pane

Is code-reference safe to install?

code-reference scores 44/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 2 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
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.browser.open
$.clock.after
$.command.list
$.command.register
$.env.getreads env vars
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.process.runruns processes
$.prompt.submitdrives Claude
$.session.messagesreads the transcript
$.session.root
$.session.surfaces
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.tool.calldrives Claude
$.tool.list
$.ui.askdraws interface
$.ui.copydraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.panesdraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install code-reference?

  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/hyperbola-bear/claude-mods
    claude plugin validate ./claude-mods/plugins/code-reference
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add hyperbola-bear/claude-mods && claude plugin install code-reference@polar-mods

Or ask Claude to set it up

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

Install the "code-reference" Claude Code mod from https://github.com/hyperbola-bear/claude-mods/tree/main/plugins/code-reference. Run claude plugin validate on it first and show me what it can access before you enable it.

More from hyperbola-bear/claude-mods

This repository has 4 Claude Code mods on MCPMods.

  • ask: A side chat in a pane that reads the main chat, scrolls and draws: /ask a question, /draw a diagram. Nothing goes back t (High risk)
  • delegator: Every subagent Claude starts waits for your approval: approve, refuse, approve all for the turn, change its model (sugge (Review before installing)
  • user-hud: A control panel tucked into the corner above the Claude Code prompt, in five modules you turn on or off: where your toke (High risk)