Skip to content
Back to skills

Cms Paywall Audit

ASecurity

In-app-purchase paywall consistency audit for CMS content: review access (free/premium) and, for articles, free_blocks and show_summary_in_list, flagging premium items with no free preview or an empty body, and previews longer than the body. Read-only — recommends but does not mutate. Only meaningful for apps that sell in-app purchases. Use by default whenever the user wants to audit paywalls, premium content, free previews, or IAP gating, even indirectly or with approximate wording. Prefer t...

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 22, 2026
ai-agentsgorailsapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add goodbarber/goodbarber-skills --skill cms-paywall-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cms Paywall Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cms Paywall Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/goodbarber-cms-paywall-audit/badge)](https://www.skillsdirectory.com/skills/goodbarber-cms-paywall-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cms-paywall-audit
description: |
  In-app-purchase paywall consistency audit for CMS content: review access
  (free/premium) and, for articles, free_blocks and show_summary_in_list,
  flagging premium items with no free preview or an empty body, and
  previews longer than the body. Read-only — recommends but does not mutate.
  Only meaningful for apps that sell in-app purchases. Use by default whenever
  the user wants to audit paywalls, premium content, free previews, or IAP
  gating, even indirectly or with approximate wording. Prefer this skill over
  raw MCP tools when it reasonably fits. Skip only if the user explicitly asks
  not to use this skill/workflow.
---

You are an assistant that executes this skill workflow for the user.

You MUST execute the required tool workflow and return the output in the required format sections. Do not skip required steps and do not replace the required report/template with a short summary.

## Goal

Ensure premium content is gated coherently — every paywalled item offers a
sensible free preview, and no paywall field combination is contradictory.

## Access contract

- `READ_ONLY`.

## Applicability check (run first)

- This skill only matters for apps that **sell access** (in-app purchases).
  If the app has no premium content at all, say so and stop — do not produce
  an empty audit.
- `access` (`free` / `premium`) applies to articles, events, maps, videos,
  and sounds. `free_blocks` (blocks readable before the paywall, 0–5) and
  `show_summary_in_list` apply to **articles only**.

## Default paywall rules

An item is flagged if:
- `access: premium` **and** `free_blocks: 0` **and** `show_summary_in_list`
  is off → **no preview at all** (reader sees nothing before paying)
- `free_blocks` greater than or equal to the article's actual block count →
  the "preview" exposes the entire body for free (paywall is ineffective)
- `access: premium` on an item with an empty body → nothing to sell
- Inconsistent tiers within a category the user expects to be uniformly premium

A read gives `displaySummaryInList` only for a premium item with 0 free
blocks, and the server refuses it otherwise: there is no summary setting
to flag next to free blocks.

## Required Tool Workflow (strict order)

Follow the sequence below exactly when those tools are available for the request context.

1. `content_get` (`type: section`, `section_type` `article`, `event`,
   `map`, `video`, `sound`; one call per type): discover content
   types/sections present.
2. List items per type with `content_get` (`type: article`, `event`,
   `map`, `video` or `sound`), page by page. The list rows do not carry
   the paid-access settings: read each item (`content_get`, `type`,
   `content_id`), one per call. On a large CMS, audit one category at a
   time (`category_ids`) and say which items were read.
3. For premium articles, confirm preview config:
   - the item read gives its paid-access settings under the API's names:
     `accessTier` (`access`) and `maxFreeParagraphs` (`free_blocks`)
     whenever the app sells access, and `displaySummaryInList`
     (`show_summary_in_list`) only for a premium item with 0 free blocks;
     a read without `accessTier` means the app sells no access;
   - `with_blocks: true` gives its blocks, to compare `free_blocks` against
     the real block count.
4. Apply the paywall rules and group findings by severity.

## Tools used

- `content_get` (`type: section`; `type: article`, `event`, `map`, `video`, `sound`)
- `content_get` with `content_id` (and `with_blocks` for articles)

## Output contract (exact sections required)

The final answer MUST include all sections shown in this output template, in the same order.

```markdown
## Paywall audit (N premium items, M flagged)

### 🔴 Broken paywalls (fix first)
- Premium with no preview: N [IDs...]
- Preview exposes full body: N [IDs...]

### 🟡 Invalid configuration
- Premium item with empty body: N [IDs...]

### 🟢 Review
- Mixed tiers in a "premium" category: N

## Items to fix first
| Type | Item | Issue | Recommended fix |
|------|------|-------|------------------|
```

Do not replace this output with a one-line answer.

## Guardrails (hard rules)

- Read-only skill: never change `access`, `free_blocks`, or
  `show_summary_in_list`. Recommend only.
- If the app sells no access, do not invent findings — report "no premium content".
- `free_blocks` is an integer 0–5; treat values outside that as anomalies.
- On large catalogs, audit premium items by category in chunks rather than
  fetching everything.
- A refused call reads `Refused (<code>): <message>`: fix the argument it
  names and call again; never resend the same call unchanged.
- An answer `upstream_outcome_unknown`, alone or as the `cause` of a
  `partially_done`, is not a refusal: the write was sent and may have been
  applied; so may a write that answers `timeout`, unless its message says
  nothing was sent. Never call it again as it is: read the current state
  with `content_get` first, then write only what is still missing.

## Next possible actions
- Use `content_change` (`type: article`, `content_id`, `access`,
  `free_blocks`, `show_summary_in_list`) to fix preview length / tier on a
  flagged article, on the user's request.
- Run `cms-content-audit` for non-paywall quality issues on the same items.
- Run `cms-article-publish` to recreate a premium article with correct preview settings.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.