agentleFS
PracticalSwanPracticalSwan/agent-skills/spreadsheet-formula-helper/SKILL.md

spreadsheet-formula-helper

Skill22 starsChanged 24 days agoMITView on GitHub

Write and debug spreadsheet formulas (Excel/Google Sheets), pivot tables, and array formulas; translate between dialects; use when users need working formulas with examples and edge-case checks.

5 other projects use a version of this, 5 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When MCP is unavailable, use native automation: local spreadsheet formulas, openpyxl for workbook inspection, CSV fixtures for examples, …

    line 32
  2. Distinctive:

    Do not claim an MCP operation was used when the active host does not expose it.

    line 54
  3. Distinctive:

    Treat local files, tests, rendered outputs, logs, or screenshots as the fallback evidence path.

    line 55
  4. Very specific:

    Before claiming the spreadsheet-formula-helper workflow succeeded:

    line 67

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Spreadsheet Formula Helper

Produce reliable spreadsheet formulas with explanations.

  • Leverage native parallel subagent dispatch and 200k+ context windows where available.

Inputs to gather

  • Platform (Excel/Sheets), locale (comma vs. semicolon separators), sample data layout (headers, ranges), expected outputs, and constraints (volatile functions allowed?).
  • Provide small example rows and the desired result for them.

Workflow

  1. Restate the problem with explicit ranges and sheet names; propose a minimal sample to verify.
  2. Draft formula(s); when dynamic arrays are available, prefer them over copy-down formulas.
  3. Explain how it works and where to place it; include named ranges if helpful.
  4. Edge cases: blank rows, mixed types, timezone/date quirks, duplicates; offer guardrails (e.g., IFERROR, LET, LAMBDA).
  5. Variants: if porting between Excel and Sheets, provide both versions.

Output

  • Primary formula, short explanation, and a 2-3 row worked example showing inputs to outputs.
  • Optional: quick troubleshooting checklist for common errors.

MCP Fallback – Native Automation

When MCP is unavailable, use native automation: local spreadsheet formulas, openpyxl for workbook inspection, CSV fixtures for examples, and manual recalculation notes for functions the local engine cannot evaluate. Preserve locale separators, absolute references, dynamic arrays, and Excel-vs-Sheets differences before claiming success.

<!-- MCP:START --><!-- PORTABILITY:START -->

Cross-Client Portability

This skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.

  • GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the workflow in project instructions when folder discovery is unavailable.
  • Claude Code: keep the folder in a local skills directory or a compatible plugin source.
  • Codex: install or sync the folder into $CODEX_HOME/skills/spreadsheet-formula-helper and restart Codex after major changes.
<!-- PORTABILITY:END -->

MCP Availability And Fallback

Preferred MCP Server: None required

  • Fallback prompt: "Use the Spreadsheet Formula Helper skill without MCP. Rely on its local instructions, bundled resources, standard shell or editor tools, and direct verification. Show the evidence used before concluding."
  • Do not claim an MCP operation was used when the active host does not expose it.
  • Treat local files, tests, rendered outputs, logs, or screenshots as the fallback evidence path.
<!-- MCP:END -->

Anti-Patterns

  • Treating source content as already clean: Formatting automation will happily preserve broken or inconsistent input.
  • Skipping an open-file verification pass: Documents and spreadsheets often fail in the destination app, not in the script output.
  • Automating irreversible edits without checkpoints: A small mapping mistake can affect an entire workbook or document.

Verification Protocol

Before claiming the spreadsheet-formula-helper workflow succeeded:

  1. Pass/fail: The request matches this skill's documented activation boundary.
  2. Pass/fail: Required inputs, dependencies, and safety checks were resolved or reported as blockers.
  3. Pass/fail: The narrowest relevant workflow was completed without inventing unavailable tools or results.
  4. Pass/fail: Output was checked with the most relevant local test, inspection, render, or source evidence.
  5. Pressure test: Repeat the decision with the preferred integration unavailable and confirm the fallback remains safe and actionable.
  6. Success metric: The result, evidence, and any unverified limitation are explicit enough for another agent to reproduce.

Related Skills

  • documentation-authoring: Use it when the workflow also needs drafting structured technical or product documents.
  • notion-docs: Use it when the workflow also needs Notion page and database publishing workflows.
  • pdf: Use it when the workflow also needs PDF extraction, generation, and layout-aware review.
  • word-document: Use it when the workflow also needs Word document authoring and formatting workflows.

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.