AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Persistent Memory

skill-fengsihao23-eng-shen-hua-persistent-memory · by fengsihao23-eng

Shen-Hua project memory manager. Use whenever Codex needs to initialize, read, repair, update, or summarize the project's `.agent/` working memory files, including PROJECT_BRIEF.md, PLAN.md, TASKS.md, LOG.md, DECISIONS.md, HANDOFF.md, and REVIEW_CHECKLIST.md for long-running tasks.

No reviews yet
0 installs
11 views
0.0% view→install

Install

$ agentstack add skill-fengsihao23-eng-shen-hua-persistent-memory

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-fengsihao23-eng-shen-hua-persistent-memory)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Persistent Memory? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Persistent Memory

Persistent Memory keeps long-running project context in .agent/ so future Codex sessions can resume with less drift.

Trigger Conditions

Use this skill when:

  • .agent/ files are missing, stale, inconsistent, or need initialization.
  • Starting, continuing, pausing, or handing off long-running work.
  • A plan, decision, task status, verification result, or blocker must persist across turns.

Do Not Trigger

Do not use this skill when:

  • The user explicitly forbids writing project memory.
  • The task is truly one-shot and no project state changes.
  • A different project memory system is mandated by the user and conflicts with .agent/.

Memory Files

Maintain these files:

  • .agent/PROJECT_BRIEF.md: stable project goal, constraints, source priority, commands, conventions.
  • .agent/PLAN.md: current plan, phases, milestones, verification gates.
  • .agent/TASKS.md: task list with status, owner/role, and next action.
  • .agent/LOG.md: append-only chronological work log.
  • .agent/DECISIONS.md: durable decisions with rationale and alternatives.
  • .agent/HANDOFF.md: resume instructions for the next agent/session.
  • .agent/REVIEW_CHECKLIST.md: self-review and quality checklist.

When Shen-Hua V2 runtime is enabled, also maintain:

  • .agent/state/tasks.jsonl: machine-readable task queue.
  • .agent/state/events.jsonl: append-only runtime event log.
  • .agent/state/memory-index.json: local memory retrieval index.
  • .agent/state/sync-outbox.jsonl: external sync outbox.
  • .agent/resume-prompt.md: future-session resume prompt.
  • .agent/automation-prompt.md: Codex automation prompt.

Update Rules

  1. Read existing memory before changing it.
  2. Preserve useful prior context; do not rewrite history into fiction.
  3. Use timestamps for log entries.
  4. Prefer concise append/update blocks over wholesale rewrites.
  5. Mark uncertainty explicitly.
  6. Keep .agent/HANDOFF.md current enough that another agent can resume immediately.

Required .agent/ Updates

When invoked, update at least one relevant memory file. For ordinary long-task rounds, update:

  • .agent/LOG.md
  • .agent/TASKS.md
  • .agent/HANDOFF.md

For first-time setup, create all seven files with usable starter content.

Other Skills

Persistent Memory supports all Shen-Hua skills. It does not need to call other skills unless memory repair reveals that planning, verification, review, or handoff is missing.

Use $runtime-operator when the task needs queue operations, memory indexing/search, resume prompt generation, automation prompts, sync export, or the runtime gate.

Subagents

Do not launch subagents for routine memory updates. If multiple subagents are already running, record their assignments and statuses in .agent/TASKS.md and .agent/HANDOFF.md.

Verification Commands

No build/test command is required for memory-only edits. Validate by confirming the files exist and contain no placeholder-only sections.

Output Format

MEMORY UPDATE
Files read:
Files updated:
New facts:
Open uncertainties:
Next resume point:

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.