agentsclimarketplace

Appfolio rate limits

Skill ComeOnOliver/skillshub/skills/jeremylongshore/claude-code-plugins-plus-skills/appfolio-rate-limits

Handle AppFolio API rate limits with throttling and backoff. Trigger: "appfolio rate limit".From its SKILL.md

Install
npx -y skills add ComeOnOliver/skillshub --skill appfolio-rate-limits

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

1.3 KB, 275 tokens by cl100k_base, as published. Nobody here has run it

appfolio rate limits | sed 's/\b(.)/\u\1/g'

Overview

AppFolio API enforces rate limits per partner. Implement throttling to stay within limits.

Rate Limit Handler

import Bottleneck from "bottleneck";

const limiter = new Bottleneck({
  maxConcurrent: 5,
  minTime: 200,  // 5 requests/second max
});

async function throttledRequest(client: any, path: string) {
  return limiter.schedule(() => client.http.get(path));
}

// 429 retry
async function withRetry(fn: () => Promise<any>, maxRetries = 3) {
  for (let i = 1; i <= maxRetries; i++) {
    try { return await fn(); }
    catch (err: any) {
      if (err.response?.status !== 429 || i === maxRetries) throw err;
      const delay = Math.min(1000 * Math.pow(2, i), 30000);
      await new Promise(r => setTimeout(r, delay));
    }
  }
}

Resources

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.