[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7923H4P3JCYDZ289CEF4MWJ":3,"skill-same:01M7923H4P3JCYDZ289CEF4MWJ":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M7923H4P3JCYDZ289CEF4MWJ","klingai-rate-limits",null,"Handle Kling AI API rate limits with backoff and queuing strategies. Use when hitting 429 errors\nor planning high-volume workflows. Trigger with phrases like 'klingai rate limit', 'kling ai 429',\n'klingai throttle', 'kling api limits'.","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--klingai-pack--klingai-rate-limits\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: klingai-rate-limits\ndescription: |\n  Handle Kling AI API rate limits with backoff and queuing strategies. Use when hitting 429 errors\n  or planning high-volume workflows. Trigger with phrases like 'klingai rate limit', 'kling ai 429',\n  'klingai throttle', 'kling api limits'.\nallowed-tools: Read, Write, Edit, Bash(npm:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\ntags: [saas, kling-ai, rate-limits, reliability]\n---\n# Kling AI Rate Limits\n\n## Overview\n\nKling AI enforces rate limits per API key. When exceeded, the API returns `429 Too Many Requests`. This skill covers detection, backoff strategies, request queuing, and concurrent job management.\n\n## Rate Limit Tiers\n\n| Tier | Concurrent Tasks | Requests\u002FMin | Notes |\n|------|------------------|-------------|-------|\n| Free | 1 | 10 | 66 daily credits cap |\n| Standard | 3 | 30 | Per API key |\n| Pro | 5 | 60 | Per API key |\n| Enterprise | 10+ | Custom | Contact sales |\n\n## Exponential Backoff with Jitter\n\n```python\nimport time, random, requests\n\ndef exponential_backoff(attempt: int, base: float = 1.0, max_wait: float = 60.0) -> float:\n    \"\"\"Calculate wait time with jitter to avoid thundering herd.\"\"\"\n    wait = min(base * (2 ** attempt), max_wait)\n    jitter = random.uniform(0, wait * 0.5)\n    return wait + jitter\n\ndef request_with_retry(method, url, headers, json=None, max_retries=5):\n    for attempt in range(max_retries + 1):\n        response = method(url, headers=headers, json=json, timeout=30)\n\n        if response.status_code == 429:\n            if attempt == max_retries:\n                raise RuntimeError(\"Rate limit: max retries exceeded\")\n            wait = exponential_backoff(attempt)\n            print(f\"429 rate limited. Waiting {wait:.1f}s (attempt {attempt + 1})\")\n            time.sleep(wait)\n            continue\n\n        if response.status_code >= 500:\n            if attempt == max_retries:\n                response.raise_for_status()\n            time.sleep(exponential_backoff(attempt, base=2.0))\n            continue\n\n        response.raise_for_status()\n        return response\n\n    raise RuntimeError(\"Unreachable\")\n```\n\n## Concurrent Task Limiter (asyncio)\n\n```python\nimport asyncio\n\nclass TaskLimiter:\n    \"\"\"Limit concurrent Kling AI tasks to stay within API tier.\"\"\"\n\n    def __init__(self, max_concurrent: int = 3):\n        self._semaphore = asyncio.Semaphore(max_concurrent)\n        self._active = 0\n\n    async def submit(self, coro):\n        async with self._semaphore:\n            self._active += 1\n            try:\n                return await coro\n            finally:\n                self._active -= 1\n\n    @property\n    def active_count(self) -> int:\n        return self._active\n\n# Usage\nlimiter = TaskLimiter(max_concurrent=3)\ntasks = [limiter.submit(generate_video(p)) for p in prompts]\nresults = await asyncio.gather(*tasks, return_exceptions=True)\n```\n\n## Rate Limit Monitor\n\n```python\nclass RateLimitMonitor:\n    \"\"\"Track API call frequency and warn before hitting limits.\"\"\"\n\n    def __init__(self, max_per_minute: int = 30):\n        self.max_per_minute = max_per_minute\n        self._calls = []\n\n    def record_call(self):\n        now = time.time()\n        self._calls = [t for t in self._calls if now - t \u003C 60]\n        self._calls.append(now)\n\n    @property\n    def usage_pct(self) -> float:\n        now = time.time()\n        recent = sum(1 for t in self._calls if now - t \u003C 60)\n        return (recent \u002F self.max_per_minute) * 100\n\n    def wait_if_needed(self):\n        if self.usage_pct > 80 and self._calls:\n            wait = 60 - (time.time() - self._calls[0])\n            if wait > 0:\n                print(f\"Throttling: waiting {wait:.1f}s ({self.usage_pct:.0f}% of limit)\")\n                time.sleep(wait)\n```\n\n## Request Queue Pattern\n\n```python\nfrom collections import deque\nimport threading\n\nclass RequestQueue:\n    \"\"\"FIFO queue with rate-limit-aware dispatch.\"\"\"\n\n    def __init__(self, client, max_per_minute: int = 30):\n        self.client = client\n        self.interval = 60.0 \u002F max_per_minute\n        self._queue = deque()\n\n    def enqueue(self, endpoint: str, body: dict, callback=None):\n        self._queue.append((endpoint, body, callback))\n\n    def process_all(self):\n        while self._queue:\n            endpoint, body, callback = self._queue.popleft()\n            try:\n                result = self.client._post(endpoint, body)\n                if callback:\n                    callback(result, error=None)\n            except Exception as e:\n                if callback:\n                    callback(None, error=e)\n            time.sleep(self.interval)\n```\n\n## Error Reference\n\n| Scenario | HTTP Code | Action |\n|----------|-----------|--------|\n| Soft rate limit | `429` + `Retry-After` | Wait specified seconds |\n| Hard rate limit | `429` no header | Backoff from 1s, double each attempt |\n| Concurrent limit hit | `429` or task rejection | Wait for active tasks to complete |\n| Burst detection | Multiple `429`s | Aggressive backoff (30-60s) |\n\n## Resources\n\n- [API Reference](https:\u002F\u002Fapp.klingai.com\u002Fglobal\u002Fdev\u002Fdocument-api\u002FapiReference\u002Fmodel\u002FtextToVideo)\n- [Developer Portal](https:\u002F\u002Fapp.klingai.com\u002Fglobal\u002Fdev)\n","# Kling AI Rate Limits\n\n## Overview\n\nKling AI enforces rate limits per API key. When exceeded, the API returns `429 Too Many Requests`. This skill covers detection, backoff strategies, request queuing, and concurrent job management.\n\n## Rate Limit Tiers\n\n| Tier | Concurrent Tasks | Requests\u002FMin | Notes |\n|------|------------------|-------------|-------|\n| Free | 1 | 10 | 66 daily credits cap |\n| Standard | 3 | 30 | Per API key |\n| Pro | 5 | 60 | Per API key |\n| Enterprise | 10+ | Custom | Contact sales |\n\n## Exponential Backoff with Jitter\n\n```python\nimport time, random, requests\n\ndef exponential_backoff(attempt: int, base: float = 1.0, max_wait: float = 60.0) -> float:\n    \"\"\"Calculate wait time with jitter to avoid thundering herd.\"\"\"\n    wait = min(base * (2 ** attempt), max_wait)\n    jitter = random.uniform(0, wait * 0.5)\n    return wait + jitter\n\ndef request_with_retry(method, url, headers, json=None, max_retries=5):\n    for attempt in range(max_retries + 1):\n        response = method(url, headers=headers, json=json, timeout=30)\n\n        if response.status_code == 429:\n            if attempt == max_retries:\n                raise RuntimeError(\"Rate limit: max retries exceeded\")\n            wait = exponential_backoff(attempt)\n            print(f\"429 rate limited. Waiting {wait:.1f}s (attempt {attempt + 1})\")\n            time.sleep(wait)\n            continue\n\n        if response.status_code >= 500:\n            if attempt == max_retries:\n                response.raise_for_status()\n            time.sleep(exponential_backoff(attempt, base=2.0))\n            continue\n\n        response.raise_for_status()\n        return response\n\n    raise RuntimeError(\"Unreachable\")\n```\n\n## Concurrent Task Limiter (asyncio)\n\n```python\nimport asyncio\n\nclass TaskLimiter:\n    \"\"\"Limit concurrent Kling AI tasks to stay within API tier.\"\"\"\n\n    def __init__(self, max_concurrent: int = 3):\n        self._semaphore = asyncio.Semaphore(max_concurrent)\n        self._active = 0\n\n    async def submit(self, coro):\n        async with self._semaphore:\n            self._active += 1\n            try:\n                return await coro\n            finally:\n                self._active -= 1\n\n    @property\n    def active_count(self) -> int:\n        return self._active\n\n# Usage\nlimiter = TaskLimiter(max_concurrent=3)\ntasks = [limiter.submit(generate_video(p)) for p in prompts]\nresults = await asyncio.gather(*tasks, return_exceptions=True)\n```\n\n## Rate Limit Monitor\n\n```python\nclass RateLimitMonitor:\n    \"\"\"Track API call frequency and warn before hitting limits.\"\"\"\n\n    def __init__(self, max_per_minute: int = 30):\n        self.max_per_minute = max_per_minute\n        self._calls = []\n\n    def record_call(self):\n        now = time.time()\n        self._calls = [t for t in self._calls if now - t \u003C 60]\n        self._calls.append(now)\n\n    @property\n    def usage_pct(self) -> float:\n        now = time.time()\n        recent = sum(1 for t in self._calls if now - t \u003C 60)\n        return (recent \u002F self.max_per_minute) * 100\n\n    def wait_if_needed(self):\n        if self.usage_pct > 80 and self._calls:\n            wait = 60 - (time.time() - self._calls[0])\n            if wait > 0:\n                print(f\"Throttling: waiting {wait:.1f}s ({self.usage_pct:.0f}% of limit)\")\n                time.sleep(wait)\n```\n\n## Request Queue Pattern\n\n```python\nfrom collections import deque\nimport threading\n\nclass RequestQueue:\n    \"\"\"FIFO queue with rate-limit-aware dispatch.\"\"\"\n\n    def __init__(self, client, max_per_minute: int = 30):\n        self.client = client\n        self.interval = 60.0 \u002F max_per_minute\n        self._queue = deque()\n\n    def enqueue(self, endpoint: str, body: dict, callback=None):\n        self._queue.append((endpoint, body, callback))\n\n    def process_all(self):\n        while self._queue:\n            endpoint, body, callback = self._queue.popleft()\n            try:\n                result = self.client._post(endpoint, body)\n                if callback:\n                    callback(result, error=None)\n            except Exception as e:\n                if callback:\n                    callback(None, error=e)\n            time.sleep(self.interval)\n```\n\n## Error Reference\n\n| Scenario | HTTP Code | Action |\n|----------|-----------|--------|\n| Soft rate limit | `429` + `Retry-After` | Wait specified seconds |\n| Hard rate limit | `429` no header | Backoff from 1s, double each attempt |\n| Concurrent limit hit | `429` or task rejection | Wait for active tasks to complete |\n| Burst detection | Multiple `429`s | Aggressive backoff (30-60s) |\n\n## Resources\n\n- [API Reference](https:\u002F\u002Fapp.klingai.com\u002Fglobal\u002Fdev\u002Fdocument-api\u002FapiReference\u002Fmodel\u002FtextToVideo)\n- [Developer Portal](https:\u002F\u002Fapp.klingai.com\u002Fglobal\u002Fdev)\n",{"name":5,"tags":24,"author":29,"license":15,"version":30,"description":31,"allowed-tools":32,"compatible-with":33},[25,26,27,28],"saas","kling-ai","rate-limits","reliability","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Handle Kling AI API rate limits with backoff and queuing strategies. Use when hitting 429 errors\nor planning high-volume workflows. Trigger with phrases like 'klingai rate limit', 'kling ai 429',\n'klingai throttle', 'kling api limits'.\n","Read, Write, Edit, Bash(npm:*), Grep","claude-code, codex, openclaw","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--klingai-pack--klingai-rate-limits",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill klingai-rate-limits",{"tool":49,"command":50},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill klingai-rate-limits",{"tool":52,"command":53},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill klingai-rate-limits","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--klingai-pack--klingai-rate-limits\u002FSKILL.md",true,[],[58,65,72,79,86,94],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]