engineering-memlog CLAUDE.md

engineering-memlog CLAUDE.md is an instructions file for coding agents from atazifor/engineering-memlog. It costs 993 tokens per session, scanned A, original, MIT.

Instructions for an engineering memory log that stores lessons from earlier work and brings relevant ones into the coding agent's context.

In plain words
What is it for?
Use it to receive relevant lessons automatically, search the log with /recall, and add a lesson after completing work.
Why use it?
It reduces repeated debugging by surfacing past problems and prevention rules when a new prompt resembles an earlier issue.

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

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 engineering-memlog CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/atazifor/engineering-memlog/claude-md.svg)](https://agentmods.dev/instructions/atazifor/engineering-memlog/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/atazifor/engineering-memlog/claude-md"><img src="https://agentmods.dev/badge/instructions/atazifor/engineering-memlog/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 993 This file is loaded in full into every session.
When invoked 993 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.00993 $0.00993
Opus 5 $0.00496 $0.00496
Sonnet 5 $0.00199 $0.00199
Haiku 4.5 $0.00099 $0.00099

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

Security

Grade A, and why

engineering-memlog 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 · 99 lines

How it starts

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

engineering-memlog plugin — agent instructions

This file is auto-loaded by the engineering-memlog plugin and forms the agent's working contract with the log. Two halves: read before you work, write after.

How the log gets into your context

The plugin closes the read side without relying on you to remember:

  • SessionStart hook runs once per session, sniffs the project signature (languages, frameworks, repo, service hint), and injects the top 6 most relevant prior lessons as a system reminder you see at session boot.
  • UserPromptSubmit hook scans each prompt for symptom-shaped text (errors, failures, HTTP 4xx/5xx, "broken", "not working", framework names) and, when triggered, automatically searches the log for likely keywords and injects matches before you respond. Silent on benign prompts — no per-turn noise.
  • /recall <query> slash command for explicit deep-dive search when you suspect something but the hooks didn't catch it.

When the hook injects entries, treat them as prior knowledge, not documentation. Each line is a full JSON memlog entry. If a current symptom matches one of the entries' problem or cause, apply its prevention rule rather than re-deriving from scratch. Reference the entry's id or title in your reasoning so the human can trace where the rule came from.

Search the log yourself when warranted

The hooks fire automatically, but you should also run the log yourself when:

  • The injected entries didn't include something you suspect exists.
  • You hit an unfamiliar error during the work (not just at prompt time).
  • You're about to propose a fix for a non-obvious bug.

Run it as a Bash command:

~/engineering-memory/bin/memlog search "frozen-lockfile" --json --limit 10

Search for the concrete signal — keywords from the error message, the observed symptom, the framework or tool involved. No match is normal — just proceed.

Append a lesson after you work

Before concluding a meaningful task, ask:

Read the full file on GitHub · 99 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 · 99 lines · 993 tokens per session scan A 181074e953a7

Subscribe to this mod's changes

engineering-memlog CLAUDE.md is an instructions file published in the GitHub repository atazifor/engineering-memlog (1 stars, last pushed 2mo ago), licensed MIT. It adds 993 tokens to every session, about $0.0050 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-31.