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 (22,387 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 · 3,609 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 22,387 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 21 Oct 2026
  • Snyk pass 21 Oct 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.22387
Opus 5.5 $0.00088 $0.08955
Sonnet 5.5 $0.00044 $0.04477
Haiku 4.5 $0.00022 $0.02239

Measured 1mo ago against content hash 00a1a82e8e37, 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 1mo 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 · 414 lines

How it starts

The opening of the file, as written. The whole thing — 414 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 · 414 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. 1mo ago Changed · +49 lines 00a1a82e8e37
  2. 2mo 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 (3,609 stars, last pushed today), licensed Apache-2.0. It adds 221 tokens to every session and 22,387 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

aws-marketplace-metering compared with skills from other repositories

aws-marketplace-metering next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aws-marketplace-meteringaws/agent-toolkit-for-awsSkill3.6ktodayApache-2.0C221Claude Code, Codex
aws-cost-operationssickn33/agentic-awesome-skillsSkill51ktodayMITA44Claude Code
aws-cost-cleanupsickn33/agentic-awesome-skillsSkill51ktodayMITA15Claude Code
azure-computemicrosoft/skillsSkill3.3k3d agoMITA154Claude Code
azure-costmicrosoft/skillsSkill3.3k3d agoMITA94Claude Code
cost-estimationmicrosoft/skillsSkill3.3k3d agoMITA97Claude Code
cost-governancemicrosoft/skillsSkill3.3k3d agoMITA99Claude Code