Process multiple video generation requests efficiently with Kling AI. Use when generating multiple videos or building content pipelines. Trigger with phrases like 'klingai batch', 'kling ai bulk', 'multiple videos klingai', 'klingai parallel generation'.
Install with Tessl CLI
npx tessl i github:jeremylongshore/claude-code-plugins-plus-skills --skill klingai-batch-processing63
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillValidation for skill structure
Batch processor class with rate limiting and concurrency control
KlingAIBatchProcessor class
0%
100%
Constructor defaults: max_concurrent
0%
100%
Constructor defaults: requests_per_minute
100%
100%
API key from environment
0%
100%
Base URL constant
100%
100%
JobStatus enum
100%
100%
BatchJob dataclass
25%
100%
BatchResult dataclass
14%
100%
Semaphore concurrency control
100%
100%
Rate limit delay calculation
100%
100%
Staggered submission offset
0%
100%
Parallel gather submission
100%
100%
on_progress callback
60%
100%
on_complete callback
20%
100%
aiohttp for HTTP
100%
100%
Without context: $0.5985 · 2m 44s · 24 turns · 24 in / 10,608 out tokens
With context: $0.9488 · 3m 45s · 38 turns · 2,621 in / 13,461 out tokens
CSV batch input/output for video generation pipeline
load_batch_from_csv function
0%
100%
save_results_to_csv function
0%
100%
Uses csv.DictReader for loading
100%
100%
Uses csv.DictWriter for saving
100%
100%
Default duration=5
0%
100%
Default model='kling-v1.5'
0%
100%
Default aspect_ratio='16:9'
0%
100%
Auto-generates job id
42%
100%
Output CSV fieldnames
22%
100%
Per-job duration in results
0%
100%
results.csv produced
100%
100%
All 5 input rows in results
100%
100%
Without context: $0.5549 · 2m 16s · 30 turns · 30 in / 8,007 out tokens
With context: $0.5414 · 1m 49s · 31 turns · 971 in / 6,078 out tokens
Retry logic for resilient batch processing
process_batch_with_retry function
0%
100%
max_retries default=3
50%
100%
Resets status to PENDING
0%
100%
Clears job_id on retry
0%
100%
Clears error on retry
0%
100%
Retries only failed jobs
100%
100%
Early exit on full success
100%
100%
Retry attempt reporting
100%
100%
retry_output.txt present
100%
100%
Multi-attempt output shown
100%
100%
Without context: $0.5038 · 1m 58s · 28 turns · 28 in / 6,397 out tokens
With context: $0.5697 · 1m 59s · 30 turns · 2,800 in / 6,495 out tokens
Table of Contents
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.