Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

klingai-async-workflows

Skill by jeremylongshore

Builds async video generation workflows with Kling AI using submit-and-callback calls, Redis queues, and a job state machine. Aimed at developers who need to wire Kling AI video tasks into larger systems.

  • Score 76
  • 2.9k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install klingai-async-workflows

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/klingai-async-workflows ~/.claude/skills/klingai-async-workflows

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install klingai-async-workflows in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives Claude Code production patterns for running Kling AI video generation inside larger systems. Kling AI tasks are submitted first and then either polled or answered with a callback. The examples cover submitting a task with a callback URL, a Redis-backed queue with a concurrency limit, and a state machine with retry rules.

It also shows a multi-step pipeline that generates a video, extends it, and downloads the file, plus a webhook-driven flow that avoids polling. The skill includes a checklist for sandbox callbacks, signature and idempotency checks, budget and rights review, and a redacted receipt. It is aimed at developers building asynchronous Kling AI video workflows who need to manage queues and task state.

Written from the project's SKILL.md and checked against it.

What it can do

  • submit_asyncSubmits a Kling AI text-to-video task with an optional callback URL and returns the task ID.
  • Redis queue workflowEnqueues video jobs in Redis and processes them with a concurrency limit.
  • State machineTracks job states from queued to completed or failed, with a retry rule for failed jobs.
  • Multi-step pipelineChains generating, extending and downloading a Kling AI video.
  • Webhook callbacksUses a callback URL so the next pipeline step can run without polling.
  • Callback checksDescribes verifying task transitions, callback signatures and idempotency keys before a downstream action.

What you need

  • Kling AI access key and secret key
  • Python
  • jwt and requests Python packages
  • Redis server
  • Claude Code

Try asking

  • Write a Redis queue worker that submits Kling AI video jobs with a concurrency limit of 3.
  • Show me a Kling AI state machine with retry for failed video jobs.
  • Build a Kling AI pipeline that generates, extends, and downloads a video.

Good to know

  • The examples call poll_task from a job-monitoring skill, which is not defined in this file.
  • The webhook receiver is implemented in a separate klingai-webhook-config skill.

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/.curated/klingai-async-workflows/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEditBash(npm:*)Grep

Alternatives to klingai-async-workflows

All alternatives →

Compare with intelligence-vocabulary, media-use or media_library

klingai-async-workflows: common questions

What does klingai-async-workflows do?

It provides patterns for async Kling AI video generation using queues, state machines, and event-driven callbacks. The examples are Python code snippets and a governance checklist.

Which credentials does it need?

The code reads KLING_ACCESS_KEY and KLING_SECRET_KEY from environment variables to sign requests with a JWT.

Does it poll Kling AI for results?

It can. The queue worker checks task status, but the skill also shows a callback_url option to avoid polling entirely.

How do I install klingai-async-workflows?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is klingai-async-workflows free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is klingai-async-workflows safe to use?

It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.

What are alternatives to klingai-async-workflows?

Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.

klingai-async-workflows Install

Add to stack

Loading.