anchor

anchor is a Claude Code mod by darshk07. Anchor: pin facts, decisions and rules that are re-sent every turn, so /compact can never lose them. Per-project pinboard with a panel.

Updated 2026-10-11

What is anchor?

anchor is a Claude Code mod by darshk07. Anchor: pin facts, decisions and rules that are re-sent every turn, so /compact can never lose them. Per-project pinboard with a panel. It is listed under Context & memory and has no public popularity data yet.

TypeClaude code mod
Authordarshk07
Repositorydarshk07/claude-mods
Popularityno public popularity data yet
CategoryContext & memory
SecurityLow risk (100/100)
Rank#5,548 of 9,397 Claude Code mods; #486 in Context & memory
LicenseMIT
Last commit2026-10-11
Hooks4 events
Seesonly the events it hooks
Draws onPane

Is anchor safe to install?

anchor scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 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 no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.session.cwd
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.invalidatedraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface

How do I install anchor?

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

Or ask Claude to set it up

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

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

More from darshk07/claude-mods

This repository has 3 Claude Code mods on MCPMods.

  • diet: Context Diet: trims huge tool outputs (build logs, long test runs, big fetches) before they reach the context, keeps the (Review before installing)
  • pulse: A slim live banner above the prompt: context-window donut, token mix, cache hit rate, burn forecast, rate limits and cos (Low risk)