/clari-pack:clari-common-errorsfrom clari-pack
Diagnoses and fixes common Clari API errors including 401/403 auth failures, empty exports, job timeouts, and data mismatches between API and UI.
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.
Diagnostic guide for the most common Clari API issues: authentication failures, empty exports, job timeouts, and data discrepancies.
{"error": "Unauthorized", "message": "Invalid API key"}
Fix: Regenerate token at Clari > User Settings > API Token. Tokens may expire or be revoked by admins.
{"error": "Forbidden", "message": "API access not enabled for this user"}
Fix: Contact your Clari admin to enable API access. Requires enterprise plan.
{"error": "Not Found", "message": "Forecast 'wrong_name' not found"}
Fix: List available forecasts first:
curl -s -H "apikey: ${CLARI_API_KEY}" \
https://api.clari.com/v4/export/forecast/list | jq '.forecasts[].forecastName'
The API returns {"entries": []} with no error.
Causes:
Fix: Verify in Clari UI that the forecast has submissions for the requested period.
Export job never reaches COMPLETED status.
Causes:
Fix: Increase polling timeout. Break large exports into per-period batches.
Forecast numbers from API do not match what is shown in Clari UI.
Causes:
Fix: Use includeHistorical: true to get all submission versions. Match the exact time period label from the UI.
{"error": "invalid_client"}
Fix: The Copilot API uses OAuth2, not API key auth. Register your app at https://api-doc.copilot.clari.com and use client credentials flow.
HTTP 429 Too Many Requests
Fix: Implement exponential backoff. See clari-rate-limits for patterns.
# Test API key
curl -s -o /dev/null -w "%{http_code}" \
-H "apikey: ${CLARI_API_KEY}" \
https://api.clari.com/v4/export/forecast/list
# List all forecasts
curl -s -H "apikey: ${CLARI_API_KEY}" \
https://api.clari.com/v4/export/forecast/list | jq .
# Check running jobs
curl -s -H "apikey: ${CLARI_API_KEY}" \
https://api.clari.com/v4/export/jobs | jq '.jobs[] | {jobId, status, createdAt}'
For comprehensive diagnostics, see clari-debug-bundle.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 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-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-cost-tuningOptimize 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".
/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".
npx claudepluginhub flight505/skill-forge --plugin clari-packOther plugins' skills for the same job