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".
Best use case
clari-core-workflow-b is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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".
Teams using clari-core-workflow-b should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/clari-core-workflow-b/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How clari-core-workflow-b Compares
| Feature / Agent | clari-core-workflow-b | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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".
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
SKILL.md Source
# Clari Core Workflow: Revenue Analytics
## Overview
Build revenue analytics from Clari export data: forecast accuracy tracking, pipeline coverage analysis, rep performance dashboards, and forecast call change detection.
## Prerequisites
- Completed `clari-core-workflow-a` (export pipeline)
- Historical forecast exports for accuracy tracking
- Pandas/SQL for data analysis
## Instructions
### Step 1: Forecast Accuracy Analysis
```python
import pandas as pd
def calculate_forecast_accuracy(
forecasts: list[dict], actuals: list[dict]
) -> pd.DataFrame:
df_forecast = pd.DataFrame(forecasts)
df_actual = pd.DataFrame(actuals)
merged = df_forecast.merge(
df_actual[["ownerEmail", "crmClosed"]],
on="ownerEmail",
suffixes=("_forecast", "_actual"),
)
merged["accuracy_pct"] = (
1 - abs(merged["forecastAmount"] - merged["crmClosed_actual"])
/ merged["forecastAmount"]
) * 100
merged["variance"] = merged["crmClosed_actual"] - merged["forecastAmount"]
return merged[["ownerName", "forecastAmount", "crmClosed_actual",
"accuracy_pct", "variance"]].sort_values("accuracy_pct")
```
### Step 2: Pipeline Coverage Report
```python
def pipeline_coverage_report(entries: list[dict]) -> dict:
df = pd.DataFrame(entries)
return {
"total_pipeline": df["crmTotal"].sum(),
"total_closed": df["crmClosed"].sum(),
"total_quota": df["quotaAmount"].sum(),
"total_forecast": df["forecastAmount"].sum(),
"coverage_ratio": df["crmTotal"].sum() / df["quotaAmount"].sum()
if df["quotaAmount"].sum() > 0 else 0,
"close_rate": df["crmClosed"].sum() / df["crmTotal"].sum()
if df["crmTotal"].sum() > 0 else 0,
"attainment_pct": df["crmClosed"].sum() / df["quotaAmount"].sum() * 100
if df["quotaAmount"].sum() > 0 else 0,
"at_risk_reps": len(df[df["forecastAmount"] < df["quotaAmount"] * 0.7]),
"on_track_reps": len(df[df["forecastAmount"] >= df["quotaAmount"] * 0.9]),
}
```
### Step 3: Forecast Change Detection
```python
def detect_forecast_changes(
current: list[dict], previous: list[dict], threshold_pct: float = 10.0
) -> list[dict]:
curr = {e["ownerEmail"]: e for e in current}
prev = {e["ownerEmail"]: e for e in previous}
changes = []
for email, curr_entry in curr.items():
prev_entry = prev.get(email)
if not prev_entry:
continue
prev_amount = prev_entry["forecastAmount"]
curr_amount = curr_entry["forecastAmount"]
if prev_amount == 0:
continue
change_pct = ((curr_amount - prev_amount) / prev_amount) * 100
if abs(change_pct) >= threshold_pct:
changes.append({
"rep": curr_entry["ownerName"],
"previous_forecast": prev_amount,
"current_forecast": curr_amount,
"change_pct": round(change_pct, 1),
"direction": "up" if change_pct > 0 else "down",
})
return sorted(changes, key=lambda x: abs(x["change_pct"]), reverse=True)
```
### Step 4: SQL Analytics Queries
```sql
-- Forecast accuracy by quarter
SELECT
time_period,
owner_name,
forecast_amount,
crm_closed AS actual_closed,
ROUND((1 - ABS(forecast_amount - crm_closed) / NULLIF(forecast_amount, 0)) * 100, 1) AS accuracy_pct
FROM clari_forecasts
WHERE time_period = '2025_Q4'
ORDER BY accuracy_pct DESC;
-- Pipeline coverage trend
SELECT
time_period,
SUM(crm_total) / NULLIF(SUM(quota_amount), 0) AS coverage_ratio,
SUM(crm_closed) / NULLIF(SUM(quota_amount), 0) AS attainment
FROM clari_forecasts
GROUP BY time_period
ORDER BY time_period;
```
## Error Handling
| Error | Cause | Solution |
|-------|-------|----------|
| Division by zero | Zero quota or forecast | Add `NULLIF` guards |
| Missing previous period | First export run | Skip change detection |
| Accuracy > 100% | Overachievement | Cap at 100% or allow for analysis |
| Stale data | Export not refreshed | Run `clari-core-workflow-a` first |
## Resources
- [Clari API Reference](https://developer.clari.com/documentation/external_spec)
- [Pandas Documentation](https://pandas.pydata.org/docs/)
## Next Steps
For error troubleshooting, see `clari-common-errors`.Related Skills
calendar-to-workflow
Converts calendar events and schedules into Claude Code workflows, meeting prep documents, and standup notes. Use when the user mentions calendar events, meeting prep, standup generation, or scheduling workflows. Trigger with phrases like "prep for my meetings", "generate standup notes", "create workflow from calendar", or "summarize today's schedule".
workhuman-core-workflow-b
Workhuman core workflow b for employee recognition and rewards API. Use when integrating Workhuman Social Recognition, or building recognition workflows with HRIS systems. Trigger: "workhuman core workflow b".
workhuman-core-workflow-a
Workhuman core workflow a for employee recognition and rewards API. Use when integrating Workhuman Social Recognition, or building recognition workflows with HRIS systems. Trigger: "workhuman core workflow a".
wispr-core-workflow-b
Wispr Flow core workflow b for voice-to-text API integration. Use when integrating Wispr Flow dictation, WebSocket streaming, or building voice-powered applications. Trigger: "wispr core workflow b".
wispr-core-workflow-a
Wispr Flow core workflow a for voice-to-text API integration. Use when integrating Wispr Flow dictation, WebSocket streaming, or building voice-powered applications. Trigger: "wispr core workflow a".
windsurf-core-workflow-b
Execute Windsurf's secondary workflow: Workflows, Memories, and reusable automation. Use when creating reusable Cascade workflows, managing persistent memories, or automating repetitive development tasks. Trigger with phrases like "windsurf workflow", "windsurf automation", "windsurf memories", "cascade workflow", "windsurf slash command".
windsurf-core-workflow-a
Execute Windsurf's primary workflow: Cascade Write mode for multi-file agentic coding. Use when building features, refactoring across files, or performing complex code tasks. Trigger with phrases like "windsurf cascade write", "windsurf agentic coding", "windsurf multi-file edit", "cascade write mode", "windsurf build feature".
webflow-core-workflow-b
Execute Webflow secondary workflows — Sites management, Pages API, Forms submissions, Ecommerce (products/orders/inventory), and Custom Code via the Data API v2. Use when managing sites, reading pages, handling form data, or working with Webflow Ecommerce products and orders. Trigger with phrases like "webflow sites", "webflow pages", "webflow forms", "webflow ecommerce", "webflow products", "webflow orders".
webflow-core-workflow-a
Execute the primary Webflow workflow — CMS content management: list collections, CRUD items, publish items, and manage content lifecycle via the Data API v2. Use when working with Webflow CMS collections and items, managing blog posts, team members, or any dynamic content. Trigger with phrases like "webflow CMS", "webflow collections", "webflow items", "create webflow content", "manage webflow CMS", "webflow content management".
veeva-core-workflow-b
Veeva Vault core workflow b for REST API and clinical operations. Use when working with Veeva Vault document management and CRM. Trigger: "veeva core workflow b".
veeva-core-workflow-a
Veeva Vault core workflow a for REST API and clinical operations. Use when working with Veeva Vault document management and CRM. Trigger: "veeva core workflow a".
vastai-core-workflow-b
Execute Vast.ai secondary workflow: multi-instance orchestration, spot recovery, and cost optimization. Use when running distributed training, handling spot preemption, or optimizing GPU spend across multiple instances. Trigger with phrases like "vastai distributed training", "vastai spot recovery", "vastai multi-gpu", "vastai cost optimization".