Sharepoint spreadsheets

From fanfan-de/anybox · View interactive version

Sharepoint spreadsheets is an AI agent skill from the GitHub repository fanfan-de/anybox. Edit SharePoint-hosted spreadsheet files while preserving workbook structure, formulas, and formatting. Use when the user wants to update a real spreadsheet in SharePoint rather than summarize extracted sheet text.

How to use this skill

Skill file

SharePoint Spreadsheets

Overview

Use this skill for .xlsx edits that start from SharePoint. Inspect the workbook structure before editing, preserve formulas and formatting, and upload the revised workbook back to the same SharePoint item only after verifying the exact change.

If the formula itself is the task, pair this with ../sharepoint-spreadsheet-formula-builder/SKILL.md so formula design, syntax checks, and rollout choices stay deliberate instead of being improvised during the workbook edit.

Core Workflow

  1. Use the site-scoped SharePoint discovery path to locate the exact workbook:
  1. Prefer the exact url returned by keyword search or browse results when you later call fetch.
  2. Fetch extracted content once to identify relevant sheets and the likely target area.
  3. Fetch the raw .xlsx with fetch(download_raw_file=true).
  4. Inspect workbook structure before editing:
  1. Apply the edit with workbook-aware local tooling such as openpyxl, preserving workbook structure, formulas, and formatting.
  2. Verify the exact inserted cells, rows, or section header after save rather than relying on a generic workbook-size change.
  3. Write the revised workbook back with update_file using the exact drive-root-relative path from SharePoint metadata.
  4. Confirm the SharePoint update metadata and, when possible, reopen the workbook locally to verify the targeted cells.

Use the direct Microsoft SharePoint app tools for this flow. Do not rely on generic MCP resource listing for SharePoint workbook discovery in Codex.

Safety

Verification

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.