Skip to content
Back to skills

Review Agent Memory

ASecurity

This skill reviews agent memory and state-store configuration for correctness. Use this skill when the user asks to "review agent memory", "check state store config", "audit agent persistence", or similar.

  • 12 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
ai-agentspython

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add diagrid-labs/dapr-skills --skill review-agent-memory --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review Agent Memory?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Review Agent Memory
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diagrid-labs-review-agent-memory/badge)](https://www.skillsdirectory.com/skills/diagrid-labs-review-agent-memory)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: review-agent-memory
description: This skill reviews agent memory and state-store configuration for correctness. Use this skill when the user asks to "review agent memory", "check state store config", "audit agent persistence", or similar.
allowed-tools:
  - Read
  - Grep
  - Glob
---

# Review Agents — Memory and State

## Overview

Scans agent memory and state-store configuration (component YAMLs + in-code wiring) for correctness: `actorStateStore: "true"` on the workflow state store, appropriate memory class selection, secret management on LLM keys, and no component collisions between conversation memory and workflow state. Read-only: this skill never modifies source files.

## Execution Order

You MUST follow these phases in strict order.

1. **Resolve scope** — Read [`../shared/review-scope-prompt.md`](../shared/review-scope-prompt.md) and follow it to set `scope_root`.
2. **Detect target** — Read [`../shared/review-detect-target-agent.md`](../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:
   - `python` → [`../shared/review-agent-memory-python.md`](../shared/review-agent-memory-python.md)
   - `dotnet` → [`../shared/review-agent-memory-dotnet.md`](../shared/review-agent-memory-dotnet.md)
4. **Scan** — Apply every rule from the loaded checklist to agent files and component YAMLs. 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 [`../shared/review-report-format.md`](../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.

## Allowed tools

`Read`, `Grep`, `Glob` only.

## Rules

- [Python rules](../shared/review-agent-memory-python.md) — `DAG-MEM-001` … `DAG-MEM-008`
- [.NET rules](../shared/review-agent-memory-dotnet.md) — `DAG-MEM-001` … `DAG-MEM-007`

## Show final message

The last thing you emit MUST be the report from step 5. `## Next steps` should suggest:

- Run `review-agent-tools` next if not yet run.
- Run `review-agent-orchestration` for multi-agent projects.
- Run `review-agent-observability` for native `dapr-agents` projects.
- Re-run this skill after fixing any critical findings.

Do not add any text after the report.

Files in this skill

  • REFERENCE.md1 KB
  • SKILL.md2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.