[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6Q3C4D3NDF592FDT7174RNZ":3,"skill-same:01M6Q3C4D3NDF592FDT7174RNZ":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6Q3C4D3NDF592FDT7174RNZ","hzl",null,"OpenClaw's persistent task database. Coordinate sub-agents, checkpoint progress, survive session boundaries.","Kernel8901\u002Fai-agent-skills-classification","Kernel8901","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72647553?v=4","01M6KV388J2H5PNC8D8P940BJD","01M6KV38CS5B3AY63RKZB410YM",7,"MIT","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F网页与前端开发\u002Fhzl\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32],"openclaw","cli","github","npm","database","https","homebrew","checkpoint","node","brew","session","install","coordinate","task","progress","2026-11-10 10:12:30",false,"---\nname: hzl\ndescription: OpenClaw's persistent task database. Coordinate sub-agents, checkpoint progress, survive session boundaries.\nhomepage: https:\u002F\u002Fgithub.com\u002Ftmchow\u002Fhzl\nmetadata:\n  { \"openclaw\": { \"emoji\": \"?\", \"homepage\": \"https:\u002F\u002Fgithub.com\u002Ftmchow\u002Fhzl\", \"requires\": { \"bins\": [\"hzl\"] }, \"install\": [ { \"id\": \"brew\", \"kind\": \"brew\", \"package\": \"hzl\", \"bins\": [\"hzl\"], \"label\": \"Install HZL (Homebrew)\" }, { \"id\": \"node\", \"kind\": \"node\", \"package\": \"hzl-cli\", \"bins\": [\"hzl\"], \"label\": \"Install HZL (npm)\" } ] } }\n---\n\n# HZL: Persistent task tracking for agents\n\nHZL (https:\u002F\u002Fgithub.com\u002Ftmchow\u002Fhzl) is a local-first task ledger (database-backed, optionally cloud-synced for backup) that an agent can use to:\n\n- plan multi-step work into projects + tasks\n- checkpoint progress (so work survives session boundaries)\n- coordinate sub-agents or multiple coding tools with leases\n- generate reliable status reports (\"what's done vs what's left\")\n\nThis skill teaches an agent how to use the `hzl` CLI.\n\n## When to use HZL\n\n**OpenClaw has NO native task tracking tools.** Unlike Claude Code (which has TodoWrite) or Codex (which has update_plan), OpenClaw relies on memory and markdown files for tracking work. This makes HZL especially valuable for OpenClaw.\n\n**Use HZL by default for any non-trivial task tracking:**\n\n- Multi-step projects with real sequencing (dependencies) and handoffs\n- Work that may outlive this session or span multiple tools\u002Fagents\n- Orchestration: delegating work to sub-agents and needing recovery if they crash\n- Anything where \"resume exactly where we left off\" matters\n- **Any work you want to persist beyond this session**\n- **Any work that needs structure (nesting, dependencies, progress tracking)**\n- **Any work that benefits from a durable record of decisions or ownership**\n\nMulti-session or multi-agent work are common reasons to use HZL, not requirements.\nUse HZL for single-session, single-agent work when the task is non-trivial.\n\n**Why HZL is the right choice for OpenClaw:**\n\nWithout HZL, OpenClaw tracks tasks in-context (burns space, fragments during compaction) or in markdown files (requires manual management, no nesting\u002Fdependencies, no dashboard). HZL provides:\n\n- Persistent storage that survives session boundaries\n- Nesting (parent tasks + subtasks) and dependencies\n- Web dashboard for human visibility (`hzl serve`)\n- Leases for multi-agent coordination\n- Checkpoints for progress recovery\n\n**Only skip HZL for:**\n\n- Truly trivial, one-step tasks you will complete immediately in this session\n- Time-based reminders\u002Falerts (use OpenClaw Cron instead)\n- Longform notes or knowledge capture (use a notes or memory system)\n\n**Rule of thumb:** If you feel tempted to make a multi-step plan or there is any chance you will not finish in this session, use HZL.\n\nExample: \"Investigate failing tests and fix root cause\" -> use HZL because it likely involves multiple subtasks, even if you expect to finish within a session.\n\nPersonal tasks: HZL is not a polished human to-do app, but it is usable for personal task tracking, and it can also serve as a backend for a lightweight UI.\n\n## Core concepts\n\n- **Project**: stable container. For OpenClaw, use a single `openclaw` project—this keeps `hzl task next` simple. Check `hzl project list` before creating.\n- **Task**: top-level work item. For multi-step requests, this becomes a parent task.\n- **Subtask**: breakdown of a task into parts (`--parent \u003Cid>`). Max 1 level of nesting. Parent tasks are organizational containers—never returned by `hzl task next`.\n- **Checkpoint**: short progress snapshot to support recovery\n- **Lease**: time-limited claim (prevents orphaned work in multi-agent flows)\n\n## Anti-pattern: Project Sprawl\n\nUse a single `openclaw` project. Requests and initiatives become **parent tasks**, not new projects.\n\n**Wrong (creates sprawl):**\n```bash\nhzl project create \"garage-sensors\"\nhzl project create \"query-perf\"\n# Now you have to track which project to query\n```\n\n**Correct (single project, parent tasks):**\n```bash\n# Check for existing project first\nhzl project list\n\n# Use single openclaw project\nhzl task add \"Install garage sensors\" -P openclaw\n# → Created task abc123\n\nhzl task add \"Wire sensor to hub\" --parent abc123\nhzl task add \"Configure alerts\" --parent abc123\n\n# hzl task next --project openclaw always works\n```\n\nWhy this matters:\n- Projects accumulate forever; you'll have dozens of abandoned one-off projects\n- `hzl task next --project X` requires knowing which project to query\n- With a single project, `hzl task next --project openclaw` always works\n\n## Sizing Parent Tasks\n\nHZL supports one level of nesting (parent → subtasks). Scope parent tasks to completable outcomes.\n\n**The completability test:** \"I finished [parent task]\" should describe a real outcome.\n- ✓ \"Finished installing garage motion sensors\"\n- ✓ \"Finished fixing query performance\"\n- ✗ \"Finished home automation\" (open-ended domain, never done)\n- ✗ \"Finished backend work\" (if frontend still pending for feature to ship)\n\n**Scope by problem, not technical layer.** A full-stack feature (frontend + backend + tests) is usually one parent if it ships together.\n\n**Split into multiple parents when:**\n- Parts deliver independent value (can ship separately)\n- You're solving distinct problems that happen to be related\n\n**Adding context:** Use `-d` for details, `-l` for reference docs:\n```bash\nhzl task add \"Install garage sensors\" -P openclaw \\\n  -d \"Per linked spec. Mount sensors at 7ft height.\" \\\n  -l docs\u002Fsensor-spec.md,https:\u002F\u002Fexample.com\u002Fwiring-guide\n```\n\n**Don't duplicate specs into descriptions**—this creates drift. Reference docs instead.\n\n**If no docs exist**, include enough detail for another agent to complete the task:\n```bash\nhzl task add \"Configure motion alerts\" -P openclaw -d \"$(cat \u003C\u003C'EOF'\nTrigger alert when motion detected between 10pm-6am.\nUse Home Assistant automation. Notify via Pushover.\nEOF\n)\"\n```\nDescription supports markdown (16KB max).\n\n## ⚠️ DESTRUCTIVE COMMANDS - READ CAREFULLY\n\nThe following commands **PERMANENTLY DELETE HZL DATA** and cannot be undone:\n\n| Command | Effect |\n|---------|--------|\n| `hzl init --force` | **DELETES ALL DATA.** Prompts for confirmation. |\n| `hzl init --force --yes` | **DELETES ALL DATA WITHOUT CONFIRMATION.** Extremely dangerous. |\n| `hzl task prune ... --yes` | **PERMANENTLY DELETES** old done\u002Farchived tasks and their event history. |\n\n**AI agents: NEVER run these commands unless the user EXPLICITLY asks you to delete data.**\n\n- `hzl init --force` deletes the entire event database: all projects, tasks, checkpoints, and history\n- `hzl task prune` deletes only tasks in terminal states (done\u002Farchived) older than the specified age\n- There is NO undo. There is NO recovery without a backup.\n\n## Core Workflows\n\n**Setup:**\n```bash\nhzl project list                    # Always check first\nhzl project create openclaw         # Only if needed\n```\n\n**Adding work:**\n```bash\nhzl task add \"Feature X\" -P openclaw -s ready         # Ready to claim\nhzl task add \"Subtask A\" --parent \u003Cid>                # Subtask\nhzl task add \"Subtask B\" --parent \u003Cid> --depends-on \u003Csubtask-a-id>  # With dependency\n```\n\n**Working on a task:**\n```bash\nhzl task next -P openclaw                # Next available task\nhzl task next --parent \u003Cid>              # Next subtask of parent\nhzl task next -P openclaw --claim        # Find and claim in one step\nhzl task claim \u003Cid>                      # Claim specific task\nhzl task checkpoint \u003Cid> \"milestone X\"   # Notable progress or before pausing\n```\n\n**Changing status:**\n```bash\nhzl task set-status \u003Cid> ready           # Make claimable (from backlog)\nhzl task set-status \u003Cid> backlog         # Move back to planning\n```\nStatuses: `backlog` → `ready` → `in_progress` → `done` (or `blocked`)\n\n**When blocked:**\n```bash\nhzl task block \u003Cid> --comment \"Waiting for API keys from DevOps\"\nhzl task unblock \u003Cid>                    # When resolved\n```\n\n**Finishing work:**\n```bash\nhzl task comment \u003Cid> \"Implemented X, tested Y\"  # Optional: final notes\nhzl task complete \u003Cid>\n\n# After completing a subtask, check parent:\nhzl task show \u003Cparent-id> --json         # Any subtasks left?\nhzl task complete \u003Cparent-id>            # If all done, complete parent\n```\n\n**Troubleshooting:**\n| Error | Fix |\n|-------|-----|\n| \"not claimable (status: backlog)\" | `hzl task set-status \u003Cid> ready` |\n| \"Cannot complete: status is X\" | Claim first: `hzl task claim \u003Cid>` |\n\n---\n\n## Extended Reference\n\n```bash\n# Setup\nhzl init                                      # Initialize (safe, won't overwrite)\nhzl init --reset-config                       # Reset config to default location\nhzl status                                    # Database mode, paths, sync state\nhzl doctor                                    # Health check for debugging\n\n# Create with options\nhzl task add \"\u003Ctitle>\" -P openclaw --priority 2 --tags backend,auth\nhzl task add \"\u003Ctitle>\" -P openclaw --depends-on \u003Cother-id>\nhzl task add \"\u003Ctitle>\" -P openclaw -s in_progress --assignee \u003Cname>  # Create and claim\n\n# List and find\nhzl task list -P openclaw --available        # Ready tasks with met dependencies\nhzl task list --parent \u003Cid>                  # Subtasks of a parent\nhzl task list --root                         # Top-level tasks only\n\n# Dependencies\nhzl task add-dep \u003Ctask-id> \u003Cdepends-on-id>\nhzl validate                                 # Check for circular dependencies\n\n# Web Dashboard\nhzl serve                    # Start on port 3456 (network accessible)\nhzl serve --host 127.0.0.1   # Restrict to localhost only\nhzl serve --background       # Fork to background\nhzl serve --status           # Check if running\nhzl serve --stop             # Stop background server\n\n# Multi-agent recovery\nhzl task claim \u003Cid> --assignee \u003Cagent-id> --lease 30\nhzl task stuck\nhzl task steal \u003Cid> --if-expired --author \u003Cagent-id>\n```\n\nTip: When a tool needs to parse output, prefer `--json`.\n\n## Authorship tracking\n\nHZL tracks authorship at two levels:\n\n| Concept | What it tracks | Set by |\n|---------|----------------|--------|\n| **Assignee** | Who owns the task | `--assignee` on `claim` or `add` |\n| **Event author** | Who performed an action | `--author` on other commands |\n\nThe `--assignee` flag on `claim` and `add` (with `-s in_progress`) sets task ownership. The `--author` flag on other commands (checkpoint, comment, block, etc.) records who performed each action:\n\n```bash\n# Alice owns the task\nhzl task claim 1 --assignee alice\n\n# Bob adds a checkpoint (doesn't change ownership)\nhzl task checkpoint 1 \"Reviewed the code\" --author bob\n\n# Task is still assigned to Alice, but checkpoint was recorded by Bob\n```\n\nFor AI agents that need session tracking, use `--agent-id` on claim:\n```bash\nhzl task claim 1 --assignee \"Claude Code\" --agent-id \"session-abc123\"\n```\n\n## Recommended patterns\n\n### Start a multi-step project\n\n1) Create (or reuse) a stable project name.  \n2) Decompose into tasks.  \n3) Use dependencies to encode sequencing, not just priority.  \n4) Validate.\n\n```bash\nhzl project create myapp-auth\n\nhzl task add \"Clarify requirements + acceptance criteria\" -P myapp-auth --priority 5\nhzl task add \"Design API + data model\" -P myapp-auth --priority 4 --depends-on \u003Creqs-id>\nhzl task add \"Implement endpoints\" -P myapp-auth --priority 3 --depends-on \u003Cdesign-id>\nhzl task add \"Write tests\" -P myapp-auth --priority 2 --depends-on \u003Cimpl-id>\nhzl task add \"Docs + rollout plan\" -P myapp-auth --priority 1 --depends-on \u003Ctests-id>\n\nhzl validate\n```\n\n### Work a task with checkpoints\n\nCheckpoint at notable milestones or before pausing work. A checkpoint should be short and operational:\n- what you accomplished\n- what's next (if continuing)\n\n```bash\nhzl task claim \u003Cid> --assignee orchestrator\n# ...do work...\nhzl task checkpoint \u003Cid> \"Implemented login flow. Next: add token refresh.\" --progress 50\n# ...more work...\nhzl task checkpoint \u003Cid> \"Added token refresh. Testing complete.\" --progress 100\nhzl task complete \u003Cid>\n```\n\nYou can also set progress without a checkpoint:\n```bash\nhzl task progress \u003Cid> 75\n```\n\n### Handle blocked tasks\n\nWhen stuck on external dependencies, mark the task as blocked:\n\n```bash\nhzl task claim \u003Cid> --assignee orchestrator\nhzl task checkpoint \u003Cid> \"Implemented login flow. Blocked: need API key for staging.\"\nhzl task block \u003Cid> --comment \"Blocked: waiting for staging API key from DevOps\"\n\n# Later, when unblocked:\nhzl task unblock \u003Cid> --comment \"Unblocked: received API key from DevOps\"\nhzl task checkpoint \u003Cid> \"Got API key, resuming work\"\nhzl task complete \u003Cid>\n```\n\n**Comment best practices:** Include context about the action, not just the state:\n- Good: \"Blocked: waiting for API keys from infra team\"\n- Good: \"Unblocked: keys received, resuming work\"\n- Bad: \"waiting for API keys\" (missing action context)\n\nBlocked tasks stay visible in the dashboard (Blocked column) and keep their assignee, but don't appear in `--available` lists.\n\n### Coordinate sub-agents with leases\n\nUse leases when delegating, so you can detect abandoned work and recover.\n\n```bash\nhzl task add \"Implement REST endpoints\" -P myapp-auth --priority 3 --json\nhzl task claim \u003Cid> --assignee subagent-claude-code --lease 30\n```\n\nDelegate with explicit instructions:\n- claim the task (with their author id)\n- checkpoint progress as they go\n- complete when done\n\nMonitor:\n```bash\nhzl task show \u003Cid> --json\nhzl task stuck\nhzl task steal \u003Cid> --if-expired --author orchestrator\n```\n\n### Break down work with subtasks\n\nUse parent\u002Fsubtask hierarchy to organize complex work:\n\n```bash\n# Create parent task\nhzl task add \"Implement vacation booking\" -P portland-trip --priority 2\n# → abc123\n\n# Create subtasks (project inherited automatically)\nhzl task add \"Research flights\" --parent abc123\nhzl task add \"Book hotel\" --parent abc123 --depends-on \u003Cflights-id>\nhzl task add \"Plan activities\" --parent abc123\n\n# View breakdown\nhzl task show abc123\n\n# Work through subtasks\nhzl task next --parent abc123\n```\n\n**Important:** `hzl task next` only returns leaf tasks (tasks without children). Parent tasks are organizational containers—they are never returned as \"next available work.\"\n\n**Finishing subtasks:** After completing each subtask, check if the parent has remaining work:\n```bash\nhzl task complete \u003Csubtask-id>\n\n# Check parent status\nhzl task show abc123 --json         # Any subtasks left?\nhzl task complete abc123            # If all done, complete parent\n```\n\n## Web Dashboard\n\nHZL includes a built-in Kanban dashboard for monitoring task state. The dashboard shows tasks in columns (Backlog → Blocked → Ready → In Progress → Done), with filtering by date and project.\n\n### Setting up the dashboard (recommended for OpenClaw)\n\nFor always-on access on your OpenClaw box, set up as a systemd service (Linux only):\n\n```bash\n# Create the systemd user directory if needed\nmkdir -p ~\u002F.config\u002Fsystemd\u002Fuser\n\n# Generate and install the service file\nhzl serve --print-systemd > ~\u002F.config\u002Fsystemd\u002Fuser\u002Fhzl-web.service\n\n# Enable and start\nsystemctl --user daemon-reload\nsystemctl --user enable --now hzl-web\n\n# IMPORTANT: Enable lingering so the service runs even when logged out\nloginctl enable-linger $USER\n\n# Verify it's running\nsystemctl --user status hzl-web\n```\n\nThe dashboard will be available at `http:\u002F\u002F\u003Cyour-box>:3456` (accessible over Tailscale).\n\nTo use a different port:\n```bash\nhzl serve --port 8080 --print-systemd > ~\u002F.config\u002Fsystemd\u002Fuser\u002Fhzl-web.service\n```\n\n**macOS note:** systemd is Linux-only. On macOS, use `hzl serve --background` or create a launchd plist manually.\n\n### Quick commands\n\n```bash\nhzl serve                    # Start in foreground (port 3456)\nhzl serve --background       # Fork to background process\nhzl serve --status           # Check if background server is running\nhzl serve --stop             # Stop background server\nhzl serve --host 127.0.0.1   # Restrict to localhost only\n```\n\nUse `--background` for temporary sessions. Use systemd for always-on access.\n\n## Best Practices\n\n1. **Always use `--json`** for programmatic output\n2. **Checkpoint at milestones** or before pausing work\n3. **Check for comments** before completing tasks\n4. **Use a single `openclaw` project** for all work\n5. **Use dependencies** to express sequencing, not priority\n6. **Use leases** for long-running work to enable stuck detection\n7. **Review checkpoints** before stealing stuck tasks\n\n## What HZL Does Not Do\n\nHZL is deliberately limited:\n\n- **No orchestration** - Does not spawn agents or assign work\n- **No task decomposition** - Does not break down tasks automatically\n- **No smart scheduling** - Uses simple priority + FIFO ordering\n\nThese are features for your orchestration layer, not for the task tracker.\n\n## OpenClaw-specific notes\n\n- Run `hzl ...` via the Exec tool.\n- OpenClaw skill gating checks `requires.bins` on the host at skill load time. If sandboxing is enabled, the binary must also exist inside the sandbox container too. Install it via `agents.defaults.sandbox.docker.setupCommand` (or use a custom image).\n- If multiple agents share the same HZL database, use distinct `--assignee` ids (for example: `orchestrator`, `subagent-claude`, `subagent-gemini`) and rely on leases to avoid collisions.\n","# HZL: Persistent task tracking for agents\n\nHZL (https:\u002F\u002Fgithub.com\u002Ftmchow\u002Fhzl) is a local-first task ledger (database-backed, optionally cloud-synced for backup) that an agent can use to:\n\n- plan multi-step work into projects + tasks\n- checkpoint progress (so work survives session boundaries)\n- coordinate sub-agents or multiple coding tools with leases\n- generate reliable status reports (\"what's done vs what's left\")\n\nThis skill teaches an agent how to use the `hzl` CLI.\n\n## When to use HZL\n\n**OpenClaw has NO native task tracking tools.** Unlike Claude Code (which has TodoWrite) or Codex (which has update_plan), OpenClaw relies on memory and markdown files for tracking work. This makes HZL especially valuable for OpenClaw.\n\n**Use HZL by default for any non-trivial task tracking:**\n\n- Multi-step projects with real sequencing (dependencies) and handoffs\n- Work that may outlive this session or span multiple tools\u002Fagents\n- Orchestration: delegating work to sub-agents and needing recovery if they crash\n- Anything where \"resume exactly where we left off\" matters\n- **Any work you want to persist beyond this session**\n- **Any work that needs structure (nesting, dependencies, progress tracking)**\n- **Any work that benefits from a durable record of decisions or ownership**\n\nMulti-session or multi-agent work are common reasons to use HZL, not requirements.\nUse HZL for single-session, single-agent work when the task is non-trivial.\n\n**Why HZL is the right choice for OpenClaw:**\n\nWithout HZL, OpenClaw tracks tasks in-context (burns space, fragments during compaction) or in markdown files (requires manual management, no nesting\u002Fdependencies, no dashboard). HZL provides:\n\n- Persistent storage that survives session boundaries\n- Nesting (parent tasks + subtasks) and dependencies\n- Web dashboard for human visibility (`hzl serve`)\n- Leases for multi-agent coordination\n- Checkpoints for progress recovery\n\n**Only skip HZL for:**\n\n- Truly trivial, one-step tasks you will complete immediately in this session\n- Time-based reminders\u002Falerts (use OpenClaw Cron instead)\n- Longform notes or knowledge capture (use a notes or memory system)\n\n**Rule of thumb:** If you feel tempted to make a multi-step plan or there is any chance you will not finish in this session, use HZL.\n\nExample: \"Investigate failing tests and fix root cause\" -> use HZL because it likely involves multiple subtasks, even if you expect to finish within a session.\n\nPersonal tasks: HZL is not a polished human to-do app, but it is usable for personal task tracking, and it can also serve as a backend for a lightweight UI.\n\n## Core concepts\n\n- **Project**: stable container. For OpenClaw, use a single `openclaw` project—this keeps `hzl task next` simple. Check `hzl project list` before creating.\n- **Task**: top-level work item. For multi-step requests, this becomes a parent task.\n- **Subtask**: breakdown of a task into parts (`--parent \u003Cid>`). Max 1 level of nesting. Parent tasks are organizational containers—never returned by `hzl task next`.\n- **Checkpoint**: short progress snapshot to support recovery\n- **Lease**: time-limited claim (prevents orphaned work in multi-agent flows)\n\n## Anti-pattern: Project Sprawl\n\nUse a single `openclaw` project. Requests and initiatives become **parent tasks**, not new projects.\n\n**Wrong (creates sprawl):**\n```bash\nhzl project create \"garage-sensors\"\nhzl project create \"query-perf\"\n# Now you have to track which project to query\n```\n\n**Correct (single project, parent tasks):**\n```bash\n# Check for existing project first\nhzl project list\n\n# Use single openclaw project\nhzl task add \"Install garage sensors\" -P openclaw\n# → Created task abc123\n\nhzl task add \"Wire sensor to hub\" --parent abc123\nhzl task add \"Configure alerts\" --parent abc123\n\n# hzl task next --project openclaw always works\n```\n\nWhy this matters:\n- Projects accumulate forever; you'll have dozens of abandoned one-off projects\n- `hzl task next --project X` requires knowing which project to query\n- With a single project, `hzl task next --project openclaw` always works\n\n## Sizing Parent Tasks\n\nHZL supports one level of nesting (parent → subtasks). Scope parent tasks to completable outcomes.\n\n**The completability test:** \"I finished [parent task]\" should describe a real outcome.\n- ✓ \"Finished installing garage motion sensors\"\n- ✓ \"Finished fixing query performance\"\n- ✗ \"Finished home automation\" (open-ended domain, never done)\n- ✗ \"Finished backend work\" (if frontend still pending for feature to ship)\n\n**Scope by problem, not technical layer.** A full-stack feature (frontend + backend + tests) is usually one parent if it ships together.\n\n**Split into multiple parents when:**\n- Parts deliver independent value (can ship separately)\n- You're solving distinct problems that happen to be related\n\n**Adding context:** Use `-d` for details, `-l` for reference docs:\n```bash\nhzl task add \"Install garage sensors\" -P openclaw \\\n  -d \"Per linked spec. Mount sensors at 7ft height.\" \\\n  -l docs\u002Fsensor-spec.md,https:\u002F\u002Fexample.com\u002Fwiring-guide\n```\n\n**Don't duplicate specs into descriptions**—this creates drift. Reference docs instead.\n\n**If no docs exist**, include enough detail for another agent to complete the task:\n```bash\nhzl task add \"Configure motion alerts\" -P openclaw -d \"$(cat \u003C\u003C'EOF'\nTrigger alert when motion detected between 10pm-6am.\nUse Home Assistant automation. Notify via Pushover.\nEOF\n)\"\n```\nDescription supports markdown (16KB max).\n\n## ⚠️ DESTRUCTIVE COMMANDS - READ CAREFULLY\n\nThe following commands **PERMANENTLY DELETE HZL DATA** and cannot be undone:\n\n| Command | Effect |\n|---------|--------|\n| `hzl init --force` | **DELETES ALL DATA.** Prompts for confirmation. |\n| `hzl init --force --yes` | **DELETES ALL DATA WITHOUT CONFIRMATION.** Extremely dangerous. |\n| `hzl task prune ... --yes` | **PERMANENTLY DELETES** old done\u002Farchived tasks and their event history. |\n\n**AI agents: NEVER run these commands unless the user EXPLICITLY asks you to delete data.**\n\n- `hzl init --force` deletes the entire event database: all projects, tasks, checkpoints, and history\n- `hzl task prune` deletes only tasks in terminal states (done\u002Farchived) older than the specified age\n- There is NO undo. There is NO recovery without a backup.\n\n## Core Workflows\n\n**Setup:**\n```bash\nhzl project list                    # Always check first\nhzl project create openclaw         # Only if needed\n```\n\n**Adding work:**\n```bash\nhzl task add \"Feature X\" -P openclaw -s ready         # Ready to claim\nhzl task add \"Subtask A\" --parent \u003Cid>                # Subtask\nhzl task add \"Subtask B\" --parent \u003Cid> --depends-on \u003Csubtask-a-id>  # With dependency\n```\n\n**Working on a task:**\n```bash\nhzl task next -P openclaw                # Next available task\nhzl task next --parent \u003Cid>              # Next subtask of parent\nhzl task next -P openclaw --claim        # Find and claim in one step\nhzl task claim \u003Cid>                      # Claim specific task\nhzl task checkpoint \u003Cid> \"milestone X\"   # Notable progress or before pausing\n```\n\n**Changing status:**\n```bash\nhzl task set-status \u003Cid> ready           # Make claimable (from backlog)\nhzl task set-status \u003Cid> backlog         # Move back to planning\n```\nStatuses: `backlog` → `ready` → `in_progress` → `done` (or `blocked`)\n\n**When blocked:**\n```bash\nhzl task block \u003Cid> --comment \"Waiting for API keys from DevOps\"\nhzl task unblock \u003Cid>                    # When resolved\n```\n\n**Finishing work:**\n```bash\nhzl task comment \u003Cid> \"Implemented X, tested Y\"  # Optional: final notes\nhzl task complete \u003Cid>\n\n# After completing a subtask, check parent:\nhzl task show \u003Cparent-id> --json         # Any subtasks left?\nhzl task complete \u003Cparent-id>            # If all done, complete parent\n```\n\n**Troubleshooting:**\n| Error | Fix |\n|-------|-----|\n| \"not claimable (status: backlog)\" | `hzl task set-status \u003Cid> ready` |\n| \"Cannot complete: status is X\" | Claim first: `hzl task claim \u003Cid>` |\n\n---\n\n## Extended Reference\n\n```bash\n# Setup\nhzl init                                      # Initialize (safe, won't overwrite)\nhzl init --reset-config                       # Reset config to default location\nhzl status                                    # Database mode, paths, sync state\nhzl doctor                                    # Health check for debugging\n\n# Create with options\nhzl task add \"\u003Ctitle>\" -P openclaw --priority 2 --tags backend,auth\nhzl task add \"\u003Ctitle>\" -P openclaw --depends-on \u003Cother-id>\nhzl task add \"\u003Ctitle>\" -P openclaw -s in_progress --assignee \u003Cname>  # Create and claim\n\n# List and find\nhzl task list -P openclaw --available        # Ready tasks with met dependencies\nhzl task list --parent \u003Cid>                  # Subtasks of a parent\nhzl task list --root                         # Top-level tasks only\n\n# Dependencies\nhzl task add-dep \u003Ctask-id> \u003Cdepends-on-id>\nhzl validate                                 # Check for circular dependencies\n\n# Web Dashboard\nhzl serve                    # Start on port 3456 (network accessible)\nhzl serve --host 127.0.0.1   # Restrict to localhost only\nhzl serve --background       # Fork to background\nhzl serve --status           # Check if running\nhzl serve --stop             # Stop background server\n\n# Multi-agent recovery\nhzl task claim \u003Cid> --assignee \u003Cagent-id> --lease 30\nhzl task stuck\nhzl task steal \u003Cid> --if-expired --author \u003Cagent-id>\n```\n\nTip: When a tool needs to parse output, prefer `--json`.\n\n## Authorship tracking\n\nHZL tracks authorship at two levels:\n\n| Concept | What it tracks | Set by |\n|---------|----------------|--------|\n| **Assignee** | Who owns the task | `--assignee` on `claim` or `add` |\n| **Event author** | Who performed an action | `--author` on other commands |\n\nThe `--assignee` flag on `claim` and `add` (with `-s in_progress`) sets task ownership. The `--author` flag on other commands (checkpoint, comment, block, etc.) records who performed each action:\n\n```bash\n# Alice owns the task\nhzl task claim 1 --assignee alice\n\n# Bob adds a checkpoint (doesn't change ownership)\nhzl task checkpoint 1 \"Reviewed the code\" --author bob\n\n# Task is still assigned to Alice, but checkpoint was recorded by Bob\n```\n\nFor AI agents that need session tracking, use `--agent-id` on claim:\n```bash\nhzl task claim 1 --assignee \"Claude Code\" --agent-id \"session-abc123\"\n```\n\n## Recommended patterns\n\n### Start a multi-step project\n\n1) Create (or reuse) a stable project name.  \n2) Decompose into tasks.  \n3) Use dependencies to encode sequencing, not just priority.  \n4) Validate.\n\n```bash\nhzl project create myapp-auth\n\nhzl task add \"Clarify requirements + acceptance criteria\" -P myapp-auth --priority 5\nhzl task add \"Design API + data model\" -P myapp-auth --priority 4 --depends-on \u003Creqs-id>\nhzl task add \"Implement endpoints\" -P myapp-auth --priority 3 --depends-on \u003Cdesign-id>\nhzl task add \"Write tests\" -P myapp-auth --priority 2 --depends-on \u003Cimpl-id>\nhzl task add \"Docs + rollout plan\" -P myapp-auth --priority 1 --depends-on \u003Ctests-id>\n\nhzl validate\n```\n\n### Work a task with checkpoints\n\nCheckpoint at notable milestones or before pausing work. A checkpoint should be short and operational:\n- what you accomplished\n- what's next (if continuing)\n\n```bash\nhzl task claim \u003Cid> --assignee orchestrator\n# ...do work...\nhzl task checkpoint \u003Cid> \"Implemented login flow. Next: add token refresh.\" --progress 50\n# ...more work...\nhzl task checkpoint \u003Cid> \"Added token refresh. Testing complete.\" --progress 100\nhzl task complete \u003Cid>\n```\n\nYou can also set progress without a checkpoint:\n```bash\nhzl task progress \u003Cid> 75\n```\n\n### Handle blocked tasks\n\nWhen stuck on external dependencies, mark the task as blocked:\n\n```bash\nhzl task claim \u003Cid> --assignee orchestrator\nhzl task checkpoint \u003Cid> \"Implemented login flow. Blocked: need API key for staging.\"\nhzl task block \u003Cid> --comment \"Blocked: waiting for staging API key from DevOps\"\n\n# Later, when unblocked:\nhzl task unblock \u003Cid> --comment \"Unblocked: received API key from DevOps\"\nhzl task checkpoint \u003Cid> \"Got API key, resuming work\"\nhzl task complete \u003Cid>\n```\n\n**Comment best practices:** Include context about the action, not just the state:\n- Good: \"Blocked: waiting for API keys from infra team\"\n- Good: \"Unblocked: keys received, resuming work\"\n- Bad: \"waiting for API keys\" (missing action context)\n\nBlocked tasks stay visible in the dashboard (Blocked column) and keep their assignee, but don't appear in `--available` lists.\n\n### Coordinate sub-agents with leases\n\nUse leases when delegating, so you can detect abandoned work and recover.\n\n```bash\nhzl task add \"Implement REST endpoints\" -P myapp-auth --priority 3 --json\nhzl task claim \u003Cid> --assignee subagent-claude-code --lease 30\n```\n\nDelegate with explicit instructions:\n- claim the task (with their author id)\n- checkpoint progress as they go\n- complete when done\n\nMonitor:\n```bash\nhzl task show \u003Cid> --json\nhzl task stuck\nhzl task steal \u003Cid> --if-expired --author orchestrator\n```\n\n### Break down work with subtasks\n\nUse parent\u002Fsubtask hierarchy to organize complex work:\n\n```bash\n# Create parent task\nhzl task add \"Implement vacation booking\" -P portland-trip --priority 2\n# → abc123\n\n# Create subtasks (project inherited automatically)\nhzl task add \"Research flights\" --parent abc123\nhzl task add \"Book hotel\" --parent abc123 --depends-on \u003Cflights-id>\nhzl task add \"Plan activities\" --parent abc123\n\n# View breakdown\nhzl task show abc123\n\n# Work through subtasks\nhzl task next --parent abc123\n```\n\n**Important:** `hzl task next` only returns leaf tasks (tasks without children). Parent tasks are organizational containers—they are never returned as \"next available work.\"\n\n**Finishing subtasks:** After completing each subtask, check if the parent has remaining work:\n```bash\nhzl task complete \u003Csubtask-id>\n\n# Check parent status\nhzl task show abc123 --json         # Any subtasks left?\nhzl task complete abc123            # If all done, complete parent\n```\n\n## Web Dashboard\n\nHZL includes a built-in Kanban dashboard for monitoring task state. The dashboard shows tasks in columns (Backlog → Blocked → Ready → In Progress → Done), with filtering by date and project.\n\n### Setting up the dashboard (recommended for OpenClaw)\n\nFor always-on access on your OpenClaw box, set up as a systemd service (Linux only):\n\n```bash\n# Create the systemd user directory if needed\nmkdir -p ~\u002F.config\u002Fsystemd\u002Fuser\n\n# Generate and install the service file\nhzl serve --print-systemd > ~\u002F.config\u002Fsystemd\u002Fuser\u002Fhzl-web.service\n\n# Enable and start\nsystemctl --user daemon-reload\nsystemctl --user enable --now hzl-web\n\n# IMPORTANT: Enable lingering so the service runs even when logged out\nloginctl enable-linger $USER\n\n# Verify it's running\nsystemctl --user status hzl-web\n```\n\nThe dashboard will be available at `http:\u002F\u002F\u003Cyour-box>:3456` (accessible over Tailscale).\n\nTo use a different port:\n```bash\nhzl serve --port 8080 --print-systemd > ~\u002F.config\u002Fsystemd\u002Fuser\u002Fhzl-web.service\n```\n\n**macOS note:** systemd is Linux-only. On macOS, use `hzl serve --background` or create a launchd plist manually.\n\n### Quick commands\n\n```bash\nhzl serve                    # Start in foreground (port 3456)\nhzl serve --background       # Fork to background process\nhzl serve --status           # Check if background server is running\nhzl serve --stop             # Stop background server\nhzl serve --host 127.0.0.1   # Restrict to localhost only\n```\n\nUse `--background` for temporary sessions. Use systemd for always-on access.\n\n## Best Practices\n\n1. **Always use `--json`** for programmatic output\n2. **Checkpoint at milestones** or before pausing work\n3. **Check for comments** before completing tasks\n4. **Use a single `openclaw` project** for all work\n5. **Use dependencies** to express sequencing, not priority\n6. **Use leases** for long-running work to enable stuck detection\n7. **Review checkpoints** before stealing stuck tasks\n\n## What HZL Does Not Do\n\nHZL is deliberately limited:\n\n- **No orchestration** - Does not spawn agents or assign work\n- **No task decomposition** - Does not break down tasks automatically\n- **No smart scheduling** - Uses simple priority + FIFO ordering\n\nThese are features for your orchestration layer, not for the task tracker.\n\n## OpenClaw-specific notes\n\n- Run `hzl ...` via the Exec tool.\n- OpenClaw skill gating checks `requires.bins` on the host at skill load time. If sandboxing is enabled, the binary must also exist inside the sandbox container too. Install it via `agents.defaults.sandbox.docker.setupCommand` (or use a custom image).\n- If multiple agents share the same HZL database, use distinct `--assignee` ids (for example: `orchestrator`, `subagent-claude`, `subagent-gemini`) and rely on leases to avoid collisions.\n",{"name":5,"homepage":38,"metadata":39,"description":7},"https:\u002F\u002Fgithub.com\u002Ftmchow\u002Fhzl",{"openclaw":40},{"emoji":41,"install":42,"homepage":38,"requires":50},"?",[43,46],{"id":27,"bins":44,"kind":27,"label":45,"package":5},[5],"Install HZL (Homebrew)",{"id":26,"bins":47,"kind":26,"label":48,"package":49},[5],"Install HZL (npm)","hzl-cli",{"bins":51},[5],"main","f4cb2d49f7667e79ef7804f50396d5aaffdf1f56","网页与前端开发\u002Fhzl",1,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification","https:\u002F\u002Fgithub.com\u002FKernel8901","a little little little dobe in life but science geek","2026-04-05 16:43:56",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add Kernel8901\u002Fai-agent-skills-classification --skill hzl",{"tool":66,"command":67},"bunx","bunx skills add Kernel8901\u002Fai-agent-skills-classification --skill hzl",{"tool":69,"command":70},"pnpm","pnpm dlx skills add Kernel8901\u002Fai-agent-skills-classification --skill hzl","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F网页与前端开发\u002Fhzl\u002FSKILL.md",true,[74],{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"_meta.json","REFERENCE","参考文档",1670,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F网页与前端开发\u002Fhzl\u002F_meta.json",[81,105,128,136,143,167],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":33},"01M6Q5R6WZ06RRB9RQTW54B34B","zyfai","Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit\u002Fwithdraw anytime.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzyfai-sdk\u002FSKILL.md",[],[83,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],"safe","ethereum","defi","Optimization","user","use","Wallet","base","deposit","withdraw","yield","arbitrum","non-custodial","passive","defi yield","earn","yield optimization",{"skillNo":106,"name":107,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":33},"01M6Q5R337B5JSNER4P4YS03TN","zerion-api","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api\u002FSKILL.md",[],[111,112,113,114,115,116,117,90,118,94,119,120,121,122,123,124,125,126,127],"api","zerion api","zerion","MCP","mcp server","server","blockchain","transactions","crypto wallet","crypto","evm","solana","query","across","positions","token","prices",{"skillNo":129,"name":130,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":33},"01M6Q5QZFYTDAZMZ27BN5VZXAR","zerion-api-skill","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-skill\u002FSKILL.md",[],[111,134,135,112,113,114,115,116,117,90,118,94,120,121,122,123,124,125,126,127],"api skill","zerion api skill",{"skillNo":137,"name":138,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":33},"01M6Q5QW17QW98RA3FE45E4RD8","zerion-api-mcp","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-mcp\u002FSKILL.md",[],[114,111,142,112,113,115,116,90,118,94,119,120,121,122,123,124,125,126,127],"zerion api mcp",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":33},"01M6Q5QQYZB7A501BDEQWKGSJT","yahoo-finance-forex","Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR\u002FUSD, GBP\u002FUSD, USD\u002FJPY, etc.). Analyzes sentiment and provides trading context.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-forex\u002FSKILL.md",[],[150,151,152,153,154,20,23,155,156,157,29,158,159,160,161,162,163,164,165,166],"finance","yahoo finance","forex","yahoo","yahoo finance forex","sentiment","real-time","python3","Market","usd","news","time","currency","gbp","pip","market data","for",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":33},"01M6Q5QM6VS84WZVM7BKXXPF32","yahoo-finance","This skill should be used when the user asks to \"get stock prices\", \"check stock quotes\", \"look up earnings\", \"get financial data\", \"find trending stocks\", or needs stock market data from Yahoo Finance.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-cli\u002FSKILL.md",[],[150,151,153,19,24,174,175,27,176,158,177,178,179,180,181,182,183,184,127,165],"find","check","up","local","get","stock","link","trending","sf","quotes","ln"]