界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

Batch

Batch

【效率与协作】Process multiple items with progress tracking, checkpointing, and failure recovery.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: Batch slug: batch version: 1.0.0 description: Process multiple items with progress tracking, checkpointing, and failure recovery. homepage: https://clawic.com/skills/batch metadata: clawdbot: emoji: 📦 displayName: Batch

Before Starting

  1. Dry run: Test with 2-3 items first
  2. Count: "Processing 47 items, ~2 min estimated"
  3. Confirm destructive ops: "This will delete 200 files. Proceed?"

During Processing

  • Progress every 10 items: "23/47 complete (49%)"
  • Checkpoint every 10-50 items: Save state to resume if interrupted
  • On error: Log it, continue with rest (don't abort entire batch)

After Completion

Always report:

✅ 44 succeeded
❌ 3 failed (saved to failed.json for retry)

Error Handling

ErrorAction
Timeout, rate limitRetry 3x with backoff (1s, 2s, 4s)
Bad format, missing dataSkip, log, continue
Auth failed, disk fullAbort entire batch

Check strategies.md for parallel vs sequential decision matrix. Check errors.md for retry logic and rollback patterns.


Related: For delegating to sub-agents, see delegate.

我的收藏