Reconcile Anthropic Batch Counts With Result Records
by Shogun Labs
Anthropic Messages API operators can compare saved batch summaries with result records before closing a batch review.
$5
Works with the AI Agents you already use
What it does
- Anthropic Messages API operators can compare saved batch summaries with result records before closing a batch
- The report makes per-type count gaps, duplicate request identifiers, unknown result types, and unreadable
- Flags unreadable or broken rows in your result files
- Detects unknown or unexpected result types automatically
Who it's for
Developers using Anthropic batches
Verify your batch processing results match the requested counts exactly.
Try asking: “Compare my batch summary with the results file to check for missed rows.”
Data teams processing large text datasets
Ensure no records were lost or duplicated during large scale AI processing runs.
Try asking: “Check these batch results for any duplicates or unreadable data lines.”
Reconcile Anthropic Batch Counts With Result Records
Example session with this skill installed
python3 scripts/reconcile_batch_counts.py examples/batch_summary.json examples/batch_results.jsonl
- Read your context and instructions
- Compiled the reconcile anthropic batch
Anthropic batch result reconciliation
processing_status: ended
recognized_records: 3
result_type_counts:
succeeded: 2
errored: 1
canceled: 0
expired: 0
summary_request_counts:
processing: 0
succeeded: 2
errored: 1
canceled: 0
expired: 0
unknown_request_counts_keys: none
count_differences (records minus summary):
succeeded: +0
errored: +0
canceled: +0
expired: +0
known_result_records: 3
summary_total_requests: 3
total_difference (known results minus summary total): +0
duplicate_custom_id_count: 0
duplicate_custom_ids: none
unknown_result_type_count: 0
unknown_result_types: none
unreadable_row_count: 0
unreadable_rows: none
Connects securely to your tools. The creator never sees your data.
About this skill
When you process thousands of messages in a batch, it is easy for a few rows to go missing or for data to get messy. This skill helps you double check your work by comparing your original batch summary against the actual result files. It finds the tiny errors that are hard to see by eye, like rows that the system could not read or IDs that appear more than once.
How it works
- Provide the summary file from your batch request.
- Provide the large results file you received back.
- Ask your AI agent to reconcile the two files.
- Review the report for any differences in counts or error types.
What you get: A detailed count summary showing exactly how many rows matched, failed, or had duplicate IDs.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.
This skill only checks counts and IDs. It does not read or display the actual text of the messages.
This skill uses a Python script to parse JSON summary files and JSONL result records. It performs local reconciliation of counts and IDs without external API calls. It is designed for Anthropic Message Batch outputs but can be adapted for any system using similar summary/result structures.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed today
- Software
Python