Agent Toolkit for AWS is a collection of AWS-supported MCP servers, skills, plugins, commands, and hooks that help AI coding agents build, deploy, and manage applications on AWS. It is used by developers working with AWS services through agents such as Claude Code, Codex, Cursor, and Kiro. The catalogue entries are the toolkit's own agent extensions for AWS development and operations.
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 aws/agent-toolkit-for-aws --skill self-hosted-llm-batch-inferencegit clone --depth 1 https://github.com/aws/agent-toolkit-for-awsWrote 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/aws/agent-toolkit-for-aws/self-hosted-llm-batch-inference)<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/self-hosted-llm-batch-inference"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/self-hosted-llm-batch-inference/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/aws/agent-toolkit-for-aws/self-hosted-llm-batch-inference"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/self-hosted-llm-batch-inference.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00170 | $0.01209 |
| Opus 5.5 | $0.00068 | $0.00484 |
| Sonnet 5.5 | $0.00034 | $0.00242 |
| Haiku 4.5 | $0.00017 | $0.00121 |
Grade A, and why
self-hosted-llm-batch-inference 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 13d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- self-hosted-llm-batch-inference — 92% identical, 2 lines differ
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Self-Hosted LLM Batch Inference
Build a repeatable offline inference path for a startup that needs GPU economics without operating an ML platform. Use one AWS Batch job for one corpus run, backed by Amazon ECS Managed Instances Spot. Stage model weights in Amazon S3, divide the corpus into deterministic shards, and process those shards sequentially with vLLM on one GPU.
Keep the infrastructure stack separate from each run. Provision reusable Batch, ECR, IAM, logging, and optional networking resources with infrastructure as code. Submit each run separately with immutable image, model, prompt, input manifest, and output identifiers.
Set scaleInAfter to 0 for this architecture. No follow-up task is expected on the instance after
the Batch job ends, so retaining idle GPU capacity adds cost without improving the run.
Scope
Apply this skill only when all of these conditions hold:
- The workload is recurring, latency-tolerant, generative offline inference.
- The model is approximately 1B to 8B parameters and fits on one GPU after measurement.
- The team accepts Spot interruption and requires automatic recovery.
- One model is loaded once and reused across many input shards in a corpus run.
- Persistent artifacts and completion records can live in Amazon S3.
Do not apply this skill to online endpoints, training or fine-tuning, embedding models, other inference engines, multi-GPU or distributed inference, or one-off experiments where an operator can rerun the command manually.
Workflow
- Read
references/prepare-model-and-input.mdand define the immutable model artifact, prompt contract, deterministic shard manifest, output schema, quarantine schema, and measured sizing inputs. - Read
references/run-with-aws-batch.mdand author the reusable infrastructure plus the separateSubmitJobinvocation. Preserve one Batch job per corpus run. - Read
references/verify-and-optimize.mdbefore the canary and again after the full run. Reconcile records, confirm retry behavior, measure cost inputs, and verify that GPU capacity has terminated.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 13d ago First seen · 88 lines · 170 tokens per session scan A 508fa2b2a1b5
self-hosted-llm-batch-inference is a skill published in the GitHub repository aws/agent-toolkit-for-aws (3,609 stars, last pushed today), licensed Apache-2.0. It adds 170 tokens to every session and 1,209 once invoked, about $0.0007 per session on Opus 5.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-11-17.
self-hosted-llm-batch-inference compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| self-hosted-llm-batch-inferenceaws/agent-toolkit-for-aws | Skill | 3.6k | today | Apache-2.0 | A | 170 | Claude Code |
| tensorrt-llmNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 18 | Claude Code, Codex |
| agent-platform-tuninggoogle/skills | Skill | 25k | today | Apache-2.0 | A | 64 | Claude Code, Codex |
| google-cloud-solution-guided-gke-ai-migrationgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 157 | Claude Code, Codex |
| apigee-agent-gateway-governancegoogle/skills | Skill | 25k | today | Apache-2.0 | A | 222 | Claude Code, Codex |
| agent-platform-endpoint-managementgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 64 | Claude Code, Codex |
| gke-inferencegoogle/skills | Skill | 25k | today | Apache-2.0 | A | 119 | Claude Code, Codex |