[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AE5DMYDAGJW27G8KKTZ2BN":3,"skill-same:01M7AE5DMYDAGJW27G8KKTZ2BN":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7AE5DMYDAGJW27G8KKTZ2BN","sandbox-xlsx",null,"Read and write Excel workbooks in a Code node or CodeAct action, with exceljs running on the host","hanchenhao\u002Fai-canvas","hanchenhao","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F15713703?v=4","01M7ADWCF5AE30N3MG7MDF3RV2","01M7ADWCFVJS4V8VD9KWJG22WR",1,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-xlsx\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sandbox-xlsx\ndescription: Read and write Excel workbooks in a Code node or CodeAct action, with exceljs running on the host\n---\n\n# Excel workbooks in the sandbox\n\nSpecifier: `@nodetool-ai\u002Fsandbox-xlsx`. Declare it in the node's `packages`\nproperty and import it at the top of the body.\n\nexceljs is built on Node streams and ships its own zip layer; it will never be a\nguest module. This pack is a **host module**: the import resolves to a generated\nfacade over NodeTool's own implementation.\n\n## parse — workbook bytes to records\n\n```js\nimport { parse } from \"@nodetool-ai\u002Fsandbox-xlsx\";\n\nconst bytes = await workspace.readBytes(\"report.xlsx\");\nconst sheets = await parse(bytes);            \u002F\u002F { \"Sheet1\": [...], \"Costs\": [...] }\nconst rows = await parse(bytes, { sheet: \"Costs\" });   \u002F\u002F one sheet's rows\nreturn { sheetNames: Object.keys(sheets), rows };\n```\n\nOptions: `sheet` (name — returns that sheet's rows directly) and `header`\n(default `true`; `false` gives raw cell arrays). Formula cells yield their\ncomputed result, dates come back as ISO strings, and rich text is flattened.\n\nGet the bytes from `workspace.readBytes`, or from a fetched body with\n`await response.bytes()`.\n\n## write — records to workbook bytes\n\n```js\nimport { write } from \"@nodetool-ai\u002Fsandbox-xlsx\";\n\nconst bytes = await write({ Costs: inputs.rows, Notes: [{ note: \"draft\" }] });\nawait workspace.writeBytes(\"report.xlsx\", bytes);\n```\n\n`{sheetName: rows}` is the short form. The long form is an array, one entry per\nsheet, which is where per-sheet options live:\n\n```js\nconst bytes = await write([\n  {\n    name: \"Costs\",\n    rows: inputs.rows,\n    columns: [\"item\", \"usd\"],                 \u002F\u002F pin the column order\n    styles: [\n      { range: \"A1:B1\", bold: true, background: \"FFE9A8\" },\n      { range: \"B2:B999\", numberFormat: \"$#,##0.00\" }\n    ]\n  }\n]);\n```\n\nRows are records by default, and the header is the union of their keys in\nfirst-seen order unless `columns` pins it. `header: false` takes arrays of\ncells instead and writes no header row. Column widths are fitted to the\ncontent; pass `{ autoFitColumns: false }` to leave them alone. A style's\n`range` is `A1` or `A1:C20`, and it takes `bold`, `italic`, `size`, `color`,\n`background` (hex, with or without `#`) and `numberFormat`.\n\n## Gotchas\n\n- **Both exports are async.**\n- **10 MB per workbook read.** Larger input is refused by name.\n- **A missing sheet name throws**, and the error lists the sheets that exist.\n- **`write` caps a workbook at 64 sheets and 250 000 cells.**\n- **Values that are not a number, string, boolean or date are stored as JSON\n  text.** A cell cannot hold bytes.\n- **Nothing is saved for you.** `write` returns bytes; `workspace.writeBytes`\n  (or `sandboxToAsset`) is what puts them somewhere.\n","# Excel workbooks in the sandbox\n\nSpecifier: `@nodetool-ai\u002Fsandbox-xlsx`. Declare it in the node's `packages`\nproperty and import it at the top of the body.\n\nexceljs is built on Node streams and ships its own zip layer; it will never be a\nguest module. This pack is a **host module**: the import resolves to a generated\nfacade over NodeTool's own implementation.\n\n## parse — workbook bytes to records\n\n```js\nimport { parse } from \"@nodetool-ai\u002Fsandbox-xlsx\";\n\nconst bytes = await workspace.readBytes(\"report.xlsx\");\nconst sheets = await parse(bytes);            \u002F\u002F { \"Sheet1\": [...], \"Costs\": [...] }\nconst rows = await parse(bytes, { sheet: \"Costs\" });   \u002F\u002F one sheet's rows\nreturn { sheetNames: Object.keys(sheets), rows };\n```\n\nOptions: `sheet` (name — returns that sheet's rows directly) and `header`\n(default `true`; `false` gives raw cell arrays). Formula cells yield their\ncomputed result, dates come back as ISO strings, and rich text is flattened.\n\nGet the bytes from `workspace.readBytes`, or from a fetched body with\n`await response.bytes()`.\n\n## write — records to workbook bytes\n\n```js\nimport { write } from \"@nodetool-ai\u002Fsandbox-xlsx\";\n\nconst bytes = await write({ Costs: inputs.rows, Notes: [{ note: \"draft\" }] });\nawait workspace.writeBytes(\"report.xlsx\", bytes);\n```\n\n`{sheetName: rows}` is the short form. The long form is an array, one entry per\nsheet, which is where per-sheet options live:\n\n```js\nconst bytes = await write([\n  {\n    name: \"Costs\",\n    rows: inputs.rows,\n    columns: [\"item\", \"usd\"],                 \u002F\u002F pin the column order\n    styles: [\n      { range: \"A1:B1\", bold: true, background: \"FFE9A8\" },\n      { range: \"B2:B999\", numberFormat: \"$#,##0.00\" }\n    ]\n  }\n]);\n```\n\nRows are records by default, and the header is the union of their keys in\nfirst-seen order unless `columns` pins it. `header: false` takes arrays of\ncells instead and writes no header row. Column widths are fitted to the\ncontent; pass `{ autoFitColumns: false }` to leave them alone. A style's\n`range` is `A1` or `A1:C20`, and it takes `bold`, `italic`, `size`, `color`,\n`background` (hex, with or without `#`) and `numberFormat`.\n\n## Gotchas\n\n- **Both exports are async.**\n- **10 MB per workbook read.** Larger input is refused by name.\n- **A missing sheet name throws**, and the error lists the sheets that exist.\n- **`write` caps a workbook at 64 sheets and 250 000 cells.**\n- **Values that are not a number, string, boolean or date are stored as JSON\n  text.** A cell cannot hold bytes.\n- **Nothing is saved for you.** `write` returns bytes; `workspace.writeBytes`\n  (or `sandboxToAsset`) is what puts them somewhere.\n",{"name":5,"description":7},"main","4ef72a828b24c99c49109033c7ec504c34f3bd17","packages\u002Fsandbox-packs\u002Fsandbox-xlsx",0,"https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas","https:\u002F\u002Fgithub.com\u002Fhanchenhao","2026-08-18 16:41:12",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add hanchenhao\u002Fai-canvas --skill sandbox-xlsx",{"tool":36,"command":37},"bunx","bunx skills add hanchenhao\u002Fai-canvas --skill sandbox-xlsx",{"tool":39,"command":40},"pnpm","pnpm dlx skills add hanchenhao\u002Fai-canvas --skill sandbox-xlsx","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-xlsx\u002FSKILL.md",true,[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"package.json","REFERENCE","参考文档",849,"https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-xlsx\u002Fpackage.json",[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7AE5NP5AWGV47WS3F37VPZ1","sandbox-zip","Read and write zip archives in a Code node or CodeAct action, with fflate running on the host under a 50 MB inflation cap","https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-zip\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7AE5JP0CG2S114Q246RC6MH","sandbox-yaml","Read and write YAML inside a Code node or CodeAct action, with js-yaml running in the guest","https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-yaml\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7AE5GJ9AV36WM1DPW1878VM","sandbox-xml","Parse XML feeds and sitemaps in a Code node or CodeAct action, with fast-xml-parser running on the host","https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-xml\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7AE5BARJSFCT296SEMYDSJQ","sandbox-twilio","Send SMS and WhatsApp messages and look up numbers from a Code node or CodeAct action, with NodeTool's Twilio request builder running on the host","https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-twilio\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7AE57C5APRDF96NB3G0WQMW","sandbox-tfjs","Classify and embed images, detect objects, and answer from a passage in a Code node or CodeAct action, with TensorFlow.js running on the host","https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-tfjs\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M7AE559S35AWH50FJBZ7JNYR","sandbox-supabase","Read and write Supabase tables from a Code node or CodeAct action, with NodeTool's PostgREST request builder running on the host","https:\u002F\u002Fgithub.com\u002Fhanchenhao\u002Fai-canvas\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-supabase\u002FSKILL.md",[],[]]