Skip to content
Back to skills

018 Off B0c20ea6

ASecurity

> 50% off all API costs for non-urgent tasks

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
ai-agentspythongoapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 018-off_b0c20ea6 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 018 Off B0c20ea6?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 018 Off B0c20ea6
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-018-off-b0c20ea6/badge)](https://www.skillsdirectory.com/skills/tools-only-018-off-b0c20ea6)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Batch API Quick Reference

> 50% off all API costs for non-urgent tasks

## When to Use

✅ **Good for:**
- Bulk translations
- Daily content generation
- Overnight report processing
- Large-scale data analysis

❌ **Not for:**
- Real-time chat
- Immediate responses
- Interactive applications

## Pricing (50% Off)

| Model | Normal Input | Batch Input | Normal Output | Batch Output |
|-------|--------------|-------------|---------------|--------------|
| Opus | $5/MTok | $2.50/MTok | $25/MTok | $12.50/MTok |
| Sonnet | $3/MTok | $1.50/MTok | $15/MTok | $7.50/MTok |
| Haiku | $1/MTok | $0.50/MTok | $5/MTok | $2.50/MTok |

## Limits

- Max requests per batch: **100,000**
- Max batch size: **256 MB**
- Processing time: Up to **24 hours** (usually < 1 hour)
- Results available: **29 days**

## Basic Usage

```python
import anthropic
client = anthropic.Anthropic()

# Create batch
batch = client.messages.batches.create(
    requests=[
        {
            "custom_id": "task-001",
            "params": {
                "model": "claude-sonnet-4-5",
                "max_tokens": 1024,
                "messages": [{"role": "user", "content": "Hello"}]
            }
        }
    ]
)

# Check status
batch = client.messages.batches.retrieve(batch.id)
print(batch.processing_status)  # "in_progress" or "ended"

# Get results
for result in client.messages.batches.results(batch.id):
    print(f"{result.custom_id}: {result.result.message.content[0].text}")
```

## Status Values

| Status | Meaning |
|--------|---------|
| `in_progress` | Still processing |
| `ended` | Complete (check request_counts) |
| `canceling` | Cancel requested |
| `canceled` | Successfully canceled |

---

*Source: [Anthropic Batch Processing Docs](https://docs.anthropic.com/en/docs/build-with-claude/batch-processing)*

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.