task-progress

star 4.8k

Use when executing a task (progress logging, plan updates), when resuming a task after session reset, or when managing task history. Covers progress log format, task-history.json, and resume flow.

agentscope-ai By agentscope-ai schedule Updated 6/2/2026

name: task-progress description: Use when executing a task (progress logging, plan updates), when resuming a task after session reset, or when managing task history. Covers progress log format, task-history.json, and resume flow.

Task Progress

Gotchas

  • Push progress log after every meaningful action — don't batch updates; session resets can lose unpushed work
  • task-history.json is LRU top 10 — overflow goes to /home/openhuman/.openhuman/history-tasks/{task-id}.json
  • Resume flow reads progress/ latest-first — keep filenames as YYYY-MM-DD.md for correct sort order

Progress Log

After every meaningful action (completing a sub-step, hitting a problem, making a decision), append to:

/home/openhuman/.openhuman/shared/tasks/{task-id}/progress/YYYY-MM-DD.md

Format (append, don't overwrite):

## HH:MM — {brief action title}

- What was done: ...
- Current state: ...
- Issues encountered: ...
- Next step: ...

Push the task directory after each update:

mc mirror /home/openhuman/.openhuman/shared/tasks/{task-id}/ ${HICLAW_STORAGE_PREFIX}/shared/tasks/{task-id}/ --overwrite --exclude "spec.md" --exclude "base/"

Task History (LRU Top 10)

File: /home/openhuman/.openhuman/task-history.json

{
  "updated_at": "2026-02-21T15:00:00Z",
  "recent_tasks": [
    {
      "task_id": "task-20260221-100000",
      "brief": "One-line description of the task",
      "status": "in_progress",
      "task_dir": "/home/openhuman/.openhuman/shared/tasks/task-20260221-100000",
      "last_worked_on": "2026-02-21T15:00:00Z"
    }
  ]
}

Rules:

  • New task assigned: add to head of recent_tasks
  • Exceeds 10 entries: move oldest to /home/openhuman/.openhuman/history-tasks/{task-id}.json
  • Status changes: update status field in recent_tasks

Resume Flow

When your coordinator or admin asks you to resume a task after session reset:

  1. Read task-history.json; if not there, check history-tasks/{task-id}.json
  2. Get task_dir from the entry
  3. Task files are already in /home/openhuman/.openhuman/shared/tasks/{task-id}/ (auto-synced)
  4. Read {task_dir}/spec.md, {task_dir}/plan.md, and recent {task_dir}/progress/ files (latest first)
  5. Continue work and append to today's progress/YYYY-MM-DD.md
Install via CLI
npx skills add https://github.com/agentscope-ai/HiClaw --skill task-progress
Repository Details
star Stars 4,848
call_split Forks 573
navigation Branch main
article Path SKILL.md
More from Creator
agentscope-ai
agentscope-ai Explore all skills →