clari-cost-tuning

Solid

Optimize Clari API usage and integration costs. Use when reducing API call volume, optimizing export frequency, or evaluating Clari license utilization. Trigger with phrases like "clari cost", "clari api usage", "reduce clari calls", "clari optimization".

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

Install

View on GitHub

Quality Score: 97/100

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

Skill Content

# Clari Cost Tuning ## Overview Minimize Clari API overhead: reduce export frequency, cache aggressively, export only needed data types, and monitor usage. ## Instructions ### Export Only What You Need ```python # Full export (6 data types) -- more API load full_types = ["forecast", "quota", "forecast_updated", "adjustment", "crm_total", "crm_closed"] # Minimal export (2 data types) -- faster and lighter minimal_types = ["forecast", "crm_closed"] # Use minimal for dashboards, full for audit/compliance ``` ### Optimize Export Frequency | Use Case | Recommended Frequency | |----------|-----------------------| | Executive dashboard | Daily | | Forecast accuracy tracking | Weekly | | Compliance audit | Quarterly | | Ad-hoc analysis | On demand | ### Cache to Avoid Redundant Exports ```python # Cache recent exports (see clari-performance-tuning) cache = ExportCache(ttl_hours=8) def smart_export(client, forecast_name, period): cached = cache.get(forecast_name, period) if cached: print(f"Cache hit for {period}") return cached data = client.export_and_download(forecast_name, period) entries = data.get("entries", []) cache.set(forecast_name, period, entries) return entries ``` ### Usage Tracking ```python class ClariUsageTracker: def __init__(self): self.api_calls = 0 self.exports = 0 def track_call(self): self.api_calls += 1 def track_export(self): self.exports += 1 ...

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

clari-performance-tuning

Optimize Clari API performance with caching, batch exports, and data pipeline efficiency. Use when exports take too long, optimizing data warehouse load times, or reducing API calls in multi-forecast environments. Trigger with phrases like "clari performance", "clari slow export", "optimize clari pipeline", "clari caching".

2,266 Updated today
jeremylongshore
AI & Automation Featured

clari-rate-limits

Handle Clari API rate limits with backoff and export job scheduling. Use when hitting 429 errors, optimizing export frequency, or scheduling bulk forecast exports. Trigger with phrases like "clari rate limit", "clari 429", "clari throttle", "clari api limits".

2,266 Updated today
jeremylongshore
AI & Automation Featured

clari-install-auth

Configure Clari API authentication with API key and set up export access. Use when connecting to the Clari API, generating API tokens, or configuring forecast data exports. Trigger with phrases like "install clari", "setup clari api", "clari auth", "clari api key", "configure clari".

2,266 Updated today
jeremylongshore
AI & Automation Featured

clade-cost-tuning

Optimize Anthropic API costs — model selection, prompt caching, batches, Use when working with cost-tuning patterns. token reduction, and usage monitoring. Trigger with "anthropic pricing", "claude cost", "reduce anthropic spend", "anthropic billing", "claude cheaper".

2,266 Updated today
jeremylongshore
AI & Automation Featured

clari-core-workflow-b

Build Clari revenue analytics: pipeline coverage, forecast accuracy, and rep performance dashboards from exported data. Use when analyzing forecast accuracy, building attainment reports, or creating executive revenue dashboards. Trigger with phrases like "clari analytics", "clari dashboard", "clari forecast accuracy", "clari pipeline coverage".

2,266 Updated today
jeremylongshore