Reconcile Anthropic Batch Counts With Result Records

    by Shogun Labs

    1

    Anthropic Messages API operators can compare saved batch summaries with result records before closing a batch review.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+23 more

    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

    1. Provide the summary file from your batch request.
    2. Provide the large results file you received back.
    3. Ask your AI agent to reconcile the two files.
    4. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Permissions

    Terminal / Shell
    Read Files
    Listedtoday

    What's inside

    Frequently Asked Questions

    This skill compares your batch summary file with your results file to find rows that the system could not read, missing data, and duplicate IDs. It helps you spot small errors in large datasets that are hard to find by looking at the files manually.

    You need to provide the summary file from your batch request and the results file you received back. The skill also uses a specific script included in the package to run the comparison.

    You will receive a detailed report showing the total count of matching rows, any failed rows, and a list of duplicate IDs. The output includes line-numbered diagnostics so you can see exactly where the issues are.

    To start the process, you can ask your AI agent to reconcile the two files by providing the summary and result records. The agent will then run the script and give you the count summary.

    This skill focuses on comparing counts and identifying technical errors like unreadable rows or duplicate IDs. It does not access the network or show the actual content of your messages.

    New in LLM Ops