CtrlK
BlogDocsLog inGet started
Tessl Logo

klingai-cost-controls

Implement cost controls and budget management for Kling AI. Use when managing spending limits, tracking costs, or preventing budget overruns. Trigger with phrases like 'klingai cost', 'kling ai budget', 'klingai spending', 'video generation costs'.

Install with Tessl CLI

npx tessl i github:jeremylongshore/claude-code-plugins-plus-skills --skill klingai-cost-controls
What are skills?

63

Does it follow best practices?

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

100%

60%

Video Generation Cost Calculator

Credit calculation and cost tracking

Criteria
Without context
With context

CostTracker class

100%

100%

JSON persistence

100%

100%

kling-pro multiplier

0%

100%

kling-v1/v1.5 multiplier

0%

100%

5s base credits

0%

100%

10s base credits

0%

100%

Tiered credit cost rates

0%

100%

Per-project tracking

75%

100%

record_usage method

50%

100%

Usage report output

100%

100%

BudgetPeriod support

0%

100%

UsageRecord fields

75%

100%

Without context: $0.4548 · 1m 51s · 23 turns · 24 in / 6,790 out tokens

With context: $0.8669 · 2m 47s · 37 turns · 1,085 in / 10,738 out tokens

98%

28%

Video Generation Budget Enforcement System

Budget enforcement and alert thresholds

Criteria
Without context
With context

BudgetEnforcedClient wrapper

100%

100%

Pre-flight check

100%

100%

BudgetExceededError exception

100%

100%

Alert at 80% threshold

100%

100%

Monthly budget period

25%

100%

Budget limit fields

0%

100%

Block message content

75%

100%

Usage recorded post-call

0%

100%

Log blocked request

100%

100%

Log alert/warning

100%

100%

api_key in wrapper

0%

66%

Project scoped budgets

100%

100%

Without context: $0.6203 · 2m 26s · 29 turns · 1,797 in / 8,874 out tokens

With context: $0.6508 · 2m 19s · 27 turns · 1,418 in / 8,833 out tokens

88%

13%

Kling AI Spend Monitoring Dashboard Data

Multi-period budget reporting and status

Criteria
Without context
With context

DAILY period support

100%

100%

MONTHLY period support

100%

100%

Credits remaining field

100%

100%

USD remaining field

100%

100%

Percentage utilization

100%

100%

Over-budget flag

100%

100%

Alpha daily over-budget

0%

100%

JSON file load

100%

100%

Per-project filtering

100%

100%

alert_triggered field

0%

25%

Budget has_budget field

0%

25%

budget_status.json created

100%

100%

Without context: $0.3806 · 1m 26s · 20 turns · 21 in / 5,083 out tokens

With context: $0.8503 · 3m 24s · 28 turns · 1,370 in / 14,275 out tokens

Evaluated
Agent
Claude Code

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.