review-agent-memory

review-agent-memory is a skill for Claude Code from diagrid-labs/dapr-skills. It costs 33 tokens per session (811 once invoked), scanned A, original, MIT.

A read-only checker for an AI agent’s memory and saved-state setup. It examines configuration files and code connections for correctness.

In plain words
What is it for?
Use it to audit agent persistence, state-store settings, memory class choices, and related component wiring.
Why use it?
It helps find incorrect settings, exposed model keys, and conflicts between conversation memory and workflow state before they cause failures.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the dapr-skills plugin — 29 skills shipped together

Good fit Use it to audit agent persistence, state-store settings, memory class choices, and related component wiring.

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

Made for: Claude Code.

Or install dapr-skills, the plugin that ships this one along with the rest of its 29 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 review-agent-memory

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/diagrid-labs/dapr-skills/review-agent-memory"><img src="https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/review-agent-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 811 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.00033 $0.00811
Opus 5.5 $0.00013 $0.00324
Sonnet 5.5 $0.00007 $0.00162
Haiku 4.5 $0.00003 $0.00081

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

Security

Grade A, and why

review-agent-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 9d 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/review-agent-memory/SKILL.md · 53 lines

How it starts

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

Review Agents — Memory and State

Overview

Scans agent memory and state-store configuration (component YAMLs + in-code wiring) for correctness: exactly one actor state store (actorStateStore: "true") for the workflow engine, memory and state wiring that really persists (native dapr-agents memory is per run and moves to the state store whenever state is set; diagrid wrappers keep history per workflow instance only), helper stores that point at loaded components, exact component names for auto-discovery, stable agent names, and secret management for LLM and Catalyst keys. Read-only: this skill never modifies source files.

Execution Order

You MUST follow these phases in strict order.

  1. Resolve scope — Read ../dapr-shared/review-scope-prompt.md and follow it to set scope_root.
  2. Detect target — Read ../dapr-shared/review-detect-target-agent.md and follow it to produce language, flavor, agent_files, and component_files.
  3. Load checklist — Based on language, read exactly one of:
  4. Scan — Apply every rule from the loaded checklist to agent files and component YAMLs. For Python, apply each rule only to files of the flavor it lists; in a mixed project, use each file's own flavor. Cross-reference: a rule about a component is only valid if the component name is referenced in code (or conventionally expected, like agent-workflow).
  5. Report — Format findings using ../dapr-shared/review-report-format.md. Group by severity, then rule id, then file path.
  6. Show final message — Emit the report from step 5 with a ## Next steps block.

Prerequisites

  • Read access to the project directory.
  • No build, compile, or run step required.

Read the full file on GitHub · 53 lines

Files

What ships with it

1 file 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. 9d ago Changed · -10 tokens per session 3d115c4d13bf
  2. 13d ago Changed 4ef4757d5165
  3. 14d ago Changed eb53a4012208
  4. 1mo ago First seen · 53 lines · 43 tokens per session scan A 124a709052aa

Subscribe to this mod's changes

review-agent-memory is a skill published in the GitHub repository diagrid-labs/dapr-skills (13 stars, last pushed 9d ago), licensed MIT. It adds 33 tokens to every session and 811 once invoked, about $0.0001 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

context-bankruptcy

Declare bankruptcy on a long-lived AI agent's accumulated memory — audit what it currently believes, separate ground truth from stale and wrong, purge deliberately, restate the truths that survive, and log what was lost. Use when an agent keeps acting on outdated facts, contradicts itself across sessions, 'remembers'…

mohitagw15856/pm-claude-skills · 108 tokens

context-engineering-review

Review what an LLM feature or agent actually puts in its context window — and find what's bloating, missing, or fighting itself. Use when asked to review a system prompt and context assembly, cut token usage without losing quality, debug an agent that ignores instructions, or audit how retrieval results, history, and…

mohitagw15856/pm-claude-skills · 111 tokens

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

memory-file-maintenance

Keep your AI memory/context file (MEMORY.md, CLAUDE.md, custom instructions) healthy over time — pruning the stale, adding the new, and keeping it sharp so your AI keeps getting you right. Use when asked review my memory file, my AI context is outdated, clean up my CLAUDE.md, or maintain my AI instructions. Produces a…

mohitagw15856/pm-claude-skills · 146 tokens

agent-project-file

Set up the project file an AI agent keeps for work that runs over days or weeks: the goal, the definition of done, milestones, the current state, decisions made, open questions, and the exact point to resume from after an interruption. Use when asked to plan a long-running agent task, make my agent work on this over a…

mohitagw15856/pm-claude-skills · 109 tokens

recall-rationale

Recall why a past change was made by locating the Claude Code transcript that produced it. Use when the user asks to "recall the rationale", "find the rationale", "look up the rationale", "why did I do X", "why did we do X", "why was this changed", or "find the transcript for this commit".

tobihagemann/turbo · 74 tokens