memories CLAUDE.md

memories CLAUDE.md is an instructions file for coding agents from webrenew/memories. It costs 458 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for Memories, a monorepo containing several related packages for a memory platform, including a command-line tool, shared storage code, an SDK, a web app, and examples. They describe setup, development servers, and checks before a pull request.

In plain words
What is it for?
Use them to set up a fork, run the web app or command-line package, and verify changes with the project's standard commands.
Why use it?
They help contributors understand a multi-package codebase and avoid missing required linting, type checks, builds, or tests.

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/webrenew/memories/claude-md
Clone the repo
git clone --depth 1 https://github.com/webrenew/memories

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/webrenew/memories/claude-md.svg)](https://agentmods.dev/instructions/webrenew/memories/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/webrenew/memories/claude-md"><img src="https://agentmods.dev/badge/instructions/webrenew/memories/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 458 This file is loaded in full into every session.
When invoked 458 The same file — it is already loaded in full.
Security scan A 0 findings. 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.00458 $0.00458
Opus 5 $0.00229 $0.00229
Sonnet 5 $0.00092 $0.00092
Haiku 4.5 $0.00046 $0.00046

Measured 4d ago against content hash 636cbcd19632, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

memories 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 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.

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 · 76 lines

What it actually says

CLAUDE.md

This document is public and intended for anyone forking or contributing to webrenew/memories, including human contributors and AI coding agents.

What This Repo Is

memories is a monorepo for the Memories platform:

  • packages/cli: @memories.sh/cli (CLI + local MCP server)
  • packages/core: shared memory/storage logic
  • packages/ai-sdk: SDK helpers for app integration
  • packages/web: Next.js app, API routes, docs, dashboard
  • examples/: starter integrations (Next.js, Express, Python)

Fork Quickstart

git clone https://github.com/<your-org>/memories.git
cd memories
pnpm install
cp .env.example .env.local

Run development servers:

# Web app
cd packages/web && pnpm dev

# CLI package
cd packages/cli && pnpm dev

Required Checks Before PR / Push

Run from repo root:

pnpm lint
pnpm typecheck
pnpm build

If your change affects runtime behavior, also run tests:

pnpm test

Contribution Expectations

  • Keep PRs focused and small when possible.
  • Do not commit secrets or local-only credentials.
  • Prefer TypeScript and small, composable functions.
  • Update docs/examples when API or CLI behavior changes.
  • Preserve backward compatibility unless the change is explicitly breaking and documented.

Generated and Local Files

  • Commit source changes, docs, and examples.
  • Avoid committing personal scratch files or local machine artifacts.
  • If a generated file is required by the repo build/docs pipeline, keep it in sync with the code that generates it.

Where To Start

  • Product overview and setup: README.md
  • Contributing process: CONTRIBUTING.md
  • Security policy: SECURITY.md
  • Web docs source: packages/web/content/docs
  • Starter integrations: examples/

Need Help?

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 · 76 lines · 458 tokens per session scan A 636cbcd19632

Subscribe to this mod's changes

memories CLAUDE.md is an instructions file published in the GitHub repository webrenew/memories (36 stars, last pushed 3d ago), licensed Apache-2.0. It adds 458 tokens to every session, about $0.0023 per session on Opus 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

Other instructions, from other repositories