Obsidian Long-Term Memory
Paste the following prompt into your AI chat to install this skill:
Please install @user_7da98a98/obsidian-memory using the guide at https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Long-term agent memory often accumulates three failure modes: stale context, contradictory preferences, and repeated pitfalls that never become rules. agent+obsidian=long-term memory stores memory in an Obsidian vault, using profile.md, rules.md, projects/, and session-log.md to separate stable preferences, hard rules, project state, and recent sessions.
How It Works
- Load on start: read the vault path from
SOUL.mdwhen present, then load required files; open a project file only when the user names that project. - Write on trigger: persist new preferences, decisions, pitfalls, and session summaries only after triggers such as
任务完成,/记一下,/记录, or/更新记忆. - Hit stamping: mark entries actually used with a
last hitdate, and flush those marks together with the next real write. - Memory audit: run
/审计记忆or accept a 7-day reminder to detect conflicts, stale entries, repeated pitfalls, and log overflow; after confirmation, archive projects or promote recurring issues intorules.md.
Boundaries
It fits agent workflows that need durable preferences, project continuity, and reusable rules. It is not meant to store full task outputs, temporary parameters, or one-off debugging details. If the user says no memory, the skill skips all memory reads and writes.
Use Cases
- When a user asks to continue a named project, load only that project's current-state block from the Obsidian vault instead of reading unrelated project files.
- After a task completion trigger or `/记一下`, write new preferences, decisions, and pitfall notes back to the appropriate Obsidian memory files.
- Run the memory audit to find stale project states, repeated pitfall patterns, and session-log capacity limits, then wait for user confirmation.
- Detect conflicting preference entries in profile.md during audit, list the proposed fixes, and update them only after the user confirms.
Best For
- Independent developers who need agents to remember writing preferences and formatting rules.
- AI application engineers managing several long-running projects and preserving state plus pitfall notes.
- Agent platform maintainers who want recurring agent mistakes promoted into durable rules.
- Obsidian-based engineers who need controlled loading and writing of agent memory files.
Related Skills
Local workflow memory with matching and SOP updates.
An OpenClaw live streaming executor that initializes TRTC streaming, starts a real-time dashboard, generates viewer URLs, and continuously reports live events.
Breaks down physical supply chains for super-trends to identify second- and third-layer bottlenecks, runs valuation and reverse checks, and maintains trackable reports.
A token-saving compression mode for Chinese LLMs with lite, full, ultra, and classical tiers, preserving code and technical terms while handling edge cases.