Agent Memory Architecture
Complete zero-dependency memory system for AI agents — file-based architecture, daily notes, long-term curation, context management, heartbeat integration…
Skill by LeoYeAI
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/leoyeai-agent-memory-architecture
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/agent-memory-architecture
What's inside
- Skill name
Agent Memory Architecture- Description
- Complete zero-dependency memory system for AI agents — file-based architecture, daily notes, long-term curation, context management, heartbeat integration, and memory hygiene. No APIs, no databases, no external tools. Works with any agent framework.
- License
- MIT
- Metadata
- category: agent
- Instructions
- 574 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "Agent Memory Architecture" does not match folder "afrexai-agent-memory"
- body: 574 lines (spec recommends under 500)
Files (3)
- README.md
- SKILL.md
- _meta.json
SKILL.md (first lines)
# Agent Memory Architecture Complete memory system for AI agents using only files. No APIs. No databases. No external dependencies. Just smart file structures and disciplined practices that give your agent perfect recall. --- ## 1. Memory Architecture Overview ``` workspace/ ├── MEMORY.md ← Long-term curated memory (the brain) ├── ACTIVE-CONTEXT.md ← Hot working memory (what matters NOW) ├── AGENTS.md ← Operating manual (how you work) ├── memory/ │ ├── 2026-01-15.md ← Daily notes (raw event log) │ ├── 2026-01-16.md │ ├── heartbeat-state.json ← Heartbeat tracking state │ ├── topics/ │ │ ├── project-alpha.md ← Topic-specific deep context │ │ ├── client-acme.md │ │ └── tech-stack.md │ └── archive/ │ ├── 2025-Q4.md ← Quarterly archive summaries │ └── 2025-Q3.md ``` ### The 5 Memory Layers | Layer | File | Purpose | Read Frequency | Write Frequency | |-------|------|---------|----------------|-----------------| | **1. Hot** | ACTIVE-CONTEXT.md | Current priorities, blockers, in-flight work | Every session | Multiple times/day | | **2. Warm** | MEMORY.md | Curated long-term knowledge, decisions, people | Every main session | Weekly curation | | **3. Daily** | memory/YYYY-MM-DD.md | Raw event log, conversations, actions taken | Today + yesterday | Throughout the day | | **4. Topic** | memory/topics/*.md | Deep context on specific subjects | When topic comes up | As knowledge grows | | **5. Cold** | memory/archive/*.md | Historical summaries, rarely accessed | On explicit search | Quarterly rollup | ### Core Principle: Write It Down **Memory is limited. Files are permanent.** - "Mental notes" don't survive session restarts. Files do. - If someone says "remember this" → write to a file - If you learn a lesson → update the relevant file - If you make a mistake → document it so future-you doesn't repeat it - **Text > Brain** 📝 --- ## 2. Layer 1: Hot Memory (ACTIVE-CONTEXT.md) Your working scratchpad. What's happening RIGHT NOW. ### Template ```markdown # ACTIVE-CONTEXT.md — What's Hot Last updated: 2026-01-15 14:30 GMT ## 🔥 Current Priority [ONE sentence: what is the most important thing right now?] ## In Progress - [ ] Task A — status, next step - [ ] Task B — status, blocker ## Waiting On - Waiting for [person] to [action] — asked [date] - Waiting for [system] to [complete] — ETA [time] ## Key Decisions Made Today - Decided to [X] because [Y] — reversible: yes/no ## Context for Next Session [What does future-you need to know to pick up where you left off?] ``` ### Rules - **Max 50 lines** — if it's longer, you're hoarding. Move completed items to daily notes. - **Update before ending session** — your gift to future-you - **One priority** — if everything is priority, nothing is - **Delete completed items** — this is NOT an archive --- ## 3. Layer 2: Long-Term Memory (MEMORY.md) Your curated brain. Distilled knowledge, not raw logs. ### Structure Template ```markdown # MEMORY.md — Long-Term Memory ## About [Human] - Name, preferences, timezone, communication style - What motivates them, what frustrates them - Key relationships, roles, goals ## About Me [Agent] - Name, personality, capabilities - Operating preferences learned over time ## Active Projects ### Project Name - Status, key decisions, blockers - Links to relevant topic files ## Key People - [Name] — role, relationship, communication notes ## Lessons Learned - [Date] — [What happened] → [What I learned] ## Preferences & Patterns - [Human prefers X over Y] - [This approach works better than that one] ## Important Dates
From LeoYeAI/openclaw-master-skills, MIT.
More from LeoYeAI/openclaw-master-skills
- 0.734score
audit-website
squirrelscan
Audit websites for SEO, performance, security, technical, content, and 15 other issue cateories with 230+ rules using the squirrelscan CLI.
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.734score
arista-device-health
network-security-skills-suite
Arista EOS device health check and triage procedure.
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.733score
analyticscli-ts-sdk
wotaso
Use when integrating or upgrading the AnalyticsCLI TypeScript SDK in web, TypeScript, React Native, or Expo apps.
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.731score
ai-headshot-generation
eachlabs
Generate professional AI headshots from casual photos using each::sense AI.
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.731score
acl-rule-analysis
network-security-skills-suite
Vendor-agnostic ACL and firewall rule analysis with shadowed rule detection, overly permissive rule identification, unused rule discovery, redundant rule…
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.729score
agentic-street
agentic-street
Earn yield on USDC by investing in AI-managed DeFi funds, or launch your own fund and build a public track record on Base.
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.728score
aureus-arena
aureus-arena
Build and operate autonomous AI agents that compete in Aureus Arena, a fully on-chain Colonel Blotto game on Solana.
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.728score
agent-bom
msaad00
Open security platform for agentic infrastructure — broad scanning plus MCP discovery, CVEs, blast radius, SBOMs, CIS benchmarks (AWS, Azure, GCP, Snowflake)…
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.727score
aster-futures
Aster
Aster Futures request using the Aster API.
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.725score
anvevoice
AnveVoice
Add AI voice assistants to your website.
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.724score
anima
animaapp
Turns ideas into live, full-stack web applications with editable code, built-in database, user authentication, and hosting.
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.719score
xaut-trade
aurehub
Buy or sell XAUT (Tether Gold) on Ethereum.
SkillCFreshness: C★ 2.2KClaude Code +9
Signals
- Stars
- 2,168
- Forks
- 325
- Open issues
- 13
- Last commit (this folder)
- Jun 22, 2026 (4 months ago)
- Last release
- Jul 20, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Website
- myclaw.ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from LeoYeAI
- 0.552score
aavegotchi-gbm-skill
LeoYeAI
View, create, cancel, bid, and claim Aavegotchi GBM auctions on Base mainnet (8453).
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.552score
aqara-open-api
LeoYeAI
Query and control Aqara/Lumi Studio smart home devices and manage spaces via the Aqara Open Platform API (HTTP JSON).
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.552score
aawp
LeoYeAI
AAWP (AI Agent Wallet Protocol) — the only crypto wallet protocol built exclusively for AI Agents on EVM-compatible blockchains.
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.552score
ai-task-hub
LeoYeAI
AI task hub for image analysis, background removal, speech-to-text, text-to-speech, markdown conversion, and async execute/poll/presentation orchestration.
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.552score
animation-shader
LeoYeAI
READ this skill when implementing or configuring animation-style shaders (Toon/Cel Shaders) — including outlines, rim lighting, toon shading, MatCap…
SkillCFreshness: C★ 2.2KClaude Code +9 - 0.552score
adaptive-learning-playbook
LeoYeAI
World-Class Adaptability & Learning Playbook.
SkillCFreshness: C★ 2.2KClaude Code +9
Cite this page
Agent Memory Architecture skill. Agent Mart. https://agentmart.dev/skills/leoyeai-agent-memory-architecture (last updated 2026-10-24)