xlsx-formula-recalc

xlsx-formula-recalc is a skill for Claude Code, Codex from proompteng/bilig. It costs 29 tokens per session (1,004 once invoked), scanned A, a copy of bilig-xlsx-formula-recalc, MIT.

A Node.js tool for recalculating formulas in XLSX spreadsheet files after their cells change. It can inspect workbook risks and read refreshed results without opening Excel, LibreOffice, or a browser.

In plain words
What is it for?
Use it to preflight workbooks, detect unsupported functions and other risks, recalculate changed cells, and read updated formula values in Node.js.
Why use it?
XLSX files may contain stale cached formula values or features that a local evaluator cannot fully support. This helps check those issues before trusting results and refreshes supported formula outputs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is --external-workbook-target ./fixtures/rates-current.xlsx file:///tmp/rates.xlsx \.

Good fit Use it to preflight workbooks, detect unsupported functions and other risks, recalculate changed cells, and read updated formula values in Node.js.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/proompteng/bilig
agentmods
npx agentmods add skills/proompteng/bilig/xlsx-formula-recalc

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for xlsx-formula-recalc

README.md
[![agentmods](https://agentmods.dev/badge/skills/proompteng/bilig/xlsx-formula-recalc/github.svg)](https://agentmods.dev/skills/proompteng/bilig/xlsx-formula-recalc)
Your own site
<a href="https://agentmods.dev/skills/proompteng/bilig/xlsx-formula-recalc"><img src="https://agentmods.dev/badge/skills/proompteng/bilig/xlsx-formula-recalc/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for xlsx-formula-recalc

Your own site · 80×15
<a href="https://agentmods.dev/skills/proompteng/bilig/xlsx-formula-recalc"><img src="https://agentmods.dev/badge/skills/proompteng/bilig/xlsx-formula-recalc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,004 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.01004
Opus 5 $0.00015 $0.00502
Sonnet 5 $0.00006 $0.00201
Haiku 4.5 $0.00003 $0.00100

Measured 11d ago against content hash 163656a32aca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

xlsx-formula-recalc scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 27 executable files (bin/bilig-evaluate.js, bin/sheetjs-recalc.js, bin/workbook-compatibility-report.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

91% identical to bilig-xlsx-formula-recalc — 15 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

packages/xlsx-formula-recalc/SKILL.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

XLSX Formula Recalculation

Use @bilig/xlsx-formula-recalc when an agent or Node.js service has changed XLSX inputs and must read recalculated formula outputs without opening Excel, LibreOffice, or a browser. The unscoped xlsx-formula-recalc package remains a compatibility/search alias; new agent instructions should use the scoped package first.

First Check

npm exec --yes --package @bilig/xlsx-formula-recalc@latest -- bilig-evaluate --door workbook-compatibility --json
npm exec --yes --package @bilig/xlsx-formula-recalc@latest -- bilig-evaluate --door xlsx-cache --json

Use workbook-compatibility when you need a local preflight report for a real workbook before a Node service or agent trusts it. The report lists unsupported functions, external links, macro payloads, pivots, volatile functions, stale caches, and concrete risk reasons. It does not certify Excel compatibility and must not grow a compatibility score.

The cache evaluator should print schemaVersion: "bilig-evaluator.v1", door: "xlsx-cache", verified: true, and evidence for a stale cached formula corrected to a Summary!B2 value of 72000.

For SheetJS / xlsx stale-formula issues, use the SheetJS-named binary from the same package:

npm exec --yes --package @bilig/xlsx-formula-recalc@latest -- sheetjs-recalc --demo --json

If you have a real workbook but do not yet know which formula cells to verify, inspect it without writing an output file:

npm exec --yes --package @bilig/xlsx-formula-recalc@latest -- xlsx-recalc workbook.xlsx --inspect --json

For CI or issue triage, use the cache-diagnosis alias:

npm exec --yes --package @bilig/xlsx-formula-recalc@latest -- xlsx-cache-doctor workbook.xlsx --json

For workbook risk review, use the compatibility report:

npm exec --yes --package @bilig/xlsx-formula-recalc@latest -- workbook-compatibility-report workbook.xlsx --json

The inspection output includes formulaCellCount, staleCachedFormulaCount, suggestedReads, and a nextStep.command for the recalculation proof. Default inspection checks every formula. If a workflow sets --inspect-limit, require uninspectedFormulaCellCount: 0 before treating the report as complete coverage.

Read the full file on GitHub · 119 lines

Files

What ships with it

32 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 119 lines · 29 tokens per session scan A 163656a32aca

Subscribe to this mod's changes

xlsx-formula-recalc is a skill published in the GitHub repository proompteng/bilig (36 stars, last pushed 3d ago), licensed MIT. It adds 29 tokens to every session and 1,004 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to bilig-xlsx-formula-recalc, differing in 15 lines, and is treated as a copy.