bilig-workpaper-proof

bilig-workpaper-proof is a command for Claude Code from proompteng/bilig. It costs 23 tokens per session (573 once invoked), scanned A, original, MIT.

A command for checking changes to spreadsheet formulas before relying on Excel, LibreOffice, Google Sheets, or screenshots.

In plain words
What is it for?
Use it to validate spreadsheet files and read back formulas after editing cells, especially in pricing, quotes, payouts, imports, budgets, and forecasts.
Why use it?
It helps catch formula or cell-value problems before they affect prices, budgets, forecasts, or other workbook-based results.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/proompteng/bilig/bilig-workpaper-proof
Clone the repo
git clone --depth 1 https://github.com/proompteng/bilig

Made for: Claude Code.

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 bilig-workpaper-proof

README.md
[![agentmods](https://agentmods.dev/badge/commands/proompteng/bilig/bilig-workpaper-proof.svg)](https://agentmods.dev/commands/proompteng/bilig/bilig-workpaper-proof)
Your own site
<a href="https://agentmods.dev/commands/proompteng/bilig/bilig-workpaper-proof"><img src="https://agentmods.dev/badge/commands/proompteng/bilig/bilig-workpaper-proof.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 573 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00023 $0.00573
Opus 5 $0.00012 $0.00287
Sonnet 5 $0.00005 $0.00115
Haiku 4.5 $0.00002 $0.00057

Measured 4d ago against content hash a2aebca5e431, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bilig-workpaper-proof 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 4d ago.

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.

.claude/commands/bilig-workpaper-proof.md · 68 lines

What it actually says

Bilig WorkPaper Formula Check

Use this command when the task is workbook-shaped: pricing, quotes, payouts, budgets, import validation, forecasts, WorkPaper tools, workbook validation, or formula readback after changing cells.

User task:

$ARGUMENTS

Start with the smallest check that fits the task:

npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door agent-mcp --json
npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door agent-mcp --scenario provider-backed --json
npm exec --package @bilig/workpaper@latest -- bilig-agent-challenge --json
npm exec --package @bilig/workpaper@latest -- bilig-mcp-challenge --json
npm exec --package @bilig/workpaper@latest -- bilig-workpaper-mcp --workpaper ./.bilig/pricing.workpaper.json --init-demo-workpaper --writable
npm exec --package @bilig/workpaper@latest -- bilig-workpaper-mcp --from-xlsx ./pricing.xlsx
npm exec --package @bilig/workpaper@latest -- bilig-workpaper-mcp --from-xlsx ./pricing.xlsx --workpaper ./.bilig/pricing.workpaper.json --writable

Use the hosted stateless MCP endpoint only for tool discovery or smoke tests:

https://bilig.proompteng.ai/mcp

For private project state, use the local file-backed stdio server. Do not drive Excel, LibreOffice, Google Sheets, browser grids, or screenshots when WorkPaper JSON can be the source of truth.

Return readback, not a status sentence:

{
  "editedCell": "Inputs!B3",
  "before": {},
  "after": {},
  "afterRestore": {},
  "persistedDocumentBytes": 0,
  "verified": false,
  "limitations": []
}

Rules:

  • read the relevant input and dependent output before editing;
  • write one small input or formula change;
  • read the dependent calculated output after recalculation;
  • export or serialize the WorkPaper document;
  • restore or restart when file boundaries matter;
  • report unsupported formulas or Excel-only behavior honestly;
  • do not claim success from a write call alone.

Reference docs:

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. 4d ago First seen · 68 lines · 23 tokens per session scan A a2aebca5e431

Subscribe to this mod's changes

bilig-workpaper-proof is a command published in the GitHub repository proompteng/bilig (35 stars, last pushed 11d ago), licensed MIT. It adds 23 tokens to every session and 573 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.