memesh CLAUDE.md

memesh CLAUDE.md is an instructions file for coding agents from PCIRCLE-AI/memesh. It costs 2,687 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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/pcircle-ai/memesh/claude-md
Clone the repo
git clone --depth 1 https://github.com/PCIRCLE-AI/memesh

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,687 This file is loaded in full into every session.
When invoked 2,687 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
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 $0.02687 $0.02687
Opus 5 $0.01344 $0.01344
Sonnet 5 $0.00537 $0.00537
Haiku 4.5 $0.00269 $0.00269

Measured 4d ago against content hash d11d498999aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 206 lines

How it starts

The opening of the file, as written. The whole thing — 206 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. It used to carry its own copy of the module tree, the dependency list and the development standards, and a copy is a thing that drifts. It was the last file in the repository still quoting a benchmark figure (95.40% R@5) that release 4.2.11 was spent proving wrong, and its test count was 44 behind. It was also untracked, so no reviewer ever saw it change. Both problems had one cause: it duplicated documents that already exist, are already public, and are already checked by CI.

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
Colour, type, spacing, interaction — before ANY dashboard change DESIGN.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 11 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.

Running the tests

node scripts/run-tests-isolated.mjs        # whole suite, against a throwaway HOME
npm test -- --run                          # vitest directly — uses YOUR ~/.memesh

Prefer the first. The suite writes to ~/.memesh, so running vitest directly mutates your real knowledge graph.

Read the full file on GitHub · 206 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. 4d 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 (15 stars, last pushed today), licensed MIT. It adds 2,687 tokens to every session, about $0.0134 per session on Opus 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.