/clari-pack:clari-cost-tuningfrom clari-pack
Optimizes Clari API usage and integration costs by reducing call volume, caching exports, and tracking usage. Useful for minimizing export frequency or evaluating license utilization.
Ships in clari-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Minimize Clari API overhead: reduce export frequency, cache aggressively, export only needed data types, and monitor usage.
# 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
| Use Case | Recommended Frequency |
|---|---|
| Executive dashboard | Daily |
| Forecast accuracy tracking | Weekly |
| Compliance audit | Quarterly |
| Ad-hoc analysis | On demand |
# 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
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
def report(self) -> dict:
return {
"api_calls": self.api_calls,
"exports": self.exports,
}
For architecture patterns, see clari-reference-architecture.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub flight505/skill-forge --plugin clari-pack18 skills in this plugin
/clari-ci-integrationIntegrate Clari export pipeline testing and validation into CI/CD.
Use when adding automated tests for Clari integrations,
validating export schemas in CI, or testing pipeline reliability.
Trigger with phrases like "clari CI", "clari github actions",
"clari automated tests", "test clari pipeline".
/clari-common-errorsDiagnose and fix Clari API errors including auth failures, export issues, and data mismatches.
Use when Clari API calls fail, exports return empty data,
or forecast numbers do not match the UI.
Trigger with phrases like "clari error", "clari not working",
"clari api failure", "fix clari", "debug clari".
/clari-core-workflow-aBuild 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".
/clari-core-workflow-bBuild 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".
/clari-debug-bundleCollect Clari API diagnostic info for support cases.
Use when preparing a support ticket, collecting API response samples,
or documenting integration issues.
Trigger with phrases like "clari debug", "clari support bundle",
"collect clari diagnostics", "clari troubleshoot".
/clari-deploy-integrationDeploy Clari export pipelines to production with Airflow, Cloud Functions, or Lambda.
Use when scheduling automated exports, deploying to cloud platforms,
or setting up serverless Clari sync.
Trigger with phrases like "deploy clari", "clari airflow",
"clari lambda", "clari cloud function", "clari scheduled export".
Other plugins' skills for the same job