aipmandy/dna-memory/dna-memory-loop

Claude Code and agent skill by aipmandy/dna-memory

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when a substantive task may depend on prior decisions, preferences, project state, workflows, errors, or open loops, or when a verified result should become reusable across Codex, Claude, Hermes, and an Obsidian vault.

Install

npx vskill@latest install aipmandy/dna-memory/dna-memory-loop

SKILL.md

DNA Memory Loop

Use DNA Memory as the cross-client long-term truth. Treat each client's native history as a transcript source, not as a competing durable memory store.

Before substantive work

You MUST recall before relying on history. Treat a task as history-dependent when it refers to prior work, asks to continue, mentions last time or the same plan, names an existing project or path, or depends on a durable preference, known error, workflow, project state, or open loop.

  1. Extract one to four distinctive terms from the request, project, error, or expected result.
  2. Call memory_recall separately for each term. Always pass the real client:

use client=codex, client=claude-code, or client=hermes for those runtimes. Never invent client or session metadata. Pass the current stable session ID only when the runtime exposes it; otherwise omit session_id instead of using a placeholder.

  1. Deduplicate by memory ID. Inject at most five memories and about 2,000 tokens total.
  2. Use only relevant results. Current files, processes, remote state, and tests override stale memory.

Skip recall for simple, self-contained work such as translation, current time, one-step formatting, or a command that does not depend on history.

Feedback

  • Call memory_feedback(..., outcome="useful") only when a recalled memory changed or confirmed the work.
  • Use outcome="misleading" when a memory sent the task in the wrong direction.
  • Do not submit feedback for a result that was displayed but not used.

After verification

Call memory_remember only for a durable preference, decision with rationale, fact, insight, reusable workflow, proven error lesson, project state, or open loop. Write a compact conclusion with bounded source pointers. Never store a full transcript, credentials, raw prompts, or large tool output.

When current evidence invalidates an older conclusion, read the older memory IDs and pass only those exact IDs through supersedes. Never infer replacement from project or type alone.

When a native session has a stable source pointer, call memory_close_session with bounded metadata. This records provenance, not transcript content.

Bounded proposals

If the client cannot directly call memory_remember, it may append up to three reviewable candidates to its final message:

DNA_MEMORY_PROPOSAL {"type":"decision|fact|workflow|preference|insight|error_lesson|project_state|open_loop","summary":"verified reusable conclusion","confidence":"high|medium|low","importance":0.0}

Keep each summary under 800 characters. A proposal remains a candidate until maintenance applies type, sensitivity, capacity, and deduplication checks.

Degraded mode

Memory failure must not block the main task. Continue from current evidence, report the degraded capability once, and never fabricate recall, feedback, or writeback success.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
91
Repository forks
22
7-day trend score
23

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/aipmandy/dna-memory/dna-memory-loop/badge)](https://verified-skill.com/skills/aipmandy/dna-memory/dna-memory-loop)

Something wrong with this skill or its page? Tell us.