xlsx-code-mode

Inspect and modify Excel workbooks via sandboxed JavaScript execution.

27|2|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/witanlabs/witan-cli --skill xlsx-code-mode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx-code-mode
Source: https://github.com/witanlabs/witan-cli/tree/main/skill/xlsx-code-mode
Command: npx skills add https://github.com/witanlabs/witan-cli --skill xlsx-code-mode

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reading, exploring, understanding, and modifying Excel workbooks (.xlsx, .xlsm) is often blocked by non-text tools. This skill enables server-side inspection and safe edits via a sandboxed JavaScript interface, bypassing the limitations of basic file viewers.

Core Features & Use Cases

  • Read and map sheets, ranges, and cells, including formulas and dependencies.
  • Trace formula precedents and dependents to understand calculation flows.
  • Edit cells, rows, columns, and sheets through a controlled, write-enabled session.

Quick Start

Ask me to inspect a workbook by name, list sheets, read cells or ranges, or trace formulas using witan xlsx exec.

Frequently Asked Questions about xlsx-code-mode

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read Excel cells and ranges programmatically without opening the file?

You can read Excel cells and ranges programmatically by executing sandboxed JavaScript against the workbook via witan xlsx exec, which safely extracts sheet data, cell values, and formulas server-side without altering source files.

Can I trace formula dependencies in an xlsx workbook to understand calculation flows?

Yes, you can trace formula dependencies in an xlsx workbook by scripting against the file to inspect formula precedents and dependents, allowing you to map and understand the full calculation flow.

Does this approach support what-if edits without modifying the original Excel file?

Yes, this approach supports what-if edits without modifying the original Excel file by applying controlled cell, row, and column modifications inside a sandboxed write-enabled session that leaves source files untouched.

What is the best way to inspect and map sheets in an xlsx or xlsm file from a server environment?

The best way to inspect and map sheets in xlsx or xlsm files from a server environment is using a sandboxed JavaScript execution interface that lists sheets and reads workbook structures robustly with timeout and error handling.

Are there limitations when scripting against Excel workbooks in a server-side sandbox?

Limitations when scripting against Excel workbooks in a server-side sandbox include operating within robust timeout and error handling constraints, where safe reading and range operations are controlled to prevent altering source files.