Business Analytics Reporter 标志

Business Analytics Reporter

社区
ailabs-393
business-analytics-reporter

This skill should be used when analyzing business sales and revenue data from CSV files to identify weak areas, generate statistical insights, and provide strategic improvement recommendations. Use when the user requests a business performance report, asks to analyze sales data, wants to identify areas of weakness, or needs recommendations on business improvement strategies.

Add to TypingMind

概览

发布者ailabs-393
代码仓库ai-labs-claude-skills
技能名称business-analytics-reporter
星标数
447
复刻数
115
附带文件
6
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 6 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 ailabs-393 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Business Analytics Reporter AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/ailabs-393/ai-labs-claude-skills/tree/main/packages/skills/business-analytics-reporter
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ailabs-393/ai-labs-claude-skills.git /tmp/ai-labs-claude-skills
mkdir -p .claude/skills
cp -r /tmp/ai-labs-claude-skills/packages/skills/business-analytics-reporter .claude/skills/business-analytics-reporter
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Business Analytics Reporter,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Business Analytics Reporter。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Business Analytics Reporter 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Business Analytics Reporter

Overview

Generate comprehensive business performance reports that analyze sales and revenue data, identify areas where the business is lacking, interpret what the statistics indicate, and provide actionable improvement strategies. The skill uses data-driven analysis to detect weak areas and recommends specific strategies backed by business frameworks.

When to Use This Skill

Invoke this skill when users request:

  • "Analyze my business data and tell me where we're lacking"
  • "Generate a report on what areas need improvement"
  • "What do these sales numbers tell us about our business performance?"
  • "Create a business analysis report with improvement strategies"
  • "Identify weak areas in our revenue data"
  • "What strategies should we use to improve our business metrics?"

The skill expects CSV files containing business data (sales, revenue, transactions) with columns like dates, amounts, categories, or products.

Core Workflow

Step 1: Data Loading and Exploration

Start by understanding the data structure and what the user wants to analyze.

Ask clarifying questions if needed:

  • What specific metrics or areas should the analysis focus on?
  • Are there particular time periods or categories of interest?
  • Should the report include visualizations or focus on written analysis?

Load and explore the data:

python
import pandas as pd

# Load the CSV file
df = pd.read_csv('business_data.csv')

# Display basic information
print(f"Data shape: {df.shape}")
print(f"Columns: {df.columns.tolist()}")
print(f"Date range: {df['date'].min()} to {df['date'].max()}")
print(df.head())

Step 2: Run Automated Analysis

Use the bundled analysis script to generate comprehensive insights:

bash
python scripts/analyze_business_data.py path/to/business_data.csv output_report.json

The script will:

  1. Automatically detect data structure (revenue columns, date columns, categories)
  2. Calculate statistical metrics (mean, median, growth rates, volatility)
  3. Identify trends and patterns
  4. Detect weak areas and underperforming segments
  5. Generate improvement strategies based on findings
  6. Output a structured JSON report

Output structure:

json
{
  "metadata": {...},
  "findings": {
    "basic_statistics": {...},
    "trend_analysis": {...},
    "category_analysis": {...},
    "variability": {...}
  },
  "weak_areas": [...],
  "improvement_strategies": [...]
}

Step 3: Interpret the Analysis Results

Read the generated JSON report and interpret the findings for the user in plain language.

Focus on:

  1. Current State: What the data shows about business performance
  2. Weak Areas: Specific problems identified with severity levels
  3. Root Causes: Why these issues exist (use business frameworks from references/)
  4. Impact: What these weaknesses mean for the business

Example interpretation:

Based on the analysis of your sales data from January to December 2024:

Current State:
- Total revenue: $1.2M with average monthly revenue of $100K
- Average growth rate: -3.5% indicating declining performance
- Revenue stability: High volatility (CV: 58%) suggesting inconsistent performance

Weak Areas Identified:
1. Revenue Growth (High Severity): Negative average growth rate of -3.5%
2. Performance Consistency (Medium Severity): 45% of periods show declining performance
3. Category Performance (Medium Severity): 4 underperforming categories identified

Step 4: Generate Detailed Recommendations

Consult the business frameworks reference to provide strategic recommendations:

Load business frameworks for context: Refer to references/business_frameworks.md for:

  • Revenue growth strategies (market penetration, product development, etc.)
  • Operational excellence frameworks
  • Customer-centric strategies
  • Pricing strategy frameworks
  • Common weak area solutions

Structure recommendations as:

For each identified weak area, provide:

  1. Strategic Initiative Name: Clear, actionable program name
  2. Objective: What this strategy aims to achieve
  3. Key Actions: 3-5 specific, prioritized steps
  4. Expected Impact: High/Medium/Low
  5. Timeline: Realistic implementation timeframe
  6. Success Metrics: How to measure improvement

Example recommendation:

Strategy: Revenue Acceleration Program
Area: Revenue Growth
Objective: Reverse negative growth trend and achieve 10%+ monthly growth

Key Actions:
1. Implement aggressive customer acquisition campaigns
2. Review and optimize pricing strategy
3. Launch upselling and cross-selling initiatives
4. Expand into new market segments or geographies
5. Accelerate product development and innovation

Expected Impact: High
Timeline: 3-6 months
Success Metrics: Monthly revenue growth rate, new customer acquisition, ARPU increase

Step 5: Create Visualizations (Optional)

If requested, create interactive visualizations using Plotly to illustrate findings:

Consult visualization guide: Refer to references/visualization_guide.md for:

  • Recommended chart types for different analyses
  • Code examples for creating charts
  • Best practices for business dashboards

Common visualizations to create:

  1. Revenue Trend Chart: Line chart showing revenue over time with growth rate overlay
  2. Category Performance: Bar chart sorted by revenue contribution
  3. Volatility Analysis: Box plot or standard deviation visualization
  4. Weak Areas Heatmap: Visual representation of severity and impact

Example code for revenue trend:

python
import plotly.graph_objects as go
from plotly.subplots import make_subplots

fig = make_subplots(specs=[[{"secondary_y": True}]])

# Add revenue line
fig.add_trace(
    go.Scatter(x=df['date'], y=df['revenue'], name="Revenue",
               line=dict(color='blue', width=3)),
    secondary_y=False
)

# Add growth rate line
fig.add_trace(
    go.Scatter(x=df['date'], y=df['growth_rate'], name="Growth Rate",
               line=dict(color='green', dash='dash')),
    secondary_y=True
)

fig.update_layout(title_text="Revenue Performance & Growth Rate")
fig.show()

Step 6: Generate Final Report

Compile findings into a comprehensive report format.

Option A: Generate HTML Report

Use the report template from assets/report_template.html:

python
# Read the template
with open('assets/report_template.html', 'r') as f:
    template = f.read()

# Load analysis results
with open('output_report.json', 'r') as f:
    analysis = json.load(f)

# Populate the template with actual data
# Replace placeholders with real values from analysis
# Add Plotly charts as JavaScript
# Save as final HTML report

with open('business_report.html', 'w') as f:
    f.write(populated_template)

The HTML template includes:

  • Executive summary with key metrics
  • Interactive charts for trends and categories
  • Styled weak area cards with severity indicators
  • Strategic recommendations with action items
  • Professional styling and print-ready format

Option B: Generate Markdown Report

Create a structured markdown document:

markdown
# Business Performance Analysis Report

**Generated:** [Date]
**Data Period:** [Period]

## Executive Summary

[Brief overview of findings]

## Key Metrics

- Total Revenue: $X
- Average Growth Rate: X%
- Revenue Stability: [Assessment]
- Weak Areas Identified: X

## Performance Trends

[Insert chart or describe trends]

## Areas of Weakness

### 1. [Weak Area Name] (Severity)
**Finding:** [Description]
**Impact:** [Business impact]

### 2. [Next weak area...]

## Strategic Recommendations

### Strategy 1: [Name]
**Objective:** [Goal]
**Actions:**
- [Action 1]
- [Action 2]
...

**Expected Impact:** High/Medium/Low
**Timeline:** X months

Key Analysis Metrics

The analysis script calculates the following metrics automatically:

Growth Analysis

  • Average Growth Rate: Period-over-period revenue change percentage
  • Declining Period Count: Number of periods with negative growth
  • Trend Direction: Overall trajectory (growing, declining, stable)

Stability Analysis

  • Coefficient of Variation (CV): Measures revenue volatility
    • CV < 25%: Stable performance
    • CV 25-50%: Moderate volatility
    • CV > 50%: High volatility (flag as weak area)

Category Performance

  • Revenue Contribution: Percentage breakdown by category
  • Underperforming Categories: Bottom 25% by average performance
  • Top/Bottom Performers: Best and worst performing categories

Statistical Indicators

  • Mean, Median, Standard Deviation for all numeric columns
  • Min/Max values and ranges
  • Total aggregates

Business Frameworks Reference

When generating recommendations, leverage the frameworks documented in references/business_frameworks.md:

  1. Revenue Growth Strategies: Market penetration, product development, market development, diversification
  2. Operational Excellence: Process optimization, resource allocation, quality management
  3. Customer-Centric Strategies: Retention programs, CLV optimization, segmentation
  4. Pricing Strategies: Value-based, dynamic, competitive pricing
  5. Data-Driven Decision Making: Analytics maturity model, KPI frameworks

Match identified weak areas with appropriate strategic frameworks to provide contextually relevant recommendations.

Tips for Effective Reports

  1. Start with the Big Picture: Lead with overall performance and key findings
  2. Prioritize by Severity: Focus on high-severity issues first
  3. Be Specific: Provide concrete numbers and percentages, not vague assessments
  4. Action-Oriented: Every weak area should have actionable recommendations
  5. Context Matters: Consider industry benchmarks and business context
  6. Visual Communication: Use charts to make trends immediately clear
  7. Executive-Friendly: Structure for quick scanning with clear headers and summaries

Common Weak Areas and Detection

The analysis automatically detects these common business problems:

Weak AreaDetection CriteriaTypical Root Causes
Revenue GrowthNegative average growth rateMarket saturation, increased competition, poor positioning
Performance Consistency>40% declining periodsLack of recurring revenue, seasonal dependency
Revenue StabilityCV > 50%Customer concentration, volatile demand
Category PerformanceCategories in bottom 25%Poor product-market fit, pricing issues, low awareness

Example Usage

User request: "Analyze my Q4 sales data and tell me where we're weak and how to improve"

Workflow:

  1. Load the CSV: df = pd.read_csv('q4_sales.csv')
  2. Run analysis: python scripts/analyze_business_data.py q4_sales.csv q4_report.json
  3. Read results: with open('q4_report.json') as f: report = json.load(f)
  4. Interpret findings for the user in natural language
  5. Create visualizations using Plotly (refer to references/visualization_guide.md)
  6. Generate HTML report using assets/report_template.html
  7. Provide strategic recommendations using references/business_frameworks.md

Expected output:

  • Clear explanation of current business performance
  • 3-5 identified weak areas with severity levels
  • 4-6 strategic initiatives with specific action plans
  • Interactive visualizations (if requested)
  • Professional HTML or markdown report

Resources

scripts/

  • analyze_business_data.py: Automated analysis engine that detects data structure, calculates metrics, identifies weak areas, and generates improvement strategies

references/

  • business_frameworks.md: Comprehensive guide to business strategy frameworks, common weak areas, and solution templates
  • visualization_guide.md: Chart type recommendations, Plotly code examples, and dashboard design best practices

assets/

  • report_template.html: Professional HTML template with interactive visualizations, styled cards for weak areas and strategies, and print-ready formatting

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Business Analytics Reporter AI 技能有什么作用?

This skill should be used when analyzing business sales and revenue data from CSV files to identify weak areas, generate statistical insights, and provide strategic improvement recommendations. Use when the user requests a business performance report, asks to analyze sales data, wants to identify areas of weakness, or needs recommendations on business improvement strategies.

为什么在 TypingMind 中使用 Business Analytics Reporter?

因为您只需安装一次,就能搭配任何模型使用。Business Analytics Reporter 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Business Analytics Reporter?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/ailabs-393/ai-labs-claude-skills/tree/main/packages/skills/business-analytics-reporter。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Business Analytics Reporter?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Business Analytics Reporter 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Business Analytics Reporter 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Business Analytics Reporter AI 技能免费吗?

是的。ailabs-393 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇