CtrlK
BlogDocsLog inGet started
Tessl Logo

klingai-common-errors

Execute diagnose and fix common Kling AI API errors. Use when troubleshooting failed video generation or API issues. Trigger with phrases like 'kling ai error', 'klingai not working', 'fix klingai', 'klingai failed'.

Install with Tessl CLI

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

77

Does it follow best practices?

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

100%

27%

Kling AI Integration Troubleshooting

Authentication and request validation

Criteria
Without context
With context

Bearer prefix in auth header

100%

100%

Env var name correct

0%

100%

Missing key raises ValueError

0%

100%

Prompt required check

100%

100%

Duration range validation

100%

100%

Aspect ratio whitelist

70%

100%

All four valid ratios included

0%

100%

Pre-flight validation function

100%

100%

Validation returns error list

100%

100%

Content-Type header set

100%

100%

Diagnostic output present

100%

100%

No hardcoded API key

100%

100%

Without context: $0.1698 · 57s · 11 turns · 12 in / 3,076 out tokens

With context: $0.3718 · 1m 18s · 19 turns · 2,411 in / 4,364 out tokens

100%

20%

Kling AI Batch Video Processing Pipeline

Rate limiting and server error retry logic

Criteria
Without context
With context

Exponential backoff formula

33%

100%

Rate limit max retries is 5

100%

100%

429 detection

100%

100%

Server error wait formula

0%

100%

Server error max retries is 3

100%

100%

All three server codes handled

100%

100%

Non-retriable errors re-raised

100%

100%

Decorator pattern for rate limiting

100%

100%

Max retries exceeded error

100%

100%

Separate handlers

100%

100%

Diagnostic output present

100%

100%

Without context: $0.4809 · 1m 47s · 25 turns · 25 in / 6,839 out tokens

With context: $0.5845 · 2m 9s · 30 turns · 29 in / 7,462 out tokens

100%

22%

Kling AI Error Handling Infrastructure

Unified error handling and generation failure diagnosis

Criteria
Without context
With context

Custom exception class

100%

100%

Exception has status_code attribute

100%

100%

Exception has message attribute

100%

100%

Exception has details attribute

0%

100%

Unified response handler

80%

100%

Error message extracted correctly

25%

100%

Handles missing response body

100%

100%

Generation failure diagnosis

62%

100%

Timeout suggestion

100%

100%

Recoverability assessment

75%

100%

Diagnosis returns job ID

71%

100%

Content policy pre-check

100%

100%

Diagnostic report included

100%

100%

Without context: $0.4722 · 2m 32s · 16 turns · 17 in / 9,055 out tokens

With context: $0.7690 · 3m 5s · 34 turns · 66 in / 10,018 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.