project-memory

project-memory is a skill for Claude Code, Codex from jamditis/claude-skills-journalism. It costs 46 tokens per session (2,388 once invoked), scanned A, original, MIT.

A generator for CLAUDE.md project-memory files, which record project-specific knowledge for an AI coding assistant. These files are advisory instructions, not automatic enforcement rules.

In plain words
What is it for?
Use it when onboarding an assistant to a project or creating shared notes about its quirks, conventions, and institutional knowledge.
Why use it?
It helps pass important project conventions and unusual details to future coding sessions without documenting obvious general knowledge.

Skill for Claude CodeCodex

Written for Claude Code and Codex: PreToolUse hook event, but also agents/openai.yaml present. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Part of the project-templates-toolkit plugin — 4 skills shipped together

Good fit Use it when onboarding an assistant to a project or creating shared notes about its quirks, conventions, and institutional knowledge.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jamditis/claude-skills-journalism/project-memory
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.

Any agent
npx skills add jamditis/claude-skills-journalism --skill project-memory
Clone the repo
git clone --depth 1 https://github.com/jamditis/claude-skills-journalism

Made for: Claude Code, Codex.

Or install project-templates-toolkit, the plugin that ships this one along with the rest of its 4 skills.

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 project-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamditis/claude-skills-journalism/project-memory/github.svg)](https://agentmods.dev/skills/jamditis/claude-skills-journalism/project-memory)
Your own site
<a href="https://agentmods.dev/skills/jamditis/claude-skills-journalism/project-memory"><img src="https://agentmods.dev/badge/skills/jamditis/claude-skills-journalism/project-memory/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 project-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/jamditis/claude-skills-journalism/project-memory"><img src="https://agentmods.dev/badge/skills/jamditis/claude-skills-journalism/project-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,388 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 156
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Rogue Agent · line 89
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Excessive Agency · line 113
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00046 $0.02388
Opus 5.5 $0.00018 $0.00955
Sonnet 5.5 $0.00009 $0.00478
Haiku 4.5 $0.00005 $0.00239

Measured yesterday against content hash 0c96503073fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

project-memory 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 yesterday.

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.

project-templates-toolkit/skills/project-memory/SKILL.md · 270 lines

How it starts

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

Project memory generator

Create a project instruction file that transfers institutional knowledge, not obvious information. Think like a senior journalist onboarding a competent colleague. Do not explain how journalism works; explain this project's quirks.

Choose the canonical instruction file

Resolve the target before writing:

  1. If AGENTS.md exists, update it. If no CLAUDE.md exists, then in Claude Code, also create a one-line CLAUDE.md that imports it with @AGENTS.md. Claude Code loads CLAUDE.md, not AGENTS.md.
  2. If only CLAUDE.md exists, update it.
  3. If both exist and one imports the other, edit the imported canonical file.
  4. If neither exists, create AGENTS.md. In Claude Code, also create the same one-line CLAUDE.md import.

Do not create competing copies of the same guidance. Keep nested instruction files only when a subdirectory needs narrower rules than its parent.

Project instructions are advisory

A project instruction file gives standing context to the active client. It does not enforce a rule by itself.

In Claude Code, CLAUDE.md content is delivered as user context after the system prompt. Claude reads it and tries to follow it, but the file does not guarantee strict compliance with vague or conflicting instructions. Source: https://code.claude.com/docs/en/memory

Mechanism Use for Behavior
Project instruction file Standing facts, commands, conventions, and boundaries Advisory context
Skills Multi-step procedures and on-demand workflows Loaded when relevant
Client enforcement Actions that must block or run every time Deterministic only when the client blocks, for example, a Claude Code hook that exits 2 or returns a PreToolUse deny. A prompt hook only adds a reminder

Do not use a client hook as load-bearing shared behavior. If a rule must work in both Claude Code and Codex, state the rule in the project instruction file and document any optional client enforcement separately.

Read the full file on GitHub · 270 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday Changed · +70 lines · +21 tokens per session 0c96503073fc
  2. 22d ago Changed 7dd63c4ab979
  3. 1mo ago First seen · 200 lines · 25 tokens per session scan A 27951714b5d3

Subscribe to this mod's changes

project-memory is a skill published in the GitHub repository jamditis/claude-skills-journalism (433 stars, last pushed 2d ago), licensed MIT. It adds 46 tokens to every session and 2,388 once invoked, about $0.0002 per session on Opus 5.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 skills, from other repositories

run-memory

Shared step of the marketing playbooks (analyze-performance, run-paid-campaigns, research-competitors, email-lifecycle): reads the last run's record, checks whether its recommendations were done and whether they worked, and saves a short record of this run for the next one. Loaded by those playbooks; not for direct…

gooseworks-ai/goose-skills · 72 tokens

company-brain

Your team's shared, AI-ready knowledge base — people, companies, meetings, SOPs, and decisions structured so an agent can answer on your team's behalf. Team-scope sibling to second-brain — personal notes go there, not here. Modes — capture, compile (wiki pages + INDEX.md), query (trust-weighted, saved to outputs/)…

coreyhaines31/makerskills · 230 tokens

claude-reflect

Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md. Use when discussing learnings, corrections, or when the user mentions remembering something for future sessions.

BayramAnnakov/claude-reflect · 46 tokens

session-handoff

Use when a working session is ending, the context window is nearly full, work needs to pass to a teammate or a fresh session, or the user says "hand this off", "write this up before we lose it", "I'm starting a new session", or "summarize where we are". Produces a handoff document that lets the next session resume…

OneWave-AI/claude-skills · 83 tokens

knowledge-priming-refiner

Facilitate a structured conversation to create a project-specific knowledge base document. Produces a knowledge-base.md that primes AI with the project's tech stack, architecture, trusted sources, and project structure. Use when the user says 'set up knowledge base', 'prime the project', 'onboard AI', 'create…

techygarg/lattice · 84 tokens

handoff

Create a structured session handoff when context is running low or work is pausing. Deep context mining, self-validation, multi-file splitting. Captures everything the next session needs.

REMvisual/claude-handoff · 39 tokens