More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    API Quota & Margin Replay

    1

    Replay recorded API demand through proposed shared minute and day ceilings and a per-customer cap. See which groups would be blocked and what modeled contribution remains.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    API Quota & Margin Replay

    API Quota & Margin Replay

    Example session with this skill installed

    Replay the bundled two-day synthetic usage fixture. Apply Copper pool limits of 5 per UTC minute and 9 per UTC day, Jade pool limits of 4 and 7, and a 7-request customer cap across both pools. Show blocked group reasons and modeled contribution. Compare with a second run where each ceiling is 100.

    • Read your context and instructions
    • Compiled the api quota

    Replay decision

    Cap breach. The synthetic capture contains 28 requests in 10 groups. The proposed pre-dispatch gate admitted 21 requests in six groups and blocked seven requests in four groups.

    Source groupRequestedModeled block reason
    23Copper pool minute, with only 2 remaining
    52Copper pool minute and day, with 1 and 0 remaining
    61Customer period cap across pools
    101Customer period cap after the provider day reset

    The reason counts overlap at group 5. With USD 15.00 declared gross and a 70% seller share, seller revenue is USD 10.50. Accepted costs of USD 5.90 plus USD 2.50 fixed expense leave

    USD 2.10 modeled contribution. The USD 1.95 recorded cost on blocked groups is excluded under the pre-dispatch assumption.

    With all ceilings set to 100, all 28 requests fit and modeled contribution becomes

    USD 0.15 for the same period. These are fixture scenarios. Compare the blocked customer workload and costs before changing a production policy.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Test a quota policy against recorded demand

    Replay a sanitized local capture in timestamp order. Apply shared provider-pool limits per UTC clock minute and UTC day, plus a customer cap across pools for the declared period. Fix the policy and run the same capture again to see which groups would now fit.

    See which ceiling blocked each group

    Get accepted and blocked totals, peak headroom, and the first 50 blocked groups with input row numbers and applicable ceiling reasons. Equal timestamps follow input order. Each group is evaluated as one dispatch. An explicit partial capture stays visible in the decision.

    Check the contribution for that period

    Apply your seller share to declared gross subscription revenue, then subtract modeled accepted variable cost and fixed expense. The pre-dispatch model shows recorded costs for blocked groups separately. Includes a standalone Python tool, an input-format guide, and a reproducible two-day synthetic example. Bring a prepared local JSON scenario. It requires no account connection or API key.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    Fixed UTC minute and day windows plus one customer-period cap. The replay treats groups as atomic and assumes blocks occur before provider dispatch. Capture completeness is buyer-attested. It does not forecast demand, reproduce rolling or soft limits, or reconcile provider invoices.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    Software
    Python 3.9+

    Prepare a sanitized local JSON scenario with usage groups, proposed caps, and revenue and costs for the same UTC period. The included synthetic example runs locally.

    Permissions

    Terminal / Shell
    Read Files

    Reads the selected local JSON scenario and returns JSON to the terminal. No provider connection, API credentials, or outbound requests.

    Listed1 day ago

    What's inside

    Frequently Asked Questions

    Short bursts can hit a minute ceiling even when average usage is low. Replay preserves chronological order, records ties in source order, and reports the declared rule behind each retained blocked group.

    Use Python 3.9+ and a terminal that can read the local scenario. The scenario guide shows the required JSON fields and the complete synthetic fixture.

    The package contains the agent instructions, standalone Python CLI, scenario format guide, and one complete two-day synthetic JSON example.

    Use shared-pool and customer pseudonyms, UTC timestamps, request group counts, and modeled costs. The Python CLI reads the selected local file without making network requests. Keep usage secrets and payloads out of the scenario.

    Equal timestamps follow input order. A group is admitted only when it fits every ceiling. One blocked group can appear under several reason totals. The first 50 blocked groups are shown individually.

    Use it when the modeled gate stops a rejected group before provider dispatch and when the captured costs, gross amount, seller share and fixed cost all cover the same period. Provider rolling windows, usage guarantees and actual invoices are outside this replay.

    New in APIs & Backend