搜索

PythonReactSEOPDF
OpenClaw

task-ledger

Persistent long-task checkpoint, recovery, rollback-aware, relation-aware, scheduling-aware, reporting-aware, and resumable workflow toolkit for OpenClaw. Use when work is multi-step, long-running, uses background exec/subagents/cron, has external side effects, or must survive restarts, disconnects, and context loss.

gejiliang0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install gejiliang/task-ledger

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

task-ledger

Turn long-running tasks into durable task objects with checkpoints, recovery verification, rollback metadata, task relations, readiness-aware scheduling, short-first reporting, and resumable execution instead of fragile chat context.

Trigger

Use this skill when any of these are true:

  • task runtime will likely exceed 5 minutes
  • task has more than 3 stages
  • task uses background exec
  • task uses sessions_spawn
  • task uses cron
  • task has external side effects
  • task involves restart / deploy / maintenance workflows with risky side effects
  • task should be split into parent/child tasks or tracked with dependencies
  • task readiness should be checked before starting downstream work
  • task reporting should prefer short updates backed by long file-based reports
  • the user wants the work to be recoverable / resumable / auditable

What this skill provides

This package includes a task ledger toolkit with:

  • task checkpoint JSON files in tasks/
  • execution logs in logs/
  • outputs/artifacts in outputs/
  • lifecycle helpers for create/update/advance/close
  • recovery helpers for verify/resume-summary
  • binding helpers for process/subtask/cron references
  • rollback metadata in the task schema
  • parent/child task relations and dependency-aware tooling
  • readiness-aware scheduling helpers
  • specialized templates for restart and deployment workflows
  • human-friendly export for reports, handoff, archival, and graph views
  • short-first reporting with optional file-backed long reports

Bundled files live next to this skill under toolkit/.

First-use bootstrap

If the current workspace does not already contain the toolkit, copy these bundled assets into the workspace root:

  • toolkit/scripts/* → <workspace>/scripts/
  • toolkit/task-templates/* → <workspace>/task-templates/
  • toolkit/tasks/README.md → <workspace>/tasks/README.md

Always create the runtime directories if missing:

  • tasks/
  • logs/
  • outputs/

Do not overwrite...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/gejiliang/task-ledger
Version
—
Commit
3c8b8ab229ac2d802e76235323d054e4d3b21aef
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Task Ledger

Persistent long-running task management, checkpoint, recovery, rollback-aware, relation-aware, scheduling-aware, and reporting-aware toolkit for OpenClaw.

Why

OpenClaw gives you strong execution primitives (exec, process, sessions_spawn, cron), but long tasks still need a durable userland protocol:

  • a task object
  • explicit stages
  • a log path
  • an output directory
  • execution references
  • recovery rules
  • rollback metadata
  • final reporting rules

This skill packages that protocol.

What changed in 0.2.3

  • reporting schema support for short-first, normal, and detailed modes
  • short-format task export for chat-friendly updates
  • file-backed long report output to outputs/<taskId>/report.md
  • exported long report path stored in task state
  • published skill package synced to include reporting-aware workflow support

Includes

  • SKILL.md — agent-facing operating instructions
  • toolkit/scripts/ — helper scripts for task lifecycle, recovery, control-plane relations, scheduling, migration, export, and reporting
  • toolkit/task-templates/ — generic template, specialized examples, schema, and recovery notes
  • toolkit/tasks/README.md — runtime directory guide
  • CHANGELOG.md — tracked version history

Runtime layout

When installed into a workspace, the toolkit expects:

  • tasks/
  • logs/
  • outputs/
  • scripts/
  • task-templates/

Typical flow

  1. Confirm plan with the user
  2. Create checkpoint skeleton first
  3. Execute stage-by-stage
  4. Update task state after each stage
  5. Recover by reading resume summary and checking reality first
  6. Correct stale checkpoint state if needed
  7. Use parent/child relations and dependencies for larger task programs
  8. Use readiness checks or start-if-ready automation before starting dependent tasks
  9. Prefer short user-facing updates and keep long reports on file when appropriate
  10. Report completion or recovery proactively

Example use cases

  • safe OpenClaw gateway restar...

来源内容

SKILL.md
# task-ledger

Turn long-running tasks into durable task objects with checkpoints, recovery verification, rollback metadata, task relations, readiness-aware scheduling, short-first reporting, and resumable execution instead of fragile chat context.

## Trigger

Use this skill when any of these are true:

- task runtime will likely exceed 5 minutes
- task has more than 3 stages
- task uses background `exec`
- task uses `sessions_spawn`
- task uses `cron`
- task has external side effects
- task involves restart / deploy / maintenance workflows with risky side effects
- task should be split into parent/child tasks or tracked with dependencies
- task readiness should be checked before starting downstream work
- task reporting should prefer short updates backed by long file-based reports
- the user wants the work to be recoverable / resumable / auditable

## What this skill provides

This package includes a task ledger toolkit with:

- task checkpoint JSON files in `tasks/`
- execution logs in `logs/`
- outputs/artifacts in `outputs/`
- lifecycle helpers for create/update/advance/close
- recovery helpers for verify/resume-summary
- binding helpers for process/subtask/cron references
- rollback metadata in the task schema
- parent/child task relations and dependency-aware tooling
- readiness-aware scheduling helpers
- specialized templates for restart and deployment workflows
- human-friendly export for reports, handoff, archival, and graph views
- short-first reporting with optional file-backed long reports

Bundled files live next to this skill under `toolkit/`.

## First-use bootstrap

If the current workspace does not already contain the toolkit, copy these bundled assets into the workspace root:

- `toolkit/scripts/*` → `<workspace>/scripts/`
- `toolkit/task-templates/*` → `<workspace>/task-templates/`
- `toolkit/tasks/README.md` → `<workspace>/tasks/README.md`

Always create the runtime directories if missing:

- `tasks/`
- `logs/`
- `outputs/`

Do **not** overwrite...
README
# Task Ledger

Persistent long-running task management, checkpoint, recovery, rollback-aware, relation-aware, scheduling-aware, and reporting-aware toolkit for OpenClaw.

## Why

OpenClaw gives you strong execution primitives (`exec`, `process`, `sessions_spawn`, `cron`), but long tasks still need a durable userland protocol:

- a task object
- explicit stages
- a log path
- an output directory
- execution references
- recovery rules
- rollback metadata
- final reporting rules

This skill packages that protocol.

## What changed in 0.2.3

- reporting schema support for `short-first`, `normal`, and `detailed` modes
- short-format task export for chat-friendly updates
- file-backed long report output to `outputs/<taskId>/report.md`
- exported long report path stored in task state
- published skill package synced to include reporting-aware workflow support

## Includes

- `SKILL.md` — agent-facing operating instructions
- `toolkit/scripts/` — helper scripts for task lifecycle, recovery, control-plane relations, scheduling, migration, export, and reporting
- `toolkit/task-templates/` — generic template, specialized examples, schema, and recovery notes
- `toolkit/tasks/README.md` — runtime directory guide
- `CHANGELOG.md` — tracked version history

## Runtime layout

When installed into a workspace, the toolkit expects:

- `tasks/`
- `logs/`
- `outputs/`
- `scripts/`
- `task-templates/`

## Typical flow

1. Confirm plan with the user
2. Create checkpoint skeleton first
3. Execute stage-by-stage
4. Update task state after each stage
5. Recover by reading resume summary and checking reality first
6. Correct stale checkpoint state if needed
7. Use parent/child relations and dependencies for larger task programs
8. Use readiness checks or start-if-ready automation before starting dependent tasks
9. Prefer short user-facing updates and keep long reports on file when appropriate
10. Report completion or recovery proactively

## Example use cases

- safe OpenClaw gateway restar...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.