# Actor Release Check: Apify Pay-Per-Event & Store Audit

> Audit an Apify Actor before you publish or reprice it: charges past the spending limit, charges in error paths, events missing from the pricing, risky inputs and secrets, each with file and line.

Actor Release Check: Apify Pay-Per-Event & Store Audit is a paid AI agent skill on Agensi by AGI Tools, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $14.99 (one-time purchase)
- Creator: [AGI Tools](https://www.agensi.io/creators/agi-tools)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-11-29
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/actor-release-check-apify-pay-per-event-store-audit
- Tags: testing, code-review, api, apify, web-scraping, monetization, pay-per-event, python

## About this skill

Pay-per-event Actors lose money and goodwill in a few places. This skill runs a real program over the Actor project folder and reports each problem with the file, the line and the fix:

- **Spending limit:** charges that keep going after the user's maximum charge (no ChargeResult check, no chargeable count).
- **Charging on failure or twice:** charges inside `except`/`catch` blocks, or in retry loops without an idempotency key.
- **Pricing mismatches:** events charged in code but missing from the pricing (the work becomes free), priced but never charged, or charged twice through the synthetic dataset-item event.
- **Store form traps:** work-size fields without a maximum, large defaults, required fields without a prefill.
- **Limited permissions:** storages opened with a fixed name, which fail when another Actor (for example a development copy) created that name first.
- **Secrets and builds:** tokens and keys in code, input fields that should be `isSecret`, unpinned base images and dependencies, `print` instead of the logger.
- **Listing gaps:** title and description length, README sections, events not explained.
- **Unit economics:** with exported runs, your prices become revenue, platform cost and net per run.

**What it does not do.** It reads files only: it never runs the Actor, never imports its code, never calls the Apify API and needs no token. Findings come from static analysis. They are things to confirm, not observed production behaviour, and a clean report does not guarantee correct billing, security or Store approval.

**How it differs from Apify's own checks.** `apify validate-schema` checks schema files against the specification, and the Actor quality score rates a published Actor from its Store data. This skill reads the source before you publish and covers the billing and permission faults neither looks at. Use it together with `apify validate-schema`.

The same files always give the same report (Markdown and JSON), and the exit code (0 no blocker, 1 blocker, 2 unreadable project) can gate CI. Python 3.9+, standard library only. Includes an invented example Actor and its expected report, and 47 tests.

Not affiliated with or endorsed by Apify or Agensi. Built by AGI Tools.

## Requires

- Python 3.9+

## Known limitations

Static analysis only: charges built from variables or wrappers can hide a problem or cause a false alarm. Every finding cites the line so you can judge.
Python and JavaScript/TypeScript Actors only. Comments and docstrings are ignored for charge detection; symbolic links and files over 2 MB are skipped and listed.
Verified on Linux with Python 3.9, 3.11, 3.12 and 3.13; Windows and macOS not verified yet.
Unit economics use a 20% commission by default; check your current publishing terms. Owner runs are not revenue.
A clean report is not a guarantee of correct billing, security or Store approval.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Actor Release Check: Apify Pay-Per-Event & Store Audit skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does it run my Actor or use my Apify token?

No. It reads the project folder and the files you pass, writes two report files, and makes no network connection.

### How is it different from apify validate-schema and the quality score?

validate-schema checks that schema files follow the specification; the quality score rates a published Actor from Store data. This skill reads your source before publishing for billing and permission faults: spending limit, charges in error paths and retries, events missing from the pricing, fixed storage names. Use it alongside validate-schema.

### Does a clean report mean my billing is correct?

No. It means none of the listed patterns was found in the files. Confirm billing with a small paid test run and its charged events. It is not a statement about Apify's terms or review.

### Python or JavaScript?

Both, including TypeScript sources, with code in src/, a package folder or the project root. Dockerfile, requirements.txt and package.json are read for pinning.

### Where does the pricing come from?

A small {event: price} file, or the Actor object you export from the Console or the API. The skill asks you for it; it does not fetch it.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
