Tooluck logoTooluck
SKILL.md

hive.colony-progress-tracker

Agent skill fromaden-hive/hive

Claim tasks, record step progress, and verify SOP gates in the colony SQLite queue. Applies when your spawn message includes a db_path field.

How to install hive.colony-progress-tracker

install hive.colony-progress-tracker
# install the hive pack with the skills CLI
npx skills add aden-hive/hive

# or add only this skill to Claude Code: copy the folder

core/framework/skills/_default_skills/colony-progress-tracker/

# into

~/.claude/skills/colony-progress-tracker/ (all projects)

.claude/skills/colony-progress-tracker/ (one project)

core/framework/skills/_default_skills/colony-progress-tracker/SKILL.md

Apache-2.0Full file
1## Operational Protocol: Colony Progress Tracker
2
3**Applies when** your spawn message has `db_path:` and `colony_id:` fields. The DB is your durable working memory — tells you what's done, what to skip, which SOP gates you owe.
4
5Access via `terminal_exec` running `sqlite3 "<db_path>" "..."`. Tables: `tasks` (queue), `steps` (per-task decomposition), `sop_checklist` (hard gates).
6
7### Claim: assigned task (check this FIRST)
8
9If your spawn message includes a `task_id:` field, the queen pre-assigned a specific row to you. Claim that row by id — **do not** use the generic next-pending pattern below:
10
11```bash
12sqlite3 "<db_path>" <<'SQL'
13UPDATE tasks SET status='claimed', worker_id='<worker-id>',
14 claim_token=lower(hex(randomblob(8))),
15 claimed_at=datetime('now'), updated_at=datetime('now')
16WHERE id='<task_id>' AND status='pending'
17RETURNING id, goal, payload;
18SQL
19```
20
21Empty output → another worker raced you or the row is already done. Stop and report. Non-empty → that row is yours, proceed to "Load the plan".
22
23### Claim: next pending (fallback when no task_id is assigned)
24
25If your spawn message did NOT include `task_id:` — you are a generic fan-out worker racing on a shared queue. Use the generic next-pending claim:
26
27```bash
28sqlite3 "<db_path>" <<'SQL'
29UPDATE tasks SET status='claimed', worker_id='<worker-id>',
30 claim_token=lower(hex(randomblob(8))),
31 claimed_at=datetime('now'), updated_at=datetime('now')
32WHERE id=(SELECT id FROM tasks WHERE status='pending'
33…

Excerpt shown under the repository's Apache-2.0 license.

More skills in hive

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates