/lindy-pack:lindy-rate-limitsfrom lindy-pack
Manages Lindy AI credits, rate limits, and usage optimization. Provides credit consumption reference, plan limits, and strategies for reducing per-task costs and optimizing trigger frequency.
Ships in lindy-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Lindy uses a credit-based consumption model, not traditional API rate limits. Every task (everything an agent does after being triggered) costs credits. Cost scales with model intelligence, task complexity, premium actions, and duration.
| Factor | Credit Impact |
|---|---|
| Basic model task | 1-3 credits |
| Large model task (GPT-4, Claude) | ~10 credits |
| Premium actions (webhooks, phone) | Additional credits |
| Phone calls (US/Canada landline) | ~20 credits/minute |
| Phone calls (international mobile) | 21-53 credits/minute |
| Minimum per task | 1 credit |
| Plan | Credits/Month | Approx Tasks | Price |
|---|---|---|---|
| Free | 400 | ~40-400 | $0 |
| Pro | 5,000 | ~500-1,500 | $49.99/mo |
| Business | 30,000 | ~3,000-30,000 | $299.99/mo |
| Enterprise | Custom | Custom | Custom |
Important: Credit limit enforcement is not instant. Lindy can only limit usage after the limit has been breached, not precisely when it is reached. A task that starts before the limit may complete and push usage slightly over.
In the Lindy dashboard:
Choose the right model for each step:
| Task Type | Recommended Model | Credits |
|---|---|---|
| Simple routing/classification | Gemini Flash | ~1 |
| Standard text generation | Claude Sonnet / GPT-4o-mini | ~3 |
| Complex reasoning/analysis | GPT-4 / Claude Opus | ~10 |
| Phone calls (simple) | Gemini Flash | ~20/min |
| Phone calls (complex) | Claude Sonnet | ~20/min |
Reduce action count per task:
Prevent credit waste from over-triggering:
Problem: Email Received trigger fires on ALL emails → 200 tasks/day
Solution: Add trigger filter: "sender contains '@customers.com'
AND subject does not contain 'auto-reply'"
→ 20 tasks/day (90% reduction)
Trigger filter best practices:
When your application triggers Lindy agents via webhooks, rate-limit on your side:
// Rate limiter for outbound Lindy webhook triggers
class LindyRateLimiter {
private tokens: number;
private maxTokens: number;
private refillRate: number; // tokens per second
private lastRefill: number;
constructor(maxPerMinute: number) {
this.maxTokens = maxPerMinute;
this.tokens = maxPerMinute;
this.refillRate = maxPerMinute / 60;
this.lastRefill = Date.now();
}
async acquire(): Promise<boolean> {
const now = Date.now();
const elapsed = (now - this.lastRefill) / 1000;
this.tokens = Math.min(this.maxTokens, this.tokens + elapsed * this.refillRate);
this.lastRefill = now;
if (this.tokens >= 1) {
this.tokens -= 1;
return true;
}
return false;
}
get remaining(): number {
return Math.floor(this.tokens);
}
}
// Usage: limit to 30 webhook triggers per minute
const limiter = new LindyRateLimiter(30);
async function triggerLindy(payload: any) {
if (!(await limiter.acquire())) {
console.warn(`Rate limited. ${limiter.remaining} tokens remaining`);
throw new Error('Lindy trigger rate limited');
}
await fetch(WEBHOOK_URL, {
method: 'POST',
headers: { 'Authorization': `Bearer ${SECRET}`, 'Content-Type': 'application/json' },
body: JSON.stringify(payload),
});
}
Set up monitoring to catch runaway agents before they drain credits:
// Credit usage monitor
interface CreditAlert {
threshold: number; // percentage of monthly credits
action: 'warn' | 'pause' | 'notify';
}
const alerts: CreditAlert[] = [
{ threshold: 50, action: 'warn' }, // 50% used: log warning
{ threshold: 80, action: 'notify' }, // 80% used: Slack alert
{ threshold: 95, action: 'pause' }, // 95% used: pause non-critical agents
];
Track which agents consume the most credits:
Lindy includes built-in protection: when a task starts using more resources than expected, Lindy pauses and checks in before continuing. This prevents runaway agent steps from consuming unlimited credits.
| Issue | Cause | Solution |
|---|---|---|
| Credits exhausted mid-month | High-usage agents | Upgrade plan or optimize usage |
| Task paused by Lindy | Resource protection triggered | Review agent — likely looping |
| Webhook trigger returns 429 | Too many concurrent requests | Implement client-side rate limiting |
| Agent not running | Credit balance at zero | Wait for monthly reset or upgrade |
Proceed to lindy-security-basics for API key and agent security.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
24 skills in this plugin
/lindy-ci-integrationConfigure CI/CD pipelines for testing Lindy AI agent integrations.
Use when setting up automated testing, configuring GitHub Actions
for webhook receiver tests, or validating agent connectivity in CI.
Trigger with phrases like "lindy CI", "lindy GitHub Actions",
"lindy automated tests", "CI lindy pipeline".
/lindy-common-errorsTroubleshoot common Lindy AI agent errors and workflow failures.
Use when encountering errors, debugging agent failures,
or resolving integration problems.
Trigger with phrases like "lindy error", "lindy not working",
"debug lindy", "lindy troubleshoot", "lindy agent failed".
/lindy-npx claudepluginhub flight505/skill-forge --plugin lindy-packOther plugins' skills for the same job