Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add dykyi-roman/awesome-claude-code --skill check-batch-processinggit clone --depth 1 https://github.com/dykyi-roman/awesome-claude-codeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dykyi-roman/awesome-claude-code/check-batch-processing)<a href="https://agentmods.dev/skills/dykyi-roman/awesome-claude-code/check-batch-processing"><img src="https://agentmods.dev/badge/skills/dykyi-roman/awesome-claude-code/check-batch-processing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dykyi-roman/awesome-claude-code/check-batch-processing"><img src="https://agentmods.dev/badge/skills/dykyi-roman/awesome-claude-code/check-batch-processing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00035 | $0.01713 |
| Opus 5 | $0.00017 | $0.00856 |
| Sonnet 5 | $0.00007 | $0.00343 |
| Haiku 4.5 | $0.00003 | $0.00171 |
Grade A, and why
check-batch-processing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 278 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Batch Processing Analysis
Analyze PHP code for batch processing opportunities.
Detection Patterns
1. Single-Item vs Bulk Operations
// SLOW: Individual inserts
foreach ($users as $user) {
$pdo->query("INSERT INTO users (name, email) VALUES ('$name', '$email')");
}
// FAST: Bulk insert
$values = [];
$params = [];
foreach ($users as $i => $user) {
$values[] = "(:name{$i}, :email{$i})";
$params["name{$i}"] = $user['name'];
$params["email{$i}"] = $user['email'];
}
$sql = "INSERT INTO users (name, email) VALUES " . implode(', ', $values);
$pdo->prepare($sql)->execute($params);
2. Individual Database Operations
// SLOW: Save each entity separately
foreach ($entities as $entity) {
$this->em->persist($entity);
$this->em->flush();
}
// FAST: Batch persist and single flush
foreach ($entities as $entity) {
$this->em->persist($entity);
}
$this->em->flush();
// FAST: With memory management for large batches
$batchSize = 100;
foreach ($entities as $i => $entity) {
$this->em->persist($entity);
if ($i % $batchSize === 0) {
$this->em->flush();
$this->em->clear();
}
}
$this->em->flush();
3. Individual API Calls in Loops
// SLOW: HTTP call per item
foreach ($products as $product) {
$price = $this->pricingApi->getPrice($product->getSku());
$product->setPrice($price);
}
// FAST: Batch API call
$skus = array_map(fn($p) => $p->getSku(), $products);
$prices = $this->pricingApi->getPrices($skus);
foreach ($products as $product) {
$product->setPrice($prices[$product->getSku()]);
}
// SLOW: Individual notifications
foreach ($users as $user) {
$this->emailService->send($user->getEmail(), $message);
}
// FAST: Batch send
$emails = array_map(fn($u) => $u->getEmail(), $users);
$this->emailService->sendBatch($emails, $message);
4. Transaction Overhead
// SLOW: Transaction per operation
foreach ($transfers as $transfer) {
$this->connection->beginTransaction();
try {
$this->processTransfer($transfer);
$this->connection->commit();
} catch (Exception $e) {
$this->connection->rollBack();
}
}
// FAST: Single transaction (if appropriate)
$this->connection->beginTransaction();
try {
foreach ($transfers as $transfer) {
$this->processTransfer($transfer);
}
$this->connection->commit();
} catch (Exception $e) {
$this->connection->rollBack();
}
// BALANCED: Chunked transactions
$chunks = array_chunk($transfers, 100);
foreach ($chunks as $chunk) {
$this->connection->beginTransaction();
try {
foreach ($chunk as $transfer) {
$this->processTransfer($transfer);
}
$this->connection->commit();
} catch (Exception $e) {
$this->connection->rollBack();
}
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 278 lines · 35 tokens per session scan A 6810c5bc0c80
check-batch-processing is a skill published in the GitHub repository dykyi-roman/awesome-claude-code (96 stars, last pushed 24d ago), licensed MIT. It adds 35 tokens to every session and 1,713 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
truss-schema
Ground a database schema change in this application's real structure using Laravel Truss. Use when adding or altering tables, columns, indexes, or foreign keys, when a migration needs to match what is already there, or when you need to know what a migration actually changed. Structure only, never data.
laravel-database-optimization
Laravel database optimization patterns. Use when writing Eloquent queries, creating migrations, configuring caching, debugging slow queries, or optimizing database performance. Triggers on tasks involving N+1 queries, indexing, Redis caching, pagination, or database transactions.
eloquent-patterns
Eloquent ORM best practices: query builders, scopes, relations, N+1 prevention, batch operations, soft deletes, model events, raw queries when needed. Apply when: writing or reviewing Eloquent queries and model interactions. Activated automatically by laravel-plugin/stack.md as a convention skill for the development…
laravel-migrations
Use when designing a database schema or managing Laravel 13 migrations — Schema Builder, columns, indexes, foreign keys, or seeders.
laravel-eloquent
Eloquent and query-layer engineering rules for Laravel — eliminating N+1, choosing a pagination strategy, short atomic transactions, casts and scopes on the model, where raw SQL is allowed, and how migrations declare the schema those queries depend on. Use when writing or reviewing Eloquent models, migrations, query…
Laravel Migration Safety Review
Reviews Laravel migrations for destructive operations, change() dropping modifiers, locking index creation on large tables (PostgreSQL), and asymmetric down().