/lindy-pack:lindy-cost-tuningfrom lindy-pack
Optimizes Lindy AI costs through credit management, model right-sizing, agent consolidation, and budget allocation analysis. Use when reducing spend or analyzing credit usage patterns.
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 pricing model. Every task costs credits based on model size, step count, premium actions, and duration. Cost tuning targets: model right-sizing, agent consolidation, trigger optimization, and credit monitoring.
| Factor | Credits |
|---|---|
| Basic model task (Gemini Flash) | 1-2 |
| Mid-tier model (GPT-4o-mini, Claude Haiku) | 2-5 |
| Large model task (GPT-4, Claude Sonnet) | 5-10 |
| Premium model (Claude Opus) | ~10+ |
| Phone call (US/Canada) | ~20/minute |
| Phone call (international) | 21-53/minute |
| Premium actions (webhooks) | Additional per action |
| Minimum per task | 1 credit |
| Plan | Monthly | Credits | Per Extra Seat |
|---|---|---|---|
| Free | $0 | 400 | N/A |
| Pro | $49.99 | 5,000 | $19.99 |
| Business | $299.99 | 30,000 | Included |
| Enterprise | Custom | Custom | Custom |
For each active agent, collect:
Create a cost audit table:
| Agent | Tasks/Month | Credits/Task | Model | Monthly Credits | % of Total |
|---|---|---|---|---|---|
| Support Bot | 500 | 5 | Claude Sonnet | 2,500 | 50% |
| Lead Router | 200 | 2 | GPT-4o-mini | 400 | 8% |
| Report Gen | 30 | 10 | GPT-4 | 300 | 6% |
The highest-impact optimization. For each agent, ask:
"Does this task actually need GPT-4/Claude, or would Gemini Flash work?"
| Current Setup | Optimized | Savings |
|---|---|---|
| Email classify with Claude Sonnet (5 cr) | Gemini Flash (1 cr) | 80% |
| Data extract with GPT-4 (10 cr) | GPT-4o-mini (3 cr) | 70% |
| Simple routing with Claude Opus (10 cr) | Gemini Flash (1 cr) | 90% |
Test the downgrade: Run 10 tasks with the smaller model. Compare output quality. Most classification, routing, and extraction tasks work identically on smaller models.
Multiple single-purpose agents cost more than one multi-purpose agent:
Before (5 agents, 5 minimum credits per run):
Agent 1: Classify billing emails
Agent 2: Classify technical emails
Agent 3: Classify general emails
Agent 4: Draft billing responses
Agent 5: Draft technical responses
After (1 agent, 1 minimum credit per run):
Support Agent: Classify email → Condition (billing/technical/general)
→ Draft appropriate response → Send
Cost impact: Reducing from 5 agents to 1 saves minimum-credit overhead and simplifies management.
Credits are consumed every time a trigger fires. Reduce unnecessary triggers:
Email Received:
Before: Trigger on ALL emails (300/day) = 300 tasks
After: Filter: label "support" AND NOT from "noreply@" (40/day) = 40 tasks
Savings: 87% fewer tasks
Schedule trigger:
Before: Every 15 minutes (96/day)
After: Every 2 hours (12/day)
Question: Does this agent really need to run every 15 minutes?
Slack trigger:
Before: Any message in #general (200/day)
After: Messages containing "@support-bot" (10/day)
Savings: 95% fewer tasks
Each action in a workflow costs credits. Eliminate unnecessary steps:
lindy-performance-tuning)KB search costs credits per query. Optimize:
Review agents monthly:
| Issue | Cause | Solution |
|---|---|---|
| Unexpected credit spike | Trigger filter removed or loosened | Review and restore trigger filters |
| Agent consuming 10x normal | Looping agent step | Add exit conditions, check task history |
| Credits exhausted mid-month | Under-budgeted or spike | Upgrade plan or pause non-critical agents |
| Model downgrade hurts quality | Task needs larger model | Selectively upgrade only that step |
Proceed to lindy-reference-architecture for production architecture patterns.
What SKILL.md sets; muted values are Claude Code's defaults
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-core-workflow-aBuild and configure multi-step Lindy AI agent workflows.
Use when creating agents with triggers, actions, conditions,
knowledge bases, or agent steps.
Trigger with phrases like "create lindy agent", "build lindy agent",
"lindy agent workflow", "configure lindy agent", "lindy workflow".
/lindy-core-workflow-bConfigure Lindy triggers, scheduling, multi-agent delegation, and automation.
Use when setting up trigger-based workflows, scheduling agents,
building multi-agent societies, or configuring agent delegation.
Trigger with phrases like "lindy automation", "schedule lindy agent",
"lindy workflow automation", "lindy delegation", "lindy multi-agent".
/lindy-data-handlingData handling best practices for Lindy AI agents.
Use when managing sensitive data in agent workflows,
implementing data privacy controls, or ensuring compliance.
Trigger with phrases like "lindy data", "lindy privacy",
"lindy PII", "lindy data handling", "lindy GDPR", "lindy HIPAA".
/lindy-debug-bundleComprehensive debugging toolkit for Lindy AI agents.
Use when investigating complex agent failures, collecting diagnostics,
or preparing support tickets for Lindy support.
Trigger with phrases like "lindy debug", "lindy diagnostics",
"lindy support bundle", "investigate lindy issue".
npx claudepluginhub flight505/skill-forge --plugin lindy-packOther plugins' skills for the same job