Install
openclaw skills install memory-keep-alive-for-obsidianAutomatic task memory and keep-alive loop for Obsidian-backed agents. Every task gets persistent notes. Arm the loop for long tasks, disarm when done.
openclaw skills install memory-keep-alive-for-obsidianTwo things in one skill:
When you receive any task, automatically create a task folder in the Obsidian vault:
<vault>/Tasks/<task-name>/
RESUME.md — status, heartbeat, next action, key files, restart note
CHECKLIST.md — step-by-step progress
DOCS.md — goal, decisions, gotchas, notes for next session
Use OBSIDIAN_VAULT_PATH if set, otherwise default to ~/Documents/Obsidian Vault.
Always quote vault paths (they may contain spaces).
The canonical template for new task folders is at {baseDir}/templates/TEMPLATE.md.
For long-running tasks, the keep-alive loop prevents silent failures.
/loop-start — arms the loop. Monitoring jobs begin running./loop-stop — disarms the loop. Jobs no-op. No wasted tokens.The loop state lives in Tasks/Session-Resume-Workflow/LOOP-STATE.md.
When armed, three jobs watch your agent's work:
| Layer | Job name | Schedule | What it does |
|---|---|---|---|
| Watchdog | keep-alive-watchdog | */15 * * * * | Detects stalls, writes WATCHDOG.md |
| Replayer | keep-alive-replayer | */30 * * * * | Takes one concrete step on a stalled task |
| Escalator | keep-alive-escalator | 0 * * * * | Forces fresh-session handoff on repeated stalls |
These run always, regardless of loop state:
| Layer | Job name | Schedule | What it does |
|---|---|---|---|
| Validator | memory-validator | 5 * * * * | Repairs missing notes, refreshes workflow index |
| Smoke test | memory-smoke-test | 0 */6 * * * | Verifies the skill itself is healthy |
blocked-on-external, ambiguous-next-step, repeated-promise, missing-context{baseDir}/templates/TEMPLATE.md. Do not invent formats.<vault>/Tasks/
Session-Resume-Workflow/
TEMPLATE.md # canonical template for new task folders
WORKFLOW-INDEX.md # quick-scan index of all tasks
LOOP-STATE.md # armed/disarmed state marker
<task-name>/
RESUME.md
CHECKLIST.md
DOCS.md
WATCHDOG.md # created by watchdog when stall detected
/loop-start before the task, /loop-stop when done.