gridcraft
БесплатноБез исполняемых скриптовНе проверенHeadless spreadsheets with GridCraft (XLSX/CSV/TSV workbooks, formula evaluation, recalculation, PDF export), provisioned on demand by pi-craft. Use for…
от BlackBeltTechnology★ 357 звёзд на GitHubОб этом скилле
GridCraft — headless spreadsheets
GridCraft is ArtCraft's spreadsheet app (341 commands in 0.7.0, 514 formula functions). pi-craft provisions the headless
gridcraft-cli on first use (no desktop app). App choice, the loop, hand-off formats and the MCP policy live in
craft-studio; tables and numbers go to GridCraft, not WordCraft/DeckCraft.
What it is for / formats
Create and edit workbooks (cells, formulas, formats, tables, charts, pivots, sheets), evaluate formulas, recalculate,
convert, export. Open: xlsx xlsm xls xlsb ods csv tsv txt json. Write (convert, run --out, file.saveAs):
xlsx csv tsv json html, and pdf only from run (--out x.pdf or file.saveAs/file.exportPdf; convert rejects
.pdf). The native project file is the .xlsx.
CLI dialect
pi-craft gridcraft exec <args…> passes the arguments to gridcraft-cli.
gridcraft-cli commands [--json] [--search X] # table by default; --json = id,label,menu,params,shortcut; NO --filter
gridcraft-cli commands --search chart # substring filter on the id/label (the "describe" of this app = the params column)
gridcraft-cli run [--in FILE | --sample NAME] [--cmd 'id={json}']... [--script FILE.jsonl] [--out FILE] [--print RANGE] [--quiet]
gridcraft-cli eval <formula> [--in FILE] [--sheet S] [--cell A1] [--json]
gridcraft-cli cat <file> [--range A1:D20] [--sheet S] [--formulas] [--csv]
gridcraft-cli convert <in> <out> [--sheet NAME] # xlsx/csv/tsv/json/html by extension
gridcraft-cli info <file> [--json] # sheets, used ranges, tables, charts, names
gridcraft-cli check <file-or-dir>... [--json] # cached-value calc oracle + xlsx round-trip; exit 1 on any difference
gridcraft-cli functions [--search X] [--category C] # formula function catalogue with signatures
- There is no
describe; parameters are theparamscolumn ofcommands. runtakes repeated--cmd 'id={json}'(id=JSON, single-quoted; a bareidtakes no params). All commands run in order on one in-memory workbook.--in FILEopens a file,--sample budget|sales|gradesa demo workbook, neither = blank.--script FILE.jsonl: one step per line, either{"command":"cell.set","params":{…}}or a plaincell.set={…}line.--print A1:D4prints that range after the commands;--quiethides per-command JSON.- Typing model:
cell.set {cell,input}(input=…is a formula),range.setValues {range,values:…}(strings starting=are formulas,null= empty),sheet.read {range,formulas?}returns values,cell.getone cell.
State between invocations
None. A run edits an in-memory workbook that is lost at exit unless --out FILE (or a file.save/file.saveAs command)
writes it. --in F never writes back; use --out F to overwrite. Chain steps through files.
Discovery first
pi-craft gridcraft exec commands --search sheet # ids + one-line param schema
pi-craft gridcraft exec commands --json | jq '.[] | select(.id=="home.numberFormat")'
pi-craft gridcraft exec functions --search lookup # exact function signature before writing a formula
pi-craft gridcraft exec info book.xlsx # sheets, used range, tables, charts
Id families: file.*, cell.*/range.* (data), sheet.*, home.* (formats, rows/columns), formulas.*, data.*
(sort/filter/validation), insert.* (tables, charts, pivots), table.*, pivot.*, chart.*, pageLayout.*, review.*.
Traps
- One failing
--cmdaborts the run, exit 1, nothing written (unknown command \nosuch.cmd``). commands --filteris "unknown option"; the filter is--search, and--search recalcfinds nothing — trycalc.convert x.xlsx x.pdf→ "unknown output format"; PDF comes fromrun --in x.xlsx --out x.pdforfile.saveAs.evaltakes the formula as one quoted word; with a leading=or without both work. Without--init has no cells (eval 'SUM(A1:A3)' --in t.xlsxsums text cells →0). Errors print as values (#NAME?,#DIV/0!) with exit 0; with--jsonan error is{"error":"#DIV/0!"}, a value is the bare JSON ("ab",27.5).- A
--scriptline with inline keys ({"command":"cell.set","cell":"A3",…}) fails: parameters must be under"params". catshows cached/computed values;cat --formulasshows the source.--csvprints CSV to stdout.convertto csv writes the active sheet only (the last sheet added/activated, not necessarily the first); pass--sheet NAMEfor another.file.exportPdfhonours Page Setup; the PDF text layer is extractable, so--text-containsworks.- Verification:
pi-craft verifyhas no spreadsheet probe — verify the PDF derivative (--pages,--text-contains).
MCP route (opt-in)
pi-craft gridcraft mcp --register writes a craft-gridcraft entry into .pi/mcp.json (21 tools). It is not
confined (no read/write root flags): it can touch any file the process can — review b
Установить gridcraft в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл gridcraft?
Headless spreadsheets with GridCraft (XLSX/CSV/TSV workbooks, formula evaluation, recalculation, PDF export), provisioned on demand by pi-craft. Use for "build a budget spreadsheet with formulas", "convert this xlsx to csv", "what does this formula evaluate to", "change a cell and recalculate the totals", "export the sheet to pdf".
Как установить скилл gridcraft?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gridcraft запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic