Exceljs formula recalc

From proompteng/bilig · View interactive version

Exceljs formula recalc is an AI agent skill from the GitHub repository proompteng/bilig. Recalculate formula outputs for ExcelJS workbook flows in Node.js after agents or services edit cells.

How to use this skill

Skill file

ExcelJS Formula Recalculation

Use @bilig/exceljs-formula-recalc when an agent or Node.js service already uses

ExcelJS and needs fresh formula output values after changing cells.

First Check

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

The demo should print commandSucceeded: true, recalculationCompleted: true,

expectedValueMatched: true, and a Summary!B2 value of 72000.

Real Workbook

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

TypeScript

import { recalculateExceljsWorkbook } from '@bilig/exceljs-formula-recalc'

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

Use @bilig/xlsx-formula-recalc instead when the caller only has raw XLSX bytes and

does not need an ExcelJS workbook 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.