Batch processing protocol

From FerroxLabs/murage · View interactive version

Batch processing protocol is an AI agent skill from the GitHub repository FerroxLabs/murage. Designs batch processing protocols for personal tasks by defining batch triggers, sequence steps, required inputs, and output checklists. Use when the user wants to process similar items in batches instead of one at a time, create a repeatable protocol for periodic bulk work, or design a system for

How to use this skill

Skill file

Batch Processing Protocol

When to Use

Use this skill when a user describes any of these situations:

Do NOT use this skill when:


Process

Step 1: Diagnose the Batch Candidate

Before designing anything, gather precise information about what the user is processing. The protocol quality depends entirely on how well you understand the item type.


Step 2: Select and Configure the Batch Trigger

The trigger is the most operationally critical component of the protocol. A poorly chosen trigger causes batches to be too large (marathon sessions), too small (constant context switching), or too infrequent (backlog buildup).


Step 3: Design the Pre-Batch Setup Phase

The pre-batch phase eliminates the setup friction that causes users to procrastinate on processing sessions. Every item in this checklist should be completable in under 2 minutes total. If setup takes longer than 2 minutes, the protocol will be avoided.


Step 4: Design the Per-Item Processing Sequence

This is the core of the protocol. The per-item sequence must be granular enough that the user is making decisions about content, not decisions about process. Process decisions kill batch momentum.


Step 5: Design the Exception and Escalation Path

Every batch protocol needs a fast lane for items that cannot wait for the scheduled batch.


Step 6: Design the Post-Batch Wrap-Up Phase

The post-batch phase serves two functions: closing out the current batch cleanly and generating data that improves the protocol over time. Without this phase, the batch ends in a mess of half-finished states and the user has no feedback loop.


Step 7: Set the Protocol Review Cadence

Batch protocols decay. The item type changes, volume changes, tools change, and the per-item sequence becomes outdated. Build a review process into the protocol itself so it stays useful.


Step 8: Compile the Protocol Document

Assemble everything into a single self-contained reference card. The test of a good protocol document: can the user pick it up after a 3-week absence and execute a batch without asking themselves what to do next?


Output Format

## Batch Processing Protocol: [Protocol Name]

**Version:** 1.0 | **Created:** [Date] | **Last Reviewed:** [Date]

---

### Overview

| Field | Value |
|---|---|
| Item type | [Precise description of what is being processed] |
| Arrival rate | [X items per day / week / month -- low: Y, typical: Z, high: W] |
| Per-item processing time | [X minutes (breakdown: Step 1: Xm, Step 2: Xm, Step 3: Xm)] |
| Acceptable delay | [X hours / days before processing is overdue] |
| Recommended batch frequency | [Daily / 2x per week / Weekly / etc.] |
| Expected batch duration | [X items x Y min = Z minutes per session] |
| Maximum batch size | [X items OR Y minutes, whichever comes first] |

---

### Trigger Conditions

**Fire a batch session when ANY of the following is true:**

- [ ] **Time trigger:** [Day and time -- e.g., "Every Tuesday and Thursday at 9:00 AM"]
- [ ] **Count trigger:** [X items have accumulated in the queue]
- [ ] **Event trigger:** [Specific preceding event -- e.g., "Within 2 hours of completing weekly team standup"]

**Hybrid rule:** The time trigger fires on schedule regardless of queue size. The count trigger fires early if the threshold is reached before the scheduled time. Never wait for both to be true.

**Exception -- process immediately (outside the batch) if:**
- [Urgent condition 1: Specific, objective criterion]
- [Urgent condition 2: Specific, objective criterion]

**Items that arrive during an active batch session:** [Specific parking action -- e.g., "Drag to Pending folder; do not triage during batch"]

---

### Pre-Batch Setup Checklist

*Target: Complete in under 2 minutes*

- [ ] Open [Tool 1]: navigate to [specific location / folder / view]
- [ ] Open [Tool 2]: navigate to [specific location / folder / view]
- [ ] Open [Reference document]: [name and location]
- [ ] Close all unrelated browser tabs
- [ ] Set phone / notifications to Do Not Disturb
- [ ] Count items in queue: ______ items
- [ ] Calculate session time: ______ items x [Y] min = ______ minutes
- [ ] If calculated time exceeds [maximum], limit this batch to [N] items and schedule remainder
- [ ] Triage: sort items into Quick / Standard / Complex / Exception (60-second scan)
  - Quick (under [X] min each): ______ items
  - Standard ([X]-[Y] min each): ______ items
  - Complex (over [Y] min each): ______ items
  - Exceptions (process immediately): ______ items
- [ ] Process any Exceptions now, before starting the batch timer
- [ ] Set batch timer for ______ minutes
- [ ] Begin

---

### Per-Item Processing Sequence

**Processing order:** Exceptions (pre-batch) → Quick items → Standard items → Complex items

**Per-item time limit:** [X] minutes. At the limit, complete within 30 seconds or defer immediately.

---

**For each item:**

**Step 1: [Initial Assessment / Verify] -- [X] minutes**
- [Specific check 1 -- e.g., "Confirm sender matches known vendor list"]
- [Specific check 2 -- e.g., "Confirm item is not a duplicate (check log)"]
- IF [discard condition]: [Discard action] -- move to next item
- IF [escalation condition]: [Escalation action] -- remove from queue -- move to next item

**Step 2: [Core Processing Action] -- [X] minutes**
- [Specific action 1]
- [Specific action 2]
- IF [standard condition A]: [Action A]
- IF [standard condition B]: [Action B]
- IF [edge case condition]: [Edge case action]
- IF unclear, ambiguous, or approaching time limit: [Defer action] -- move to next item

**Step 3: [Secondary Processing / Decision] -- [X] minutes**
- [Specific action]
- IF [threshold condition -- e.g., amount over $X, requires approval from Y]: [Escalation action]

**Step 4: [Completion / Filing / Logging] -- [X] minutes**
- [File / archive action with specific destination]
- [System update action -- e.g., "Update row in tracking spreadsheet: status = Approved"]
- [Log action -- e.g., "Add to monthly batch log: date, item ID, category, outcome"]

---

**Done state:** [Precise, verifiable description -- e.g., "Email moved to 'Processed' label, row in tracker marked 'Approved,' entry added to monthly log"]

**Defer state:** [Precise description -- e.g., "Email moved to 'Needs Attention' label, sticky note added with specific blocker, name added to Deferred list with date and reason"]

**Escalation state:** [Precise description -- e.g., "Forwarded to [person/role] with [specific subject line], added to Escalated tab in tracker, date escalated noted"]

**Discard state:** [Precise description -- e.g., "Archived with label 'Duplicate' or 'Not Applicable,' no log entry needed"]

---

### Post-Batch Wrap-Up Checklist

*Target: Complete in under 5 minutes*

- [ ] Stop timer. Record actual session time: ______ minutes
- [ ] Count outcomes:
  - Items completed (Done): ______
  - Items deferred: ______
  - Items escalated: ______
  - Items discarded: ______
- [ ] For each deferred item: assign one specific next action and date in [deferred list location]
- [ ] Check deferred list: any item deferred for more than [X days]? Escalate immediately.
- [ ] Log batch in Batch Log table (below)
- [ ] Clear workspace: [specific reset actions]
- [ ] Write one protocol observation (optional but recommended): ______________________
- [ ] Confirm next batch trigger: [next date/time or count threshold reminder]

---

### Batch Log

| Date | Quick | Standard | Complex | Deferred | Escalated | Actual Time | Defer Rate | Notes |
|------|-------|----------|---------|----------|-----------|-------------|------------|-------|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |

*Defer rate = Deferred / (Done + Deferred + Escalated). Flag if consistently above 15%.*

---

### Protocol Review Schedule

- **Review trigger:** After every 10 batches OR [specific calendar date], whichever comes first
- **Review checklist:**
  - [ ] Average per-item time trending more than 20% above baseline? Simplify the sequence.
  - [ ] Defer rate above 15% consistently? Adjust trigger threshold or time limit.
  - [ ] Batch consistently finishing in under 50% of allotted time? Increase count threshold or reduce frequency.
  - [ ] New tool or system introduced? Update the pre-batch checklist.
  - [ ] Arrival rate changed significantly (>25%)? Recalculate trigger math.
  - [ ] Any step consistently confusing or causing hesitation? Rewrite that step with more specificity.
- **Sunset condition:** Retire this protocol if [specific condition -- e.g., "vendor relationship ends" / "role changes" / "volume drops below 2 items per week for 4 consecutive weeks"]
- **Version on change:** Increment version number, note date, communicate to anyone else running the protocol.

Rules

  1. Never design a protocol without a defined trigger condition that is both specific and testable. "When I feel like it" or "when the pile gets big" are not triggers -- they are deferred decisions that guarantee inconsistency. The trigger must be something the user can evaluate without judgment: a specific day and time, a specific item count, or a specific preceding event.
  1. Always set maximum batch size in BOTH units: items AND minutes. Setting only one ceiling creates a loophole. Item-only ceilings fail when items are unusually complex (5 items could take 3 hours). Minute-only ceilings fail when items are unusually fast (60 minutes could mean 40 items, which is cognitively exhausting). Both ceilings together create a robust constraint.
  1. Per-item processing steps must use action verbs that specify both the action and the target. "Review the invoice" is insufficient. "Check that the line item total matches the purchase order amount in Column D of the vendor register" is a step. The test: if someone unfamiliar with the item type read the step, would they know exactly what to do? If no, rewrite it.
  1. Every decision branch in the per-item sequence must have a defined outcome -- including the "I don't know" branch. Omitting the ambiguity branch causes the user to freeze mid-batch. The "I don't know" outcome is always either defer (with a specific note about what information is needed) or escalate (with a specific person or resource named).
  1. Per-item time limits are non-negotiable constraints, not guidelines. A protocol that says "try to stay under 10 minutes per item" will be ignored the moment a complex item appears. The rule must read: "At 10 minutes, the item is deferred. No exceptions." This rule is what keeps a 90-minute batch from becoming a 4-hour ordeal.
  1. The pre-batch setup checklist must list specific tools and navigation paths, not categories. "Open your email" is not a checklist item. "Open Gmail, navigate to the 'Vendor Invoices - Pending' label" is. Users follow checklists when the items are executable; they skip checklists when items require interpretation.
  1. Do not design a batch protocol that mixes fundamentally different item types in the same per-item sequence. If expenses and contract renewals both arrive in the same inbox, they require separate protocols. Batching works by eliminating context switching -- mixing item types reintroduces exactly the context switching the protocol is designed to eliminate. Build separate protocols and schedule them on different days if needed.
  1. The defer rate is the most important protocol health metric -- track it and define the threshold explicitly. A 0% defer rate may indicate the time limit is too lenient (users finishing everything regardless of complexity) or the item type is genuinely simple (good). A consistent defer rate above 20% indicates a structural problem: the trigger is too infrequent, the time limit is too aggressive, or the item type has too much variance to batch effectively. Flag this threshold in the protocol document.
  1. Never let the post-batch phase end with deferred items in an ambiguous state. Each deferred item must leave the wrap-up phase with: a named reason for deferral, a specific next action, and a specific date or person assigned to that next action. "Deferred -- follow up later" creates a secondary pile that grows into a secondary backlog. The entire point of the protocol is to eliminate ambiguous piles.
  1. Schedule the first protocol review explicitly -- do not leave it open-ended. "Review after 10 batches" requires the user to count batches. Write the approximate calendar date for the first review based on expected batch frequency: if the protocol runs weekly, the first review is in 10 weeks. Users who have a specific date are far more likely to review than users who have a vague intention.

Edge Cases

Items arrive at wildly variable rates (feast-or-famine pattern). Some workflows have periods of zero arrivals followed by sudden floods -- hiring cycles, seasonal billing, project-based client work. Design a hybrid trigger calibrated to the flood rate, not the average rate. Set the count threshold at 60% of a typical flood volume and set the time trigger at the acceptable delay limit. During drought periods, the time trigger fires with a small queue (short, easy batch). During flood periods, the count trigger fires early and repeatedly until the queue clears. In flood scenarios, it is valid to run two batches on the same day -- design the maximum batch size to make each session manageable (60-75 minutes) rather than trying to process the entire flood in one sitting.

Some items in the batch reveal they are actually two or three separate items. A single "invoice" that turns out to contain three separate billing lines requiring different approvals, or a single "application" that turns out to be for two different roles. Handle this at the triage step: if an item is revealed to be composite during the initial assessment, split it into sub-items and add the additional sub-items to the queue count before starting the timer. Do not attempt to process a composite item as a unit -- the per-item time limit will be violated and the done state will be ambiguous. If the split is discovered mid-processing rather than at triage, mark the original item as Deferred with a note: "Split into [N] items, re-add to queue."

The user is processing on behalf of multiple stakeholders with different standards. A chief of staff processing meeting follow-up tasks for three executives, or a freelancer processing deliverables for multiple clients. The per-item sequence will have branching logic based on whose item it is, because different stakeholders have different done states, filing destinations, and escalation contacts. Solve this with a stakeholder reference card (not embedded in the sequence itself) that maps: stakeholder → filing destination → escalation contact → any unique format requirements. The per-item sequence calls out to this card at the relevant step ("Code to correct stakeholder -- see Stakeholder Reference Card") rather than duplicating the decision tree for each person.

The batch protocol is used by multiple people (coverage, delegation, or shared role). When a protocol is shared, version control becomes critical. A protocol that one person has informally updated but not shared will cause another person to run an outdated version. Design the protocol document with a version number and date in the header. Any change, however small, triggers a version increment. If the protocol is stored in a shared location (shared drive, team wiki), include a changelog section at the bottom: "Version 1.2 -- Updated pre-batch checklist to include new expense tracker URL after system migration."

The user starts a batch and gets interrupted before completion. Work stops halfway through the queue, or halfway through a single item. The protocol must include a save-state mechanism: after each completed item, the user marks it with a visual indicator (checkbox checked, moved to processed folder, row highlighted). If the batch is interrupted, re-entry is possible by scanning for the first unchecked item. The partially completed batch should still receive a post-batch log entry, even if incomplete -- use a "partial" notation in the Notes column. The remaining items stay in the queue and roll into the next trigger event; they are not re-processed from scratch.

The per-item processing time is significantly longer than expected after the first few batches. The user estimated 5 minutes per item but the first batch showed 12 minutes per item. This happens when the initial estimate was based on memory of a "best case" item rather than a realistic item. Do not immediately redesign the protocol -- run three batches and average the actual times. If the average is consistently higher than estimated: (a) recalculate the trigger math using the actual average, (b) reduce the count threshold so batches stay under 90 minutes, and (c) audit the per-item sequence for steps that are taking longer than their time allocation. Often, one step (usually the core processing action, not the administrative steps) is consuming most of the overrun, and that step can be simplified or split.

The user wants to process a truly enormous backlog before starting the ongoing protocol. Someone who has 300 unprocessed items accumulated over three months needs a different approach than the ongoing steady-state protocol. Treat the backlog as a separate project: design a series of time-boxed "clearance batches" (90 minutes each, daily or every-other-day) specifically for the backlog. Run these clearance batches until the backlog drops to a manageable level (below the count trigger threshold for the ongoing protocol). Only then switch to the ongoing protocol. Do not try to design a single protocol that handles both the backlog and the ongoing flow -- they have different item mixtures (backlog items may be stale, require different handling, or include many discards) and different urgency profiles.


Example

Input: "I manage a podcast and after each episode goes live I get listener questions and feedback submissions through a form on my website. They come in over a few days after each episode -- usually 25-40 submissions per episode. Right now I'm checking the form dashboard constantly and responding to some, ignoring others, feeling guilty about the ones I miss. Each submission takes me about 5-6 minutes to read carefully, decide if it's a feature candidate (answer on air), a direct reply, or just a 'like' and archive. I do this for 2-3 episodes simultaneously which makes it chaotic. I want a clean system."

Output:


Batch Processing Protocol: Podcast Listener Submission Processing

Version: 1.0 | Created: [today's date] | Last Reviewed: [today's date]


Overview

| Field | Value |

|---|---|

| Item type | Listener question and feedback form submissions (per episode) |

| Arrival rate | 25-40 submissions per episode; most arrive within 72 hours of episode publish; trickle for up to 2 weeks |

| Per-item processing time | 5-6 minutes (read: 2 min, categorize: 1 min, action: 2 min, archive: 30 sec) |

| Acceptable delay | 5 days -- submissions do not require same-day responses |

| Recommended batch frequency | 2x per week (Day 3 and Day 7 after each episode publishes) |

| Expected batch duration | 15 items x 6 min = 90 minutes per batch (split across two batches per episode) |

| Maximum batch size | 15 items OR 90 minutes, whichever comes first |


Trigger Conditions

Fire a batch session when ANY of the following is true:

Hybrid rule: The Monday/Thursday schedule is the default. If any episode queue hits 15 before Monday or Thursday, run an early batch for that episode only. Do not combine episodes in an early batch.

Exception -- process immediately (outside the batch) if:

Items that arrive during an active batch session: Do not check the form dashboard for new submissions during the session. New arrivals will be picked up at the next scheduled batch.


Pre-Batch Setup Checklist

Target: Complete in under 2 minutes


Per-Item Processing Sequence

Processing order: Exceptions (pre-batch) → all remaining submissions in queue order (oldest first)

Per-item time limit: 8 minutes. At the 8-minute mark, defer immediately -- do not continue.


For each submission:

Step 1: Read and assess -- 2 minutes

Step 2: Categorize -- 1 minute

Assign exactly one category:

IF the submission is ambiguous between FC and DR: default to DR. Feature candidates should be unambiguous.

Step 3: Execute the category action -- 2-3 minutes

Step 4: Confirm and advance -- 30 seconds


Done state: Submission is tagged and archived in the dashboard. If FC: entry exists in Feature Candidates log. If DR: reply has been sent and confirmed delivered. No submission remains in an untagged state.

Defer state: Submission moved to "Needs Attention" view in dashboard with a note: [reason -- e.g., "Need to verify claim against episode transcript before deciding FC or DR"]. Added to Deferred list with date deferred and specific next action.

Discard state: Submission archived with tag "spam/irrelevant" or "duplicate." No log entry. No reply.


Post-Batch Wrap-Up Checklist

Target: Complete in under 5 minutes


Batch Log

| Date | Episode | FC | DR | AA | AO | Deferred | Discarded | Total | Actual Time | Defer Rate | Notes |

|------|---------|----|----|----|-----|----------|-----------|-------|-------------|------------|-------|

| | | | | | | | | | | | |

| | | | | | | | | | | | |

| | | | | | | | | | | | |

Defer rate = Deferred / Total processed. Flag if above 15% for two consecutive batches for the same episode.


Handling Multiple Simultaneous Episode Queues

Because submissions from multiple episodes accumulate at the same time (listener discovers the show and submits on three episodes at once), follow this sequencing rule:


Protocol Review Schedule

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.