Agent skill

Business Intelligence

by borghei in borghei/Claude-Skills

Business intelligence across dashboard design, visualization, and reporting automation.

MITAuto-check passedData & Analytics

Install Business Intelligence

skills CLI
$ npx skills add borghei/Claude-Skills --skill business-intelligence -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install borghei/Claude-Skills business-intelligence --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/borghei/Claude-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/data-analytics/business-intelligence .claude/skills/business-intelligence && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
business-intelligence
GitHub stars
881
Token cost
~3.1k tokens
SKILL.md length
1,088 words
Files
4 (incl. scripts)
Skills in repo
349
Repo updated
First seen
Licence
MIT

At a glance

Business intelligence across dashboard design, visualization, and reporting automation.

  • Works in 6 steps: Clarify the reporting need -- Identify… → Define KPIs and metrics -- For each… → Design the dashboard layout -- Apply the… → …
  • Designing dashboards
  • SKILL.md covers Clarify First, Workflow, KPI Definition Template and Dashboard Design Principles, plus 12 more sections
  • Runs Python scripts from its folder; calls python

What it does

Business Intelligence is an agent skill from borghei/Claude-Skills. Business intelligence across dashboard design, visualization, and reporting automation. Use when designing dashboards, building KPI frameworks, automating reports, creating data stories, or optimizing BI tool performance.

Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/dashboard_spec_generator.py`, `scripts/kpi_tracker.py` and `scripts/metric_validator.py`).

It sits in Data & Analytics, covering OKRs and executive reporting and Data analysis. The repository describes itself as: 385 AI skills, 77 expert agents, and 900 stdlib Python tools for every team: engineering, PM, marketing, C-level, compliance, business ops, research, and a LinkedIn toolkit… The licence is MIT.

When your agent uses it

  • Designing dashboards
  • Building KPI frameworks
  • Automating reports
  • Creating data stories

Example prompts

  • “/business-intelligence”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Clarify the reporting need -- Identify the audience (executive, operational, self-service), the key questions the dashboard must answer…
  2. Define KPIs and metrics -- For each metric, specify the formula, data source, granularity, owner, and RAG thresholds using the KPI…
  3. Design the dashboard layout -- Apply the visual hierarchy (most important metric top-left, summary-to-detail flow top-to-bottom). Select…
  4. Build the semantic layer -- Define metric calculations, hierarchies, and row-level security in the BI tool's semantic model so consumers…
  5. Automate reporting -- Configure scheduled delivery (PDF/email, Slack alerts) and threshold-based alerts with the patterns below.
  6. Validate and iterate -- Confirm KPI values match source-of-truth queries. Check dashboard load time (<5 s target). Gather stakeholder…

What it can do on your machine

Read from SKILL.md and the folder at commit 4a698e8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Business Intelligence loads about 3.1k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 1,088 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from borghei/Claude-Skills at commit 4a698e8, republished under its MIT licence (© borghei). 1,088 words, ~3,148 tokens.

Download SKILL.mdSave it as .claude/skills/business-intelligence/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
business-intelligence
description
Business intelligence across dashboard design, visualization, and reporting automation. Use when designing dashboards, building KPI frameworks, automating reports, creating data stories, or optimizing BI tool performance.
license
MIT + Commons Clause
metadata.version
1.0.0
metadata.author
borghei
metadata.category
data-analytics
metadata.updated
2026-03-31
metadata.tags
bi, dashboards, visualization, reporting, insights

Business Intelligence

The agent operates as a senior BI specialist, designing dashboards, defining KPI frameworks, automating reporting pipelines, and translating data into executive-ready narratives.

Clarify First

Before designing the dashboard, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • Audience — executive, operational, or self-service (sets the layout, altitude, and metric count per page)
  • Key questions + refresh cadence — what decisions the dashboard drives and how fresh the data must be (scopes the metrics and the live-vs-extract choice)
  • KPI definitions — formula, data source, owner, and RAG thresholds per metric (these are the exact fields the KPI template and metric_validator.py require)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Workflow

  1. Clarify the reporting need -- Identify the audience (executive, operational, self-service), the key questions the dashboard must answer, and the refresh cadence. Validate that required data sources exist and are accessible.
  2. Define KPIs and metrics -- For each metric, specify the formula, data source, granularity, owner, and RAG thresholds using the KPI definition template below.
  3. Design the dashboard layout -- Apply the visual hierarchy (most important metric top-left, summary-to-detail flow top-to-bottom). Select chart types using the chart selection matrix. Limit to 5-8 visualizations per page.
  4. Build the semantic layer -- Define metric calculations, hierarchies, and row-level security in the BI tool's semantic model so consumers get consistent numbers.
  5. Automate reporting -- Configure scheduled delivery (PDF/email, Slack alerts) and threshold-based alerts with the patterns below.
  6. Validate and iterate -- Confirm KPI values match source-of-truth queries. Check dashboard load time (<5 s target). Gather stakeholder feedback and refine.

KPI Definition Template

yaml
# Copy and fill for each metric
kpi:
  name: "Monthly Recurring Revenue"
  owner: "Finance"
  purpose: "Track subscription revenue health"
  formula: "SUM(subscription_amount) WHERE status = 'active'"
  data_source: "billing.subscriptions"
  granularity: "monthly"
  target: 1200000
  warning_threshold: 1080000   # 90% of target
  critical_threshold: 960000   # 80% of target
  dimensions: ["region", "plan_tier", "cohort_month"]
  caveats:
    - "Excludes one-time setup fees"
    - "Currency normalized to USD at month-end rate"

Dashboard Design Principles

Visual hierarchy:

  1. Most important metrics at top-left
  2. Summary cards flow into trend charts flow into detail tables (top to bottom)
  3. Related metrics grouped; white space separates logical sections
  4. RAG status colors: Green #28A745 | Yellow #FFC107 | Red #DC3545 | Gray #6C757D

Chart selection matrix:

Data questionChart typeAlternative
Trend over timeLineArea
Part of wholeDonut / TreemapStacked bar
Comparison across categoriesBar / ColumnBullet
DistributionHistogramBox plot
RelationshipScatterBubble
GeographicChoroplethFilled map

Executive Dashboard Example

+------------------------------------------------------------+
|                   EXECUTIVE SUMMARY                         |
| Revenue: $12.4M (+15% YoY)   Pipeline: $45.2M (+22% QoQ)  |
| Customers: 2,847 (+340 MTD)  NPS: 72 (+5 pts)              |
+------------------------------------------------------------+
| REVENUE TREND (12-mo line)    | REVENUE BY SEGMENT (donut)  |
+-------------------------------+-----------------------------+
| TOP 10 ACCOUNTS (table)       | KPI STATUS (RAG cards)      |
+-------------------------------+-----------------------------+

Report Automation Patterns

Scheduled report (cron-style):

yaml
report:
  name: Weekly Sales Report
  schedule: "0 8 * * MON"
  recipients: [sales-team@company.com, leadership@company.com]
  format: PDF
  pages: [Executive Summary, Pipeline Analysis, Rep Performance]

Threshold alert:

yaml
alert:
  name: Revenue Below Target
  metric: daily_revenue
  condition: "actual < target * 0.9"
  channels:
    email: finance@company.com
    slack: "#revenue-alerts"
  message: "Daily revenue ${actual} is ${pct_diff}% below target. Top factors: ${top_factors}"

Automated generation workflow (Python):

python
def generate_report(config: dict) -> str:
    """Generate and distribute a scheduled report."""
    # 1. Refresh data sources
    refresh_data_sources(config["sources"])
    # 2. Calculate metrics
    metrics = calculate_metrics(config["metrics"])
    # 3. Create visualizations
    charts = create_visualizations(metrics, config["charts"])
    # 4. Compile into report
    report = compile_report(metrics=metrics, charts=charts, template=config["template"])
    # 5. Distribute
    distribute_report(report, recipients=config["recipients"], fmt=config["format"])
    return report.path

Self-Service BI Maturity Model

LevelCapabilityUsers can...
1 - ConsumersView & filterOpen dashboards, apply filters, export data
2 - ExplorersAd-hoc queriesWrite simple queries, create basic charts, share findings
3 - BuildersDesign dashboardsCombine data sources, create calculated fields, publish reports
4 - ModelersDefine data modelsCreate semantic models, define metrics, optimize performance

Performance Optimization Checklist

  • Limit visualizations per page (5-8 max)
  • Use data extracts or materialized views instead of live connections for heavy dashboards
  • Minimize calculated fields in the visualization layer; push logic to the semantic layer or warehouse
  • Apply context filters to reduce query scope
  • Aggregate at source when granularity allows
  • Schedule data refreshes during off-peak hours
  • Monitor and log query execution times; target < 5 s per dashboard load

Query optimization example:

sql
-- Before: full table scan
SELECT * FROM large_table WHERE date >= '2024-01-01';

-- After: partitioned, filtered, and column-pruned
SELECT order_id, customer_id, amount
FROM large_table
WHERE partition_date >= '2024-01-01'
  AND status = 'active'
LIMIT 10000;

Data Storytelling Structure

The agent frames every insight using Situation-Complication-Resolution:

  1. Situation -- "Last quarter we targeted 10% retention improvement."
  2. Complication -- "Enterprise churn rose 5%, driven by 30-day onboarding delays."
  3. Resolution -- "Reducing onboarding to 14 days correlates with 40% lower churn and could save $2M annually."

Governance

yaml
security_model:
  row_level_security:
    - rule: region_access
      filter: "region = user.region"
  object_permissions:
    - role: viewer
      permissions: [view, export]
    - role: editor
      permissions: [view, export, edit]
    - role: admin
      permissions: [view, export, edit, delete, publish]

Scripts

bash
python scripts/kpi_tracker.py --definitions kpis.json --data sales.csv
python scripts/kpi_tracker.py --definitions kpis.json --data sales.csv --json
python scripts/dashboard_spec_generator.py --definitions kpis.json --title "Sales Dashboard"
python scripts/dashboard_spec_generator.py --definitions kpis.json --layout 3-column --json
python scripts/metric_validator.py --definitions metrics.json --strict
python scripts/metric_validator.py --definitions metrics.json --json

Tool Reference

ToolPurposeKey Flags
kpi_tracker.pyCalculate KPIs from data against targets; report RAG status and variance--definitions <json>, --data <csv/json>, --json
dashboard_spec_generator.pyGenerate dashboard layout specs (chart types, positions, filters) from KPI definitions--definitions <json>, --title, --layout 2-column/3-column, --json
metric_validator.pyValidate metric definitions for completeness, naming, threshold logic, and consistency--definitions <json>, --strict, --json
Show full SKILL.md (479 more words)Show less

Troubleshooting

ProblemLikely CauseResolution
Dashboard loads slowly (> 5 s)Too many visualizations or live-connection queries hitting raw tablesReduce widgets to 5-8 per page; switch to extracts or materialized views for heavy dashboards
KPI values differ between dashboard and source queryDashboard applies additional filters, currency conversion, or calculated fields not in the semantic layerCentralize all metric logic in the semantic layer; remove dashboard-level computed fields
RAG thresholds trigger false alertsWarning/critical percentages are miscalibrated for seasonal patternsAdjust thresholds per season or use rolling baselines; validate with metric_validator.py --strict
Stakeholders ignore dashboardsDashboard answers the wrong questions or lacks actionable contextRedesign using the Situation-Complication-Resolution storytelling framework; add annotations and targets
Row-level security hides data unexpectedlySecurity rules are too broad or user-role mapping is incorrectAudit RLS rules; test with a sample user from each role; log filtered row counts
Scheduled report emails land in spamLarge PDF attachments or sender reputation issuesReduce attachment size; switch to embedded links; work with IT to whitelist the sender domain
metric_validator.py reports formula-aggregation mismatchThe formula field (e.g., "SUM(...)") does not match the declared aggregationAlign the two fields; the aggregation field drives the tool while the formula documents intent

Success Criteria

  • Dashboard load time is under 5 seconds for 95% of page views.
  • KPI definitions pass metric_validator.py --strict with zero errors before production deployment.
  • Executive dashboards follow the visual hierarchy: summary cards at top-left, trends in the middle, detail tables at the bottom.
  • Every KPI has a defined owner, target, and RAG thresholds documented in the definitions file.
  • Self-service BI adoption reaches Level 2 (Explorers) for at least 60% of target users within 90 days.
  • Scheduled reports are delivered within 15 minutes of the configured schedule window.
  • Data storytelling follows the What / So What / Now What structure with quantified impact in every insight.

Scope & Limitations

In scope: Dashboard design and layout, KPI framework definition, report automation patterns, data storytelling, self-service BI enablement, row-level security configuration, and visualization best practices.

Out of scope: Data warehouse infrastructure, ETL/ELT pipeline development, raw data ingestion, machine learning model building, and BI tool installation or licensing.

Limitations: The Python tools (kpi_tracker.py, dashboard_spec_generator.py, metric_validator.py) operate on local JSON and CSV files only -- they do not connect to live databases or BI platforms. All scripts use the Python standard library with no external dependencies. Dashboard specifications are platform-agnostic and require manual translation to specific BI tools (Tableau, Power BI, Looker, etc.).

Integration Points

  • Analytics Engineer (data-analytics/analytics-engineer): Provides the mart models and semantic-layer metrics that dashboards consume; schema changes require dashboard updates.
  • Data Analyst (data-analytics/data-analyst): Creates ad-hoc analyses that may evolve into repeatable dashboards; shares visualization standards.
  • Product Team (product-team/): Defines product KPIs and user-facing analytics requirements.
  • C-Level Advisor (c-level-advisor/): Executive dashboards translate strategic objectives into measurable KPIs.
  • Finance (finance/): Financial KPIs (MRR, CAC, LTV) require alignment between BI dashboards and finance team definitions.

© borghei, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in data-analytics/business-intelligence of borghei/Claude-Skills.

  • SKILL.md
  • scripts/dashboard_spec_generator.py
  • scripts/kpi_tracker.py
  • scripts/metric_validator.py

Open the folder on GitHubat commit 4a698e8

Compare with similar skills

Business Intelligence next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Business Intelligence compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Business Intelligence this skillborghei/Claude-Skills881—~3.1kAutomated safety check: PassMIT
Afa Dashboardafadtc/afa-dtc-skills168—~1.8kAutomated safety check: PassCustom licence
Data Analytics Business Intelligencechendongqi/OPB-Skills125—~1.2kAutomated safety check: PassNone
Business Metrics Calculatornimrodfisher/data-analytics-skills465—~668Automated safety check: PassMIT
Business Overview Analysiszj-unicom-ai/UniEmployee358—~662Automated safety check: PassMIT
Data AnalyticsXiaomiMiMo/MiMo-Code14k—~961Automated safety check: PassMIT

Similar skills

  • Afa Dashboard

    afadtc/afa-dtc-skills

    DTC 数据仪表盘与体检引擎——全链路数据分析、KPI 追踪、行业基准对标、数据健康度评估、市场趋势监控。Use when user mentions: 数据体检, data audit, KPI, 仪表盘, dashboard, 指标追踪, metrics, 基准线, benchmark, 数据分析, data analysis, 营收报表, revenue report, 渠道数据…

    168 GitHub stars~1.8k tokensUpdated 9 days ago
    Data & AnalyticsAuto-check passed
  • 商业智能助手 - 专业的BI系统设计与业务决策支持专家。适用场景: (1) BI报表与仪表板设计 (2) KPI指标体系构建与监控 (3) 业务数据可视化方案 (4) 管理驾驶舱设计 (5) 自助分析平台规划 (6) BI工具选型与实施 (7) 数据驱动决策支持 触发关键词:商业智能、BI报表、仪表板、Dashboard、KPI、数据可视化、管理驾驶舱、自助分析、决策支持、数据看板、经营分析

    125 GitHub stars~1.2k tokensUpdated 7 mo ago
    Data & AnalyticsAuto-check passed
  • Business Metrics Calculator

    nimrodfisher/data-analytics-skills

    Standard business metric calculation with industry benchmarks.

    465 GitHub stars~668 tokensUpdated 13 days ago
    Data & AnalyticsAuto-check passed
  • Business Overview Analysis

    zj-unicom-ai/UniEmployee

    Produces a full business health analysis from sales, finance, inventory and customer CSV files: core KPIs, monthly trends, drill-downs and recommendations.

    358 GitHub stars~662 tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Data Analytics

    XiaomiMiMo/MiMo-Code

    A skill your agent uses for quantitative product or business analysis: data quality checks, metric diagnostics, KPI design and reporting, dashboards, analytical reports, charts, notebooks, market…

    14k GitHub stars~961 tokensUpdated 4 days ago
    Data & AnalyticsAuto-check passed
  • Kpi Definition Helper

    jeremylongshore/tons-of-skills-marketplace

    Configure with kpi definition helper operations. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~568 tokensUpdated today
    Business, Finance & HRAuto-check passed

More from borghei/Claude-Skills

All 349 skills in this repo
  • Agents In The Team

    borghei/Claude-Skills

    Run delivery when AI coding and ops agents take tickets. An agent skill from borghei/Claude-Skills.

    881 GitHub stars~4.2k tokensUpdated today
    Auto-check passed
  • AI Content Disclosure

    borghei/Claude-Skills

    Check AI-generated marketing content and reviews for required disclosures under the EU AI Act, FTC rules and platform AI-label policies.

    881 GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • AI Prototyping

    borghei/Claude-Skills

    Idea to AI-generated prototype to customer validation to engineering handoff.

    881 GitHub stars~3.6k tokensUpdated today
    Auto-check passed
  • Analytics Engineer

    borghei/Claude-Skills

    Analytics engineering across data modeling, dbt, transformation, and semantic layers.

    881 GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • Ansoff Matrix

    borghei/Claude-Skills

    Ansoff Matrix — 4-quadrant framework for growth options: market penetration, market/product development, and diversification.

    881 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Brainstorm Okrs

    borghei/Claude-Skills

    OKR brainstorming and validation using the Radical Focus framework — outcome objectives, measurable key results, counter-metrics.

    881 GitHub stars~1.4k tokensUpdated today
    Auto-check passed

Questions about Business Intelligence

What does Business Intelligence do?

Business intelligence across dashboard design, visualization, and reporting automation. Business Intelligence is an agent skill from borghei/Claude-Skills. Business intelligence across dashboard design, visualization, and reporting automation.

When should I use Business Intelligence?

Business Intelligence fits situations like: designing dashboards; building KPI frameworks; automating reports; creating data stories.

How do I install Business Intelligence in Claude Code?

Run `npx skills add borghei/Claude-Skills --skill business-intelligence -a claude-code`. Or copy the skill folder (data-analytics/business-intelligence in borghei/Claude-Skills) into .claude/skills/business-intelligence in your project. Claude Code loads it when a task matches its description.

How do I install Business Intelligence in Codex?

Run `npx skills add borghei/Claude-Skills --skill business-intelligence -a codex`. Or copy the skill folder (data-analytics/business-intelligence in borghei/Claude-Skills) into .agents/skills/business-intelligence in your project. Codex loads it when a task matches its description.

Can I use Business Intelligence in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add borghei/Claude-Skills --skill business-intelligence -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/business-intelligence, .gemini/skills/business-intelligence, .github/skills/business-intelligence and .opencode/skills/business-intelligence in your project.

What does Business Intelligence need to run?

Going by SKILL.md and its folder, Business Intelligence needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Business Intelligence access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Business Intelligence safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Business Intelligence use?

Business Intelligence is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Business Intelligence use?

About 3.1k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Business Intelligence?

Skills that share tags, products or a category with Business Intelligence: Afa Dashboard (afadtc/afa-dtc-skills, 168 stars), Data Analytics Business Intelligence (chendongqi/OPB-Skills, 125 stars), Business Metrics Calculator (nimrodfisher/data-analytics-skills, 465 stars) and Business Overview Analysis (zj-unicom-ai/UniEmployee, 358 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Business Intelligence?

borghei (a GitHub user) maintains it in borghei/Claude-Skills, which has 881 GitHub stars. The repository holds 349 skills in this directory. The repository was last updated on October 7, 2026.

Source: borghei/Claude-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.