aws-marketplace-metering

aws-marketplace-metering is a skill for Claude Code, Codex from aws/agent-toolkit-for-aws. It costs 221 tokens per session (17,197 once invoked), scanned C, original, Apache-2.0.

A workflow for deploying, checking, and troubleshooting AWS Marketplace usage-based billing for software sold as a service. AWS Marketplace is Amazon's store for third-party software, and usage-based billing charges customers according to their measured use.

In plain words
What is it for?
Use it to deploy a serverless metering setup with AWS SAM, submit and inspect usage records, investigate failures through CloudTrail or seller reports, and handle concurrent agreements or multiple products.
Why use it?
It helps connect customer identification, usage submission, event handling, and billing-record investigation into one process. It also covers finding failed submissions and mismatches between records, but generated infrastructure and billing code must be reviewed before production use.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to deploy a serverless metering setup with AWS SAM, submit and inspect usage records, investigate failures through CloudTrail or seller reports, and handle concurrent agreements or multiple products.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws/agent-toolkit-for-aws/aws-marketplace-metering
About the project

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.

aws/agent-toolkit-for-aws · 2,886 stars · on GitHub

Install

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.

Any agent
npx skills add aws/agent-toolkit-for-aws --skill aws-marketplace-metering
Clone the repo
git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws

Made for: Claude Code, Codex.

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

agentmods badge for aws-marketplace-metering

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/aws-marketplace-metering/github.svg)](https://agentmods.dev/skills/aws/agent-toolkit-for-aws/aws-marketplace-metering)
Your own site
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/aws-marketplace-metering"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/aws-marketplace-metering/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.

agentmods 80×15 button for aws-marketplace-metering

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/aws-marketplace-metering"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/aws-marketplace-metering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 221 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 17,197 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 24 Sept 2026
  • Snyk pass 24 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00221 $0.17197
Opus 5.5 $0.00088 $0.06879
Sonnet 5.5 $0.00044 $0.03439
Haiku 4.5 $0.00022 $0.01720

Measured 21d ago against content hash 367476fb17fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

aws-marketplace-metering scanned grade C with 1 finding 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 21d ago.

The scan reads SKILL.md. This mod also ships 12 executable files (scripts/aggregator.py, scripts/cleanup.py, scripts/deploy.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

**Capability boundary (state it; don't return a bounded answer as authoritative).** This query **USES** CloudTrail Event History (`LookupEvents`) in the seller's region, last ≤90 days, **page-bounded and processed in mem
skills/specialized-skills/aws-marketplace-skills/aws-marketplace-metering/SKILL.md · 365 lines

How it starts

The opening of the file, as written. The whole thing — 365 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AWS Marketplace Metering

Overview

Complete lifecycle management for AWS Marketplace usage-based metering:

  • Setup (SaaS PAYG) — deploy a new serverless metering integration (SAM, ResolveCustomer, BatchMeterUsage, EventBridge).
  • Query — find, inspect, debug, analyze existing metering submissions (CloudTrail Event History ≤90 days; Seller Reports for billed history).

Scope is SaaS Usage-based (PAYG). SaaS Contract, Contract with Consumption Pricing (CCP), and AMI/Container are out of scope — redirect to public AWS docs.

Recommended: the AWS MCP server provides sandboxed execution and audit logging.

⚠️ AI-generated output — review before production. This skill is executed by an AI agent and can make mistakes. Everything it generates (CloudFormation/SAM templates, Lambda handlers, IAM policies, deploy.sh) and everything it deploys to a seller's AWS account MUST be treated as a proposal to review, not a trusted artifact. Before any deployed stack carries PRODUCTION metering traffic (real billing), the seller MUST:

  • Thoroughly review every resource the skill created or changed — templates, Lambda code, IAM roles/policies (least-privilege, no unintended grants), tables/indexes, queues, alarms — in their own account, and confirm it matches their intent and their org's standards. Metering errors directly affect revenue (under- or over-billing), so this review is not optional.
  • Put the generated code through the seller's normal code review + change-management process (do not ship AI output straight to production), and
  • Run the full hands-on test plan (references/test-plan.md) end-to-end and verify each expected observable outcome BEFORE relying on the integration for real billing. The skill SHALL surface this review-before-production expectation to the seller, and SHALL NOT imply that a successful deploy means the integration is production-ready without this review + test.

Using this skill's packaged resources

Read the full file on GitHub · 365 lines

Changes

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.

  1. 21d ago First seen · 365 lines · 221 tokens per session scan C 367476fb17fb

Subscribe to this mod's changes

aws-marketplace-metering is a skill published in the GitHub repository aws/agent-toolkit-for-aws (2,886 stars, last pushed yesterday), licensed Apache-2.0. It adds 221 tokens to every session and 17,197 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-25.

Related

Other skills, from other repositories

aws-cost-operations

AWS cost optimization, monitoring, and operational excellence expert. Use when analyzing AWS bills, estimating costs, setting up CloudWatch alarms, querying logs, auditing CloudTrail activity, or assessing security posture.

sickn33/agentic-awesome-skills · 44 tokens

aws-cost-cleanup

Automated cleanup of unused AWS resources to reduce costs.

sickn33/agentic-awesome-skills · 15 tokens

azure-compute

Azure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compare VM pricing, VMSS, scale set, autoscale, burstable, lightweight server, website, backend, GPU, machine learning, HPC simulation, dev/test, workload, family, load balancer, Flexible orchestration, Uniform orchestration, cost…

microsoft/skills · 154 tokens

cost-estimation

Forecast Azure spend and price planned resources or workloads. WHEN: "forecast Azure spending", "project next month cost", "compare forecast to my planning target", "how much will Azure cost", "estimate VM cost", "compare storage tiers", "compare Azure regions", "retail price", "EA rate card", "negotiated pricesheet".…

microsoft/skills · 97 tokens

cost-governance

Govern Azure costs with budgets, alerts, tags, and policy restrictions. WHEN: "Azure budget health", "configured budget overrun", "list Azure budgets", "create Azure budget", "budget alerts", "budget coverage", "missing CostCenter tags", "allowed VM SKUs", "allowed Azure regions", "would this SKU be denied", "cost…

microsoft/skills · 99 tokens

cost-optimization

Optimize existing Azure resources and analyze Reservations or Savings Plans. WHEN: "optimize Azure costs", "reduce cloud spending", "rightsize resources", "find idle resources", "orphaned disk", "deleted VM still charged", "public IP still charging", "reservation utilization", "Savings Plan coverage", "commitment…

microsoft/skills · 98 tokens