audiences

audiences is a skill for Claude Code from adaptyteam/adapty-skills. It costs 128 tokens per session (4,893 once invoked), scanned A, original, MIT.

A tool for deciding which users see which paywall or in-app flow based on filters such as country, language, platform, subscription state, or campaign.

In plain words
What is it for?
Use it to create, edit, or reuse user groups and connect them to paywalls or flows in Adapty.
Why use it?
It lets an app show different purchase options to different groups instead of giving everyone the same placement.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the adapty-skills plugin — 13 skills shipped together

Good fit Use it to create, edit, or reuse user groups and connect them to paywalls or flows in Adapty.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adaptyteam/adapty-skills/audiences
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 adaptyteam/adapty-skills --skill audiences
Clone the repo
git clone --depth 1 https://github.com/adaptyteam/adapty-skills

Made for: Claude Code.

Or install adapty-skills, the plugin that ships this one along with the rest of its 13 skills.

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 audiences

README.md
[![agentmods](https://agentmods.dev/badge/skills/adaptyteam/adapty-skills/audiences/github.svg)](https://agentmods.dev/skills/adaptyteam/adapty-skills/audiences)
Your own site
<a href="https://agentmods.dev/skills/adaptyteam/adapty-skills/audiences"><img src="https://agentmods.dev/badge/skills/adaptyteam/adapty-skills/audiences/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 audiences

Your own site · 80×15
<a href="https://agentmods.dev/skills/adaptyteam/adapty-skills/audiences"><img src="https://agentmods.dev/badge/skills/adaptyteam/adapty-skills/audiences.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,893 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00128 $0.04893
Opus 5.5 $0.00051 $0.01957
Sonnet 5.5 $0.00026 $0.00979
Haiku 4.5 $0.00013 $0.00489

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

Security

Grade A, and why

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

plugin/skills/audiences/SKILL.md · 252 lines

How it starts

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

Audiences: who sees what at a placement

A segment is a set of filters, all of which a user must match. An audience is one entry in a placement: one segment (or none), one paywall or flow, one priority. The placement checks its audiences from the lowest priority up and serves the first one the user matches; the default audience (segment_ids: []) is last and catches everyone else. Every change this skill makes is live for real users the moment the placement is written.

This skill owns segments and audiences. It does not own:

  • The paywall or flow itself → flow-generator builds and publishes it. An audience can only point at content that exists, and a flow only once it is published.
  • Moving paywall placements to flows → migrate-placements.
  • Segments built from Apple Search Ads campaigns, ad groups or keywords → ads-manager, workflow 13 (asa segments create resolves the Apple ids and keeps the dashboard's naming). Come back here to route the segment it returns.
  • An attribute the app has to send (custom attributes, age, gender, customer user ID) → adapty-integration owns the SDK call. A segment over an attribute nobody sets matches nobody.
  • Starting, stopping or building an A/B test — not in the CLI. The CLI reads the tests on a placement and keeps them (next section). For the rest, send the user to https://adapty.io/docs/add-audience-paywall-ab-test.

A/B tests on a placement: the CLI reads and keeps them

placements get shows an audience that runs an A/B test as an entry of its own kind (CLI 0.11.0 is the first release that does): {"content_type":"ab_test","ab_test_id":…,"ab_test_title":…, "segment_ids":[…],"priority":…}, or "flow_ab_test" on a flow placement. Send it back in --audiences exactly as read (ab_test_title is optional on a write). The audience serves the test's running content, so a test entry is not something you build or edit here.

  • A shared test (cross_ab_test, flow_cross_ab_test) runs across several placements and shows read-only. Send each such entry back unchanged and never add, edit or reorder one. The backend counts its priorities and its default audience apart from the regular ones, so both groups can hold priority 0 and a default. You add and reorder only regular audiences.
  • A write that only adds a segment audience or only changes priorities is safe. The test keeps running with the same start time, so the table needs no test line.
  • A write that changes a test is not, and the table must say so. Three writes do: a running test's audience is replaced by a paywall or flow, or is missing from the list; its audience gets other segments; or the list carries a test id the placement does not run now. In the before/after table, show each test by its title and add one line per test: "test X stops with no winner; Y starts" (a stopped test shows as Completed with no winner), or "test X starts again with a new start time". Then wait for the user's answer, and write only after they confirm that table.
  • Read again just before the write. Run placements get once more. If the placement differs from the read the user saw, show the new before/after table and ask again. An unattended run stops there and reports; it does not write.
  • Put on an audience only the test id it already carries. The one exception is a test the user names as still a draft, and the table then says "test X starts on ". Never put the id of a test that runs on another audience or placement: the backend would move that test.
  • An unattended run may write a placement when the table has no test line. A test line with no answer from the user means no write: give the exact dashboard change instead (which audience, which segment, which paywall or flow, which position), where the test keeps running. Creating the segment through the CLI is still fine.

Read the full file on GitHub · 252 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. 6d ago Changed · +17 lines 9a2832711110
  2. 10d ago Changed · +25 lines a7bf85e52efb
  3. 11d ago Changed · +42 lines b4ed43345afa
  4. 13d ago First seen · 168 lines · 128 tokens per session scan A 82061c8ad684

Subscribe to this mod's changes

audiences is a skill published in the GitHub repository adaptyteam/adapty-skills (6 stars, last pushed today), licensed MIT. It adds 128 tokens to every session and 4,893 once invoked, about $0.0005 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-10-14.

Related

Other skills, from other repositories

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

food-order

Reorder previous Foodora orders, preview cart contents, and track delivery ETA/status with ordercli. Use when the user wants to reorder food, check delivery status, or browse recent Foodora order history. Never confirm an order without explicit user approval.

Bitterbot-AI/bitterbot-desktop · 53 tokens

amazon-reviews-api-skill

This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express needs like getting reviews for Amazon product with ASIN B07TS6R1SF, analyzing customer feedback for a specific Amazon item, getting ratings and comments for a…

browser-act/skills · 124 tokens

Product Photoshoot Workflow

A workflow for turning one product photo into a set of four e-commerce images from different visual directions.

jau123/MeiGen-AI-Design-MCP · 111 tokens

amazon-competitor-analyzer

Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis. Compares specifications, pricing, review quality, and visual strategies to identify competitor moats and vulnerabilities.

browser-act/skills · 48 tokens

cloudbase-wechat-integration

A guide for connecting CloudBase applications to WeChat services, including payments, official accounts, and user identity.

TencentCloudBase/CloudBase-AI-Toolkit · 94 tokens