Preserve formula functionality when delivering spreadsheets

Introduction

When agents produce .xlsx, .xlsm, .csv, or .tsv files during tasks, a common practice is to write Python scripts to insert values into cells or to simply read the table for validation. The former easily replaces formulas that should be preserved with static values, while the latter cannot cover delivery requirements such as “creation, repair, or structural modification.” Below is an introduction to an Agent Skill available on SkillHub that constrains the workflow to formula-safe editing, workbook validation, and recalculation, rather than hardcoded output or one-off scripts.

What is this

The Skill’s coordinate is @user_3c6cb52e/create-repair-and-recalculate-spreadsheet-workbooks-without-breaking-formulas. The current version is 1.0.0, the source is labeled as community, the category is office-efficiency, and the publisher is user_3c6cb52e. The SkillHub page states: when an agent needs to deliver results in spreadsheet form, it should adopt the workflow advocated by the Anthropic xlsx skill, rather than merely inspecting table data.

The tag requires_api_key=false indicates that, according to SkillHub metadata, no additional API Key is required for installation and use.

Core Functions

According to the official description, the Skill mainly guides the agent to accomplish the following (statements are derived from the SkillHub page, without expanding on undeclared capabilities):

  1. Creation and Modification: Create, clean, or modify .xlsx, .xlsm, .csv, and .tsv files, targeting them as “deliverables” rather than intermediate debugging files.
  2. Formula Safety: Avoid damaging existing formula structures during editing, distinguishing itself from hardcoding calculation results directly into cells.
  3. Workbook Validation and Recalculation: Validate the workbook after modifications and trigger recalculation to ensure formula link integrity and consistency with Excel semantics.

The Skill itself provides instructions in the universal SKILL.md format, intended for automatic loading by clients supporting Skills (such as Cursor and Claude Code) during relevant tasks.

Installation and Activation

SkillHub recommends reading the installation documentation before installing this Skill. Full instructions can be found at SkillHub Installation and Priority Source Configuration.

1. Check or install skillhub CLI

Confirm if skillhub is already on your machine:

command -v skillhub && skillhub --version

If not installed, follow the official documentation to perform a complete installation (CLI + default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

If only the CLI is needed:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install this Skill to the current Agent’s skills directory

During installation, you must use --dir to point to the skills directory recognized by the current Agent; if installed to the default ./skills/, some clients will not load it.

skillhub install @user_3c6cb52e/create-repair-and-recalculate-spreadsheet-workbooks-without-breaking-formulas --dir <skills directory>

Common path examples (from SkillHub installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

You can also send the following prompt to an AI that supports Skills to have it complete the installation according to skillhub.md:

Please install @user_3c6cb52e/create-repair-and-recalculate-spreadsheet-workbooks-without-breaking-formulas based on https://skillhub.cn/install/skillhub.md.

If the client requires a restart or re-indexing of the skills directory after installation, please refer to the documentation of the product you are using.

Typical Usage

The public page does not include copyable end-to-end code examples; usage is embodied in the combination of Task Description + Skill Instructions. It is suitable for clearly defining delivery formats and constraints in conversations, for example:

  • When needing to create or modify .xlsx / .xlsm files where downstream users will continue to edit formulas in Excel;
  • When needing to clean dirty data or adjust table structures while preserving formula references in specified columns;
  • When requiring the agent to perform workbook validation and recalculation according to the Skill’s requirements after modifications, rather than just reporting a CSV snapshot.

After loading this Skill, the agent should prioritize the formula-safe editing and recalculation workflow defined by the Anthropic xlsx skill, rather than using ad-hoc scripts to overwrite cells directly. Specific toolchains and steps are subject to the instructions in the installed SKILL.md.

Applicable Scenarios & Notes

Who is it for

  • Developers or business analysts who frequently use AI to generate financial models, report templates, or business tables with formulas;
  • Those hoping to reduce rework caused by “scripts generating xlsx where formulas turn into numbers”;
  • Those already using Skills in environments like Cursor or Claude Code and willing to manage office capabilities via SkillHub.

Things to Note

  • This entry is a community release. The maintenance rhythm may not be synchronized with the official Anthropic xlsx skill documentation. It is recommended to test on a copy before major version upgrades.
  • SkillHub statistics (as of page display): Rating 100000, Downloads 939, Installation Count 0; these numbers are for popularity reference only and do not represent a quality endorsement.
  • For complex macros (.xlsm) and external data connection scenarios, manual acceptance is still required combined with Excel’s own limitations; the Skill description does not promise to cover all VBA or Power Query edge cases.

Conclusion

If your agent tasks involve spreadsheets as formal deliverables, and not just reading tables or exporting static results, you can install @user_3c6cb52e/create-repair-and-recalculate-spreadsheet-workbooks-without-breaking-formulas via SkillHub to constrain creation, repair, and recalculation within a formula-safe workflow. Official Skill Page: SkillHub - Create, repair, and recalculate spreadsheet workbooks without breaking formulas.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye