local-agent-memory-v1

Build, maintain, or improve a layered local memory system for OpenClaw-style agents using markdown files instead of database-backed memory. Use when creating or refining `MEMORY.md`, `memory/YYYY-MM-DD.md`, `memory/semantic/`, `memory/procedural/`, heartbeat-based memory consolidation, skeptical memory rules, strict write discipline, long-term memory governance, or file-based agent memory workflows in local/Termux/workspace-based setups.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "local-agent-memory-v1" with this command: npx skills add lupinweng/local-agent-memory-v1

Local Agent Memory v1

Build or refine a reliable file-based memory system for an agent.

Core workflow

  1. Create or inspect these layers:
    • memory/YYYY-MM-DD.md
    • memory/semantic/
    • memory/procedural/
    • MEMORY.md
  2. Keep MEMORY.md lightweight and routing-oriented.
  3. Put stable facts in semantic files.
  4. Put repeatable methods in procedural files.
  5. Treat memory as a hint/index layer, not unquestionable truth.
  6. Re-verify current facts before taking real actions based on remembered information.
  7. Write destination files first, then update MEMORY.md only if the change deserves long-term indexing.

Decision rules

Use daily memory for

  • new events
  • one-off attempts
  • temporary troubleshooting detail
  • anything not yet proven reusable

Use semantic memory for

  • stable user preferences
  • durable environment facts
  • platform constraints
  • lasting architecture or governance decisions

Use procedural memory for

  • repeatable workflows
  • checklists
  • maintenance routines
  • methods likely to be reused across sessions

Maintenance pattern

Run a lightweight dream/consolidation pass when memory starts to sprawl:

  • read MEMORY.md
  • read recent daily logs
  • identify repeated facts or workflows
  • extract stable facts into semantic memory
  • extract repeatable methods into procedural memory
  • prune low-value or duplicated summary lines from MEMORY.md

Run a deeper pass for large daily logs or when the topic tree needs restructuring.

Guardrails

  • Do not let MEMORY.md become a diary.
  • Do not promote everything that looks interesting.
  • Do not rely on stale remembered facts for real actions.
  • Do not mix memory maintenance with unrelated code changes unless the user asked for both.
  • Prefer a few clear topic files over many overlapping files.

References

Read these only as needed:

  • references/architecture.md for the memory model and core disciplines
  • references/setup.md for minimum structure and topic layout
  • references/maintenance.md for governance and consolidation rules

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Canonry Setup

Agent-first AEO operating platform.

Registry SourceRecently Updated
4151arberx
Automation

Pilot Service Agents Entertainment

Games, manga/anime, trivia, and fandom APIs — PokeAPI, Jikan, CheapShark, misc. Use this skill when: 1. Pokémon / PokeAPI lookups 2. Anime or manga metadata...

Registry SourceRecently Updated
Automation

Pilot Service Agents Economics

Macroeconomic indicators — IMF DataMapper, World Bank, Eurostat SDMX, Coinbase reference prices. Use this skill when: 1. Country-level GDP, inflation, or une...

Registry SourceRecently Updated
Automation

Pilot Service Agents Flights

Aircraft tracking and aviation weather — ADS-B feeds (ICAO + bbox), airport directory, METAR/TAF/SIGMET. Use this skill when: 1. Live aircraft positions by I...

Registry SourceRecently Updated