Sheetjs formula recalc

From proompteng/bilig · View interactive version

Sheetjs formula recalc is an AI agent skill from the GitHub repository proompteng/bilig. Add fresh formula readback to SheetJS and xlsx workflows after writing XLSX inputs in Node.js.

How to use this skill

Skill file

SheetJS Formula Recalculation

Use @bilig/sheetjs-formula-recalc when an agent or Node.js service has changed XLSX

inputs through SheetJS / xlsx and must read recalculated formula outputs

without opening Excel, LibreOffice, or a browser.

First Check

npx --package @bilig/sheetjs-formula-recalc sheetjs-recalc --demo --json

The demo should print verified: true and a Summary!B2 value of 72000.

Real Workbook

npx --package @bilig/sheetjs-formula-recalc sheetjs-recalc workbook.xlsx \
  --set Inputs!B2=48 \
  --read Summary!B7 \
  --out workbook.recalculated.xlsx \
  --json

TypeScript

import { recalculateSheetjsWorkbook } from '@bilig/sheetjs-formula-recalc'

const result = recalculateSheetjsWorkbook(inputXlsxBytes, {
  edits: [{ target: 'Inputs!B2', value: 48 }],
  reads: ['Summary!B7'],
})

Use @bilig/xlsx-formula-recalc when the caller does not care about SheetJS naming,

and use @bilig/exceljs-formula-recalc when the caller owns an ExcelJS Workbook

object and wants read results patched back into that object.

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.