api-cost-gate

Require four-point disclosure and explicit approval before paid API calls.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/dawn840705/claude-code-studios --skill api-cost-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-cost-gate
Source: https://github.com/dawn840705/claude-code-studios/tree/main/skills/api-cost-gate
Command: npx skills add https://github.com/dawn840705/claude-code-studios --skill api-cost-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The pre-flight cost gate prevents unexpected charges by requiring a structured four-point disclosure before any paid API invocation, ensuring users review call type, cost estimate, purpose, and usage plan.

Core Features & Use Cases

  • Enforces a four-point disclosure before any paid API call (call type, cost estimate, purpose, use plan).
  • Requires explicit user approval and supports modify-and-retry flows; logs approvals for cost tracking.
  • Applies to major paid services (e.g., Suno, ElevenLabs, Midjourney, OpenAI, Tripo) across projects to prevent runaway spend.

Quick Start

Before any paid API call, present the four-point disclosure and obtain explicit approval to proceed.

Frequently Asked Questions about api-cost-gate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent unexpected paid API charges before making calls?

To prevent unexpected paid API charges, implement a pre-flight cost gate that requires a structured four-point disclosure covering call type, cost estimate, purpose, and usage plan before any invocation. This enforces explicit user approval and logs decisions for tracking.

What is a four-point disclosure for paid API cost gating?

A four-point disclosure for paid API cost gating is a pre-flight checkpoint requiring users to review the call type, cost estimate, purpose, and usage plan. It ensures users explicitly approve expenses before executing calls to services like OpenAI or Midjourney.

Can I use an API cost gate across different services like Suno and ElevenLabs?

Yes, you can use an API cost gate across different services like Suno, ElevenLabs, Midjourney, OpenAI, and Tripo. The gate applies universally across projects to enforce explicit approval and prevent runaway spend on any paid API service.

How do I require explicit user approval for OpenAI API calls?

To require explicit user approval for OpenAI API calls, present the four-point disclosure details and wait for direct confirmation. The cost gate supports modify-and-retry flows, allowing users to adjust parameters before finally approving the paid invocation.

Does an API budget gate log decisions for cost tracking?

Yes, an API budget gate logs all approval decisions for cost tracking. By recording the explicit user approvals and the four-point disclosure details, it maintains a clear audit trail of paid API invocations to monitor project budgets.