engram: Instructions file for Claude Code

CLAUDE.md

engram CLAUDE.md is an instructions file for Claude Code from Republicofhaitigoodstory6175/engram. It costs 947 tokens per session, scanned A, a copy of engram CLAUDE.md, Apache-2.0.

A set of instructions describing the structure and important code elements of a software repository. It includes folders, functions, classes, dependencies, and relationships discovered from the codebase.

In plain words
What is it for?
Use it as project-level guidance when navigating the repository, locating core entities, understanding modules, and choosing relevant files.
Why use it?
It gives the coding agent a quick map of an unfamiliar repository before it changes or explains code.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: built for aider.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/republicofhaitigoodstory6175/engram/claude-md"><img src="https://agentmods.dev/badge/instructions/republicofhaitigoodstory6175/engram/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 947 This file is loaded in full into every session.
When invoked 947 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 100% copy Near-identical to another mod 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.00947 $0.00947
Opus 5 $0.00474 $0.00474
Sonnet 5 $0.00189 $0.00189
Haiku 4.5 $0.00095 $0.00095

Measured 10d ago against content hash 914eb68d80f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

engram 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 10d 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.

Origin

This is a copy

100% identical to engram CLAUDE.md — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 58 lines

How it starts

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

Codebase Structure (auto-generated by engram)

Graph: 451 nodes, 1005 edges | 96% extracted, 4% inferred View: general

Core entities

  • extractDirectory() (function, 2 connections) — src/miners/ast-miner.ts
  • extractFile() (function, 2 connections) — src/miners/ast-miner.ts
  • generateSummary() (function, 2 connections) — src/autogen.ts
  • writeToFile() (function, 2 connections) — src/autogen.ts
  • parseReadLikeBashCommand() (function, 2 connections) — src/intercept/handlers/bash.ts
  • createAuthService() (function, 2 connections) — tests/intercept/handlers/bash.test.ts
  • hashPassword() (function, 2 connections) — tests/intercept/handlers/bash.test.ts
  • SessionStore (class, 2 connections) — tests/intercept/handlers/bash.test.ts

Structure

  • ./ — tsup.config.ts
  • bench/ — runner.ts
  • src/ — autogen.ts, cli.ts, core.ts, dashboard.ts, hooks.ts, serve.ts, watcher.ts
  • src/ccs/ — exporter.ts, importer.ts
  • src/db/ — migrate.ts
  • src/generators/ — aider-context.ts, cursor-mdc.ts
  • src/graph/ — path-utils.ts, query.ts, render-utils.ts, schema.ts, store.ts
  • src/intelligence/ — hook-log.ts, token-tracker.ts
  • src/intercept/ — component-status.ts, context.ts, cursor-adapter.ts, dispatch.ts, formatter.ts, installer.ts, memory-md.ts, safety.ts, stats.ts
  • src/intercept/handlers/ — bash.ts, cwd-changed.ts, edit-write.ts, lsp-capture.ts, post-tool.ts, pre-compact.ts, read.ts, session-start.ts, user-prompt.ts
  • src/miners/ — ast-miner.ts, git-miner.ts, session-miner.ts, skills-miner.ts
  • src/providers/ — ast.ts, context7.ts, engram-git.ts, engram-mistakes.ts, engram-structure.ts, grammar-loader.ts, lsp-connection.ts, lsp.ts, mempalace.ts, obsidian.ts, resolver.ts, types.ts
  • src/server/ — http.ts
  • src/tuner/ — config.ts, index.ts
  • src/types/ — sql.js.d.ts
  • tests/ — ast-miner.test.ts, autogen.test.ts, core.test.ts, mistake-memory.test.ts, provider-cache.test.ts, render-utils.test.ts, skills-miner.test.ts, store.test.ts, stress.test.ts, watcher.test.ts
  • tests/ccs/ — ccs.test.ts
  • tests/db/ — migrate.test.ts
  • tests/fixtures/ — sample.ts
  • tests/generators/ — cursor-mdc.test.ts
  • tests/intercept/ — cli-intercept.test.ts, context.test.ts, cursor-adapter.test.ts, dispatch-new-events.test.ts, dispatch.test.ts, formatter.test.ts, get-file-context.test.ts, hook-log.test.ts, installer.test.ts, memory-md.test.ts, mistakes-filter.test.ts, render-file-structure.test.ts, safety.test.ts, spike-regression.test.ts, stats.test.ts
  • tests/intercept/handlers/ — bash.test.ts, cwd-changed.test.ts, edit-write.test.ts, post-tool.test.ts, pre-compact.test.ts, read.test.ts, session-start.test.ts, user-prompt.test.ts
  • tests/providers/ — ast.test.ts, lsp.test.ts, resolver.test.ts
  • tests/server/ — http.test.ts
  • tests/tuner/ — tuner.test.ts

Read the full file on GitHub · 58 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. 10d ago First seen · 58 lines · 947 tokens per session scan A 914eb68d80f3

Subscribe to this mod's changes

engram CLAUDE.md is an instructions file published in the GitHub repository Republicofhaitigoodstory6175/engram (1 stars, last pushed 2d ago), licensed Apache-2.0. It adds 947 tokens to every session, about $0.0047 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to engram CLAUDE.md, differing in 0 lines, and is treated as a copy.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens