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.
| Type | Claude code mod |
|---|---|
| Author | pomesaka |
| Repository | pomesaka/dotclaude |
| Popularity | no public popularity data yet |
| Category | Agents & automation |
| Security | Low risk (84/100) |
| Rank | #7,881 of 9,397 Claude Code mods; #654 in Agents & automation |
| Last commit | 2026-11-30 |
| Hooks | 4 events |
| Sees | classic hooks, every tool call, mcp__refs__add_reference calls, mcp__refs__clear_references calls, mcp__refs__remove_reference calls |
| Draws on | PromptHint, 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.process.run | runs processes |
$.session.id | |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.keys | keeps its own state |
$.store.set | keeps its own state |
$.tool.register | drives Claude |
$.ui.close | draws interface |
$.ui.copy | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install refs?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- 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
- 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)