spreadsheets
Installation
SKILL.md
Spreadsheets
Use this skill when the user wants to create or modify workbooks with the artifacts tool.
Tool Contract
- Use the
artifactstool. - Send raw JavaScript only. Do not send JSON objects, quoted code, or markdown fences.
- This tool runs plain JavaScript in Node, not TypeScript. Do not use type annotations,
type,interface, orimport type. - Do not write
import { ... } from "@oai/artifact-tool". The package surface is already preloaded. - Named exports such as
Workbook,SpreadsheetFile, andFileBlobare available directly. - The full module is also available as
artifactTool,artifacts, andcodexArtifacts. - Save outputs under a user-visible path such as
artifacts/revenue-model.xlsx.
Quick Start
const workbook = Workbook.create();
const sheet = workbook.worksheets.add("Revenue");