From appfolio-pack
Optimizes AppFolio API costs using caching, batch operations, incremental syncs, and webhooks. Includes TypeScript class to monitor API call usage.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin appfolio-packThis skill is limited to using the following tools:
AppFolio Stack API pricing is partner-agreement based. Optimize by reducing unnecessary API calls.
Optimizes AppFolio API performance with caching, parallel Promise.all requests for properties/tenants/leases/units, and incremental syncs. Activates on 'appfolio performance'.
Optimizes Attio API costs: audit usage with trackers, reduce requests via caching, select plans, monitor limits, and set budget alerts.
Optimizes MaintainX API costs via usage tracking, TTL-based caching, batching, and webhook strategies in TypeScript apps.
Share bugs, ideas, or general feedback.
AppFolio Stack API pricing is partner-agreement based. Optimize by reducing unnecessary API calls.
class ApiUsageMonitor {
private calls: Array<{ endpoint: string; timestamp: number }> = [];
record(endpoint: string) { this.calls.push({ endpoint, timestamp: Date.now() }); }
getHourlyReport() {
const cutoff = Date.now() - 3600000;
const recent = this.calls.filter(c => c.timestamp > cutoff);
const byEndpoint: Record<string, number> = {};
for (const c of recent) byEndpoint[c.endpoint] = (byEndpoint[c.endpoint] || 0) + 1;
return { total: recent.length, byEndpoint };
}
}