Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By eighteyesv0.5.0MITIn 1 marketplace
A per-project key-value store for agent session pillars (requirements, PRs, decisions), read on demand.
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
A per-project key-value store for the pillars of an agent's session (requirements, PRs, decisions), read on demand, shipped as a Go CLI and a Claude Code plugin.
$ refs
requirement R1 Users can export a report as CSV @ docs/spec.md:1
pr pr#12 Add CSV export — https://github.com/acme/app/pull/12
unknown D1 Store dates as UTC
Each ref is a key, a value and, optionally, a home: the file and line that is its source of truth. Nothing is injected into the context. A SessionStart hook tells the agent the refs exist and how many there are, and the agent runs refs when it needs them. On top of the store, two skills build and maintain a project's canon (requirements, truths, nevers, decisions, inquiry, open questions) and mirror every entry into refs.
As a Claude Code plugin, for every project:
claude plugin marketplace add eighteyes/refs
claude plugin install refs@refs --scope user
On your PATH, so agents can call it from Bash:
go install github.com/eighteyes/refs@latest
refs --help
bin/refs, a sh launcher that builds the binary into bin/.build/ on first run and rebuilds when a .go file changes. Without Go, the hook tells the agent that refs needs Go.go install puts refs on PATH for the agent's Bash calls.claude plugin install refs-pane@refs --scope user, then /refs-pane.Name a key prefix, set refs, read them back.
refs kind R requirement # R1, R2... are requirements
refs R1 "Users can export a report as CSV" --home docs/spec.md:1
refs 'pr#12' '[Add CSV export](https://github.com/acme/app/pull/12)' --kind pr
refs # list
refs R1 # show one
refs --kind pr # list one kind
R1 [requirement]
value Users can export a report as CSV
home docs/spec.md:1
open file:///…/docs/spec.md
set_at 2026-11-10T08:56:23-0800
prefix 'D' has no kind: the key's prefix (D in D1) has no name yet. The ref saves as unknown. Run refs kind D decision; it relabels the existing unknown refs too.-, and rm kind kinds home seed hook ids sync guard are reserved.refs --help is written for a model: when to run it, every command, and the rules for keys and homes. The SessionStart hook runs on startup|resume|clear|compact:
.ai/refs.json yet: it tells the agent to populate refs first, with /refs:harvest or by hand. refs seed prints the same text.--refs KEY instead of restating them.Guards on edit. A canon block may carry an Applies to: <glob>, <glob> line (all covers every file). refs sync stores it as the ref's applies list. The plugin also registers a PreToolUse hook (Edit|Write|MultiEdit|NotebookEdit) that runs refs guard: it prints the truths and nevers whose globs cover the file, with their homes, as extra context. It never allows or blocks. Files outside the project and under .ai/ are skipped.
Six files in docs/canon/. Each entry is a ## heading with an ID; refs points at the heading line.
| File | ID | Holds |
|---|---|---|
REQUIREMENTS.md | REQ-NN | what a person can do with the product, and what they see |
TRUTHS.md | TRU-NN | predicates that hold before and after every change, each with a check |
NEVERS.md | NEV-NN | shapes the code must not take, with the pull toward each |
DECISIONS.md | DEC-NN | choices with a rejected alternative and a costly reversal |
INQUIRY.md | INQ-NN | what building this is meant to answer |
OPEN_QUESTIONS.md | OQ-NN | unresolved frontier questions; each closes with Resolved: date → ID |
| Skill | Does |
|---|---|
/refs:harvest | reads docs, git history, GitHub issues and PRs, code and answered cactus rows; writes stated entries with IDs and unstated ones under ## Proposed for you to promote; mirrors everything into refs |
/refs:tighten | makes each truth one checkable predicate and each never a real pull with a real alternative; merges duplicates, moves misfiled entries, retires dead ones, resolves answered open questions; you approve each batch before it writes |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground