plur: Instructions file for Claude Code

CLAUDE.md

plur CLAUDE.md is an instructions file for Claude Code from plur-ai/plur. It costs 4,928 tokens per session, scanned A, original, Apache-2.0.

Project instructions for plur-ai, a system that stores useful facts about past work so AI agents can recall them across sessions, tools, and machines. It describes the project, its packages, dependencies, and versioning.

In plain words
What is it for?
Use it when developing plur-ai, changing package dependencies, updating versions, or working in its pnpm monorepo, a repository containing multiple related packages.
Why use it?
It gives an agent the project context needed to work consistently with plur-ai and its multiple packages.

Instructions file for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is plur-ai/plur's own configuration. It tells Claude Code how to work on plur itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything plur configures →

Reuse

Borrowing it

Nothing to install: this file belongs to plur-ai/plur. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/plur-ai/plur/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/plur-ai/plur

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for plur CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/plur-ai/plur/claude-md/github.svg)](https://agentmods.dev/instructions/plur-ai/plur/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/plur-ai/plur/claude-md"><img src="https://agentmods.dev/badge/instructions/plur-ai/plur/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for plur CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/plur-ai/plur/claude-md"><img src="https://agentmods.dev/badge/instructions/plur-ai/plur/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,928 This file is loaded in full into every session.
When invoked 4,928 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.04928 $0.04928
Opus 5.5 $0.01971 $0.01971
Sonnet 5.5 $0.00986 $0.00986
Haiku 4.5 $0.00493 $0.00493

Measured 1mo ago against content hash ff48c825d1a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plur CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 347 lines

How it starts

The opening of the file, as written. The whole thing — 347 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

What is PLUR

Persistent memory for AI agents. An agent corrected on Monday remembers on Tuesday — across sessions, tools, and machines.

Knowledge is stored as engrams — small assertions that strengthen with use and decay when irrelevant, modeled on human memory (ACT-R activation). Storage is plain YAML on disk. Search is fully local: BM25 + BGE embeddings + Reciprocal Rank Fusion. Zero API calls, zero cloud.

Eight packages (five npm, three Python/PyPI):

@plur-ai/core        — engram engine (learn, recall, inject, search, decay, sync)
@plur-ai/mcp         — MCP server (Claude Code, Cursor, Windsurf)
@plur-ai/claw        — OpenClaw ContextEngine plugin
@plur-ai/opencode    — opencode plugin (recall + render hooks, no tool call)
@plur-ai/cli         — CLI (plur learn / recall / inject / status)
plur-hermes          — Hermes Agent plugin (Python, via CLI bridge)
plur-ai              — Python SDK (LangChain, llama.cpp, scripts)
plur-langchain       — LangChain BaseMemory + BaseChatMessageHistory adapter

Core is the engine. MCP and Claw are thin wrappers — MCP exposes tools via Model Context Protocol, Claw hooks into OpenClaw's lifecycle (auto-inject on session start, auto-learn on corrections).

Development

pnpm monorepo. From repo root:

pnpm install
pnpm build
pnpm test

~3500 tests across ~200 files (Vitest + Python suites). All must pass before committing.

Package dependency

@plur-ai/core  ←  @plur-ai/mcp
               ←  @plur-ai/claw

MCP and Claw depend on core via workspace:*. Claw imports from core's built dist, not source — after changing core, rebuild before running claw tests:

pnpm --filter @plur-ai/core build

Version bumps

scripts/release.sh is the authoritative source. Two independent version tracks:

Standard release (core / mcp / cli / hermes / python — always bumped together):

  1. packages/core/package.json
  2. packages/mcp/package.json
  3. packages/cli/package.json
  4. packages/migrate/package.json — ships with the release it migrates TO
  5. packages/mcp/src/version.ts — export const VERSION (index.ts and server.ts import it; version-parity.test.ts guards it)
  6. packages/cli/src/version.ts — CLI_VERSION (index.ts and mcp-config.ts import it; pins npx-fallback MCP entries, #1069; version-parity.test.ts guards it)
  7. packages/mcp/test/server.test.ts — version assertions
  8. packages/hermes/pyproject.toml
  9. packages/hermes/plugin.yaml — top-level version: field
  10. packages/hermes/plur_hermes/skills/plur-memory.SKILL.md — frontmatter version:
  11. packages/hermes/plur_hermes/bridge.py — _NPX_CLI_VERSION
  12. packages/python/pyproject.toml
  13. packages/python/plur_ai/bridge.py — _NPX_CLI_VERSION
  14. skills/plur-memory/SKILL.md — frontmatter version: (standalone skills.sh copy)
  15. server.json — both top-level version and packages[0].version (MCP Registry / ClawHub listing)

Read the full file on GitHub · 347 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +15 lines · +208 tokens per session ff48c825d1a9
  2. 1mo ago Changed · +11 lines · +179 tokens per session bd7e7ff99c89
  3. 1mo ago Changed · +1 lines · +38 tokens per session 250d48e19ba7
  4. 2mo ago Changed · -3 lines · -6 tokens per session be3593e4a59a
  5. 2mo ago First seen · 323 lines · 4,509 tokens per session scan A 400c4ecb0eab

Subscribe to this mod's changes

plur CLAUDE.md is an instructions file published in the GitHub repository plur-ai/plur (312 stars, last pushed yesterday), licensed Apache-2.0. It adds 4,928 tokens to every session, about $0.0197 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

plur CLAUDE.md compared with instructions from other repositories

plur CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plur CLAUDE.mdplur-ai/plurInstructions file312yesterdayApache-2.0A4,928Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode