refs

refs is a Claude Code mod by pomesaka that a list of the documents and URLs this session relied on, kept by the agent with add_reference and shown in a pane; adds a refs button to the line under the prompt.

Updated 2026-11-30

What is refs?

refs is a Claude Code mod by pomesaka that a list of the documents and URLs this session relied on, kept by the agent with add_reference and shown in a pane; adds a refs button to the line under the prompt. It is listed under Agents & automation and has no public popularity data yet.

TypeClaude code mod
Authorpomesaka
Repositorypomesaka/dotclaude
Popularityno public popularity data yet
CategoryAgents & automation
SecurityLow risk (84/100)
Rank#7,881 of 9,397 Claude Code mods; #654 in Agents & automation
Last commit2026-11-30
Hooks4 events
Seesclassic hooks, every tool call, mcp__refs__add_reference calls, mcp__refs__clear_references calls, mcp__refs__remove_reference calls
Draws onPromptHint, Pane

Is refs safe to install?

refs scores 84/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 6 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 no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.process.runruns processes
$.session.id
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.keyskeeps its own state
$.store.setkeeps its own state
$.tool.registerdrives Claude
$.ui.closedraws interface
$.ui.copydraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install refs?

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

Or ask Claude to set it up

Paste this into Claude Code and it installs refs for you:

Install the "refs" Claude Code mod from https://github.com/pomesaka/dotclaude/tree/main/mods/refs. Run claude plugin validate on it first and show me what it can access before you enable it.

More from pomesaka/dotclaude

This repository has at least 9 Claude Code mods on MCPMods.

  • budget: One usage budget on a subscription rate-limit window (set_budget, clear_budget, read_budget): when any session sees the (Low risk)
  • check-streak: Counts how many times in a row the same check (tests, type check, lint) fails for the agent; on the third failure withou (Low risk)
  • danger-guard: Before the agent runs a Bash command, blocks the ones that can wreck the machine or the user's data beyond the working r (Review before installing)
  • devrep: update_devrep tool: while turned on for a session, the agent keeps a short report of where the work stands (doing now, n (Low risk)
  • dotclaude-ledger: Records every Edit and Write that lands in the dotclaude working copy (file, an excerpt, and the request it answered) ou (Review before installing)
  • human-edit: human_edit tool: the agent asks the user to edit a file in a tmux split pane and waits until the editor exits (High risk)
  • jj: Adds the jj counts (changed files, unpushed commits) and commit and log buttons to the line under the prompt, with a pan (Low risk)
  • next-step: After a turn, shows up to four prompts the user is likely to type next as cards above the prompt: Claude Code's own prom (Low risk)