Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

aws-app-monetization

БесплатноЗапускает вложенные скриптыНе проверен

Sets up pricing and billing for a customer-facing app with paying end users, using AWS App Monetization. Finds what to charge for, recommends plans and…

awsот aws★ 3 696 звёзд на GitHub

Об этом скилле

AWS App Monetization

Overview

Help any developer go from "I have an app" to "my app earns money" through a single conversation.

Scope: two integration paths. For JavaScript/TypeScript apps (plain JS, TypeScript, React, Next.js, Node/Express) the skill copies its helper file assets/monetize.ts into the app as lib/monetize.ts and installs its one dependency, the public AWS SDK client @aws-sdk/client-appmonetization; the helpers cover metering, AWS-usage reporting, entitlement checks and the hosted pricing page and billing portal. For any other language (Python, Go, Java, Ruby, etc.) the skill uses an HTTP-direct integration: it authors plans/metrics the same signed-REST way (Phases 1–5 are language-neutral), and in Phase 6 hands the agent a language-neutral endpoint contract (references/phase-6-http.md) to wire billing into the app's own source in its own language. The HTTP path is a real integration; the developer's code makes the signed calls directly instead of through a ready-made helper file. Phase 1 detects the stack and forks the path automatically.

The AWS MCP server is recommended: run AWS commands with its tools when it is connected, because it provides sandboxed execution and audit logging. The skill also works without it: AWS App Monetization calls go through the AWS CLI (aws appmonetization ...), directly or through the two bundled Python scripts, which need no MCP server.

Guardrail — where this skill's own files live (MCP vs local install)

This skill can be loaded two ways, and they resolve the skill's own bundled files from different places. Determine how the skill was loaded before reading a reference or running a script:

  • Loaded through the AWS MCP retrieve_skill tool: The skill is not installed on the local filesystem. You MUST fetch each reference or script via retrieve_skill with the file parameter (e.g. file="references/phase-1-app-analysis.md" or file="scripts/recommend.py"), and run the script from the returned content. Do NOT file_read these paths locally — they do not exist on disk.
  • Installed locally (e.g. .kiro/skills/aws-app-monetization/ or ~/.claude/skills/aws-app-monetization/): Read and run files from the local skill directory using relative paths.

This distinction applies only to the skill's own packaged files. User data and session artifacts are always read from and written to the user's working directory. Never fetch or write customer data through retrieve_skill.

Runtime requirements

Check these before the first command that needs them, and before running any script. If one is missing, tell the developer what to install and wait; never work around a missing tool by hand-writing the step.

  • Python 3.9 or later (python3 --version). Every script under scripts/ is a Python script that uses only the standard library (no pip install); the ones that call AWS App Monetization run the AWS CLI. python3 is also used for every calculation you do yourself (see Constraints).
  • JS/TS path only: Node.js 24 or later and npm (node --version), because the lib/monetize.ts helper copied into the app needs them. The HTTP-direct path does not need Node.
  • AWS CLI v2, a release that includes AWS App Monetization (aws appmonetization help). Every AWS App Monetization call goes through it, using its own credential chain (the environment, profiles, SSO, credential_process), and so do the cost check's aws pricing get-products lookups when they run in a shell. Check it once before the first AWS App Monetization call (Phase 5 step 1b); if appmonetization is missing, ask the developer to install or update to the latest AWS CLI v2 and wait. When the AWS MCP Server is connected, its call_aws tool runs a current AWS CLI, so no check is needed.
  • jq (jq --version), for the JSON body of every single aws appmonetization call you write yourself (Phase 5 §2), so each value is escaped by a tool and not by hand. If it is missing, ask the developer to install it and wait.
  • AWS credentials, from the recommendation onward (not for the welcome or the app analysis). The identity needs the appmonetization actions listed in references/api-contracts.md → IAM Actions for the steps it runs, and pricing:GetProducts for the cost check.

Philosophy

Minimize decisions, maximize confidence — recommend first, cost second. The developer knows their app; you know AWS pricing and billing patterns. Do the analysis work for them and surface only the choices that actually matter. Lead with a fast pricing recommendation out of the gate, then offer to solidify it with an AWS cost estimate — costs refine the recommendation, they don't gate it. The offer is first made in the pricing questions (Phase 3 §1.0, question 5) with a note that skipping it leaves the recommendation's confidence LOW; skipping is a

Полный SKILL.md на GitHub

Установить aws-app-monetization в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/monetize.tsreferences/api-contracts.mdreferences/competitive-intelligence.mdreferences/phase-1-app-analysis.mdreferences/phase-2-cost-estimation.mdreferences/phase-3-pricing-recommendation.mdreferences/phase-4-developer-review.mdreferences/phase-5-configure.mdreferences/phase-6-code-injection.mdreferences/phase-6-http.mdreferences/sandbox-mode.mdreferences/sdk-reference.mdscripts/aws_cli.pyscripts/configure_plans.pyscripts/recommend.pyscripts/register_seller.py

FAQ

Что делает скилл aws-app-monetization?

Sets up pricing and billing for a customer-facing app with paying end users, using AWS App Monetization. Finds what to charge for, recommends plans and prices, creates them after the developer approves, and adds metering, entitlement checks and a pricing page to the code. Covers requests to make money from an app, charge users, add a paywall, subscriptions or usage-based billing, decide how to price an app, or see per-user costs to price from ("monetize my app", "how should I price this", "add billing", "set up a pricing plan"). Also changes an app already on AWS App Monetization ("change my pricing", "add or remove a tier", "meter a new feature", "my costs went up"). JavaScript/TypeScript apps get a bundled helper file; Python, Go, Java, Ruby and others use HTTP-direct integration. Not for internal tools, prototypes, admin dashboards, apps without paying end users, AWS Marketplace listings, or lowering an AWS bill.

Как установить скилл aws-app-monetization?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл aws-app-monetization запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить aws-app-monetization с