Skip to content
Agentmart
Submit a tool

bilig-workpaper

Formula WorkPaper runtime and MCP server for AI agents and Node.js services.

Skill by agent-skills-hub

IndexedMIT★ 123
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/agent-skills-hub-bilig-workpaper

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Formula WorkPaper runtime and MCP server for AI agents and Node.js services. Use when an agent needs spreadsheet-style formulas, cell edits, recalculation, readback verification, or persisted WorkPaper JSON without driving Excel UI.

Use cases: spreadsheets, design, backend, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/bilig-workpaper

What's inside

Skill name
bilig-workpaper
Description
Formula WorkPaper runtime and MCP server for AI agents and Node.js services. Use when an agent needs spreadsheet-style formulas, cell edits, recalculation, readback verification, or persisted WorkPaper JSON without driving Excel UI.
License
MIT
Instructions
82 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Bilig WorkPaper

## Overview

Bilig WorkPaper gives agents a reviewable spreadsheet model without requiring browser or Excel UI automation. Use it to edit cells through an API, recalculate formulas, verify display-value readback, and persist WorkPaper JSON for audit or restore flows.

## When to Use This Skill

- Use when an agent needs spreadsheet-style formulas in a backend service or local workflow.
- Use when the task involves editing input cells, recalculating formulas, and proving the output with readback.
- Use when Excel, Google Sheets, or screenshot-driven spreadsheet automation would be too brittle.
- Use when a workflow needs file-backed WorkPaper JSON that can be reviewed, restored, or versioned.

## Step-by-Step Guide

### 1. Install or run the package

Use the package directly with npm exec when you only need the MCP server:

```bash
npm exec --package @bilig/headless -- bilig-workpaper-mcp --workpaper ./pricing.workpaper.json --init-demo-workpaper --writable
```

For TypeScript code, install the package in the project:

```bash
npm install @bilig/headless
```

### 2. Prefer WorkPaper state over UI automation

Keep workbook state in a WorkPaper JSON document. Write inputs through the WorkPaper API or MCP tools, recalculate, then read the computed display value back from the model.

### 3. Use the MCP tools for agent workflows

A file-backed MCP session should expose tools for listing sheets, reading cells or ranges, setting cell contents, validating formulas, exporting the document, and reading display values after recalculation.

### 4. Verify after every mutation

After each write, read the changed input cell and the dependent output cell. Keep the exported WorkPaper JSON when the task needs proof, rollback, or a reproducible bug report.

## Examples

### Example 1: File-backed MCP server

```bash
npm exec --package @bilig/headless -- bilig-workpaper-mcp --workpaper ./pricing.workpaper.json --init-demo-workpaper --writable
```

An agent can then update `Inputs!B3`, read `Summary!B3`, and export the updated WorkPaper JSON.

### Example 2: TypeScript service workflow

```ts
import { WorkPaper } from "@bilig/headless";

const paper = new WorkPaper();
paper.setCellContents("Inputs", "B2", 1200);
paper.setCellContents("Inputs", "B3", "=B2*1.2");
paper.recalculate();

const result = paper.getCellDisplayValue("Inputs", "B3");
console.log(result);
```

## Best Practices

- Do use Bilig for formulas, readback, and persisted spreadsheet state when the workflow can live outside Excel UI.
- Do keep formula inputs, computed outputs, and exported WorkPaper JSON together when reporting bugs or validating agent changes.
- Do validate formulas before writing them into cells when the agent is generating formulas.
- Don't use screenshot or browser automation for spreadsheet logic if a WorkPaper API call can express the same operation directly.
- Don't treat a write as complete until a readback proves the computed output changed as expected.

## Troubleshooting

**Problem:** The agent wrote a formula but the output did not change.  
**Solution:** Recalculate the WorkPaper, then read both the input cell and the dependent display-value cell.

**Problem:** The workflow needs to preserve state across agent turns.  
**Solution:** Run the MCP server with `--workpaper ./file.workpaper.json --writable` and export the document after important changes.

From agent-skills-hub/agent-skills-hub, MIT.

More from agent-skills-hub/agent-skills-hub

Signals

Stars
123
Forks
44
Open issues
6
Last commit (this folder)
May 18, 2026 (5 months ago)
Last release
Mar 2, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from agent-skills-hub

Cite this page

bilig-workpaper skill. Agent Mart. https://agentmart.dev/skills/agent-skills-hub-bilig-workpaper (last updated 2026-10-24)