linear-cost-tuning

Featured

Optimize Linear API usage, reduce unnecessary calls, and maximize efficiency within rate limit budgets. Trigger: "linear cost", "reduce linear API calls", "linear efficiency", "linear API usage", "optimize linear costs", "linear budget".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Linear Cost Tuning ## Overview Optimize Linear API usage to stay within rate budgets and minimize infrastructure costs. Linear's API is free (no per-request billing), but rate limits (5,000 requests/hour, 250,000 complexity/hour) constrain throughput. Efficient patterns let you do more within these limits. ## Cost Factors | Factor | Budget Impact | Optimization | |--------|--------------|-------------| | Request count | 5,000/hr limit | Batch operations, coalesce requests | | Query complexity | 250,000/hr limit | Flat queries, small page sizes | | Payload size | Bandwidth + latency | Select only needed fields | | Polling frequency | Wastes budget | Replace with webhooks | | Webhook volume | Processing costs | Filter by event type and team | ## Instructions ### Step 1: Audit Current Usage ```typescript import { LinearClient } from "@linear/sdk"; class UsageTracker { private requests = 0; private totalComplexity = 0; private startTime = Date.now(); track(complexity: number) { this.requests++; this.totalComplexity += complexity; } report() { const elapsedHours = (Date.now() - this.startTime) / 3600000; return { requests: this.requests, requestsPerHour: Math.round(this.requests / elapsedHours), totalComplexity: this.totalComplexity, complexityPerHour: Math.round(this.totalComplexity / elapsedHours), budgetUsed: { requests: `${Math.round((this.requests / elapsedHours / 5000) * 100)}%`, complexity: ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

linear-rate-limits

Handle Linear API rate limiting, complexity budgets, and quotas. Use when dealing with 429 errors, implementing throttling, or optimizing request patterns to stay within limits. Trigger: "linear rate limit", "linear throttling", "linear 429", "linear API quota", "linear complexity", "linear request limits".

2,266 Updated today
jeremylongshore
AI & Automation Featured

linear-performance-tuning

Optimize Linear API queries, caching, and batching for performance. Use when improving response times, reducing API calls, or implementing caching strategies for Linear data. Trigger: "linear performance", "optimize linear", "linear caching", "linear slow queries", "speed up linear", "linear N+1".

2,266 Updated today
jeremylongshore
AI & Automation Featured

linear-observability

Implement monitoring, logging, and alerting for Linear integrations. Use when setting up metrics collection, dashboards, or configuring alerts for Linear API usage. Trigger: "linear monitoring", "linear observability", "linear metrics", "linear logging", "monitor linear", "linear Prometheus", "linear Grafana".

2,266 Updated today
jeremylongshore
AI & Automation Featured

attio-cost-tuning

Optimize Attio API usage costs -- reduce request volume, select the right plan, monitor usage, and implement budget alerts. Trigger: "attio cost", "attio billing", "reduce attio costs", "attio pricing", "attio expensive", "attio budget", "attio usage".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langchain-cost-tuning

Optimize LangChain API costs with token tracking, model tiering, caching, prompt compression, and budget enforcement. Trigger: "langchain cost", "langchain tokens", "reduce langchain cost", "langchain billing", "langchain budget", "token optimization".

2,266 Updated today
jeremylongshore