Skip to content
Skillv1.0.0

bilig-workpaper

Use @bilig/headless WorkPaper state for workbook formulas, agent spreadsheet tools, MCP file-backed editing, and XLSX formula bug reports without driving spreadsheet UI.

by aiskillstore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from aiskillstore/marketplace (skills/proompteng/bilig-workpaper/SKILL.md). Install upstream with npx skills add aiskillstore/marketplace --skill bilig-workpaper. Copyright stays with the author.

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;
  • reduced XLSX formula bugs that need a paste-ready 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 Choice: MCP

Use MCP when the host can run a stdio server. Configure it as an argument array, not a shell-concatenated string:

{
  "command": "npm",
  "args": [
    "exec",
    "--package",
    "@bilig/headless@0.23.3",
    "--",
    "bilig-workpaper-mcp",
    "--workpaper",
    "./pricing.workpaper.json",
    "--init-demo-workpaper",
    "--writable"
  ]
}

The useful file-backed tools are:

  • list_sheets
  • read_range
  • read_cell
  • set_cell_contents
  • get_cell_display_value
  • export_workpaper_document
  • validate_formula

After a write, always read the dependent output cell and export the WorkPaper document.

Second Choice: Direct TypeScript

Use @bilig/headless directly when workbook logic belongs in a service, queue worker, test, or route:

import { WorkPaper, exportWorkPaperDocument, serializeWorkPaperDocument } from '@bilig/headless'

const workbook = WorkPaper.buildFromSheets({
  Inputs: [
    ['Metric', 'Value'],
    ['Customers', 20],
    ['Average revenue', 1200],
  ],
  Summary: [
    ['Metric', 'Value'],
    ['Revenue', '=Inputs!B2*Inputs!B3'],
  ],
})

const inputs = workbook.getSheetId('Inputs')
const summary = workbook.getSheetId('Summary')
if (inputs === undefined || summary === undefined) {
  throw new Error('Workbook is missing required sheets')
}

workbook.setCellContents({ sheet: inputs, row: 1, col: 1 }, 32)
const revenue = workbook.getCellDisplayValue({ sheet: summary, row: 1, col: 1 })
const saved = serializeWorkPaperDocument(exportWorkPaperDocument(workbook, { includeConfig: true }))

console.log({ revenue, savedBytes: saved.length })

XLSX Formula Clinic

When the user has a reduced XLSX formula/import bug, generate a local report through an argument array:

{
  "command": "npm",
  "args": ["exec", "--package", "@bilig/headless@0.23.3", "--", "bilig-formula-clinic", "./reduced.xlsx", "--cells", "Summary!B7,Inputs!B2"]
}

The report is local. It does not upload workbook contents. Ask for a reduced public fixture rather than private customer spreadsheets.

Required Verification

Return proof, not vibes. A successful agent response should include:

  • the exact edited sheet and A1 cell;
  • before values for relevant inputs and dependent outputs;
  • after values read from the recalculated workbook;
  • persistence evidence from serialized or exported WorkPaper state;
  • restore or reimport proof when file boundaries matter;
  • limitations for unsupported formulas or Excel-only features.

If any proof step fails, report the blocker instead of claiming the workbook was updated.

Reference URLs

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/aiskillstore-marketplace-bilig-workpaper/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

aiskillstore-marketplace-bilig-workpaper.ocm.jsonjson
{
  "ocm": "1",
  "id": "aiskillstore-marketplace-bilig-workpaper",
  "kind": "skill",
  "name": "bilig-workpaper",
  "description": "Use @bilig/headless WorkPaper state for workbook formulas, agent spreadsheet tools, MCP file-backed editing, and XLSX formula bug reports without driving spreadsheet UI.",
  "publisher": "aiskillstore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "ai-agents",
      "spreadsheet-automation",
      "formulas",
      "xlsx",
      "mcp",
      "typescript",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Use @bilig/headless WorkPaper state for workbook formulas, agent spreadsheet tools, MCP file-backed editing, and XLSX formula bug reports without driving spreadsheet UI."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/aiskillstore/marketplace",
      "path": "skills/proompteng/bilig-workpaper/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/aiskillstore/marketplace/blob/HEAD/skills/proompteng/bilig-workpaper/SKILL.md",
      "key": "aiskillstore/marketplace/skills/proompteng/bilig-workpaper/SKILL.md"
    }
  },
  "instructions": "# Bilig WorkPaper Agent Skill\n\nUse 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.\n\n## When To Trigger\n\nTrigger this skill for tasks involving:\n\n- workbook-shaped business logic in Node.js services;\n- formula readback after writing cells;\n- quote, budget, payout, pricing, import-validation, or forecast models;\n- agent spreadsheet tools that need deterministic cell addresses;\n- MCP clients that can run a stdio server;\n- reduced XLSX formula bugs that need a p",
  "cost": {
    "context_tokens": 1092
  }
}

Fetch it by URL: GET /api/v1/registry/aiskillstore-marketplace-bilig-workpaper/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.