[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73GK0GR5K5KP3E7PYN8BZZY":3,"skill-same:01M73GK0GR5K5KP3E7PYN8BZZY":51},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M73GK0GR5K5KP3E7PYN8BZZY","venice--venice-errors",null,"Handle Venice API errors correctly. Covers the StandardError \u002F DetailedError \u002F ContentViolationError \u002F X402InferencePaymentRequired body shapes, every meaningful status code (400, 401, 402, 403, 415, 422, 429, 500, 503, 504), the 402 PAYMENT-REQUIRED header used by x402 inference, 422 content-policy","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fvenice--venice-errors\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: venice--venice-errors\ndescription: >-\n  Handle Venice API errors correctly. Covers the StandardError \u002F DetailedError \u002F ContentViolationError \u002F X402InferencePaymentRequired body shapes, every meaningful status code (400, 401, 402, 403, 415, 422, 429, 500, 503, 504), the 402 PAYMENT-REQUIRED header used by x402 inference, 422 content-policy\norigin: \"github.com\u002Fveniceai\u002Fskills (skill: venice-errors)\"\nlicense: MIT\nversion: \"1.0.0\"\ncompatibility: \"yana-ai >= 0.14.0\"\n---\n\n# Venice errors & retries\n\nEvery Venice endpoint returns one of four error shapes. Knowing which shape you got tells you how to react.\n\n## Error body shapes\n\n### 1. `StandardError` — simple message\n\nThe default shape for 4xx\u002F5xx. Emitted when there's nothing structured to surface.\n\n```json\n{ \"error\": \"Unauthorized\" }\n```\n\n### 2. `DetailedError` — Zod validation failure\n\nUsed for some `400` responses on malformed request bodies. When present, `details` is a Zod `format()` tree (`_errors` recursively keyed by field) alongside a flat `issues` array. Many `400`s are plain `StandardError` without `details` — always handle both.\n\n```json\n{\n  \"error\": \"Invalid request\",\n  \"details\": {\n    \"_errors\": [],\n    \"messages\": { \"_errors\": [\"Field is required\"] }\n  },\n  \"issues\": [\n    { \"code\": \"invalid_type\", \"path\": [\"messages\"], \"message\": \"Field is required\" }\n  ]\n}\n```\n\nRender `details` \u002F `issues` to the user so they can fix the input; don't retry — the request shape is wrong.\n\n### 3. `ContentViolationError` — 422 content policy\n\nReturned when a prompt trips content policy. `suggested_prompt` (a model-provided safe alternative) is currently emitted by the **audio** generation pipeline (`\u002Faudio\u002Fqueue`, `\u002Faudio\u002Fretrieve`); image and video endpoints return `{ error: \"Content policy violation\" }` without `suggested_prompt`.\n\n```json\n{\n  \"error\": \"Content policy violation\",\n  \"suggested_prompt\": \"A cinematic instrumental track inspired by stormy weather and dramatic tension.\"\n}\n```\n\n**Pattern** — when `suggested_prompt` is present, retry once with `prompt = suggested_prompt` if the user consents.\n\n### 4. `X402InferencePaymentRequired` — 402 on x402 inference calls\n\nReturned only when the caller authenticated with **SIWE** and has insufficient credit. Discriminated by `code: \"PAYMENT_REQUIRED\"`.\n\n```json\n{\n  \"error\": \"Payment required\",\n  \"code\": \"PAYMENT_REQUIRED\",\n  \"message\": \"Insufficient x402 balance\",\n  \"suggestedTopUpUsd\": 10,\n  \"minimumTopUpUsd\": 5,\n  \"supportedTokens\": [\"USDC\"],\n  \"supportedChains\": [\"base\"],\n  \"topUpInstructions\": {\n    \"step1\": \"POST \u002Fapi\u002Fv1\u002Fx402\u002Ftop-up with no payment header to get payment requirements\",\n    \"step2\": \"Sign a USDC transfer authorization using the x402 SDK (createPaymentHeader)\",\n    \"step3\": \"POST \u002Fapi\u002Fv1\u002Fx402\u002Ftop-up with the signed X-402-Payment header\",\n    \"receiverWallet\": \"\u003CRECEIVER_WALLET_ADDRESS>\",\n    \"tokenAddress\": \"\u003CUSDC_TOKEN_ADDRESS>\",\n    \"tokenDecimals\": 6,\n    \"network\": \"eip155:8453\",\n    \"minimumAmountUsd\": 5\n  },\n  \"siwxChallenge\": { ... SIWE template ... }\n}\n```\n\nThe `PAYMENT-REQUIRED` response header carries a base64-encoded x402 v2 `paymentRequired` **object** (`x402Version`, `error`, `resource`, `accepts[]`, optional `extensions`) — it is **not** the same JSON as the body. Protocol-level clients parse the header; human-facing clients parse the richer body. See [`venice-x402`](..\u002Fvenice-x402\u002FSKILL.md).\n\n## Status code map\n\n| Status | Body | Meaning | What to do |\n|---|---|---|---|\n| `400 Bad Request` | `DetailedError` | Malformed input. Zod `details` identifies the field. | Fix and re-send. **Don't retry.** |\n| `401 Unauthorized` | `StandardError` | Missing \u002F invalid Bearer API key or SIWE. | Rotate credentials. **Don't retry.** |\n| `402 Payment Required` | Bearer: `StandardError` with the configured message (e.g. `{ \"error\": \"Insufficient balance\" }` — the handler's default path does not attach a `code` field). SIWE: `X402InferencePaymentRequired` + `PAYMENT-REQUIRED` header. | Out of DIEM\u002FUSD\u002Fwallet credit. | Bearer: top up at venice.ai. SIWE: run the x402 top-up flow. |\n| `403 Forbidden` | `StandardError` | Valid auth but not entitled. Typical: trial-limited endpoint, beta model, API-key consumption cap hit, SIWE signer ≠ path wallet. | **Don't retry.** Investigate entitlements. |\n| `415 Unsupported Media Type` | `StandardError` | Wrong `Content-Type` (e.g. JSON sent to a multipart endpoint, or vice versa). | Fix headers. **Don't retry.** |\n| `422 Unprocessable Entity` | `ContentViolationError` on image\u002Faudio\u002Fvideo generation; plain `{ error }` on other routes (e.g. ASR validation errors). | Content policy violation on generation paths; schema-ish validation on others. | On audio generation, optionally retry once with `suggested_prompt`. On others, fix input. |\n| `429 Too Many Requests` | `StandardError` | Rate limit cap tripped. Also returned by `\u002Fcrypto\u002Frpc\u002F{network}` when credit-per-day or concurrency cap tripped. | Honor `X-RateLimit-*` headers, back off with jitter. |\n| `500 Internal Server Error` | `StandardError` | Unexpected failure. | Retry with exponential backoff + idempotency key where supported. |\n| `503 Service Unavailable` | `StandardError` | Upstream model \u002F service temporarily down. | Retry with backoff. Consider a fallback model. |\n| `504 Gateway Timeout` | `StandardError` | Upstream slow. Mostly on `\u002Fchat\u002Fcompletions` with huge contexts. | Switch to `stream: true` or shorter prompts. |\n\n## Rate-limit headers (`429`)\n\nEmitted on `\u002Fcrypto\u002Frpc\u002F{network}`:\n\n| Header | Meaning |\n|---|---|\n| `X-RateLimit-Limit` | Per-minute request cap for your tier (paid = 100, staff = 1000 on crypto RPC). |\n| `X-RateLimit-Remaining` | Requests remaining in the current 60-second window. |\n| `X-RateLimit-Reset` | Unix timestamp in **seconds** when the window resets. |\n\nAdditionally, `LlmInferenceError` model-overloaded conditions set a `Retry-After` header (seconds) on the 429 — honor it when present.\n\nInference endpoints (chat, image, audio, video) use a per-API-key tier defined via `\u002Fapi_keys\u002Frate_limits`. See [`venice-api-keys`](..\u002Fvenice-api-keys\u002FSKILL.md) to pre-fetch your caps, and [`venice-billing`](..\u002Fvenice-billing\u002FSKILL.md) for DIEM\u002FUSD usage.\n\n## Response headers on `402` (x402)\n\n| Header | Notes |\n|---|---|\n| `PAYMENT-REQUIRED` | Base64-encoded JSON of the x402 v2 `paymentRequired` object (`x402Version`, `error`, `resource`, `accepts[]`, optional `extensions['sign-in-with-x']`). Protocol-level discovery — parse even if you don't parse the JSON body. |\n\n## Retry strategy\n\n### Never retry\n\n- `400` — bad input. Fix the request.\n- `401` — bad auth. Fix credentials.\n- `403` — not entitled. Don't hammer.\n- `415` — wrong `Content-Type`.\n\n### Retry with modification\n\n- `402` (x402) — run top-up then retry.\n- `402` (Bearer) — surface to user; top up at venice.ai.\n- `422` with `suggested_prompt` — one retry with the safer prompt.\n\n### Retry with backoff\n\n- `429` — back off for at least `X-RateLimit-Reset - now()`. Add jitter.\n- `500` \u002F `503` \u002F `504` — exponential backoff (e.g. 0.5s, 1s, 2s, 4s, 8s), capped at ~30s. **3–5 retries max.**\n- Use `Idempotency-Key` (e.g. on `\u002Fcrypto\u002Frpc\u002F{network}`) so retries can't double-bill state-mutating calls.\n\n### Reference retry loop\n\n```ts\nasync function callVenice\u003CT>(fn: () => Promise\u003CResponse>): Promise\u003CT> {\n  const maxRetries = 5\n  let delay = 500\n  for (let attempt = 0; attempt \u003C= maxRetries; attempt++) {\n    const res = await fn()\n    if (res.ok) return res.json() as Promise\u003CT>\n\n    const body = await res.clone().json().catch(() => ({}))\n    const { status } = res\n\n    if ([400, 401, 403, 415].includes(status)) {\n      throw Object.assign(new Error(body.error ?? 'Venice error'), { status, body })\n    }\n\n    if (status === 402 && body.code === 'PAYMENT_REQUIRED') {\n      await topUpX402(body.suggestedTopUpUsd)\n      continue\n    }\n\n    if (status === 422) {\n      throw Object.assign(new Error('Content policy'), { status, body })\n    }\n\n    if (status === 429) {\n      const retryAfterSec = Number(res.headers.get('retry-after'))\n      const resetSec = Number(res.headers.get('x-ratelimit-reset'))\n      const waitMs = !Number.isNaN(retryAfterSec) && retryAfterSec > 0\n        ? retryAfterSec * 1000\n        : !Number.isNaN(resetSec) && resetSec > 0\n          ? Math.max(resetSec * 1000 - Date.now(), delay)\n          : delay\n      await sleep(waitMs + Math.random() * 250)\n      delay *= 2\n      continue\n    }\n\n    if (status >= 500 && attempt \u003C maxRetries) {\n      await sleep(delay + Math.random() * 250)\n      delay *= 2\n      continue\n    }\n\n    throw Object.assign(new Error(body.error ?? 'Venice error'), { status, body })\n  }\n  throw new Error('Exceeded max retries')\n}\n```\n\n## Streaming errors\n\nStreaming responses (`stream: true` on chat, TTS, video-queue progress) deliver mid-stream errors as SSE events:\n\n```\ndata: {\"error\": {\"type\": \"…\", \"message\": \"…\"}}\n```\n\nTreat them as terminal — the underlying connection is closed. The HTTP status is `200` because a successful stream can't be changed mid-flight.\n\n## Request-ID correlation\n\nWhen present on a response, keep the `X-Request-ID` header. Include it in support tickets — Venice keys diagnostic logs by this ID. `\u002Fcrypto\u002Frpc\u002F*` routes set it explicitly; many inference routes also include it, but don't assume it's universal — fall back to your own client-side correlation ID.\n\n## Common gotchas\n\n- A `402` from `\u002Fx402\u002Ftop-up` with no `X-402-Payment` header is the **expected discovery** response, not an error. See [`venice-x402`](..\u002Fvenice-x402\u002FSKILL.md).\n- A `500` on `\u002Fchat\u002Fcompletions` with a huge file upload often means the upstream model chose to abort — reduce `max_tokens` \u002F image size rather than blindly retrying.\n- `429` on `\u002Fcrypto\u002Frpc\u002F{network}` may mean the **24-hour credit cap** tripped, not the per-minute one. Check `customMessage`.\n- `DetailedError.details` is a Zod `_errors` tree, not a flat map. Walk it recursively.\n- Some endpoints (image generation) echo `X-Rate-Limit` variants — treat any header whose name starts with `X-RateLimit` as advisory.\n- Don't treat an empty `stream` chunk as an error — send-keepalives look like `data: [DONE]` or empty lines.\n","# Venice errors & retries\n\nEvery Venice endpoint returns one of four error shapes. Knowing which shape you got tells you how to react.\n\n## Error body shapes\n\n### 1. `StandardError` — simple message\n\nThe default shape for 4xx\u002F5xx. Emitted when there's nothing structured to surface.\n\n```json\n{ \"error\": \"Unauthorized\" }\n```\n\n### 2. `DetailedError` — Zod validation failure\n\nUsed for some `400` responses on malformed request bodies. When present, `details` is a Zod `format()` tree (`_errors` recursively keyed by field) alongside a flat `issues` array. Many `400`s are plain `StandardError` without `details` — always handle both.\n\n```json\n{\n  \"error\": \"Invalid request\",\n  \"details\": {\n    \"_errors\": [],\n    \"messages\": { \"_errors\": [\"Field is required\"] }\n  },\n  \"issues\": [\n    { \"code\": \"invalid_type\", \"path\": [\"messages\"], \"message\": \"Field is required\" }\n  ]\n}\n```\n\nRender `details` \u002F `issues` to the user so they can fix the input; don't retry — the request shape is wrong.\n\n### 3. `ContentViolationError` — 422 content policy\n\nReturned when a prompt trips content policy. `suggested_prompt` (a model-provided safe alternative) is currently emitted by the **audio** generation pipeline (`\u002Faudio\u002Fqueue`, `\u002Faudio\u002Fretrieve`); image and video endpoints return `{ error: \"Content policy violation\" }` without `suggested_prompt`.\n\n```json\n{\n  \"error\": \"Content policy violation\",\n  \"suggested_prompt\": \"A cinematic instrumental track inspired by stormy weather and dramatic tension.\"\n}\n```\n\n**Pattern** — when `suggested_prompt` is present, retry once with `prompt = suggested_prompt` if the user consents.\n\n### 4. `X402InferencePaymentRequired` — 402 on x402 inference calls\n\nReturned only when the caller authenticated with **SIWE** and has insufficient credit. Discriminated by `code: \"PAYMENT_REQUIRED\"`.\n\n```json\n{\n  \"error\": \"Payment required\",\n  \"code\": \"PAYMENT_REQUIRED\",\n  \"message\": \"Insufficient x402 balance\",\n  \"suggestedTopUpUsd\": 10,\n  \"minimumTopUpUsd\": 5,\n  \"supportedTokens\": [\"USDC\"],\n  \"supportedChains\": [\"base\"],\n  \"topUpInstructions\": {\n    \"step1\": \"POST \u002Fapi\u002Fv1\u002Fx402\u002Ftop-up with no payment header to get payment requirements\",\n    \"step2\": \"Sign a USDC transfer authorization using the x402 SDK (createPaymentHeader)\",\n    \"step3\": \"POST \u002Fapi\u002Fv1\u002Fx402\u002Ftop-up with the signed X-402-Payment header\",\n    \"receiverWallet\": \"\u003CRECEIVER_WALLET_ADDRESS>\",\n    \"tokenAddress\": \"\u003CUSDC_TOKEN_ADDRESS>\",\n    \"tokenDecimals\": 6,\n    \"network\": \"eip155:8453\",\n    \"minimumAmountUsd\": 5\n  },\n  \"siwxChallenge\": { ... SIWE template ... }\n}\n```\n\nThe `PAYMENT-REQUIRED` response header carries a base64-encoded x402 v2 `paymentRequired` **object** (`x402Version`, `error`, `resource`, `accepts[]`, optional `extensions`) — it is **not** the same JSON as the body. Protocol-level clients parse the header; human-facing clients parse the richer body. See [`venice-x402`](..\u002Fvenice-x402\u002FSKILL.md).\n\n## Status code map\n\n| Status | Body | Meaning | What to do |\n|---|---|---|---|\n| `400 Bad Request` | `DetailedError` | Malformed input. Zod `details` identifies the field. | Fix and re-send. **Don't retry.** |\n| `401 Unauthorized` | `StandardError` | Missing \u002F invalid Bearer API key or SIWE. | Rotate credentials. **Don't retry.** |\n| `402 Payment Required` | Bearer: `StandardError` with the configured message (e.g. `{ \"error\": \"Insufficient balance\" }` — the handler's default path does not attach a `code` field). SIWE: `X402InferencePaymentRequired` + `PAYMENT-REQUIRED` header. | Out of DIEM\u002FUSD\u002Fwallet credit. | Bearer: top up at venice.ai. SIWE: run the x402 top-up flow. |\n| `403 Forbidden` | `StandardError` | Valid auth but not entitled. Typical: trial-limited endpoint, beta model, API-key consumption cap hit, SIWE signer ≠ path wallet. | **Don't retry.** Investigate entitlements. |\n| `415 Unsupported Media Type` | `StandardError` | Wrong `Content-Type` (e.g. JSON sent to a multipart endpoint, or vice versa). | Fix headers. **Don't retry.** |\n| `422 Unprocessable Entity` | `ContentViolationError` on image\u002Faudio\u002Fvideo generation; plain `{ error }` on other routes (e.g. ASR validation errors). | Content policy violation on generation paths; schema-ish validation on others. | On audio generation, optionally retry once with `suggested_prompt`. On others, fix input. |\n| `429 Too Many Requests` | `StandardError` | Rate limit cap tripped. Also returned by `\u002Fcrypto\u002Frpc\u002F{network}` when credit-per-day or concurrency cap tripped. | Honor `X-RateLimit-*` headers, back off with jitter. |\n| `500 Internal Server Error` | `StandardError` | Unexpected failure. | Retry with exponential backoff + idempotency key where supported. |\n| `503 Service Unavailable` | `StandardError` | Upstream model \u002F service temporarily down. | Retry with backoff. Consider a fallback model. |\n| `504 Gateway Timeout` | `StandardError` | Upstream slow. Mostly on `\u002Fchat\u002Fcompletions` with huge contexts. | Switch to `stream: true` or shorter prompts. |\n\n## Rate-limit headers (`429`)\n\nEmitted on `\u002Fcrypto\u002Frpc\u002F{network}`:\n\n| Header | Meaning |\n|---|---|\n| `X-RateLimit-Limit` | Per-minute request cap for your tier (paid = 100, staff = 1000 on crypto RPC). |\n| `X-RateLimit-Remaining` | Requests remaining in the current 60-second window. |\n| `X-RateLimit-Reset` | Unix timestamp in **seconds** when the window resets. |\n\nAdditionally, `LlmInferenceError` model-overloaded conditions set a `Retry-After` header (seconds) on the 429 — honor it when present.\n\nInference endpoints (chat, image, audio, video) use a per-API-key tier defined via `\u002Fapi_keys\u002Frate_limits`. See [`venice-api-keys`](..\u002Fvenice-api-keys\u002FSKILL.md) to pre-fetch your caps, and [`venice-billing`](..\u002Fvenice-billing\u002FSKILL.md) for DIEM\u002FUSD usage.\n\n## Response headers on `402` (x402)\n\n| Header | Notes |\n|---|---|\n| `PAYMENT-REQUIRED` | Base64-encoded JSON of the x402 v2 `paymentRequired` object (`x402Version`, `error`, `resource`, `accepts[]`, optional `extensions['sign-in-with-x']`). Protocol-level discovery — parse even if you don't parse the JSON body. |\n\n## Retry strategy\n\n### Never retry\n\n- `400` — bad input. Fix the request.\n- `401` — bad auth. Fix credentials.\n- `403` — not entitled. Don't hammer.\n- `415` — wrong `Content-Type`.\n\n### Retry with modification\n\n- `402` (x402) — run top-up then retry.\n- `402` (Bearer) — surface to user; top up at venice.ai.\n- `422` with `suggested_prompt` — one retry with the safer prompt.\n\n### Retry with backoff\n\n- `429` — back off for at least `X-RateLimit-Reset - now()`. Add jitter.\n- `500` \u002F `503` \u002F `504` — exponential backoff (e.g. 0.5s, 1s, 2s, 4s, 8s), capped at ~30s. **3–5 retries max.**\n- Use `Idempotency-Key` (e.g. on `\u002Fcrypto\u002Frpc\u002F{network}`) so retries can't double-bill state-mutating calls.\n\n### Reference retry loop\n\n```ts\nasync function callVenice\u003CT>(fn: () => Promise\u003CResponse>): Promise\u003CT> {\n  const maxRetries = 5\n  let delay = 500\n  for (let attempt = 0; attempt \u003C= maxRetries; attempt++) {\n    const res = await fn()\n    if (res.ok) return res.json() as Promise\u003CT>\n\n    const body = await res.clone().json().catch(() => ({}))\n    const { status } = res\n\n    if ([400, 401, 403, 415].includes(status)) {\n      throw Object.assign(new Error(body.error ?? 'Venice error'), { status, body })\n    }\n\n    if (status === 402 && body.code === 'PAYMENT_REQUIRED') {\n      await topUpX402(body.suggestedTopUpUsd)\n      continue\n    }\n\n    if (status === 422) {\n      throw Object.assign(new Error('Content policy'), { status, body })\n    }\n\n    if (status === 429) {\n      const retryAfterSec = Number(res.headers.get('retry-after'))\n      const resetSec = Number(res.headers.get('x-ratelimit-reset'))\n      const waitMs = !Number.isNaN(retryAfterSec) && retryAfterSec > 0\n        ? retryAfterSec * 1000\n        : !Number.isNaN(resetSec) && resetSec > 0\n          ? Math.max(resetSec * 1000 - Date.now(), delay)\n          : delay\n      await sleep(waitMs + Math.random() * 250)\n      delay *= 2\n      continue\n    }\n\n    if (status >= 500 && attempt \u003C maxRetries) {\n      await sleep(delay + Math.random() * 250)\n      delay *= 2\n      continue\n    }\n\n    throw Object.assign(new Error(body.error ?? 'Venice error'), { status, body })\n  }\n  throw new Error('Exceeded max retries')\n}\n```\n\n## Streaming errors\n\nStreaming responses (`stream: true` on chat, TTS, video-queue progress) deliver mid-stream errors as SSE events:\n\n```\ndata: {\"error\": {\"type\": \"…\", \"message\": \"…\"}}\n```\n\nTreat them as terminal — the underlying connection is closed. The HTTP status is `200` because a successful stream can't be changed mid-flight.\n\n## Request-ID correlation\n\nWhen present on a response, keep the `X-Request-ID` header. Include it in support tickets — Venice keys diagnostic logs by this ID. `\u002Fcrypto\u002Frpc\u002F*` routes set it explicitly; many inference routes also include it, but don't assume it's universal — fall back to your own client-side correlation ID.\n\n## Common gotchas\n\n- A `402` from `\u002Fx402\u002Ftop-up` with no `X-402-Payment` header is the **expected discovery** response, not an error. See [`venice-x402`](..\u002Fvenice-x402\u002FSKILL.md).\n- A `500` on `\u002Fchat\u002Fcompletions` with a huge file upload often means the upstream model chose to abort — reduce `max_tokens` \u002F image size rather than blindly retrying.\n- `429` on `\u002Fcrypto\u002Frpc\u002F{network}` may mean the **24-hour credit cap** tripped, not the per-minute one. Check `customMessage`.\n- `DetailedError.details` is a Zod `_errors` tree, not a flat map. Walk it recursively.\n- Some endpoints (image generation) echo `X-Rate-Limit` variants — treat any header whose name starts with `X-RateLimit` as advisory.\n- Don't treat an empty `stream` chunk as an error — send-keepalives look like `data: [DONE]` or empty lines.\n",{"name":5,"origin":24,"license":15,"version":25,"description":7,"compatibility":26},"github.com\u002Fveniceai\u002Fskills (skill: venice-errors)","1.0.0","yana-ai >= 0.14.0","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa","core\u002Fskills\u002Fvenice--venice-errors",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill venice--venice-errors",{"tool":43,"command":44},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill venice--venice-errors",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill venice--venice-errors","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fvenice--venice-errors\u002FSKILL.md",true,[],[52,59,67,75,83,91],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":71,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]