agent tooling by LeoYeAI
Agent 记忆系统搭建指南 Skill Agent Memory System Guide
An agent memory workflow guide for OpenClaw and Codex with MEMORY.md, daily notes, SESSION-STATE, working-buffer, Obsidian archiving, and optional OpenViking support.
What it changes View full report → Passed 12 of 20 test cases with the skill, and 1 of 20 without it.
Without skill 4%
With skill 61%
13 fixed1 passed either way9 still failing0 broke
Pass-rate lift +57 pp
Tokens +231%
Agent turns 0%
Response time -34% Model gemini-3.6-flashMeasured 7/26/2026 v1 14 of 23 cases passed with skill · 20 comparable
Use this skill Claude Code DecimalAI agent CLI & files
Save it into your project's skills folder. Claude Code picks it up in its next session.
curl -fsSL --create-dirs -o .claude/skills/agent-memory-system-guide/SKILL.md https://app.decimal.ai/s/agent-memory-system-guide/SKILL.md Copy command Copy SKILL.md
Want it pinned and updatable? pip install "decimalai>=0.15", then decimalai skills add agent-memory-system-guide, and start Claude Code with claude --plugin-dir "$(git rev-parse --show-toplevel)/.agents"
Linked stays up to date: your agents get the author's new versions automatically.
Editable copy is yours to change; the author's updates won't reach it.
Install linked skill Create editable copy
1 · One-time — install the CLI (
docs ↗ )
$ pip install "decimalai>=0.15"Copy
2 · Get the skill — writes .agents/skills/agent-memory-system-guide/ and pins it in .decimal/skills.lock
$ decimalai skills add agent-memory-system-guideCopy
Copy link Copy README badge Copy SKILL.md No CLI? Get the same file — curl · raw file $ curl -fsSL --create-dirs -o .claude/skills/agent-memory-system-guide/SKILL.md https://app.decimal.ai/s/agent-memory-system-guide/SKILL.mdCopy
Safety checks: 3 of 3 passed
Code scan Clean Intent Passed Content Clean
Overview Benchmark Contents Activity Versions 1 Ratings 0
What's inside The instructions your model reads when the skill loads.
SKILL.md 563 lines 6 files includes scripts
Agent 记忆系统搭建指南 Skill
🧠 从零搭建 Agent 长期记忆系统。基于 OpenClaw 实战,覆盖本地优先的 MEMORY.md、每日笔记、SESSION-STATE.md、working-buffer.md、Obsidian 原生笔记与可选召回后端全流程。
触发词
记忆系统、memory-setup、搭建记忆、记忆架构
⚡ 5 分钟快速上手
如果你赶时间,只需做这几步:
第一步:创建 MEMORY.md
# MEMORY.md
> 长期记忆。只保留会持续影响协作的事实、偏好和决策。
## User
- Preferred name: K
- Timezone: Asia/Shanghai
## 当前任务
- [ ] 正在做的事
## 决策记录
- YYYY-MM-DD: 决策内容 + 原因
## 踩坑记录
- 问题 → 解决方案
第二步:创建每日笔记
Track record Benchmark 12 / 20
test cases passed, vs 1 / 20 without
Adoption
Users 0
Times used 0 View activity → Safety and source details
SkillSafety ✓ 3 of 3 passed ✓ Code scan 15 of 15 checks clean
0 critical · 0 warning · 0 info — scanner v4 — 7/30/2026
View 15 scanner checks live_secret remote_code_execution reverse_shell data_exfiltration ssrf_metadata agent_snooping anti_refusal destructive_commands obfuscated_unicode unicode_homoglyph opaque_blob suspicious_url tool_overreach trigger_abuse prompt_injection_phrasing
✓ Intent Safe
LLM judge · does the skill do what it claims
✓ Content Clean
LLM judge · policy & harmful-content review
Source Imported LeoYeAI / openclaw-master-skills
skills/agent-memory-system-guide/SKILL.md
View on GitHub ↗ License MITImported 8/2/2026Version v1Bundled 5 files · scripts