[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78WV910WCBG5BQ209NW86B6":3,"skill-same:01M78WV910WCBG5BQ209NW86B6":56},{"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":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M78WV910WCBG5BQ209NW86B6","algolia-rate-limits",null,"Handle Algolia rate limits and throttling: per-key limits, indexing queue limits,\n429 responses, and backoff strategies.\nTrigger: \"algolia rate limit\", \"algolia throttling\", \"algolia 429\",\n\"algolia retry\", \"algolia backoff\", \"algolia too many requests\".","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--algolia-pack--algolia-rate-limits\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: algolia-rate-limits\ndescription: |\n  Handle Algolia rate limits and throttling: per-key limits, indexing queue limits,\n  429 responses, and backoff strategies.\n  Trigger: \"algolia rate limit\", \"algolia throttling\", \"algolia 429\",\n  \"algolia retry\", \"algolia backoff\", \"algolia too many requests\".\nallowed-tools: Read, Write, Edit\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, search, algolia]\ncompatible-with: claude-code\n---\n\n# Algolia Rate Limits\n\n## Overview\n\nAlgolia has two distinct rate limiting mechanisms: **per-API-key limits** (configurable, returns HTTP 429) and **server-side indexing limits** (protects cluster stability, returns HTTP 429 with specific messages). The `algoliasearch` v5 client has built-in retry with backoff, but you need to handle sustained rate limiting yourself.\n\n## How Algolia Rate Limiting Works\n\n### Per-API-Key Rate Limits\n\n| Setting | Default | Where to Change |\n|---------|---------|-----------------|\n| `maxQueriesPerIPPerHour` | 0 (unlimited) | Dashboard > API Keys > Edit |\n| `maxHitsPerQuery` | 1000 | Dashboard > API Keys > Edit |\n| Search requests | Plan-dependent | Upgrade plan |\n\n### Server-Side Indexing Limits\n\nWhen the indexing queue is overloaded, Algolia returns 429 with these messages:\n\n| Message | Meaning | Action |\n|---------|---------|--------|\n| `Too many jobs` | Queue full | Reduce batch frequency |\n| `Job queue too large` | Too much pending work | Wait for queue to drain |\n| `Old jobs on the queue` | Stuck tasks | Check dashboard > Indices > Operations |\n| `Disk almost full` | Record quota near limit | Delete unused records or upgrade |\n\n## Instructions\n\n### Step 1: Configure Per-Key Rate Limits\n\n```typescript\nimport { algoliasearch } from 'algoliasearch';\n\nconst client = algoliasearch(process.env.ALGOLIA_APP_ID!, process.env.ALGOLIA_ADMIN_KEY!);\n\n\u002F\u002F Create a rate-limited API key for frontend use\nconst { key } = await client.addApiKey({\n  apiKey: {\n    acl: ['search'],\n    description: 'Frontend search key — rate limited',\n    maxQueriesPerIPPerHour: 1000,  \u002F\u002F Per user IP\n    maxHitsPerQuery: 20,\n    indexes: ['products'],          \u002F\u002F Restrict to specific indices\n    validity: 0,                    \u002F\u002F 0 = never expires\n  },\n});\nconsole.log(`Created rate-limited key: ${key}`);\n```\n\n### Step 2: Implement Backoff for Sustained 429s\n\n```typescript\nimport { ApiError } from 'algoliasearch';\n\nasync function withBackoff\u003CT>(\n  operation: () => Promise\u003CT>,\n  config = { maxRetries: 5, baseDelayMs: 1000, maxDelayMs: 30000 }\n): Promise\u003CT> {\n  for (let attempt = 0; attempt \u003C= config.maxRetries; attempt++) {\n    try {\n      return await operation();\n    } catch (error) {\n      if (attempt === config.maxRetries) throw error;\n\n      \u002F\u002F Only retry on 429 or 5xx\n      if (error instanceof ApiError) {\n        if (error.status !== 429 && error.status \u003C 500) throw error;\n      }\n\n      \u002F\u002F Exponential backoff with jitter\n      const delay = Math.min(\n        config.baseDelayMs * Math.pow(2, attempt) + Math.random() * 500,\n        config.maxDelayMs\n      );\n      console.warn(`Rate limited (attempt ${attempt + 1}). Retrying in ${delay.toFixed(0)}ms`);\n      await new Promise(r => setTimeout(r, delay));\n    }\n  }\n  throw new Error('Unreachable');\n}\n\n\u002F\u002F Usage\nconst { hits } = await withBackoff(() =>\n  client.searchSingleIndex({ indexName: 'products', searchParams: { query: 'laptop' } })\n);\n```\n\n### Step 3: Throttled Batch Indexing\n\n```typescript\nimport PQueue from 'p-queue';\n\n\u002F\u002F Limit concurrent indexing operations to avoid overloading the queue\nconst indexingQueue = new PQueue({\n  concurrency: 1,       \u002F\u002F One batch at a time\n  interval: 1000,       \u002F\u002F Per second\n  intervalCap: 2,       \u002F\u002F Max 2 operations per second\n});\n\nasync function throttledBulkIndex(records: Record\u003Cstring, any>[]) {\n  const BATCH_SIZE = 500;\n  const chunks: Record\u003Cstring, any>[][] = [];\n  for (let i = 0; i \u003C records.length; i += BATCH_SIZE) {\n    chunks.push(records.slice(i, i + BATCH_SIZE));\n  }\n\n  let indexed = 0;\n  await Promise.all(\n    chunks.map(chunk =>\n      indexingQueue.add(async () => {\n        const { taskID } = await client.saveObjects({\n          indexName: 'products',\n          objects: chunk,\n        });\n        await client.waitForTask({ indexName: 'products', taskID });\n        indexed += chunk.length;\n        console.log(`Indexed ${indexed}\u002F${records.length}`);\n      })\n    )\n  );\n}\n```\n\n### Step 4: Monitor Usage Approaching Limits\n\n```typescript\n\u002F\u002F Check current API key usage via the dashboard or programmatically\nasync function checkKeyUsage(apiKey: string) {\n  const keyInfo = await client.getApiKey({ key: apiKey });\n\n  console.log({\n    description: keyInfo.description,\n    maxQueriesPerIPPerHour: keyInfo.maxQueriesPerIPPerHour,\n    acl: keyInfo.acl,\n    indexes: keyInfo.indexes,\n  });\n}\n\n\u002F\u002F Check record count vs plan limit\nasync function checkRecordUsage() {\n  const { items } = await client.listIndices();\n  const totalRecords = items.reduce((sum, idx) => sum + (idx.entries || 0), 0);\n  console.log(`Total records across all indices: ${totalRecords.toLocaleString()}`);\n}\n```\n\n## Error Handling\n\n| Scenario | Detection | Response |\n|----------|-----------|----------|\n| Burst spike (429) | `ApiError` with status 429 | Built-in retry handles it; add backoff for persistence |\n| Sustained overload | Repeated 429s across minutes | Reduce batch size and frequency |\n| Indexing queue full | 429 with \"Too many jobs\" | Pause indexing, wait for queue drain |\n| Plan limit reached | 429 with quota message | Upgrade plan or reduce record count |\n\n## Resources\n\n- [API Key Rate Limiting](https:\u002F\u002Fsupport.algolia.com\u002Fhc\u002Fen-us\u002Farticles\u002F4905140190353)\n- [Indexing Rate Limits](https:\u002F\u002Fsupport.algolia.com\u002Fhc\u002Fen-us\u002Farticles\u002F4406975251089)\n- [p-queue](https:\u002F\u002Fgithub.com\u002Fsindresorhus\u002Fp-queue)\n\n## Next Steps\n\nFor security configuration, see `algolia-security-basics`.\n","# Algolia Rate Limits\n\n## Overview\n\nAlgolia has two distinct rate limiting mechanisms: **per-API-key limits** (configurable, returns HTTP 429) and **server-side indexing limits** (protects cluster stability, returns HTTP 429 with specific messages). The `algoliasearch` v5 client has built-in retry with backoff, but you need to handle sustained rate limiting yourself.\n\n## How Algolia Rate Limiting Works\n\n### Per-API-Key Rate Limits\n\n| Setting | Default | Where to Change |\n|---------|---------|-----------------|\n| `maxQueriesPerIPPerHour` | 0 (unlimited) | Dashboard > API Keys > Edit |\n| `maxHitsPerQuery` | 1000 | Dashboard > API Keys > Edit |\n| Search requests | Plan-dependent | Upgrade plan |\n\n### Server-Side Indexing Limits\n\nWhen the indexing queue is overloaded, Algolia returns 429 with these messages:\n\n| Message | Meaning | Action |\n|---------|---------|--------|\n| `Too many jobs` | Queue full | Reduce batch frequency |\n| `Job queue too large` | Too much pending work | Wait for queue to drain |\n| `Old jobs on the queue` | Stuck tasks | Check dashboard > Indices > Operations |\n| `Disk almost full` | Record quota near limit | Delete unused records or upgrade |\n\n## Instructions\n\n### Step 1: Configure Per-Key Rate Limits\n\n```typescript\nimport { algoliasearch } from 'algoliasearch';\n\nconst client = algoliasearch(process.env.ALGOLIA_APP_ID!, process.env.ALGOLIA_ADMIN_KEY!);\n\n\u002F\u002F Create a rate-limited API key for frontend use\nconst { key } = await client.addApiKey({\n  apiKey: {\n    acl: ['search'],\n    description: 'Frontend search key — rate limited',\n    maxQueriesPerIPPerHour: 1000,  \u002F\u002F Per user IP\n    maxHitsPerQuery: 20,\n    indexes: ['products'],          \u002F\u002F Restrict to specific indices\n    validity: 0,                    \u002F\u002F 0 = never expires\n  },\n});\nconsole.log(`Created rate-limited key: ${key}`);\n```\n\n### Step 2: Implement Backoff for Sustained 429s\n\n```typescript\nimport { ApiError } from 'algoliasearch';\n\nasync function withBackoff\u003CT>(\n  operation: () => Promise\u003CT>,\n  config = { maxRetries: 5, baseDelayMs: 1000, maxDelayMs: 30000 }\n): Promise\u003CT> {\n  for (let attempt = 0; attempt \u003C= config.maxRetries; attempt++) {\n    try {\n      return await operation();\n    } catch (error) {\n      if (attempt === config.maxRetries) throw error;\n\n      \u002F\u002F Only retry on 429 or 5xx\n      if (error instanceof ApiError) {\n        if (error.status !== 429 && error.status \u003C 500) throw error;\n      }\n\n      \u002F\u002F Exponential backoff with jitter\n      const delay = Math.min(\n        config.baseDelayMs * Math.pow(2, attempt) + Math.random() * 500,\n        config.maxDelayMs\n      );\n      console.warn(`Rate limited (attempt ${attempt + 1}). Retrying in ${delay.toFixed(0)}ms`);\n      await new Promise(r => setTimeout(r, delay));\n    }\n  }\n  throw new Error('Unreachable');\n}\n\n\u002F\u002F Usage\nconst { hits } = await withBackoff(() =>\n  client.searchSingleIndex({ indexName: 'products', searchParams: { query: 'laptop' } })\n);\n```\n\n### Step 3: Throttled Batch Indexing\n\n```typescript\nimport PQueue from 'p-queue';\n\n\u002F\u002F Limit concurrent indexing operations to avoid overloading the queue\nconst indexingQueue = new PQueue({\n  concurrency: 1,       \u002F\u002F One batch at a time\n  interval: 1000,       \u002F\u002F Per second\n  intervalCap: 2,       \u002F\u002F Max 2 operations per second\n});\n\nasync function throttledBulkIndex(records: Record\u003Cstring, any>[]) {\n  const BATCH_SIZE = 500;\n  const chunks: Record\u003Cstring, any>[][] = [];\n  for (let i = 0; i \u003C records.length; i += BATCH_SIZE) {\n    chunks.push(records.slice(i, i + BATCH_SIZE));\n  }\n\n  let indexed = 0;\n  await Promise.all(\n    chunks.map(chunk =>\n      indexingQueue.add(async () => {\n        const { taskID } = await client.saveObjects({\n          indexName: 'products',\n          objects: chunk,\n        });\n        await client.waitForTask({ indexName: 'products', taskID });\n        indexed += chunk.length;\n        console.log(`Indexed ${indexed}\u002F${records.length}`);\n      })\n    )\n  );\n}\n```\n\n### Step 4: Monitor Usage Approaching Limits\n\n```typescript\n\u002F\u002F Check current API key usage via the dashboard or programmatically\nasync function checkKeyUsage(apiKey: string) {\n  const keyInfo = await client.getApiKey({ key: apiKey });\n\n  console.log({\n    description: keyInfo.description,\n    maxQueriesPerIPPerHour: keyInfo.maxQueriesPerIPPerHour,\n    acl: keyInfo.acl,\n    indexes: keyInfo.indexes,\n  });\n}\n\n\u002F\u002F Check record count vs plan limit\nasync function checkRecordUsage() {\n  const { items } = await client.listIndices();\n  const totalRecords = items.reduce((sum, idx) => sum + (idx.entries || 0), 0);\n  console.log(`Total records across all indices: ${totalRecords.toLocaleString()}`);\n}\n```\n\n## Error Handling\n\n| Scenario | Detection | Response |\n|----------|-----------|----------|\n| Burst spike (429) | `ApiError` with status 429 | Built-in retry handles it; add backoff for persistence |\n| Sustained overload | Repeated 429s across minutes | Reduce batch size and frequency |\n| Indexing queue full | 429 with \"Too many jobs\" | Pause indexing, wait for queue drain |\n| Plan limit reached | 429 with quota message | Upgrade plan or reduce record count |\n\n## Resources\n\n- [API Key Rate Limiting](https:\u002F\u002Fsupport.algolia.com\u002Fhc\u002Fen-us\u002Farticles\u002F4905140190353)\n- [Indexing Rate Limits](https:\u002F\u002Fsupport.algolia.com\u002Fhc\u002Fen-us\u002Farticles\u002F4406975251089)\n- [p-queue](https:\u002F\u002Fgithub.com\u002Fsindresorhus\u002Fp-queue)\n\n## Next Steps\n\nFor security configuration, see `algolia-security-basics`.\n",{"name":5,"tags":24,"author":28,"license":15,"version":29,"description":30,"allowed-tools":31,"compatible-with":32},[25,26,27],"saas","search","algolia","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Handle Algolia rate limits and throttling: per-key limits, indexing queue limits,\n429 responses, and backoff strategies.\nTrigger: \"algolia rate limit\", \"algolia throttling\", \"algolia 429\",\n\"algolia retry\", \"algolia backoff\", \"algolia too many requests\".\n","Read, Write, Edit","claude-code","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--algolia-pack--algolia-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":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill algolia-rate-limits",{"tool":48,"command":49},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill algolia-rate-limits",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill algolia-rate-limits","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--algolia-pack--algolia-rate-limits\u002FSKILL.md",true,[],[57,64,71,78,85,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"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":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"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":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"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":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"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":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"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":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"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",[],[]]