memesh: Instructions file for Claude Code

CLAUDE.md

memesh CLAUDE.md is an instructions file for Claude Code from PCIRCLE-AI/memesh. It costs 2,725 tokens per session, scanned A, original, MIT.

Repository instructions for MeMesh, an AI assistant project. The file mainly points coding agents to the authoritative contribution, architecture, API, product, design, and security documents.

In plain words
What is it for?
Use it when contributing code, understanding the system, changing the dashboard, working with the API, installing the product, or reporting a security issue.
Why use it?
It avoids duplicated instructions that can become outdated and tells the agent where to find the current rules for each type of change.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions subagents; mentions Claude Code; mentions AGENTS.md.

This is PCIRCLE-AI/memesh's own configuration. It tells Claude Code how to work on memesh 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 memesh configures →

Reuse

Borrowing it

Nothing to install: this file belongs to PCIRCLE-AI/memesh. 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/PCIRCLE-AI/memesh/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/PCIRCLE-AI/memesh

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 memesh CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/pcircle-ai/memesh/claude-md/github.svg)](https://agentmods.dev/instructions/pcircle-ai/memesh/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/pcircle-ai/memesh/claude-md"><img src="https://agentmods.dev/badge/instructions/pcircle-ai/memesh/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 memesh CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/pcircle-ai/memesh/claude-md"><img src="https://agentmods.dev/badge/instructions/pcircle-ai/memesh/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,725 This file is loaded in full into every session.
When invoked 2,725 The same file — it is already loaded in full.
Security scan A 1 finding. 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.02725 $0.02725
Opus 5.5 $0.01090 $0.01090
Sonnet 5.5 $0.00545 $0.00545
Haiku 4.5 $0.00272 $0.00272

Measured 9d ago against content hash 7f891e086967, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memesh CLAUDE.md scanned grade A with 1 finding 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 9d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

`spawnSync`, so they report **0% while being well tested**.
CLAUDE.md · 220 lines

How it starts

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

MeMesh — instructions for AI coding assistants

This file is a pointer, on purpose: a copy of documents that already exist, are public and are checked by CI drifts. This file once carried such a copy, and it ended up quoting a benchmark figure and a test count that were both wrong.

So — read the real documents. Do not restate them here.

Question Read
How do I contribute, what must a PR include, which docs move with a code change CONTRIBUTING.md
What are the modules, how does data flow, why is it built this way docs/ARCHITECTURE.md
What is the MCP / HTTP / CLI surface, exactly docs/api/API_REFERENCE.md
What does the product do, how is it installed README.md
How do I report a vulnerability SECURITY.md
I am an agent INSTALLING memesh for a user llms-install.md
I am an agent USING memesh (the loop, the 12 tools, hygiene) AGENTS.md
What changed, and what is merged but unreleased CHANGELOG.md ([Unreleased])

The few things that live only here

Everything below is either non-obvious from the code or specific to working with an assistant. If anything here starts duplicating a document above, delete it here and link instead.

Verifying your work (the definition of done)

  • Verify: npm run verify (about 8 minutes; must end with [verify] GREEN. Receipt for tree <hash> written to .verify/receipt.json.)
  • Fast inner loop: npm run typecheck then node scripts/run-tests-isolated.mjs (ends with Test Files … passed), then npm run verify before reporting.
  • Journeys only: npm run verify:journeys (build + packaged smoke; writes no receipt)
  • Receipt state: npm run verify:receipt (prints fresh, stale or missing for the current tree)
  • Run the app: npm run build && node dist/transports/cli/cli.js serve --host 127.0.0.1 --port 3737 (HTTP API only)

Read the full file on GitHub · 220 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. 9d ago Changed · -11 lines · -184 tokens per session 7f891e086967
  2. 11d ago Changed · -5 tokens per session 09d89f343ea3
  3. 21d ago Changed · +2 lines · +35 tokens per session 5ebdf0aa4090
  4. 1mo ago Changed · -5 lines · -149 tokens per session 49054b4ea376
  5. 1mo ago Changed · -3 lines · -171 tokens per session 93e1be2e1b6a
  6. 1mo ago Changed · +13 lines · +401 tokens per session 2c3d702632c6
  7. 1mo ago Changed · +20 lines · +155 tokens per session 834f05a81fb5
  8. 1mo ago Changed · -2 lines · -44 tokens per session 6a573e17d1a7
  9. 1mo ago First seen · 206 lines · 2,687 tokens per session scan A d11d498999aa

Subscribe to this mod's changes

memesh CLAUDE.md is an instructions file published in the GitHub repository PCIRCLE-AI/memesh (16 stars, last pushed yesterday), licensed MIT. It adds 2,725 tokens to every session, about $0.0109 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories