Skip to main content

linear-cost-tuning

Optimizes Linear API usage to reduce costs and improve efficiency through effective management of API calls and rate limits.

Install this skill

or
19/100

Security score

The linear-cost-tuning skill was audited on May 12, 2026 and we found 21 security issues across 3 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 62

Template literal with variable interpolation in command context

SourceSKILL.md
62requests: `${Math.round((this.requests / elapsedHours / 5000) * 100)}%`,
medium line 63

Template literal with variable interpolation in command context

SourceSKILL.md
63complexity: `${Math.round((this.totalComplexity / elapsedHours / 250000) * 100)}%`,
medium line 145

Template literal with variable interpolation in command context

SourceSKILL.md
145return coalesce(`team:${teamKey}`, async () => {
medium line 216

Template literal with variable interpolation in command context

SourceSKILL.md
216console.log(`Synced ${synced} issues since ${lastSyncTime}`);
medium line 35

Webhook reference - potential data exfiltration

SourceSKILL.md
35| Polling frequency | Wastes budget | Replace with webhooks |
medium line 36

Webhook reference - potential data exfiltration

SourceSKILL.md
36| Webhook volume | Processing costs | Filter by event type and team |
medium line 72

Webhook reference - potential data exfiltration

SourceSKILL.md
72### Step 2: Replace Polling with Webhooks
medium line 73

Webhook reference - potential data exfiltration

SourceSKILL.md
73The single biggest optimization. A polling loop checking every minute uses 1,440 requests/day. A webhook uses zero.
low line 86

Webhook reference - potential data exfiltration

SourceSKILL.md
86// GOOD: Webhook receives updates in real-time (0 requests for monitoring)
low line 87

Webhook reference - potential data exfiltration

SourceSKILL.md
87app.post("/webhooks/linear", express.raw({ type: "*/*" }), (req, res) => {
low line 162

Webhook reference - potential data exfiltration

SourceSKILL.md
162// Combined with webhook invalidation, even short TTLs
medium line 166

Webhook reference - potential data exfiltration

SourceSKILL.md
166### Step 6: Filter Webhook Events
medium line 222

Webhook reference - potential data exfiltration

SourceSKILL.md
222- [ ] Replace all polling with webhooks
medium line 225

Webhook reference - potential data exfiltration

SourceSKILL.md
225- [ ] Filter webhook events (skip bots, trivial updates, irrelevant teams)
medium line 230

Webhook reference - potential data exfiltration

SourceSKILL.md
230- [ ] Cache teams/states/labels with webhook invalidation
medium line 237

Webhook reference - potential data exfiltration

SourceSKILL.md
237| Stale cache data | TTL too long | Use webhook-driven invalidation |
medium line 239

Webhook reference - potential data exfiltration

SourceSKILL.md
239| Webhook processing overload | Unfiltered events | Add type/team/field filtering |
medium line 244

Webhook reference - potential data exfiltration

SourceSKILL.md
244- [Webhooks](https://linear.app/developers/webhooks)
low line 242

External URL reference

SourceSKILL.md
242- [Linear Rate Limiting](https://linear.app/developers/rate-limiting)
low line 243

External URL reference

SourceSKILL.md
243- [Linear Best Practices](https://linear.app/developers/graphql)
low line 244

External URL reference

SourceSKILL.md
244- [Webhooks](https://linear.app/developers/webhooks)
Scanned on May 12, 2026
View Security Dashboard
Installation guide →