claudemods

All Claude Code modshyperbola-bear/claude-mods

code-reference

A Claude Code mod in hyperbola-bear/claude-mods

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 each section. Only the command triggers it. Drawn the same in the terminal and the desktop app. PRs are read with gh, a GitHub MCP server or git, and checked out into a review worktree.

code-reference reaches L2 (writes or runs) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install code-reference --marketplace hyperbola-bear/claude-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsother: $.browser.open, other: $.state.get, other: $.state.set, other: $.tool.list, runs processes, writes files, drives Claude, reads files, reads env vars, reads the transcript, persists state, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt
Hooks
session.start, session.end, prompt.submit, turn.step, turn.complete, command.run {command=code-reference}, command.run {command=code-reference-setup}, ui.message, ui.close, ui.render {component=AssistantMessage}, ui.render {component=Pane, requestId=code-reference}
API calls
$.browser.open, $.clock.after, $.command.list, $.command.register, $.env.get, $.fs.read, $.fs.stat, $.fs.write, $.process.run, $.prompt.submit, $.session.messages, $.session.root, $.session.surfaces, $.state.get, $.state.set, $.store.get, $.store.set, $.tool.call, $.tool.list, $.ui.ask, $.ui.copy, $.ui.log, $.ui.open, $.ui.panes, $.ui.resolve, $.ui.status, $.ui.toast
Surface modules
hooks/pane.view.tsx, hooks/reply.view.tsx
Validation on 2.1.302
Passed
Scanned revision
e3cb8bce77ae
Marketplace passed
polar-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

More from hyperbola-bear/claude-mods

Badge for your README

Reach badge for code-reference Validation badge for code-reference

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/hyperbola-bear--claude-mods--code-reference-reach.svg)](https://mods.aidojo.si/mods/hyperbola-bear--claude-mods--code-reference/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/hyperbola-bear--claude-mods--code-reference-validates.svg)](https://mods.aidojo.si/mods/hyperbola-bear--claude-mods--code-reference/)