Agent skill

hive.batch-ledger

Track per-item status when processing collections to prevent skipped or duplicated items.

Stars 10,180
Forks 5,642

Install this agent skill to your Project

npx add-skill https://github.com/aden-hive/hive/tree/main/core/framework/skills/_default_skills/batch-ledger

Metadata

Additional technical details for this skill

type
default-skill
author
hive

SKILL.md

Operational Protocol: Batch Progress Ledger

When processing a collection of items, maintain a batch ledger in _batch_ledger.

Initialize when you identify the batch:

  • _batch_total: total item count
  • _batch_ledger: JSON with per-item status

Per-item statuses: pending → in_progress → completed|failed|skipped

  • Set in_progress BEFORE processing
  • Set final status AFTER processing with 1-line result_summary
  • Include error reason for failed/skipped items
  • Update aggregate counts after each item
  • NEVER remove items from the ledger
  • If resuming, skip items already marked completed

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results