bilig-workpaper

An agent skill for running spreadsheet-style formulas and workbook state through files, TypeScript, HTTP, or MCP tools instead of a spreadsheet application. MCP is a way for an AI agent to connect to tools and data.

In plain words
What is it for?
Use it for pricing, budgets, quotes, payouts, forecasts, import checks, formula readback, and MCP connections that need workbook-like calculations.
Why use it?
It gives agents a structured way to edit workbook data and read formula results while avoiding spreadsheet user-interface automation and cached values that may be out of date.

Skill for Claude CodeCodex

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 skills/proompteng/bilig/workpaper
Any agent
npx skills add proompteng/bilig --skill workpaper
Clone the repo
git clone --depth 1 https://github.com/proompteng/bilig

Made for: Claude Code, Codex.

Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,088 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% 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 $0.00029 $0.02088
Opus 5 $0.00015 $0.01044
Sonnet 5 $0.00006 $0.00418
Haiku 4.5 $0.00003 $0.00209

Measured 3d ago against content hash 1d02c3fd8fe3, 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 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 3d ago.

The scan reads SKILL.md. This mod also ships 23 executable files (bin/bilig-agent-challenge.js, bin/bilig-agent-start.js, bin/bilig-evaluate.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

100% identical to bilig-workpaper — 0 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/workpaper/SKILL.md · 231 lines

How it starts

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

Bilig WorkPaper Agent Skill

Use this skill when an agent needs spreadsheet-style formulas but the work should run through files, terminal commands, TypeScript, HTTP routes, or MCP tools instead of Excel UI automation.

When To Trigger

Trigger this skill for tasks involving:

  • workbook-shaped business logic in Node.js services;
  • formula readback after writing cells;
  • quote, budget, payout, pricing, import-validation, or forecast models;
  • agent spreadsheet tools that need deterministic cell addresses;
  • MCP clients that can run a stdio server or call a Streamable HTTP endpoint;
  • reduced formula/import bugs that need a local report.

Do not trigger it for manual spreadsheet editing, Office macros, VBA, pivots, charts, COM automation, or exact Excel desktop behavior unless the user explicitly asks to compare Bilig against an Excel oracle.

Command Safety

Do not build shell commands by concatenating user text. Treat the commands below as literal templates, validate workbook paths before use, and reject values containing newlines, backticks, $(, ;, &, |, <, or >. Prefer MCP client command plus args arrays or direct TypeScript calls when inserting user-provided paths or cell references.

First Check: Agent Triage

Before wiring a client or opening a spreadsheet UI, print the compact decision card:

{
  "command": "npm",
  "args": ["exec", "--yes", "--package", "@bilig/workpaper@latest", "--", "bilig-agent-start", "--json"]
}

First Check: Agent Evaluator

Before wiring a client, prove the published agent door with the package-owned evaluator. It exercises MCP discovery, cell mutation, formula readback, JSON export, restart restore, and returns verified: true:

{
  "command": "npm",
  "args": ["exec", "--yes", "--package", "@bilig/workpaper@latest", "--", "bilig-evaluate", "--door", "agent-mcp", "--json"]
}

For service-owned WorkPaper logic without MCP, run bilig-evaluate --door workpaper-service --json. Use the lower-level challenge commands only when debugging the direct API loop or file-backed MCP JSON-RPC transcript:

Read the full file on GitHub · 231 lines

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. 3d ago First seen · 231 lines · 29 tokens per session scan A 1d02c3fd8fe3

Subscribe to this mod's changes

bilig-workpaper is a skill published in the GitHub repository proompteng/bilig (35 stars, last pushed 9d ago), licensed MIT. It adds 29 tokens to every session and 2,088 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to bilig-workpaper, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

xlsx

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Assistant needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify…

Wide-Moat/open-computer-use · 96 tokens

csv-workbench

Analyze CSV files in /mnt/data and return concise numeric summaries.

openai/openai-agents-python · 17 tokens

xlsx

Create and edit Excel .xlsx workbooks (sheets, cells, formulas, formatting) via Python openpyxl. Use to generate spreadsheets or write/update cells. Reading is via os.fs.readdocument.

AtomicBot-ai/atomic-agent · 44 tokens

Workspace Data Analyst

Analyze CSV files in the workspace and summarize insights.

VoltAgent/voltagent · 14 tokens

excel-cli

Excel CLI automation skill for Windows workbooks. Use when a coding agent needs token-efficient, scriptable, or unattended Excel automation via excelcli commands. Best for CI/CD, scheduled jobs, batch processing, PowerShell workflows, and bulk workbook edits. Supports Power Query, DAX, PivotTables, Tables, Ranges…

sbroenne/mcp-server-excel · 114 tokens

excel-mcp

Excel MCP Server skill for Windows workbook automation. Use when an assistant needs rich MCP tools to create, inspect, modify, format, or analyze Excel files. Supports Power Query (M), Data Model/DAX, PivotTables, Tables, Ranges, Charts, Slicers, formatting, screenshots, VBA macros, connections, and calculation mode.…

sbroenne/mcp-server-excel · 106 tokens