← 返回 Skills 市场
techieter

Memory Keep-Alive for Obsidian

作者 Terry Hundley · GitHub ↗ · v1.0.1 · MIT-0
macoslinux ✓ 安全检测通过
111
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install memory-keep-alive-for-obsidian
功能描述
Automatic task memory and keep-alive loop for Obsidian-backed agents. Every task gets persistent notes. Arm the loop for long tasks, disarm when done.
使用说明 (SKILL.md)

Memory Keep-Alive for Obsidian

Two things in one skill:

  1. Task Memory — every task automatically gets persistent notes so work survives restarts
  2. Keep-Alive Loop — arm it for long tasks, disarm when done

Task Memory

When you receive any task, automatically create a task folder in the Obsidian vault:

\x3Cvault>/Tasks/\x3Ctask-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

RESUME.md must contain:

  • Task name and one-line description
  • Current status (active / stalled / complete)
  • Last heartbeat (date and time, updated whenever you touch the task)
  • Next action (one concrete step)
  • Key files (relevant paths)
  • Restart note (what a fresh session needs to pick this up)

CHECKLIST.md must contain:

  • Numbered or checkbox steps
  • Current status of each step
  • A final verification step

DOCS.md must contain:

  • Goal
  • Important decisions and why
  • File paths that matter
  • Gotchas and failure modes
  • Notes for the next session

Update rules:

  • Create notes before starting a multi-step task.
  • Update RESUME.md before and after major milestones.
  • Mark checklist items complete as soon as they are done.
  • Add discoveries and gotchas to DOCS.md immediately.
  • Always update the heartbeat when touching an active task.
  • A heartbeat older than 24 hours or a missing next action means the task is stale.

Vault path:

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.

Keep-Alive Loop

For long-running tasks, the keep-alive loop prevents silent failures.

Controls

  • /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.

Monitoring layers

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

Integrity layers

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

Watchdog rules:

  • Write WATCHDOG.md only when you can prove a stall. Do not manufacture problems.
  • Include: folder path, blocker, why-stalled tag, one next action.
  • Why-stalled tags: blocked-on-external, ambiguous-next-step, repeated-promise, missing-context

Replayer rules:

  • Take only one mechanical step per pass. No speculative fixes.
  • If the step is ambiguous, update WATCHDOG.md with a clearer next action and stop.

Escalator rules:

  • Escalate only after the same stall repeats or a replayer pass fails to advance.
  • Add an ESCALATE section to WATCHDOG.md with what was tried and the strongest next action.

Validator rules:

  • Inspect task folders for missing RESUME.md, CHECKLIST.md, or DOCS.md.
  • Backfill missing notes from the canonical template at {baseDir}/templates/TEMPLATE.md. Do not invent formats.
  • Refresh the workflow index so it lists all tasks with status and next action.
  • Treat a task as stale if heartbeat > 24h or next action is missing.

Smoke test checks:

  • Core workflow notes exist (TEMPLATE.md, WORKFLOW-INDEX.md, LOOP-STATE.md)
  • All 5 scheduled jobs exist and are enabled
  • At least one active task has a heartbeat and next action
  • Loop state is valid (armed or disarmed)

File layout

\x3Cvault>/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
  \x3Ctask-name>/
    RESUME.md
    CHECKLIST.md
    DOCS.md
    WATCHDOG.md          # created by watchdog when stall detected

When to use

  • Task memory: Always. Every task should get notes automatically.
  • Keep-alive loop: For long tasks. /loop-start before the task, /loop-stop when done.
  • Quick tasks: Just let the task memory handle it. No need to arm the loop.
安全使用建议
This skill appears internally consistent, but review and accept the following before installing: - Backup your Obsidian vault first — the installer will create folders and modify files under <vault>/Tasks/. - The installer will add five enabled OpenClaw cron jobs (watchdog, replayer, escalator, validator, smoke-test). These run periodically and will autonomously read and write files in your vault; remove or disable them when you no longer want automated monitoring. - Inspect the prompt files (prompts/*.md) to confirm their behavior is acceptable; they explicitly restrict scope to the vault, which is good. Consider running the smoke test manually first. - The installer will either call the openclaw CLI or write ~/.openclaw/cron/jobs.json directly. If you prefer manual control, follow the manual-install steps in INSTALL.md instead of running the script. If you want stronger assurance, run the install script in a test environment or a copy of your vault, confirm the added jobs, and read the prompts to ensure they don't leak sensitive content to external endpoints (none are present).
功能分析
Type: OpenClaw Skill Name: memory-keep-alive-for-obsidian Version: 1.0.1 The skill provides a robust task persistence and monitoring system for OpenClaw agents by utilizing an Obsidian vault to store state notes (RESUME.md, CHECKLIST.md, DOCS.md). It includes an installer (install.sh) that configures five automated cron jobs—watchdog, replayer, escalator, validator, and smoke-test—to detect stalls and maintain note integrity. All agent instructions and prompts are strictly scoped to the user-defined Obsidian vault path, and the code lacks any indicators of data exfiltration, malicious execution, or unauthorized system access.
能力评估
Purpose & Capability
Name/description, SKILL.md, prompts, and install.sh all focus on creating task notes in an Obsidian vault and adding five scheduled OpenClaw jobs to run watchdog/replayer/escalator/validator/smoke-test logic. Requested filesystem paths (vault, OpenClaw home) and the installer behavior are proportional to that purpose.
Instruction Scope
Runtime instructions and the included prompts consistently limit read/write scope to the specified vault path (VAULT_PATH/Tasks/) and the skill's workflow files. The skill will create and update RESUME/CHECKLIST/DOCS and watchdog files as described — this is expected behavior for a persistent task-memory system.
Install Mechanism
There is no remote download. install.sh copies bundled files into ~/.openclaw/skills, sets up template files in the vault, and registers jobs either via the openclaw CLI or by merging entries into ~/.openclaw/cron/jobs.json using an inline Python snippet. This is a local-file install and is proportionate to the stated functionality.
Credentials
The skill declares no credentials or environment variables; the installer accepts a --vault path and optionally an --openclaw path. It does require an existing OpenClaw installation (it checks the OpenClaw directory) which is reasonable for an OpenClaw skill.
Persistence & Privilege
The installer registers five enabled cron jobs that will run periodically and invoke model prompts autonomously. Autonomous invocation is the platform default and expected here, but users should be aware this creates ongoing scheduled activity that will read/write their vault files until jobs are removed or disabled.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install memory-keep-alive-for-obsidian
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /memory-keep-alive-for-obsidian 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Scope all prompts to vault path only. Each prompt now has an explicit Scope line restricting file access to VAULT_PATH/Tasks/. Removed broad context-gathering language that could cause the agent to access files outside the Obsidian vault during autonomous scheduled runs.
v1.0.0
Initial release – persistent memory and task monitoring for Obsidian agents. - Each task automatically gets a dedicated folder with RESUME.md, CHECKLIST.md, and DOCS.md for persistence and progress tracking. - Keep-alive loop with `/loop-start` and `/loop-stop` adds watchdog, replayer, and escalator jobs for monitoring long tasks. - Automated validators and smoke tests ensure note integrity and health of the workflow. - Uses OBSIDIAN_VAULT_PATH or defaults to `~/Documents/Obsidian Vault` for task storage. - Canonical templates and workflow index provided for consistency and quick task overview.
元数据
Slug memory-keep-alive-for-obsidian
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Memory Keep-Alive for Obsidian 是什么?

Automatic task memory and keep-alive loop for Obsidian-backed agents. Every task gets persistent notes. Arm the loop for long tasks, disarm when done. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 111 次。

如何安装 Memory Keep-Alive for Obsidian?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install memory-keep-alive-for-obsidian」即可一键安装,无需额外配置。

Memory Keep-Alive for Obsidian 是免费的吗?

是的,Memory Keep-Alive for Obsidian 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Memory Keep-Alive for Obsidian 支持哪些平台?

Memory Keep-Alive for Obsidian 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(macos, linux)。

谁开发了 Memory Keep-Alive for Obsidian?

由 Terry Hundley(@techieter)开发并维护,当前版本 v1.0.1。

💬 留言讨论