Agent skill
appfolio-cost-tuning
Optimize AppFolio API costs through efficient usage patterns. Trigger: "appfolio cost".
Install this agent skill to your Project
npx add-skill https://github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/main/plugins/saas-packs/appfolio-pack/skills/appfolio-cost-tuning
SKILL.md
appfolio cost tuning | sed 's/\b(.)/\u\1/g'
Overview
AppFolio Stack API pricing is partner-agreement based. Optimize by reducing unnecessary API calls.
Cost Optimization
- Cache aggressively — Property/unit data changes rarely (5-15 min TTL)
- Batch operations — Fetch all leases once, filter locally
- Incremental sync — Only fetch records modified since last sync
- Webhook-driven — React to events instead of polling
Usage Monitor
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 };
}
}
Resources
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
dockerfile-generator
Dockerfile Generator - Auto-activating skill for DevOps Basics. Triggers on: dockerfile generator, dockerfile generator Part of the DevOps Basics skill category.
branch-naming-helper
Branch Naming Helper - Auto-activating skill for DevOps Basics. Triggers on: branch naming helper, branch naming helper Part of the DevOps Basics skill category.
readme-generator
Readme Generator - Auto-activating skill for DevOps Basics. Triggers on: readme generator, readme generator Part of the DevOps Basics skill category.
makefile-generator
Makefile Generator - Auto-activating skill for DevOps Basics. Triggers on: makefile generator, makefile generator Part of the DevOps Basics skill category.
gitignore-generator
Gitignore Generator - Auto-activating skill for DevOps Basics. Triggers on: gitignore generator, gitignore generator Part of the DevOps Basics skill category.
pre-commit-hook-setup
Pre Commit Hook Setup - Auto-activating skill for DevOps Basics. Triggers on: pre commit hook setup, pre commit hook setup Part of the DevOps Basics skill category.
Didn't find tool you were looking for?