agentleFS
SeifBenayedSeifBenayed/cloclo/.claude/skills/xlsx/SKILL.md

xlsx

Skill114 starsChanged 8 months agoMITView on GitHub

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

196 other projects use a version of this, 159 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use context7-efficient, gift-evaluator and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • hfzarslanSkill

    context7-efficient

    Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

    Also in 5 projects that use this

  • jjyaoaoSkill

    gift-evaluator

    The PRIMARY tool for Spring Festival gift analysis and social interaction generation. Use this skill when users upload photos of gifts (alcohol, tea, supplements, etc.) to inquire about their value, authenticity, or how to respond socially. Integrates visual perception, market valuation, and HTML card generation.

    Also in 4 projects that use this

  • jjyaoaoSkill

    Podcast Generate

    Generate podcast episodes from user-provided content or by searching the web for specified topics. If user uploads a text file/article, creates a dual-host dialogue podcast (or single-host upon request). If no content is provided, searches the web for information about the user-specified topic and generates a podcast. Duration scales with content size (3-20 minutes, ~240 chars/min). Uses z-ai-web-dev-sdk for LLM script generation and TTS audio synthesis. Outputs both a podcast script (Markdown) and a complete audio file (WAV).

    Also in 4 projects that use this

  • MindrallySkill

    llm

    Large Language Model development, training, fine-tuning, and deployment best practices.

    Also in 4 projects that use this

  • JetBrainsSkill

    doc-coauthoring

    Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

    Also in 71 projects that use this

  • AnthropicSkill

    web-artifacts-builder

    Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

    Also in 61 projects that use this

  • +2 more from jjyaoao

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. 14 are common, 2 are distinctive, and 0 are very specific to this project.

  • 14

    Common

    Most of the 190 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use a consistent, professional font (e.g., Arial, Times New Roman) for all deliverables unless otherwise instructed by the user

    line 12
  2. Common:

    Every Excel model MUST be delivered with ZERO formula errors (#REF!, #DIV/0!, #VALUE!, #N/A, #NAME?)

    line 15
  3. Common:

    Never impose standardized formatting on files with established patterns

    line 20
  4. Common:

    Black text (RGB: 0,0,0): ALL formulas and calculations

    line 30
  5. Common:

    Currency: Use $#,##0 format; ALWAYS specify units in headers ("Revenue ($mm)")

    line 39
  6. Common:

    Zeros: Use number formatting to make all zeros "-", including percentages (e.g., "$#,##0;($#,##0);-")

    line 40
  7. Common:

    Percentages: Default to 0.0% format (one decimal)

    line 41
  8. Common:

    Negative numbers: Use parentheses (123) not minus -123

    line 43
  9. Common:

    Place ALL assumptions (growth rates, margins, multiples, etc.) in separate assumption cells

    line 48
  10. Common:

    Use cell references instead of hardcoded values in formulas

    line 49
  11. Common:

    Verify all cell references are correct

    line 53
  12. Common:

    Check for off-by-one errors in ranges

    line 54
  13. Common:

    Ensure consistent formulas across all projection periods

    line 55
  14. Common:

    Test with edge cases (zero values, negative numbers)

    line 56
  15. Common:

    Verify no unintended circular references

    line 57
  16. Distinctive:

    Do NOT use Python/Bash for spreadsheet operations.

    line 80

“Common” is measured: kept by at least 6 in 10 of the 190 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Requirements for Outputs

All Excel files

Professional Font

  • Use a consistent, professional font (e.g., Arial, Times New Roman) for all deliverables unless otherwise instructed by the user

Zero Formula Errors

  • Every Excel model MUST be delivered with ZERO formula errors (#REF!, #DIV/0!, #VALUE!, #N/A, #NAME?)
  • Always verify with: Spreadsheet { action: "check_errors", file_path: "output.xlsx" }

Preserve Existing Templates (when updating templates)

  • Study and EXACTLY match existing format, style, and conventions when modifying files
  • Never impose standardized formatting on files with established patterns
  • Existing template conventions ALWAYS override these guidelines

Financial models

Color Coding Standards

Unless otherwise stated by the user or existing template

Industry-Standard Color Conventions

  • Blue text (RGB: 0,0,255): Hardcoded inputs, and numbers users will change for scenarios
  • Black text (RGB: 0,0,0): ALL formulas and calculations
  • Green text (RGB: 0,128,0): Links pulling from other worksheets within same workbook
  • Red text (RGB: 255,0,0): External links to other files
  • Yellow background (RGB: 255,255,0): Key assumptions needing attention or cells that need to be updated

Number Formatting Standards

Required Format Rules

  • Years: Format as text strings (e.g., "2024" not "2,024")
  • Currency: Use $#,##0 format; ALWAYS specify units in headers ("Revenue ($mm)")
  • Zeros: Use number formatting to make all zeros "-", including percentages (e.g., "$#,##0;($#,##0);-")
  • Percentages: Default to 0.0% format (one decimal)
  • Multiples: Format as 0.0x for valuation multiples (EV/EBITDA, P/E)
  • Negative numbers: Use parentheses (123) not minus -123

Formula Construction Rules

Assumptions Placement

  • Place ALL assumptions (growth rates, margins, multiples, etc.) in separate assumption cells
  • Use cell references instead of hardcoded values in formulas
  • Example: Use =B5*(1+$B$6) instead of =B5*1.05

Formula Error Prevention

  • Verify all cell references are correct
  • Check for off-by-one errors in ranges
  • Ensure consistent formulas across all projection periods
  • Test with edge cases (zero values, negative numbers)
  • Verify no unintended circular references

Documentation Requirements for Hardcodes

  • Comment or in cells beside (if end of table). Format: "Source: [System/Document], [Date], [Specific Reference], [URL if applicable]"
  • Examples:
    • "Source: Company 10-K, FY2024, Page 45, Revenue Note, [SEC EDGAR URL]"
    • "Source: Bloomberg Terminal, 8/15/2025, AAPL US Equity"

Workflow

Use the Spreadsheet tool for everything

The Spreadsheet tool handles ALL operations natively — no Python, no Bash, no dependencies.

Available actions

  • Reading: inspect, list_sheets, get_sheet_info, read_range
  • Writing: write_range, append_rows, set_cell (supports formulas: value: "=SUM(A1:A10)")
  • Searching: find_text
  • Validation: check_errors, inspect_formulas
  • Formatting: format_cells, set_column_width
  • Structure: create, add_sheet
  • Export: export_csv

Do NOT use Python/Bash for spreadsheet operations. The Spreadsheet tool is the single source of truth.

Common Workflows

1. Inspect an existing file

Spreadsheet { action: "inspect", file_path: "data.xlsx" }
Spreadsheet { action: "list_sheets", file_path: "data.xlsx" }
Spreadsheet { action: "read_range", file_path: "data.xlsx", sheet: "Summary", range: "A1:F20" }

2. Create a new workbook

Spreadsheet { action: "create", file_path: "output.xlsx", sheets: ["Summary", "Data", "Assumptions"] }
Spreadsheet { action: "write_range", file_path: "output.xlsx", sheet: "Summary", range: "A1", values: [["Revenue","Q1","Q2","Q3","Q4"],["Product A",100,120,130,150]] }
Spreadsheet { action: "format_cells", file_path: "output.xlsx", sheet: "Summary", range: "A1:E1", format: {"bold": true, "fill": "4472C4", "color": "FFFFFF"} }
Spreadsheet { action: "set_column_width", file_path: "output.xlsx", column: "A", width: 20 }

3. Edit existing data

Spreadsheet { action: "read_range", file_path: "model.xlsx", sheet: "Input" }
Spreadsheet { action: "set_cell", file_path: "model.xlsx", sheet: "Input", cell: "B5", value: "150000" }
Spreadsheet { action: "append_rows", file_path: "model.xlsx", sheet: "Data", rows: [["2026-Q1", 250, 180, 70]] }

4. Verify and fix errors

Spreadsheet { action: "check_errors", file_path: "output.xlsx" }

Returns:

{
  "status": "success",
  "totalErrors": 0,
  "formulaCount": 42,
  "errorSummary": {}
}

Or if errors found:

{
  "status": "errors_found",
  "totalErrors": 3,
  "formulaCount": 42,
  "errorSummary": {
    "#REF!": { "count": 2, "locations": ["Sheet1!B5", "Sheet1!C10"] },
    "#DIV/0!": { "count": 1, "locations": ["Sheet1!D15"] }
  }
}

Fix the identified errors and check again until status: "success".

5. Search across sheets

Spreadsheet { action: "find_text", file_path: "report.xlsx", query: "revenue" }

6. Export to CSV

Spreadsheet { action: "export_csv", file_path: "data.xlsx", sheet: "Summary" }

7. Financial model with formulas

Spreadsheet { action: "create", file_path: "model.xlsx", sheets: ["Model"] }
Spreadsheet { action: "set_cell", file_path: "model.xlsx", sheet: "Model", cell: "A1", value: "Revenue" }
Spreadsheet { action: "set_cell", file_path: "model.xlsx", sheet: "Model", cell: "B1", value: "Q1" }
Spreadsheet { action: "format_cells", file_path: "model.xlsx", sheet: "Model", range: "A1:B1", format: {"bold": true} }
Spreadsheet { action: "set_cell", file_path: "model.xlsx", sheet: "Model", cell: "B2", value: "100" }
Spreadsheet { action: "set_cell", file_path: "model.xlsx", sheet: "Model", cell: "B3", value: "=B2*1.1" }
Spreadsheet { action: "set_cell", file_path: "model.xlsx", sheet: "Model", cell: "B4", value: "=SUM(B2:B3)" }
Spreadsheet { action: "check_errors", file_path: "model.xlsx" }

Format Reference

format_cells options

{
  "bold": true,
  "italic": false,
  "color": "FF0000",
  "fill": "FFFF00",
  "numFmt": "$#,##0",
  "alignment": { "horizontal": "center", "vertical": "center" }
}

Financial color coding via format_cells

// Blue inputs
Spreadsheet { action: "format_cells", file_path: "model.xlsx", range: "B5:B10", format: {"color": "0000FF"} }
// Yellow assumptions
Spreadsheet { action: "format_cells", file_path: "model.xlsx", range: "B2:B4", format: {"fill": "FFFF00"} }
// Bold headers
Spreadsheet { action: "format_cells", file_path: "model.xlsx", range: "A1:F1", format: {"bold": true, "fill": "4472C4", "color": "FFFFFF"} }

Quick Reference

TaskTool
Read dataSpreadsheet { action: "read_range" }
Write valuesSpreadsheet { action: "write_range" } or set_cell
Check errorsSpreadsheet { action: "check_errors" }
Format cellsSpreadsheet { action: "format_cells" }
Find textSpreadsheet { action: "find_text" }
Create fileSpreadsheet { action: "create" }
Add sheetSpreadsheet { action: "add_sheet" }
Column widthSpreadsheet { action: "set_column_width" }
Export CSVSpreadsheet { action: "export_csv" }
See formulasSpreadsheet { action: "inspect_formulas" }
FormulasSpreadsheet { action: "set_cell", value: "=..." }

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.