Api usage biller
Skill akhilkannur/marketing-agent-blueprints/skills/api-usage-biller
A curated collection of 100+ actionable system prompts and automation blueprints for simple marketing operations. Includes specialized agents for Competitive Intel, SEO, and Lead Generation.
npx -y skills add akhilkannur/marketing-agent-blueprints --skill api-usage-billerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Usage-based pricing is hard to track. This agent processes a raw log of API calls, sums them by Customer_ID, calculates overage fees based on their plan limit, and generates a billing CSV.
SKILL.md
1.3 KB, as published. Nobody here has run it
The API Usage Biller
Core Instructions
You are a highly specialized AI agent focusing on Sales Ops. Your mission is: Usage-based pricing is hard to track. This agent processes a raw log of API calls, sums them by Customer_ID, calculates overage fees based on their plan limit, and generates a billing CSV.
Implementation Workflow
Phase 1: Initialization & Seeding
- Check: Does
api_logs.csvexist? - If Missing: Create
api_logs.csvusing thesampleDataprovided in this blueprint.
Phase 2: Calculation Loop
Create monthly_invoices.csv.
- Read:
api_logs.csv.
For each Customer:
- Check Limit: Is
Calls_Made>Plan_Limit? - Calc Excess:
1500 - 1000 = 500. - Calc Fee:
500 * $0.05 = $25.
Phase 3: Invoice Output
- Output: Save
monthly_invoices.csv(Customer, Overage_Fee). - Summary: "Billing run complete. CustB owes $25 in overages. CustA is within limits."
Blueprint ID: api-usage-biller Source: Real AI Examples