open-sheet

作者 lianghsun已验证

The spreadsheet framework built for agents — write the model as React, export a live .xlsx. The third medium, after open-slide and open-doc.

76
Stars
7
Forks
TypeScript
语言
2026/8/24
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/lianghsun/open-sheet

快速入门

使用 open-sheet 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

open-sheet

open-sheet — a dependency graph drawn across a spreadsheet grid: two cells feeding one

npm CI License: MIT

English · 繁體中文

The spreadsheet framework built for agents. Describe the model you need in natural language — your coding agent writes the React. open-sheet handles the cell addressing, the formula references, the recalculation, and the export.

If open-slide is Google Slides for agents and open-doc is Google Docs, open-sheet is Google Sheets. Same idea, different medium — but the medium changes the problem.

A deck is pixels. A document is pixels on paper. A spreadsheet is a dependency graph. A workbook baked down to static numbers is just a picture of a table. The value of a spreadsheet is that the person who receives it can change an assumption and watch it recalculate.

npx @open-sheet/cli init my-sheets

Why

Agents write excellent analysis and terrible spreadsheets, and the reason is specific: =SUM(B2:B13).

Cell addresses are the one thing an agent cannot hold onto. It miscounts the header row. It forgets the total row shifted when the data grew. It writes a reference to B7 and then inserts a quarter above it, and now every formula in the file is quietly wrong — not crashed, just wrong, which is worse.

So open-sheet takes the addresses away. You never write one:

col('grossProfit', {
  header: 'Gross profit',
  formula: (r) => sub(r.cell('revenue'), r.cell('cogs')),
})

The framework owns every coordinate. Add a row to the data array and every reference re-resolves. There is not a single A1 address in an open-sheet source file.

The lineage

Each of the three frameworks absorbs the one chore that its medium makes hard for an agent:

open-slideopen-docopen-sheet
Medium1920 × 1080 canvasA4 sheetsthe cell grid
The chore it absorbsscaling, navigation, present modepagination, contents, page numberscell addressing, formula references, recalculation
You geta deck you can presenta PDF that survives a printera model a CFO can change

Highlights

🔢 References, not addresses

r.cell('revenue') · r.prev().cell('revenue') · ref('pl').column('revenue') · ref('pl').total('revenue') · ref('assumptions').get('growth')

These resolve to A1 only at the very end, after layout has decided where everything sits. Scalar assumptions are additionally emitted as Excel defined names, so the exported workbook reads =B4*growth — legible to the human who opens it, not just to the machine.

📐 Auto-placement

<Stack> and <Row> pack blocks onto the grid without collisions. You describe the order; the framework decides the coordinates. This is open-sheet's answer to open-doc's flow().

🧮 One formula tree, two backends

Every formula is an expression AST with two consumers: serialize() writes an Excel formula string into the .xlsx, and evaluate() computes the number the viewer shows. They are checked against each other in CI by recalculating the exported workbook in LibreOffice and diffing — which proves both that the export contains live formulas and that our evaluator agrees with a real spreadsheet engine.

Formulas we can't evaluate are shown as #NOT_EVALUATED, never as an invented number.

📤 Live .xlsx, plus .csv / .html / .pdf

The .xlsx contains formulas, not baked values — with number formats, defined names, frozen panes, and conditional formatting. One style model feeds both the Excel writer and the HTML/PDF renderer, so the printed report and the workbook match.

🤖 Agent-native

Skills ship with the scaffolder: /create-sheet, /sheet-authoring, /current-sheet, /apply-comments. An MCP server (open-sheet dev --mcp) lets any agent framework drive it. Inspect mode lets you click a cell to see its source line, its resolved formula, and its computed value — or leave a note for your agent.

Status

Early development. Nothing is published to npm yet. Follow the milestones.

Everything described above is built and tested — the compiler, references and the formula engine, the viewer and dev server, the skills, the MCP server, inspect mode, themes, the design panel, native charts, and all four export formats. 144 tests, including two that drive a real spreadsheet application.

Published as 0.1.0:

npx @open-sheet/cli init my-sheets
cd my-sheets && npm install && npm run dev

The proof-of-life, which now holds end to end: apps/demo exports a workbook whose net-income column is =F6*(1-taxRate), and a test changes taxRate and asserts the whole column moves — with LibreOffice, not open-sheet, doing the arithmetic.

Trying it before it ships: TESTING.md.

Repo layout

pnpm + Turbo monorepo.

PathDescription
packages/core@open-sheet/core — compiler, placement, references, formula engine, viewer, Vite plugin, and the open-sheet CLI.
packages/cli@open-sheet/clinpx @open-sheet/cli init scaffolder + template.
packages/mcp@open-sheet/mcp — MCP server over Streamable HTTP.
apps/demoExample workspace consuming @open-sheet/core via workspace:*. Dogfood target.

Development

pnpm install
pnpm dev        # runs the demo against the local @open-sheet/core
pnpm build      # builds all packages
pnpm typecheck  # tsc across the graph
pnpm check      # biome (format + lint + organize imports)
pnpm test       # vitest

Credits

open-sheet follows open-slide by @1weiho and open-doc by @simonliu-ai-product — the virtual-module content discovery, the scaffolder, and the skills-as-documentation approach are theirs. This is the third medium.

License

MIT

常见问题

What is open-sheet?

open-sheet is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by lianghsun. The spreadsheet framework built for agents — write the model as React, export a live .xlsx. The third medium, after open-slide and open-doc. It has 76 GitHub stars.

Is open-sheet safe to use?

Yes. open-sheet passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install open-sheet?

Clone the repository with "git clone https://github.com/lianghsun/open-sheet" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is open-sheet written in?

open-sheet is primarily written in TypeScript. It is open-source under lianghsun on GitHub, so you can review or fork the full source.

Are there alternatives to open-sheet?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh open-sheet against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情