본문으로 건너뛰기
Skillpedia
자동화48k · #6258

bilig-workpaper

하는 일

이 도구는 Excel 같은 프로그램을 열지 않고도 프로그램 방식으로 스프레드시트와 수식을 다룰 수 있게 합니다. 값을 입력하고, 다시 계산하고, 결과를 읽을 수 있습니다.

사용하는 경우

  • ✓프로그램 안에서 스프레드시트 계산을 자동화해야 할 때.
  • ✓수식을 기준으로 입력 데이터를 검증하고 싶을 때.
  • ✓참고용으로 스프레드시트 상태를 데이터 파일로 저장하고 싶은 경우.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/bilig-workpaper/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/bilig-workpaper/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“고객 100명과 고객당 평균 50달러를 기준으로 총수익을 계산해서 결과를 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 데이터와 수식을 받아 내부에서 계산을 처리하고 결과를 돌려줍니다. 작업 내용을 특정 파일 형식으로 저장해 다시 사용하거나 검증할 수 있게 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Bilig WorkPaper

Overview

Bilig WorkPaper gives agents a code-first workbook runtime for spreadsheet-style business logic. Use it when the task is easier to model as sheets and formulas, but the reliable path is to edit cells through an API, recalculate, read computed values back, and persist a JSON workbook document.

The main use case is replacing fragile spreadsheet UI automation with deterministic tool calls. It is useful for quote calculators, payout models, budget checks, import validation, and reduced XLSX formula bug reports.

When To Use This Skill

Use this skill when the user needs to:

  • work with spreadsheet formulas from a Node.js service, route, test, or agent tool;
  • write workbook inputs and verify calculated outputs with readback proof;
  • persist a formula workbook as reviewable WorkPaper JSON;
  • expose a file-backed workbook through MCP tools;
  • investigate an XLSX formula recalculation issue without automating Excel, LibreOffice, or a browser grid.

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

Safer Command Pattern

Prefer argument arrays in MCP/client configuration. Do not shell-concatenate user-provided paths, sheet names, formulas, or cell addresses. Reject path or cell input containing newlines, backticks, $(, ;, &, |, <, or > before using it in a command.

The MCP examples execute the public @bilig/workpaper npm package. Treat that as third-party code execution: pin the package version you reviewed, run it only in a trusted project, and get explicit user approval before starting a writable MCP server.

Quick MCP Setup

First prove the package-owned challenge works:

{
  "command": "npm",
  "args": ["exec", "--package", "@bilig/workpaper@<reviewed-version>", "--", "bilig-mcp-challenge"]
}

Then run a writable file-backed MCP server:

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

Useful tools exposed by the MCP server:

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

After every write, read the dependent output cell and export the WorkPaper document. Do not claim success from the write call alone.

Direct TypeScript Pattern

Use the package directly when workbook logic belongs inside application code:

import {
  WorkPaper,
  exportWorkPaperDocument,
  serializeWorkPaperDocument,
} from "@bilig/workpaper";

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 });

Required Verification

A good agent response should include:

  • exact sheet names and A1 cells edited;
  • before values for important inputs and dependent outputs;
  • after values read from the recalculated workbook;
  • persistence evidence from exported or serialized WorkPaper JSON;
  • restore or reimport proof when file boundaries matter;
  • clear limitations for unsupported formulas or Excel-only behavior.

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

Limitations

  • WorkPaper behavior is not a complete replacement for desktop Excel, VBA, pivots, charts, or UI automation.
  • Formula compatibility depends on the Bilig runtime and should be verified against Excel when exact parity matters.
  • MCP writes should remain scoped to trusted workbook paths and must be followed by readback validation.

References

…

자주 묻는 질문

이 도구로 차트나 피벗 테이블을 만들 수 있나요?

아니요, 이 도구는 수식 기반 계산에 집중하며 차트나 피벗 테이블 같은 시각적 기능은 지원하지 않습니다.

Excel과 완전히 똑같이 작동하나요?

아니요, 수식 호환성은 다를 수 있습니다. Excel과 똑같은 결과가 필요하다면 검증이 필요합니다.

제 데이터와 함께 사용해도 안전한가요?

예, 하지만 신뢰할 수 있는 프로젝트에서 사용하고, 파일을 수정하는 서버 사용을 명시적으로 승인하는 것을 권장합니다.

상세 정보

작성자의 원본 설명

Use formula-backed WorkPaper JSON and MCP tools for agent spreadsheet tasks without driving Excel or a browser UI.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#6258
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬