clickup-cost-tuning
Optimize ClickUp API usage costs through plan selection, request reduction, caching, and usage monitoring. Trigger: "clickup cost", "clickup billing", "reduce clickup usage", "clickup pricing", "clickup plan comparison", "clickup API usage".
Best use case
clickup-cost-tuning is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Optimize ClickUp API usage costs through plan selection, request reduction, caching, and usage monitoring. Trigger: "clickup cost", "clickup billing", "reduce clickup usage", "clickup pricing", "clickup plan comparison", "clickup API usage".
Teams using clickup-cost-tuning should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/clickup-cost-tuning/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How clickup-cost-tuning Compares
| Feature / Agent | clickup-cost-tuning | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Optimize ClickUp API usage costs through plan selection, request reduction, caching, and usage monitoring. Trigger: "clickup cost", "clickup billing", "reduce clickup usage", "clickup pricing", "clickup plan comparison", "clickup API usage".
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# ClickUp Cost Tuning
## Overview
ClickUp charges per-seat, not per-API-call. However, rate limits constrain throughput per plan tier. Optimizing API usage means reducing request count to stay within rate limits and avoid needing plan upgrades.
## ClickUp Pricing (Per Member/Month)
| Plan | Price | Rate Limit | Key API Features |
|------|-------|-----------|------------------|
| Free Forever | $0 | 100 req/min | Full API access, 100 uses of automations |
| Unlimited | $7/member | 100 req/min | Unlimited storage, integrations |
| Business | $12/member | 100 req/min | Custom fields, time tracking, goals |
| Business Plus | $19/member | 1,000 req/min | Custom role creation, admin training |
| Enterprise | Custom | 10,000 req/min | SSO/SAML, advanced permissions, dedicated support |
## Request Reduction Strategies
### 1. Cache Workspace Structure
Spaces, folders, and lists change rarely. Cache them aggressively.
```typescript
import { LRUCache } from 'lru-cache';
const structureCache = new LRUCache<string, any>({
max: 500,
ttl: 300000, // 5 minutes for hierarchy data
});
async function getCachedSpaces(teamId: string) {
const key = `spaces:${teamId}`;
let spaces = structureCache.get(key);
if (!spaces) {
const data = await clickupRequest(`/team/${teamId}/space?archived=false`);
spaces = data.spaces;
structureCache.set(key, spaces);
}
return spaces;
}
```
### 2. Use Pagination Efficiently
Get Tasks returns max 100 per page. Fetch only what you need.
```typescript
// Bad: fetch all pages when you only need recent tasks
// Good: use filters to minimize pages
async function getRecentTasks(listId: string, limit = 25) {
return clickupRequest(`/list/${listId}/task?${new URLSearchParams({
page: '0',
order_by: 'updated',
reverse: 'true',
subtasks: 'true',
include_closed: 'false',
})}`);
}
```
### 3. Batch with Custom Fields
Set custom fields during task creation instead of separate calls.
```typescript
// Bad: 3 API calls (create + 2 custom field updates)
const task = await createTask(listId, { name: 'Task' });
await setCustomField(task.id, field1Id, value1);
await setCustomField(task.id, field2Id, value2);
// Good: 1 API call (custom fields in create body)
await createTask(listId, {
name: 'Task',
custom_fields: [
{ id: field1Id, value: value1 },
{ id: field2Id, value: value2 },
],
});
```
### 4. Use Webhooks Instead of Polling
```typescript
// Bad: poll every 30 seconds (2 req/min wasted)
setInterval(() => checkForUpdates(), 30000);
// Good: register webhook, process events on-demand (0 polling requests)
await clickupRequest(`/team/${teamId}/webhook`, {
method: 'POST',
body: JSON.stringify({
endpoint: 'https://myapp.com/webhooks/clickup',
events: ['taskUpdated', 'taskCreated'],
}),
});
```
## Usage Monitoring
```typescript
class ClickUpUsageTracker {
private requestLog: Array<{ timestamp: number; endpoint: string }> = [];
track(endpoint: string): void {
this.requestLog.push({ timestamp: Date.now(), endpoint });
// Keep only last hour
const cutoff = Date.now() - 3600000;
this.requestLog = this.requestLog.filter(r => r.timestamp > cutoff);
}
getRequestsPerMinute(): number {
const oneMinAgo = Date.now() - 60000;
return this.requestLog.filter(r => r.timestamp > oneMinAgo).length;
}
getTopEndpoints(n = 5): Array<{ endpoint: string; count: number }> {
const counts = new Map<string, number>();
for (const r of this.requestLog) {
counts.set(r.endpoint, (counts.get(r.endpoint) ?? 0) + 1);
}
return [...counts.entries()]
.sort((a, b) => b[1] - a[1])
.slice(0, n)
.map(([endpoint, count]) => ({ endpoint, count }));
}
needsUpgrade(): boolean {
return this.getRequestsPerMinute() > 80; // 80% of Free tier limit
}
}
```
## Cost Decision Matrix
| Monthly Requests | Recommended Plan | Rationale |
|-----------------|-----------------|-----------|
| < 144,000 | Free Forever | 100/min * 60min * 24h = 144K/day max |
| 100-1000 req/min sustained | Business Plus | 10x rate limit increase |
| > 1000 req/min sustained | Enterprise | 10,000 req/min + dedicated support |
## Error Handling
| Issue | Cause | Solution |
|-------|-------|----------|
| Constant 429 errors | Hit rate ceiling | Implement queuing or upgrade |
| Cache stale data | TTL too long | Invalidate via webhooks |
| Redundant API calls | No deduplication | Use DataLoader batching |
| Polling overhead | No webhook setup | Switch to event-driven |
## Resources
- [ClickUp Pricing](https://clickup.com/pricing)
- [ClickUp Rate Limits](https://developer.clickup.com/docs/rate-limits)
## Next Steps
For architecture patterns, see `clickup-reference-architecture`.Related Skills
tuning-hyperparameters
Optimize machine learning model hyperparameters using grid search, random search, or Bayesian optimization. Finds best parameter configurations to maximize performance. Use when asked to "tune hyperparameters" or "optimize model". Trigger with relevant phrases based on skill purpose.
optimizing-cloud-costs
Execute use when you need to work with cloud cost optimization. This skill provides cost analysis and optimization with comprehensive guidance and automation. Trigger with phrases like "optimize costs", "analyze spending", or "reduce costs".
fathom-cost-tuning
Optimize Fathom API usage and plan selection. Trigger with phrases like "fathom cost", "fathom pricing", "fathom plan".
exa-performance-tuning
Optimize Exa API performance with search type selection, caching, and parallelization. Use when experiencing slow responses, implementing caching strategies, or optimizing request throughput for Exa integrations. Trigger with phrases like "exa performance", "optimize exa", "exa latency", "exa caching", "exa slow", "exa fast".
evernote-performance-tuning
Optimize Evernote integration performance. Use when improving response times, reducing API calls, or scaling Evernote integrations. Trigger with phrases like "evernote performance", "optimize evernote", "evernote speed", "evernote caching".
evernote-cost-tuning
Optimize Evernote integration costs and resource usage. Use when managing API quotas, reducing storage usage, or optimizing upload limits. Trigger with phrases like "evernote cost", "evernote quota", "evernote limits", "evernote upload".
elevenlabs-performance-tuning
Optimize ElevenLabs TTS latency with model selection, streaming, caching, and audio format tuning. Use when experiencing slow TTS responses, implementing real-time voice features, or optimizing audio generation throughput. Trigger: "elevenlabs performance", "optimize elevenlabs", "elevenlabs latency", "elevenlabs slow", "fast TTS", "reduce elevenlabs latency", "TTS streaming".
documenso-performance-tuning
Optimize Documenso integration performance with caching, batching, and efficient patterns. Use when improving response times, reducing API calls, or optimizing bulk document operations. Trigger with phrases like "documenso performance", "optimize documenso", "documenso caching", "documenso batch operations".
documenso-cost-tuning
Optimize Documenso usage costs and manage subscription efficiency. Use when analyzing costs, optimizing document usage, or managing Documenso subscription tiers. Trigger with phrases like "documenso costs", "documenso pricing", "optimize documenso spending", "documenso usage".
deepgram-performance-tuning
Optimize Deepgram API performance for faster transcription and lower latency. Use when improving transcription speed, reducing latency, or optimizing audio processing pipelines. Trigger: "deepgram performance", "speed up deepgram", "optimize transcription", "deepgram latency", "deepgram faster", "deepgram throughput".
deepgram-cost-tuning
Optimize Deepgram costs and usage for budget-conscious deployments. Use when reducing transcription costs, implementing usage controls, or optimizing pricing tier utilization. Trigger: "deepgram cost", "reduce deepgram spending", "deepgram pricing", "deepgram budget", "optimize deepgram usage", "deepgram billing".
databricks-performance-tuning
Optimize Databricks cluster and query performance. Use when jobs are running slowly, optimizing Spark configurations, or improving Delta Lake query performance. Trigger with phrases like "databricks performance", "spark tuning", "databricks slow", "optimize databricks", "cluster performance".