working-memory

working-memory is a skill for Claude Code from ikotelkin/claude-skills. It costs 147 tokens per session (1,185 once invoked), scanned A, original, MIT.

A method for keeping a project's current working state in a WORKING.md file, including decisions, failed attempts, and next steps. Context compaction means a long conversation is shortened and some details may be lost.

In plain words
What is it for?
Use it to set up, read, and update a project's working memory during multi-step tasks and handoffs.
Why use it?
It prevents the assistant from forgetting important progress when a session is shortened or work continues later.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions Claude Code.

Part of the working-memory plugin — 1 skill shipped together

Good fit Use it to set up, read, and update a project's working memory during multi-step tasks and handoffs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ikotelkin/claude-skills/working-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 ikotelkin/claude-skills --skill working-memory
Clone the repo
git clone --depth 1 https://github.com/ikotelkin/claude-skills

Made for: Claude Code.

Or install working-memory, the plugin that ships this one along with the rest of its 1 skill.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ikotelkin/claude-skills/working-memory"><img src="https://agentmods.dev/badge/skills/ikotelkin/claude-skills/working-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,185 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.
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.00147 $0.01185
Opus 5 $0.00073 $0.00593
Sonnet 5 $0.00029 $0.00237
Haiku 4.5 $0.00015 $0.00119

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

Security

Grade A, and why

working-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 3d 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.

skills/working-memory/SKILL.md · 64 lines

How it starts

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

Working Memory

Why

A long session runs out of context and gets compacted — the transcript is squeezed into a summary, and the details drop out: decisions, edge-cases, what was already tried and failed. Work quality falls, and the next session starts blind — the user feels "didn't we already do this?".

Root cause: the important state lived only in the conversation — volatile memory that dies on compaction and never crosses into a new session. The fix is to stage that state onto a medium that survives: a WORKING.md file in the repo.

The three levels

Level Medium Lifespan
Short-term session context hours — dies on compaction
Mid-term WORKING.md in the repo days–weeks — while a stage runs
Long-term the assistant's memory (e.g. Claude Code memory files) months — survives everything

This skill owns the mid-term level and the bridge up to long-term. Flow: context → WORKING.md → (distill at stage end) → long-term memory. WORKING.md is a staging area for memory, not a parallel store.

The file

WORKING.md lives at the repo root (a working thread in a subfolder may have its own, e.g. docs/research/WORKING.md). Four sections:

  • Current stage — one or two lines: where we are right now.
  • Decision log — datestamped entries (absolute dates), newest-relevant on top: what was decided/done and why.
  • Tried / didn't work — dead ends, so they aren't re-attempted.
  • Next — open tails, TODOs, the obvious next step.

Copy assets/WORKING.template.md as the starting point.

Operations

Setup (once per project)

When a project has no WORKING.md and the work is non-trivial: copy the template to the repo root, fill Current stage from what's known, and add a pointer to the project's CLAUDE.md so it's read on every future session (snippet in assets/CLAUDE-snippet.md). If there is no CLAUDE.md, create one with just that pointer.

Start / resume (every session)

At the start of work on a project, read WORKING.md before acting — it restores the stage state that context loss erased. Check subfolders for thread-specific WORKING.md too. If asked to "resume", this is the anchor.

Read the full file on GitHub · 64 lines

Files

What ships with it

4 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. 3d ago Changed · +1 lines · +147 tokens per session 334d6f244d2d
  2. 10d ago First seen · 63 lines · 0 tokens per session scan A 03ece3a3be28

Subscribe to this mod's changes

working-memory is a skill published in the GitHub repository ikotelkin/claude-skills (3 stars, last pushed 3d ago), licensed MIT. It adds 147 tokens to every session and 1,185 once invoked, about $0.0007 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.

Related

Other skills, from other repositories

self-improve

Extract lessons from the current session, or sweep the project's past sessions when asked, and route them to the appropriate knowledge layer (project AGENTS.md, auto memory, existing skills, or new skills). Use when the user asks to "self-improve", "distill this session", "distill past sessions", "sweep past…

tobihagemann/turbo · 125 tokens

recall-reasoning

Recall the reasoning behind a past change by locating the Claude Code transcript that produced it. Use when the user asks to "recall reasoning", "find reasoning", "look up reasoning", "recall implementation reasoning", "find the rationale", "why did I do X", "recall from transcripts", or "find the transcript for this…

tobihagemann/turbo · 76 tokens

memory-hygiene

A manual tool for sorting saved session memories into Hot, Warm, and Cold groups, and finding memories that may be moved or retired.

HsuanYuLee/polaris · 164 tokens

session-manager

A fallback skill for recording development sessions and restoring project context from an Obsidian vault, a folder of linked notes. It handles explicit resume, handoff, status, and end-of-session requests when automatic capture is unavailable.

Enakoneschniy/claude-dev-stack · 108 tokens

cds-stats

Show project memory statistics: session count, observation counts by type, entity count, top entities, and project planning status.

Enakoneschniy/claude-dev-stack · 29 tokens

cds-search

Search past session observations using the sessions.search MCP tool. Falls back to CLI if the MCP server is not available.

Enakoneschniy/claude-dev-stack · 27 tokens