Skip to content
Back to skills

Collection

ASecurity

Generate Excel workbooks with formulas, charts, and formatting. Use for financial reports, data analysis, dashboards, and structured data presentation.

  • 24 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
datapythongitapiperformancedocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add mattnigh/skills_collection --skill collection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Collection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Collection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mattnigh-collection-7455649a/badge)](https://www.skillsdirectory.com/skills/mattnigh-collection-7455649a)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: excel-generator
description: Generate Excel workbooks with formulas, charts, and formatting. Use for financial reports, data analysis, dashboards, and structured data presentation.
allowed-tools: read, write, memory
version: 1.0
best_practices:
  - Use 2-3 sheets per workbook for optimal performance
  - Focus each sheet on a specific purpose
  - Add complexity incrementally
  - Use structured data (JSON/CSV) for efficiency
error_handling: graceful
streaming: supported
---

# Excel Generator Skill

## Identity

Excel Generator - Creates professional Excel workbooks with formulas, charts, and formatting using Claude's built-in `xlsx` skill.

## Capabilities

- **Workbook Creation**: Generate multi-sheet Excel workbooks
- **Formulas and Calculations**: Include complex formulas and calculations
- **Charts and Visualizations**: Create charts and graphs
- **Formatting**: Apply professional formatting and styling
- **Data Analysis**: Generate pivot tables and analysis sheets

## Usage

### Basic Excel Generation

**When to Use**:
- Financial reports and analysis
- Data dashboards
- Budget planning
- Performance metrics
- Structured data presentation

**How to Invoke**:
```
"Generate an Excel workbook with Q4 financial data"
"Create a budget spreadsheet with formulas"
"Generate a data analysis dashboard in Excel"
```

**What It Does**:
- Uses Claude's built-in `xlsx` skill (skill_id: `xlsx`)
- Creates Excel workbooks with multiple sheets
- Includes formulas, charts, and formatting
- Returns file_id for download

### Advanced Features

**Multi-Sheet Workbooks**:
- Create 2-3 sheets per workbook (optimal performance)
- Each sheet focused on specific purpose
- Link data between sheets

**Formulas and Calculations**:
- Complex financial formulas
- Statistical calculations
- Data aggregations
- Conditional logic

**Charts and Visualizations**:
- Line charts for trends
- Bar charts for comparisons
- Pie charts for distributions
- Scatter plots for correlations

## Best Practices

### Workbook Structure

**Recommended Approach**:
- **2-3 sheets per workbook** - Works reliably and generates quickly
- **Focus each sheet** on a specific purpose (e.g., P&L, metrics, charts)
- **Add complexity incrementally** - Start simple, then enhance

**For Complex Dashboards**:
1. **Create multiple focused files** instead of one complex file
   - Example: `financial_pnl.xlsx`, `balance_sheet.xlsx`, `kpi_dashboard.xlsx`
2. **Use the pipeline pattern** to create and enhance files sequentially
3. **Combine files programmatically** using pandas or openpyxl if needed

### Performance Tips

- **Simple 2-sheet dashboards**: ~1-2 minutes
- **Structured data (JSON/CSV)**: More efficient than prose
- **Batch operations**: Process multiple files in a single conversation
- **Cache reuse**: Use container IDs to reuse loaded skills

## Integration

### With Artifact Publisher

Excel files can be published as artifacts:
- Save to `.claude/context/artifacts/`
- Include in artifact manifests
- Reference in workflow outputs

### With Workflows

Excel generation integrates with workflows:
- Financial reporting workflows
- Data analysis workflows
- Dashboard generation workflows

## Examples

### Example 1: Financial Report

```
User: "Generate a Q4 financial report in Excel"

Excel Generator:
1. Creates workbook with 3 sheets:
   - P&L Statement
   - Balance Sheet
   - Cash Flow
2. Includes formulas for calculations
3. Adds charts for visualization
4. Applies professional formatting
5. Returns file_id for download
```

### Example 2: Data Dashboard

```
User: "Create a KPI dashboard in Excel"

Excel Generator:
1. Creates workbook with 2 sheets:
   - Metrics Summary
   - Trend Analysis
2. Includes pivot tables
3. Adds charts for key metrics
4. Formats for presentation
```

### Example 3: Budget Planning

```
User: "Generate a budget spreadsheet with formulas"

Excel Generator:
1. Creates budget workbook
2. Includes formulas for totals and variances
3. Adds conditional formatting
4. Creates summary charts
```

## Technical Details

### API Usage

Uses Claude's beta Skills API:
```python
response = client.beta.messages.create(
    model="claude-sonnet-4-5",
    container={"type": "skills", "skills": [{"type": "anthropic", "skill_id": "xlsx", "version": "latest"}]},
    messages=[{"role": "user", "content": "Create Excel workbook..."}]
)
```

### File Download

Files are returned as `file_id`:
```python
file_id = response.content[0].file_id
file_content = client.beta.files.content(file_id)
```

## Related Skills

- **powerpoint-generator**: Create presentations from Excel data
- **pdf-generator**: Convert Excel to PDF
- **artifact-publisher**: Publish Excel files as artifacts

## Related Documentation

- [Document Generation Guide](../docs/DOCUMENT_GENERATION.md) - Comprehensive guide
- [Skills Cookbook](https://github.com/anthropics/anthropic-cookbook/tree/main/skills) - Reference implementation

Files in this skill

  • 0Chan-smc__claude-code-workflow-lab__claude__skills__frontend-dev-guidelines__SKILL.md15.1 KB
  • 17hz__nextjs-template__claude__skills__example-skill__SKILL.md316 B
  • 1ambda__dataops-platform__claude__skills__context-synthesis__SKILL.md3.5 KB
  • 1natsu172__dotfiles__claude__skills__git-analysis__SKILL.md5.4 KB
  • 1natsu172__dotfiles__claude__skills__github-pr-best-practices__SKILL.md7.7 KB
  • 23Maestro__prospect-pipeline__claude__skills__npid-fastapi-skill.md26.1 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-code-javascript__SKILL.md15.7 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-code-python__SKILL.md17.5 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-expression-syntax__SKILL.md9.4 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-mcp-tools-expert__SKILL.md12.5 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-node-configuration__SKILL.md16.6 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-workflow-patterns__SKILL.md11.2 KB
  • 3x-Projetos__claude-memory-framework__claude__skills__scientist__SKILL.md14.8 KB
  • 5MinFutures__futures-arena__claude__skills__migration-tracker__SKILL.md16.2 KB
  • 5MinFutures__futures-arena__claude__skills__planning-guidelines__SKILL.md11.8 KB
  • 92Bilal26__TaskPilotAI__claude__skills__assessment-builder__SKILL.md17.5 KB
  • 92Bilal26__TaskPilotAI__claude__skills__book-scaffolding__SKILL.md19.1 KB
  • 92Bilal26__TaskPilotAI__claude__skills__code-validation-sandbox__SKILL.md6.2 KB
  • 92Bilal26__TaskPilotAI__claude__skills__exercise-designer__SKILL.md18.1 KB
  • 92Bilal26__TaskPilotAI__claude__skills__learning-objectives__SKILL.md24.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in data →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.