clari-performance-tuning

Featured

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".

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

# Clari Performance Tuning ## Overview Optimize Clari export pipelines: reduce export times, cache forecast data, and parallelize multi-period exports. ## Instructions ### Parallel Multi-Period Export ```python from concurrent.futures import ThreadPoolExecutor, as_completed def parallel_export( client, forecast_name: str, periods: list[str], max_workers: int = 3, ) -> dict[str, list[dict]]: results = {} def export_period(period: str) -> tuple[str, list[dict]]: data = client.export_and_download(forecast_name, period) return period, data.get("entries", []) with ThreadPoolExecutor(max_workers=max_workers) as executor: futures = { executor.submit(export_period, p): p for p in periods } for future in as_completed(futures): period, entries = future.result() results[period] = entries print(f" {period}: {len(entries)} entries") return results ``` ### Cache Export Results ```python import json import hashlib from pathlib import Path from datetime import datetime, timedelta class ExportCache: def __init__(self, cache_dir: str = ".cache/clari", ttl_hours: int = 4): self.cache_dir = Path(cache_dir) self.cache_dir.mkdir(parents=True, exist_ok=True) self.ttl = timedelta(hours=ttl_hours) def _key(self, forecast: str, period: str) -> str: return hashlib.md5(f"{forecast}:{period}".encode()).hexdigest() def get(self, ...

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 Solid

clari-cost-tuning

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".

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-core-workflow-a

Build a Clari forecast export pipeline to your data warehouse. Use when exporting forecast calls, quota data, and CRM totals from Clari to Snowflake, BigQuery, or a local database. Trigger with phrases like "clari forecast export", "clari data pipeline", "clari to snowflake", "clari to bigquery", "export clari data".

2,266 Updated today
jeremylongshore
AI & Automation Featured

clari-hello-world

Export your first Clari forecast and pipeline snapshot. Use when testing Clari API connectivity, pulling forecast data, or learning the export API structure. Trigger with phrases like "clari hello world", "clari first export", "clari test api", "clari forecast export".

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