[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79G04RS9F1HEF251PPS208C":3,"skill-same:01M79G04RS9F1HEF251PPS208C":81},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M79G04RS9F1HEF251PPS208C","Spreadsheets",null,"Use this skill when a user requests to create, modify, analyze, visualize, or work with spreadsheet files (`.xlsx`, `.xls`, `.csv`, `.tsv`) or Google Sheets-targeted spreadsheet artifacts with formulas, formatting, charts, tables, and recalculation.","zfifteen\u002Fskills-catalog","zfifteen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221906715?v=4","01M79CQFXDZM5J5CJTCECPFA66","Dionisio Alberto Lopez III","01M79CQFY4C62PN8A2T5KDAHGA",1,"MIT","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fspreadsheets\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"Spreadsheets\"\ndescription: \"Use this skill when a user requests to create, modify, analyze, visualize, or work with spreadsheet files (`.xlsx`, `.xls`, `.csv`, `.tsv`) or Google Sheets-targeted spreadsheet artifacts with formulas, formatting, charts, tables, and recalculation.\"\n---\n\n# Spreadsheets skill\n\nThis skill includes requirements and guidance for producing a correct, polished spreadsheet artifact quickly that completes the user's request. When producing spreadsheets, workbooks, or Google Sheets-targeted outputs, you will be judged on layout, readability, style, adherence to industry norms\u002Fconventions and correctness. Follow the requirements below for how to use the APIs effectively and how to verify your output before finalizing work for the user.\n\nFor complex, analytical, financial or research involved tasks, you are especially judged on correctness and quality. You need to be professional. For these, always make sure you have a plan for how you're organizing the spreadsheet, and the data or visualizations within each sheet. For business, finance, operations, dashboard, and data-analysis prompts, aim for an output that can compete with a strong analyst-built workbook, not just a functional grid. A good default shape is an executive summary or dashboard first, then source\u002Fassumptions, then model\u002Fdetail sheets. For simpler tasks like a creating template or tracker, or things that do not require research, prioritize doing the spreadsheet build and edits quickly, while ensuring the user's request is fulfilled.\n\nFor additional stylistic best practices, follow: `style_guidelines.md`\n\nRead `charts.md` when creating or editing substantive charts, dashboards, or chart-ready summaries.\n\n## Google Sheets-targeted output\n\n### New Creations\n\nFor a net-new Google Sheets request, create and verify a local `.xlsx` with this skill first. The native Google Sheets deliverable must then be produced by the Google Drive plugin's spreadsheet import action, `mcp__codex_apps__google_drive_import_spreadsheet`, with `upload_mode: \"native_google_sheets\"`.\n\nDo not use Computer Use, Browser Use, blank-Google-Sheets creation plus Google Sheets write APIs, or another direct-to-Sheets construction path for net-new Google Sheets unless the user explicitly asks for that alternate workflow. If they do, mention first that output quality is expected to be best when a local `.xlsx` is imported through the Google Drive plugin.\n\nIf the Google Drive plugin is unavailable, use the plugin-install\u002Fuser-elicitation flow to ask the user to install `google-drive@openai-curated`. If the plugin is available but `_import_spreadsheet` is missing, ask the user to reinstall or refresh the Google Drive plugin before continuing with the native Google Sheets deliverable.\n\nAfter successful native import, the user-facing deliverable is the Google Sheets link. Treat the local `.xlsx` as a build artifact unless the user explicitly asks to keep or receive it.\n\n### Edits\n\nUse the Google Drive plugin's Google Sheets skill for edits to existing Google Sheets. The local `.xlsx` creation and native import workflow above applies only to net-new Google Sheets deliverables.\n\n\n\n# Tools + Contract\n- Use Codex workspace dependencies for spreadsheet artifact work: resolve them through the workspace dependency loader or runtime skill, then treat the returned Node\u002FPython runtimes, package directory, and verification details as authoritative. Do not use system `node`, system `python`, global npm packages, or repo-local installs.\n- Use `@oai\u002Fartifact-tool` JS library, which exists in the default Codex workspace dependencies node_modules, for authoring, editing, inspecting, rendering, and exporting spreadsheet `.xlsx` workbooks.\n- Run builders from a writable conversation-specific temp or workspace directory, not from the managed dependency directory. Outputs and scratch files may live under the OS temp directory.\n- Start by setting up the work directory to work with normal Node module resolution: link or junction local `node_modules` to the workspace dependency node_modules so `import \"@oai\u002Fartifact-tool\"` resolves.\n- Prefer one executable `.mjs` builder; patch and rerun it when iterating. Do NOT use shell heredocs or keep extra builder copies.\n- If workspace dependencies or `@oai\u002Fartifact-tool` are unavailable, report a setup blocker; do not guess paths, install packages, use system deps, alter module resolution, copy\u002Fimport bundled internals, or do a broad file system search.\n- Do not search package internals or dump prototypes to discover APIs. Use the API reference below; if blocked, run at most one exact `workbook.help(\"\u003Capi_or_feature>\")` query before building.\n- Final response: include a short user-visible summary and standalone Markdown link(s) only to final `.xlsx` artifact(s), one per line: `[Revenue Model - MNST.xlsx](\u002Fabsolute\u002Fpath\u002Fto\u002Frevenue_model_mnst.xlsx)`.\n- Do not mention internal tooling or support artifacts such as builders, rendered previews, JSON\u002FCSV\u002Flog files, or scratch files unless explicitly requested.\n- Do not use alternate workbook creation\u002Fediting libraries such as `openpyxl`, `xlsxwriter`, or `pandas.ExcelWriter` unless the user explicitly asks for a non-artifact-tool fallback.\n- For analysis outside workbook authoring, use JS or spreadsheet formulas when sufficient. If Python is needed, use bundled Python libraries, save JSON\u002FCSV intermediates, and have the JS builder create the workbook. Keep auditable\u002Fuser-editable calculations as formulas.\n- For nontrivial work, use `update_plan`: build quickly, verify\u002Frender, repair meaningful issues, then finalize without long polish loops. Incrementally rendering your work and assessing overall aesthetics, formatting and correctness along the way is very important (rigorously inspect the output and be confident in quality), but do not get stuck in a long render-verify loop. As part of your plan, think about the best practices and conventions to follow for the specific type of spreadsheet you're creating and the best way to structure the workbook for readability and usability.\n\n# Domain Requirements\nRead these domain templates only when the request clearly relates to the domain:\n- Finance, accounting, valuation, forecasting, budgeting, investing, operations metrics, investment banking, DCF, multi-statement models, sensitivity\u002Fscenario models, or source-backed financial filing analysis: `templates\u002Ffinancial_models.md`\n- Healthcare, clinical, patient, medical, hospital, staffing, care delivery, or healthcare administration workbooks: `templates\u002Fhealthcare.md`\n- Marketing, advertising, campaign, funnel, lead, CRM, growth, attribution, ROI, or web\u002Fad performance workbooks: `templates\u002Fmarketing_advertising.md`\n- Scientific research, experiments, lab measurements, surveys, statistical analysis, reproducibility, protocol, or raw\u002Fprocessed research data workbooks: `templates\u002Fscientific_research.md`\n\nRead all templates that clearly apply. Do not load domain templates for unrelated routine, lightweight, or basic formatting\u002Fediting tasks unless the user explicitly asks.\n\nOnly add Checks sheets for models where correctness depends on linked calculations, source reconciliation, or financial statement\u002Fmodel integrity.\n\n# General Rules\n- Start meaningful edits quickly; avoid long upfront API exploration.\n- Core APIs are listed in the API reference section below. Use them.\n- If these skill instructions are already loaded in context, do not spend a shell turn re-reading this `SKILL.md` from disk. Move directly to the prompt, attachments, and workbook build.\n- For workbook with multiple tabs\u002Fsheets, create\u002Fpopulate non-formula inputs\u002Ftables and sheets prior to populating cross-sheet formulas.\n\n## Approach for quickly building a new spreadsheet\n1. Setup: import `@oai\u002Fartifact-tool`, create workbook\u002Fsheets for new files.\n2. Build quickly: bulk-write headers\u002Fdata\u002Fformulas; then formatting\u002Fvalidation\u002Fconditional formatting; add charts\u002Ftables only when needed.\n3. Use additional focused calls if helpful for streamed progress.\n4. Near completion: inspect key ranges, scan formula errors, render all the sheets and verify, run a validation pass\n5. Export `.xlsx`\n\n## Making edits on a spreadsheet\nIf a user asks to edit or add to an existing spreadsheet:\n- For visual fix requests, start with the smallest plausible local change rather than applying sheet-wide autofit, wrapping, or restyling.\n- When making edits, ensure existing formulas and patterns are consistent. For example, if asked to add another column or row to a table and there is conditional formatting applied to the whole table, it should extend to the new column or rows as well.\n- If specific cells\u002Frows\u002Fcolumns are specified in prompt, limit edits to those ranges unless a broader change is clearly necessary. The exceptions are when other parts of the spreadsheet depend on them, e.g. if there's a dynamic chart that is based on the range of values in a table and a new row is added, the chart should include that new row. Another example is if conditional formatting was already set for a table from A1:C5, and you add a new column D, the conditional formatting should be updated (or deleted and re-created) to cover A1:D5.\n- For column resizing, avoid autofitting by default: instead, inspect only relevant data range, measure the longest text entry in that range, and set columnWidthPx to an estimated width based on text length (with a reasonable min\u002Fmax cap). Use autofit only when the user explicitly asks for it.\n\n## Handling queries and questions\n- The user may ask questions about the sheet instead of requesting an edit or a change. Simply answer those questions about the spreadsheet based on the context available rather than making an edit the user didn't intend for. You can use inspect to learn more or directly read values\u002Fformulas\u002Ftables etc via accessor methods.\n\n# Error Recovery\nOn first error:\n1. Read error text.\n2. Run one targeted `workbook.help(\"\u003Cexact_api>\")` query only if needed.\n3. Retry with minimal patch (not full rewrite).\n4. Continue from existing workbook state.\n\nDo not loop indefinitely on similar failures.\n\n# Quality Guidelines\n- Keep layout readable and bounded, contents visible:\n  - avoid extreme width\u002Fheight from unconstrained autofit\n  - cap oversized widths\u002Fheights after `autofit` + `wrap_text`\n- Prefer formula-driven logic over manual painted cells when logic is expected.\n- Derived values must be formulas (not hardcoded) and legible.\n- Use absolute\u002Frelative references correctly for fill\u002Fcopy behavior.\n- Do not use magic numbers in formulas; reference cells (e.g. `=H6*(1+$B$3)`).\n- Blank editable templates must look blank\u002Fneutral before user data is entered. Count, ranking, best\u002Fworst, IRR\u002FRATE\u002FXIRR, variance, and status formulas should guard on required input cells and return `\"\"`, `0`, or a clear \"No entries yet\" state as appropriate. Alternatively, prefill with a few rows of example data.\n- Include at least one visual summary for tracker\u002Fplanning requests when appropriate (KPI block, chart, dashboard area).\n- For dashboard, visualization, chart-ready analysis, budget\u002Freporting, trend, schedule\u002Ftimeline, and KPI prompts with plottable data, include at least one native Excel chart unless a verified export failure remains after simplifying the chart. Do not silently replace all charts with styled tables.\n- For presentation-ready analytical workbooks, plain range formatting alone is usually not enough. Prefer real Excel structures where useful: tables, freeze panes, filters, data validation, conditional formats, and at least one chart\u002FKPI\u002Fdashboard visual when the prompt implies summary analysis.\n- In rendered previews of dashboards and summary sheets, check financial values and row labels at normal zoom. Widen columns, adjust row heights, or move chart panels until important numbers and text are not clipped, awkwardly wrapped, or hidden.\n\n# Completion Criteria\nComplete only when:\n- Workbook content is populated and formulas compute.\n- No obvious formula errors in key scanned ranges (no bad refs\u002Foff-by-one\u002Fcircular errors).\n- `.xlsx` saved to `outputs\u002F\u003Cunique_thread_id>\u002F`.\n- Layout is organized, legible, and aligned to request style (or default formatting baseline).\n\n# Verification Rules\nBefore final response, verify values\u002Fformulas and visual quality.\n\n1. Inspect key ranges:\n```js\nconst check = await workbook.inspect({\n  kind: \"table\",\n  range: \"Dashboard!A1:H20\",\n  include: \"values,formulas\",\n  tableMaxRows: 20,\n  tableMaxCols: 12,\n});\nconsole.log(check.ndjson);\n```\n\nInspect targeting:\n- Prefer sheet-qualified ranges (`\"Sheet!A1:H20\"`) or `sheetId`.\n\n2. Scan formula errors:\n```js\nconst errors = await workbook.inspect({\n  kind: \"match\",\n  searchTerm: \"#REF!|#DIV\u002F0!|#VALUE!|#NAME\\\\?|#N\u002FA\",\n  options: { useRegex: true, maxResults: 300 },\n  summary: \"final formula error scan\",\n});\nconsole.log(errors.ndjson);\n```\n\n3. Render sheets\u002Franges to verify visual output (skip if already verified and no style changes):\n```js\nconst blob = await workbook.render({ sheetName: \"Sheet1\", range: \"A1:H20\", scale: 2 });\n```\nMake sure you do at least one visual pass of all the sheets in the workbook before the final export.\n\nVisual requirements:\n- Fix severe defects before finalizing: blank\u002Fbroken charts, clipped key headers or numbers, unreadable colors, obvious formula errors, default blank sheets, or content outside the visible working area.\n- Ensure logical labels or titles appear once, texts are all clearly visible, and merged ranges exist where labels or content intentionally span multiple columns.\n- Do one focused visual repair pass after the initial render. Do not spend additional passes on minor polish once the workbook is correct, legible, and exported; note any minor limitation briefly and finalize.\n\n4. Keep verification compact:\n- Inspect key ranges.\n- Avoid huge NDJSON dumps.\n\n5. Export:\n```js\nawait fs.mkdir(outputDir, { recursive: true });\nconst output = await SpreadsheetFile.exportXlsx(workbook);\nawait output.save(`${outputDir}\u002Foutput.xlsx`);\n```\n\n6. Finalize immediately after successful export + compact verification.\n- Do not export extra `.xlsx` variants unless asked.\n- Do not keep iterating on alternate designs once requirements are met, unless asked.\n\n# Source, PDF, and Attachment Processing\n- Use bundled runtime libraries for source extraction. For PDF or 10-K\u002F10-Q style inputs, read PDF via bundled Python `pypdf` when available, then use one small structured extraction script to collect all required facts into a dict\u002FJSON object. Avoid many ad hoc `rg`\u002F`sed` passes over the same text.\n- Keep source notes compact: record file name, section\u002Ftable label, and enough context to audit the number. Do not paste large PDF excerpts into the workbook unless requested.\n- Bundled Python libraries available for extraction\u002Fanalysis include `pandas`, `numpy`, `pypdf`, `python-docx`, and `reportlab`.\n- Bundled JS libraries available for document\u002FPDF work include `docx`, `pdf-lib`, and `pdfjs-dist`.\n\n# Using artifact_tool APIs (JavaScript)\n\nLibrary version: 2.8.6+\n\n## Required Imports + Startup\n\nImport existing workbook only when needed:\n```js\nimport { FileBlob, SpreadsheetFile } from \"@oai\u002Fartifact-tool\";\n\nconst input = await FileBlob.load(\"path\u002Fto\u002Finput.xlsx\");\nconst workbook = await SpreadsheetFile.importXlsx(input);\n```\n\nImport CSV text directly when the source or intermediate data is CSV:\n```js\nimport fs from \"node:fs\u002Fpromises\";\nimport { Workbook } from \"@oai\u002Fartifact-tool\";\n\nconst csvText = await fs.readFile(\"path\u002Fto\u002Finput.csv\", \"utf8\");\nconst workbook = await Workbook.fromCSV(csvText, { sheetName: \"Sheet1\" });\n```\nPrefer `Workbook.fromCSV(...)` over hand-parsing CSV rows; clean or analyze CSV with Python\u002FNode first only when needed.\n\nCreate new workbook:\n```js\nimport fs from \"node:fs\u002Fpromises\";\nimport { SpreadsheetFile, Workbook } from \"@oai\u002Fartifact-tool\";\n\nconst workbook = Workbook.create();\nconst sheet = workbook.worksheets.add(\"Inputs\");\n```\n\nFinal export:\n```js\nawait fs.mkdir(outputDir, { recursive: true });\nconst output = await SpreadsheetFile.exportXlsx(workbook);\nawait output.save(`${outputDir}\u002Foutput.xlsx`);\n```\n\n## Build Patterns\n- Prefer block writes (`range.values`, `range.formulas`) over per-cell loops. Matrix shape must match the target range (for example `\"D4:M4\"` should be a 1x10 matrix, row x col).\n- Seed scalar formulas once, then `fillDown()` \u002F `fillRight()`. For dynamic-array formulas (`SEQUENCE`, `UNIQUE`, `FILTER`, `SORT`, `VSTACK`, `HSTACK`), write only the anchor cell and let the result spill after.\n- Use `range.displayFormulas` plus `range.formulaInfos` when you need to understand a spill child or a data-table output cell.\n- You do not need to call recalculate; calculation automatically happens.\n- Date handling:\n  - Prefer real `Date` objects for sortable\u002Fcharted\u002Fformula date columns.\n  - Apply date formats explicitly (for example `yyyy-mm-dd`).\n- Use JSON-serializable values for non-Date cells: `string | number | boolean | null`.\n- If a cell is intended to display literal text that begins with `=`, write it as a value prefixed with a single quote (for example `'=B2*C2`). This includes formula descriptions, validation examples, and labels; do not write these cells through `range.formulas`.\n- Create every worksheet referenced by formulas before writing any cross-sheet formulas.\n- When rebuilding dashboards, delete drawings first with `sheet.deleteAllDrawings()`. `range.clear()` does not remove charts, shapes, or images.\n- Verify with `await workbook.inspect(...)`; use `workbook.help(...)` only when the quick surface below is insufficient.\n\n## Conventions\n- Use camelCase API names and option keys.\n- Cell\u002Frange addressing: A1 notation (`sheet.getRange(\"A1:C10\")`).\n- Drawing anchors (`sheet.charts`, `sheet.shapes`, `sheet.images`): 0-based `{ row, col }`.\n- Drawing offsets\u002Fextents use pixels (`rowOffsetPx`, `colOffsetPx`, `widthPx`, `heightPx`).\n\n## API Discovery Policy (Strict)\n- Use this quick API surface first.\n- Over 440 Excel formulas are supported, covering the most common ones. Use `workbook.help` in the way described below to browse families of formulas or to lookup a specific formula. \n- Use `workbook.help(...)` only when blocked by uncertainty.\n- For help queries, start with exact feature\u002Fpath lookups (`chart`, `worksheet.getRange`, `worksheet.freezePanes`, `range.dataValidation`, `chart.series.add`). If an exact path fails, one broader wildcard search is allowed.\n- Do not repeat semantically similar help queries.\n- If one help query returns 0 matches, reformulate once, then proceed best-effort.\n- `render` can be used to examine an existing workbook visually and for visual verifications.\n\n## Supported Formulas\n- To check if the exact Excel formula is supported, or to see how it's used, use `fx.\u003Cformula>`: `workbook.help(\"fx.PMT\", { include: \"index,examples,notes\", maxChars: 3000 })`.\n- To browse a family of formulas, use `fx.*` with a category regex. Useful categories: `financial`, `math-trig`, `statistical`, `lookup-reference`, `logical`, `text`, `date-time`, `information`, `engineering`, `database`.\n- For intent-based lookup, use a short natural query plus a narrow `search` regex of likely functions.\n- Keep `maxChars` bounded; if results are noisy, narrow `search` rather than issuing many similar queries.\n\nUseful `help` calls:\n```js\nconsole.log(workbook.help(\"shape.add\", { include: \"examples,notes\" }).ndjson);\nconsole.log(\n  workbook.help(\"*\", {\n    search: \"fill|borders|autofit\",\n    include: \"index,examples,notes\",\n    maxChars: 6000,\n  }).ndjson,\n);\nconsole.log(workbook.help(\"fx.PMT\", { include: \"index,examples,notes\" }).ndjson);\nconsole.log(workbook.help(\"fx.*\", { search: \"financial\", include: \"index,examples\", maxChars: 4000 }).ndjson);\nconsole.log(workbook.help(\"fx.*\", { search: \"math-trig\", include: \"index,examples\", maxChars: 4000 }).ndjson);\nconsole.log(workbook.help(\"lookup with fallback\", { search: \"XLOOKUP|INDEX|MATCH|IFERROR\", include: \"index,examples,notes\", maxChars: 4000 }).ndjson);\n```\n\n## Reading existing\u002Fimported workbooks\n- On existing\u002Fimported workbooks, get a compact summary via `inspect` to understand what already exists and where.\n- Prefer `inspect(...)` for workbook understanding and discovery across broad areas.\n- Prefer direct getters like `range.formulas` when you already know the target range and need the exact rectangular formula matrix.\n- If formula locations are unknown, prefer `inspect({ kind: \"formula\", ... })` over reading `range.formulas` across a very large area.\n- Prefer to set `maxChars`, `tableMaxRows`, `tableMaxCols`, and\u002For `maxResults` to prevent large dumps of data.\n- For suspicious or high-impact outputs, use `workbook.trace(\"Sheet!A1\")` to audit the dependency tree from final output\u002Fcheck cell back to source cells. Trace output can be large, so summarize by depth\u002Fnode count before logging.\n\n### Inspect for workbook understanding\n- Compact summary:\n```js\nawait wb.inspect({\n  kind: \"workbook,sheet,table\",\n  maxChars: 6000,\n  tableMaxRows: 6,\n  tableMaxCols: 6,\n  tableMaxCellChars: 80,\n});\n```\n- Quick overview of sheet ids and names: `await wb.inspect({ kind: \"sheet\", include: \"id,name\" })`\n- Formula discovery in a targeted area: `await wb.inspect({ kind: \"formula\", sheetId: firstSheetName, range: \"A1:Z30\", maxChars: 2500, options: {maxResults:50} })`\n- Checking existing styles in a targeted area: `await wb.inspect({ kind: \"computedStyle\", sheetId: firstSheetName, range: \"A1:E10\", maxChars: 2500 })`\n- Common `kind` tokens: `workbook`, `sheet`, `table`, `region`, `match`, `formula`, `thread`, `computedStyle`, `definedName`, `drawing`\n- Inspects can also be used to zoom in on specific areas, especially for target edits:\n```js\nawait wb.inspect({\n  kind: \"region\",\n  sheetId: firstSheetName,\n  range: \"A1:Z30\",\n  maxChars: 2500,\n});\n```\n- Inspect output may include JSON records with `\"id\"` values (for example `\"ws\u002Fr5qsk5\"`), which you can resolve back to workbook objects with `wb.resolve(...)`:\n- `wb.resolve(\"ws\u002F...\")` -> worksheet\n- `wb.resolve(\"th\u002F...\")` -> comment thread\n\n## Additional feature-specific notes\n\n### Merging cells\n- Merging cells is useful for visual headers, title bands, note\u002Fsource blocks, and other multi-cell labels that span columns.\n- If you plan to set a range of cells to a single value, consider merging those cells first.\n- `range.merge()` merges the target range into one cell; `range.merge(true)` merges across each row in the target range.\n- `range.unmerge()` reverses a merge.\nFor example:\n```js\nconst range = sheet.getRange(\"I23:N24\");\nrange.merge();\nrange.values = [[\"Source note spanning the recommendation panel\"]];\n```\n\n## Known Gotchas (Do not repeat)\n- Do not set undocumented attributes on remote objects.\n- `Workbook.create()` starts with no sheets; add one before calling `getActiveWorksheet()`.\n- If a formula appears unsupported use an alternate equivalent.\n- Use matrix sizes that match target ranges unless you intentionally spill.\n- Create every worksheet referenced by formulas before writing cross-sheet formulas.\n- Avoid full-column formula references such as `A:A`, `$A:$A`, or `Sheet!B:B`. Prefer bounded ranges sized to the editable table, e.g. `$A$6:$A$205`, especially inside `COUNTIFS`, `SUMIFS`, `INDEX`, and lookup formulas.\n- If a formula appears unsupported, use an alternate equivalent.\n- If export fails, isolate the cause by checkpoint-export after major blocks to isolate the cause: base sheets, values\u002Fformulas, formatting, conditional formatting, tables, charts\u002Frendering. For charts, first simplify optional styling first: nested border configs, custom chart axis\u002Fseries mutations, broad autofit\u002Fformatting, then nonessential drawings.\n\n## Quick API Surface (High-Value + Common)\n\n### Core workbook\u002Ffile APIs\n- `import { FileBlob, SpreadsheetFile, Workbook } from \"@oai\u002Fartifact-tool\"`\n- `const workbook = Workbook.create(); const sheet = workbook.worksheets.add(\"Sheet1\")`\n- `const workbook = await SpreadsheetFile.importXlsx(arrayBufferOrFileBlob)`\n- `const xlsx = await SpreadsheetFile.exportXlsx(workbook); await xlsx.save(\"output.xlsx\")`\n- `const inspect = await workbook.inspect({ kind: \"sheet\", include: \"id,name\", sheetId, range: \"A1:C10\" })`\n- `const help = workbook.help(\"worksheet.getRange\", { include: \"index,examples\" })`\n- Preferred: `const blob = await workbook.render({ sheetName: \"Sheet1\", autoCrop: \"all\", scale: 1, format: \"png\" })`\n- To get the bytes and\u002For save the blob to file:\n```js\nconst previewBytes = new Uint8Array(await preview.arrayBuffer());\nawait fs.writeFile(`${outputDir}\u002Fpreview.png`, previewBytes);\n```\n- `const workbook = await Workbook.fromCSV(csvText, { sheetName: \"Sheet1\" })`\n- `await workbook.fromCSV(csvText, { sheetName: \"ImportedData\" })`\n\n### Worksheet selection\u002Fcreation\n- `workbook.worksheets.add(name)`\n- `workbook.worksheets.getItem(name)`\n- `workbook.worksheets.getOrAdd(name, { renameFirstIfOnlyNewSpreadsheet: true })`\n- `workbook.worksheets.getItemAt(index)`\n- `workbook.worksheets.getActiveWorksheet()` (only after at least one sheet exists)\n\n### Worksheet operations\n- `sheet.getRange(\"A1:C10\")`, `sheet.getRangeByIndexes(startRow, startCol, rowCount, colCount)`, `sheet.getCell(row, col)`\n- `sheet.getUsedRange(valuesOnly?)`\n- `sheet.mergeCells(\"A1:C1\")`, `sheet.unmergeCells(\"A1:C1\")`\n- `sheet.freezePanes.freezeRows(1)`, `sheet.freezePanes.freezeColumns(2)`, `sheet.freezePanes.unfreeze()`\n- `sheet.tables`, `sheet.charts`, `sheet.sparklineGroups` (`sheet.sparklines` alias), `sheet.shapes`, `sheet.images`\n- `sheet.showGridLines = false`\n- `sheet.dataTables`, `sheet.conditionalFormattings`, `sheet.dataValidations`\n- `sheet.deleteAllDrawings()` removes charts, shapes, and images before a dashboard rebuild.\n\n### Range values\u002Fformulas\n- `const range = sheet.getRange(\"A1:C10\")`\n- `range.values = [[...], ...]` (2D matrix of values)\n- `range.formulas = [[\"=...\"], ...]`\n- `range.formulasR1C1 = [[\"=RC[-1]*2\"]]`\n- To read: `range.values` \u002F `range.formulas` \u002F `range.displayFormulas` \u002F `range.formulaInfos` (for spill\u002Farray formulas)\n- `range.write(matrixOrPayload)` (auto-sizes\u002Fspills from anchor as needed)\n- `range.writeValues(matrixOrRows)`\n- `range.fillDown()`, `range.fillRight()`\n  - `sheet.getRange(\"D2\").formulas = [[\"=...\"]]`\n  - `sheet.getRange(\"D2:D200\").fillDown()`\n- `range.clear({ applyTo: \"contents\" | \"formats\" | \"all\" })`\n- `range.copyFrom(sourceRange, \"values\" | \"formulas\" | \"all\")` source and destination must have the same shape\n- `range.copyTo(destRange, \"values\" | \"formulas\" | \"all\")`\n- `range.offset(...)`, `range.resize(...)`, `range.getCurrentRegion()`, `range.getRow(i)`, `range.getColumn(j)`\n- `range.getRangeByIndexes(...)`, `range.getCell(...)`\n- `range.merge()`, `range.merge(true)` to merge across, `range.unmerge()`\n\n### Formatting\n- `range.format` supports `fill`, `font`, `numberFormat`, `borders`, alignments, `wrapText`\n- `range.format.autofitColumns()`, `range.format.autofitRows()`\n- Excel unit sizing:  `range.format.columnWidth = 18`, `range.format.rowHeight = 24`\n- Pixel sizing: `range.format.columnWidthPx = 120`, `range.format.rowHeightPx = 24`\n- `range.setNumberFormat(\"yyyy-mm-dd\")`\n- `range.format.numberFormat = [[\"0\"], [\"0.00\"], [\"@\"]]`\n- Borders: There are two ways to set borders on a range (1) simple form (2) per edge form. Example:\n```js\n\u002F\u002F (1) Preferred simple form\n\u002F\u002F `preset` can be \"none\" | \"outside\" | \"inside\" | \"all\" | \"doubleBottom\"\n\u002F\u002F \"outside\" will just set borders on the outside edges of the range.\n\u002F\u002F `style` are Excel\u002FOpenXML-style names such as \"thin\", \"medium\", \"thick\", \"dashed\", and \"dotted\".\nrange.format.borders = { preset: \"all\", style: \"thin\", color: \"#D9D9D9\" };\n\n\u002F\u002F (2) Per-edge form. Use top\u002Fbottom\u002Fleft\u002Fright, not edgeTop\u002FedgeBottom\u002Fetc.\n\u002F\u002F Format: {style?: string; color?: ColorConfig; weight?: number;}\n\u002F\u002F Prefer setting `style` over `weight` unless you want granular control.\nrange.format.borders = {\n  insideHorizontal: { style: \"thin\", color: \"#D9D9D9\" },\n  insideVertical: { style: \"medium\", color: \"#D9D9D9\" },\n  top: { style: \"thick\", color: \"#D9D9D9\" },\n  bottom: { style: \"dashed\", color: \"#D9D9D9\" },\n  left: { style: \"dotted\", color: \"#D9D9D9\" },\n  right: { style: \"thin\", color: \"#D9D9D9\" },\n};\n```\n\n### Data Validation\n- `range.dataValidation = { rule: { type: \"list\", formula1: \"Categories!$A$2:$A$4\" } }`\n- `range.dataValidation = { rule: { type: \"list\", values: [\"Not Started\", \"In Progress\"] } }`\n- `sheet.dataValidations.add({ range: \"B2:B100\", rule: { type: \"whole\", operator: \"between\", formula1: 1, formula2: 10 } })`\n\n### Conditional formatting\n- Use `range.conditionalFormats.add(ruleType, ConditionalFormatConfig);`.\n- Use `range.conditionalFormats.add(ruleType, {operator, formula, format});`. Choose ruleType, operator, color, and style strings from the inline types below.\n```\ntype ConditionalFormatRuleType =\n  | \"cellIs\" | \"CellValue\" | \"Custom\" | \"expression\"\n  | \"colorScale\" | \"dataBar\" | \"iconSet\"\n  | \"containsText\" | \"notContainsText\" | \"beginsWith\" | \"endsWith\"\n  | \"containsBlanks\" | \"notContainsBlanks\" | \"containsErrors\" | \"notContainsErrors\"\n  | \"duplicateValues\" | \"uniqueValues\" | \"timePeriod\" | \"top10\" | \"aboveAverage\";\n\ntype CellIsOperator =\n  | \"greaterThan\"\n  | \"greaterThanOrEqual\"\n  | \"lessThan\"\n  | \"lessThanOrEqual\"\n  | \"equal\"\n  | \"notEqual\"\n  | \"between\"\n  | \"notBetween\";\n\ntype ConditionalFormatConfig =\n  | { operator: CellIsOperator; formula: string | number | Array\u003Cstring | number>; format?: DifferentialFormatConfig }\n  | { formula: string | number; format?: DifferentialFormatConfig }\n  | { colors?: ColorConfig[]; thresholds?: CfvoInput[] }\n  | { color?: ColorConfig; thresholds?: CfvoInput[]; gradient?: boolean }\n  | { iconSet: string; showValue?: boolean; reverse?: boolean; thresholds?: CfvoInput[] }\n  | { text: string; format?: DifferentialFormatConfig }\n  | { timePeriod: \"yesterday\" | \"today\" | \"tomorrow\" | \"last7Days\" | \"lastWeek\" | \"thisWeek\" | \"nextWeek\" | \"lastMonth\" | \"thisMonth\" | \"nextMonth\"; format?: DifferentialFormatConfig }\n  | { rank?: number; percent?: boolean; bottom?: boolean; format?: DifferentialFormatConfig }\n  | { aboveAverage?: boolean; equalAverage?: boolean; stdDev?: number; format?: DifferentialFormatConfig };\n\ntype DifferentialFormatConfig = {\n  fill?: FillConfig;\n  font?: { bold?: boolean; italic?: boolean; color?: ColorConfig };\n  border?: RangeBordersConfig;\n  numberFormat?: string;\n};\n\ntype CfvoInput =\n  | \"min\"\n  | \"max\"\n  | number\n  | `${number}%`\n  | { type: \"min\" | \"max\" | \"num\" | \"percent\" | \"percentile\"; value?: string | number };\n```\n- Rule types (`ConditionalFormatRuleType`): \"cellIs\" | \"CellValue\" | \"Custom\" | \"expression\"\n  | \"colorScale\" | \"dataBar\" | \"iconSet\"\n  | \"containsText\" | \"notContainsText\" | \"beginsWith\" | \"endsWith\"\n  | \"containsBlanks\" | \"notContainsBlanks\" | \"containsErrors\" | \"notContainsErrors\"\n  | \"duplicateValues\" | \"uniqueValues\" | \"timePeriod\" | \"top10\" | \"aboveAverage\";\n- Built-in `iconSet` names: `3Arrows`, `3Triangles`, `4Arrows`, `5Arrows`, `3ArrowsGray`, `4ArrowsGray`, `5ArrowsGray`, `3TrafficLights1`, `3Signs`, `4RedToBlack`, `3TrafficLights2`, `4TrafficLights`, `3Symbols`, `3Flags`, `3Symbols2`, `3Stars`, `5Quarters`, `5Boxes`, `4Rating`, `5Rating`.\n- Custom conditional formatting: `range.conditionalFormats.addCustom(expression, {fill, font, border});`\n- `range.conditionalFormats.deleteAll()` \u002F `range.conditionalFormats.clear()`\n\n```js\nconst grid = sheet.getRange(\"B2:J10\");\ngrid.conditionalFormats.add(\"colorScale\", {\n  criteria: [\n    { type: \"lowestValue\", color: \"#2563EB\" },\n    { type: \"percentile\", value: 50, color: \"#FDE047\" },\n    { type: \"highestValue\", color: \"#DC2626\" },\n  ],\n});\n```\n\n### Tables\n- When adding new tables, set explicit unique names (`TasksTable`, `SummaryTable`).\n- You cannot have multiple tables over the same range. Before adding a table on an existing\u002Fimported workbook, confirm the target range does not already overlap an existing table. Prefer the initial compact `inspect` summary over a separate tables-only scan when available.\n- `const table = sheet.tables.add(\"A1:H200\", true, \"TasksTable\")`\n- `table.rows.add(null, [[...], ...])`, `table.getDataRows()`, `table.getHeaderRowRange()`\n- Read tables: `sheet.tables.items` -> `Table[]`\n- Set + Getters: `table.name`, `table.style`, `table.style`, `table.showHeaders`\n- Toggles for table utilities (set\u002Fget): `table.showTotals`, `table.showBandedColumns = true`, `table.showFilterButton`\n- `table.delete()`\n\n### Images\n- `sheet.images.add({dataUrl: \"data:image\u002Fpng;base64,...\", anchor: {from: { row: 1, col: 2 }, extent: { widthPx: 160, heightPx: 120 }}})`\n\n\n### Threaded Comments\nThis is the API to create a threaded comment in Excel, which requires a user-visible author.\n- Required: First, always first call set_self to create an author `workbook.comments.setSelf({\"displayName\": \u003Cuser_display_string>})`. where `\u003Cuser_display_string>` is a string, e.g. \"User\"\n- Create a new thread with a single comment: `const thread = workbook.comments.addThread({\"cell\": sheet.getRange(\"E2\")}, \"Source: \u003Cwebsite>\")`\n- To reply to a threaded comment: `thread.addReply(\"This is a reply to the comment\")`\n- To resolve\u002Fre-open a thread: `thread.resolve()`, `thread.reopen()`\n\n### Charts\n- When adding or moving charts, do not cover existing data. Put charts in a reserved rectangle with blank gutter columns\u002Frows around the chart area.\n- If chart data comes from editable\u002Fsource data, ensure data\u002Fseries is formula-backed instead of literal values.\n- Fast chart path: If you already have a continuous range with text categories and one column per series, directly chart that range via `sheet.charts.add(chartType, range)`:\n```js\nsheet.getRange(\"F4:H7\").values = [\n  [\"Month\", \"Revenue\", \"EBITDA\"],\n  [\"Jan\", 100, 10],\n  [\"Feb\", 120, 18],\n  [\"Mar\", 130, 22],\n];\nconst chart = sheet.charts.add(\"line\", sheet.getRange(\"F4:H7\"));\n```\nSetting a range will auto-populate series information (series.formula, series.categoryFormula) with A1 range-reference strings internally. The first column is treated as categories (x-axis labels) and remaining columns are treated as series values (one series per column). First row will only be treated as headers if it's text and not numeric.\n- For advanced chart creation where you might want to define each series, you can do the following: \n```js\nconst chartConfig = {\n  chartType: \"bar\",\n  title: \"Scores By Person\",\n  hasLegend: true,\n}; \u002F\u002F type WorksheetChartConfig\nconst chart = sheet.charts.add(\"bar\", chartConfig);\n\u002F\u002F Add series\nconst series = chart.series.add(\"Scores\");\nseries.categoryFormula = \"'Scores'!$A$2:$A$10\"; \u002F\u002F string\nseries.formula = \"'Scores'!$E$2:$E$10\"; \u002F\u002F string\nseries.fill = \"#F472B6\";\n```\n- After creating a chart with data, specify position, title, axis via the following:\n```js\nchart.setPosition(\"J4\", \"Q20\");\nchart.title = \"Revenue and EBITDA Trend\";\nchart.titleTextStyle.fontSize = 12;\nchart.hasLegend = true;\nchart.xAxis = { axisType: \"textAxis\", textStyle: { fontSize: 10} };\n\u002F\u002F Number formatting on chart axis must be set separately even if the source range is already formatted.\nchart.yAxis = { numberFormatCode: \"$#,##0\", tickLabelInterval: 2, min: 20000, max:1000000 };\nchart.xAxis.title.text = \"Month\"; \u002F\u002F Set axis titles\nchart.yAxis.title.text = \"Revenue and EBITDA\";\n```\n- To manually set the chart's source range, use `chart.setData(range)`, which replaces all existing chart data\u002Fseries.\n- To read about a chart, the following fields exist on the `Chart` object: `type`, `title`, `categories`. To read all series: `chart.series.items`\n- If using compat positioning, always set position: `chart.setPosition(\"F2\", \"M20\")`.\n- `sheet.charts.getItemOrNullObject(\"Chart 1\")`, `sheet.charts.deleteAll()`\n- For month\u002Fdate x-axes, prefer a chart helper range with text labels such as `Jan 2025` or `2025-01`. Do not rely on date axis number formats alone; rendered previews can show Excel serial numbers.\n- Chart types: `\"bar\" | \"line\" | \"area\" | \"pie\" | \"doughnut\" | \"scatter\" | \"bubble\" | \"radar\" | \"stock\" | \"treemap\" | \"sunburst\" | \"histogram\" | \"boxWhisker\" | \"waterfall\" | \"funnel\" | \"map\"`.\n\n### Sparklines\n```\nconst group = sheet.sparklineGroups.add({\n  type,\n  targetRange,\n  sourceData,\n  dateAxisRange,\n  seriesColor,\n  negativeColor,\n  markers,\n  axis,\n  lineWeight,\n  displayEmptyCellsAs,\n  displayHidden,\n});\n```\n- Sparkline type is a string. Empty-cell display mode and axis min\u002Fmax modes are proto enum numbers on the current facade; inspect nearby tests before setting them directly.\n- Sparkline Inline Type:\n```\ntype SparklineConfig = {\n  type: \"line\" | \"column\" | \"stacked\";\n  targetRange: Range | string;\n  sourceData: Range | string;\n  dateAxisRange?: Range | string;\n  lineWeight?: number;\n  displayHidden?: boolean;\n  seriesColor?: ColorConfig;\n  negativeColor?: ColorConfig;\n  axisColor?: ColorConfig;\n  markersColor?: ColorConfig;\n  firstMarkerColor?: ColorConfig;\n  lastMarkerColor?: ColorConfig;\n  highMarkerColor?: ColorConfig;\n  lowMarkerColor?: ColorConfig;\n  markers?: SparklineMarkersOptions;\n  axis?: SparklineAxisOptions;\n};\n\ntype SparklineMarkersOptions = {\n  show?: boolean;\n  high?: boolean;\n  low?: boolean;\n  first?: boolean;\n  last?: boolean;\n  negative?: boolean;\n};\n\ntype SparklineAxisOptions = {\n  showAxis?: boolean;\n  manualMin?: number;\n  manualMax?: number;\n  rightToLeft?: boolean;\n};\n```\n- Range Alias: `const group = targetRange.sparklines.add(type, sourceRange, sparklineConfig);`\n- Edit And Delete\n```\ngroup.seriesColor = colorConfig;\ngroup.markers = markerConfig;\ngroup.axis = axisConfig;\ngroup.delete();\nsheet.sparklineGroups.deleteAll();\n```\n\n### Help \u002F Grep\nUse `workbook.help(...)` primarily for obscure\u002Fadvanced surfaces (for example deep chart axis settings, unusual drawing configs, pivot APIs, or uncommon option schemas).\n- `workbook.help(\"enum.ShapeGeometry\", { include: \"index,notes\" }).ndjson`\n- `workbook.help(\"enum.*\", { search: \"ShapeGeometry|LineStyle\", include: \"index\" }).ndjson`\n- `workbook.help(\"shape.add\", { include: \"examples,notes\" }).ndjson`\n- `workbook.help(\"fx.RATE\", { include: \"index,examples,notes\" }).ndjson`\n- `workbook.help(\"cash flow return rate\", { search: \"IRR|XIRR|NPV|XNPV\", include: \"index,examples,notes\", maxChars: 4000 }).ndjson`\n- `workbook.help(\"*\", { search: \"fill|borders|autofit\", include: \"index,examples,notes\", maxChars: 6000 }).ndjson`\n\n### Trace\nFor tracing the full tree of how a formula is calculated, `workbook.trace(\"Sheet!A1\")` is available. For complex formulas, the full tree can be extremely large, so output should be capped or outputted to a separate temp file (never dump raw traces). It takes only a cell reference. \n\n\n### JavaScript example snippet (runnable)\n\n```js\nimport fs from \"node:fs\u002Fpromises\";\nimport { SpreadsheetFile, Workbook } from \"@oai\u002Fartifact-tool\";\n\nconst outputDir = \"output\";\nawait fs.mkdir(outputDir, { recursive: true });\n\nconst workbook = Workbook.create();\nconst sheet = workbook.worksheets.add(\"Summary\");\n\nsheet.getRange(\"A1:C4\").values = [\n  [\"Month\", \"Revenue\", \"EBITDA\"],\n  [\"Jan\", 100, 10],\n  [\"Feb\", 120, 18],\n  [\"Mar\", 130, 22],\n];\nsheet.getRange(\"D1\").values = [[\"Margin\"]];\nsheet.getRange(\"D2\").formulas = [[\"=C2\u002FB2\"]];\nsheet.getRange(\"D2:D4\").fillDown();\n\nsheet.getRange(\"A1:D1\").format = {\n  fill: \"#0F766E\",\n  font: { bold: true, color: \"#FFFFFF\" },\n};\nsheet.getRange(\"B2:C4\").format.numberFormat = \"$#,##0\";\nsheet.getRange(\"D2:D4\").format.numberFormat = \"0.0%\";\n\n\u002F\u002F Helper range links to source cells so edits update the chart.\nsheet.getRange(\"F1:G1\").values = [[\"Month\", \"Revenue\"]];\nsheet.getRange(\"F2:G2\").formulas = [[\"=A2\", \"=B2\"]];\nsheet.getRange(\"F2:G4\").fillDown();\nconst chart = sheet.charts.add(\"line\", sheet.getRange(\"F1:G4\"));\nchart.title = \"Revenue Trend\";\nchart.hasLegend = false;\nchart.xAxis = { axisType: \"textAxis\" };\nchart.yAxis = { numberFormatCode: \"$#,##0\" };\nchart.setPosition(\"I1\", \"P15\");\n\nconst preview = await workbook.render({\n  sheetName: \"Summary\",\n  autoCrop: \"all\",\n  scale: 1,\n  format: \"png\",\n});\nawait fs.writeFile(`${outputDir}\u002Fsummary.png`, new Uint8Array(await preview.arrayBuffer()));\n\nconst xlsx = await SpreadsheetFile.exportXlsx(workbook);\nawait xlsx.save(`${outputDir}\u002Fsummary.xlsx`);\n```\n","# Spreadsheets skill\n\nThis skill includes requirements and guidance for producing a correct, polished spreadsheet artifact quickly that completes the user's request. When producing spreadsheets, workbooks, or Google Sheets-targeted outputs, you will be judged on layout, readability, style, adherence to industry norms\u002Fconventions and correctness. Follow the requirements below for how to use the APIs effectively and how to verify your output before finalizing work for the user.\n\nFor complex, analytical, financial or research involved tasks, you are especially judged on correctness and quality. You need to be professional. For these, always make sure you have a plan for how you're organizing the spreadsheet, and the data or visualizations within each sheet. For business, finance, operations, dashboard, and data-analysis prompts, aim for an output that can compete with a strong analyst-built workbook, not just a functional grid. A good default shape is an executive summary or dashboard first, then source\u002Fassumptions, then model\u002Fdetail sheets. For simpler tasks like a creating template or tracker, or things that do not require research, prioritize doing the spreadsheet build and edits quickly, while ensuring the user's request is fulfilled.\n\nFor additional stylistic best practices, follow: `style_guidelines.md`\n\nRead `charts.md` when creating or editing substantive charts, dashboards, or chart-ready summaries.\n\n## Google Sheets-targeted output\n\n### New Creations\n\nFor a net-new Google Sheets request, create and verify a local `.xlsx` with this skill first. The native Google Sheets deliverable must then be produced by the Google Drive plugin's spreadsheet import action, `mcp__codex_apps__google_drive_import_spreadsheet`, with `upload_mode: \"native_google_sheets\"`.\n\nDo not use Computer Use, Browser Use, blank-Google-Sheets creation plus Google Sheets write APIs, or another direct-to-Sheets construction path for net-new Google Sheets unless the user explicitly asks for that alternate workflow. If they do, mention first that output quality is expected to be best when a local `.xlsx` is imported through the Google Drive plugin.\n\nIf the Google Drive plugin is unavailable, use the plugin-install\u002Fuser-elicitation flow to ask the user to install `google-drive@openai-curated`. If the plugin is available but `_import_spreadsheet` is missing, ask the user to reinstall or refresh the Google Drive plugin before continuing with the native Google Sheets deliverable.\n\nAfter successful native import, the user-facing deliverable is the Google Sheets link. Treat the local `.xlsx` as a build artifact unless the user explicitly asks to keep or receive it.\n\n### Edits\n\nUse the Google Drive plugin's Google Sheets skill for edits to existing Google Sheets. The local `.xlsx` creation and native import workflow above applies only to net-new Google Sheets deliverables.\n\n\n\n# Tools + Contract\n- Use Codex workspace dependencies for spreadsheet artifact work: resolve them through the workspace dependency loader or runtime skill, then treat the returned Node\u002FPython runtimes, package directory, and verification details as authoritative. Do not use system `node`, system `python`, global npm packages, or repo-local installs.\n- Use `@oai\u002Fartifact-tool` JS library, which exists in the default Codex workspace dependencies node_modules, for authoring, editing, inspecting, rendering, and exporting spreadsheet `.xlsx` workbooks.\n- Run builders from a writable conversation-specific temp or workspace directory, not from the managed dependency directory. Outputs and scratch files may live under the OS temp directory.\n- Start by setting up the work directory to work with normal Node module resolution: link or junction local `node_modules` to the workspace dependency node_modules so `import \"@oai\u002Fartifact-tool\"` resolves.\n- Prefer one executable `.mjs` builder; patch and rerun it when iterating. Do NOT use shell heredocs or keep extra builder copies.\n- If workspace dependencies or `@oai\u002Fartifact-tool` are unavailable, report a setup blocker; do not guess paths, install packages, use system deps, alter module resolution, copy\u002Fimport bundled internals, or do a broad file system search.\n- Do not search package internals or dump prototypes to discover APIs. Use the API reference below; if blocked, run at most one exact `workbook.help(\"\u003Capi_or_feature>\")` query before building.\n- Final response: include a short user-visible summary and standalone Markdown link(s) only to final `.xlsx` artifact(s), one per line: `[Revenue Model - MNST.xlsx](\u002Fabsolute\u002Fpath\u002Fto\u002Frevenue_model_mnst.xlsx)`.\n- Do not mention internal tooling or support artifacts such as builders, rendered previews, JSON\u002FCSV\u002Flog files, or scratch files unless explicitly requested.\n- Do not use alternate workbook creation\u002Fediting libraries such as `openpyxl`, `xlsxwriter`, or `pandas.ExcelWriter` unless the user explicitly asks for a non-artifact-tool fallback.\n- For analysis outside workbook authoring, use JS or spreadsheet formulas when sufficient. If Python is needed, use bundled Python libraries, save JSON\u002FCSV intermediates, and have the JS builder create the workbook. Keep auditable\u002Fuser-editable calculations as formulas.\n- For nontrivial work, use `update_plan`: build quickly, verify\u002Frender, repair meaningful issues, then finalize without long polish loops. Incrementally rendering your work and assessing overall aesthetics, formatting and correctness along the way is very important (rigorously inspect the output and be confident in quality), but do not get stuck in a long render-verify loop. As part of your plan, think about the best practices and conventions to follow for the specific type of spreadsheet you're creating and the best way to structure the workbook for readability and usability.\n\n# Domain Requirements\nRead these domain templates only when the request clearly relates to the domain:\n- Finance, accounting, valuation, forecasting, budgeting, investing, operations metrics, investment banking, DCF, multi-statement models, sensitivity\u002Fscenario models, or source-backed financial filing analysis: `templates\u002Ffinancial_models.md`\n- Healthcare, clinical, patient, medical, hospital, staffing, care delivery, or healthcare administration workbooks: `templates\u002Fhealthcare.md`\n- Marketing, advertising, campaign, funnel, lead, CRM, growth, attribution, ROI, or web\u002Fad performance workbooks: `templates\u002Fmarketing_advertising.md`\n- Scientific research, experiments, lab measurements, surveys, statistical analysis, reproducibility, protocol, or raw\u002Fprocessed research data workbooks: `templates\u002Fscientific_research.md`\n\nRead all templates that clearly apply. Do not load domain templates for unrelated routine, lightweight, or basic formatting\u002Fediting tasks unless the user explicitly asks.\n\nOnly add Checks sheets for models where correctness depends on linked calculations, source reconciliation, or financial statement\u002Fmodel integrity.\n\n# General Rules\n- Start meaningful edits quickly; avoid long upfront API exploration.\n- Core APIs are listed in the API reference section below. Use them.\n- If these skill instructions are already loaded in context, do not spend a shell turn re-reading this `SKILL.md` from disk. Move directly to the prompt, attachments, and workbook build.\n- For workbook with multiple tabs\u002Fsheets, create\u002Fpopulate non-formula inputs\u002Ftables and sheets prior to populating cross-sheet formulas.\n\n## Approach for quickly building a new spreadsheet\n1. Setup: import `@oai\u002Fartifact-tool`, create workbook\u002Fsheets for new files.\n2. Build quickly: bulk-write headers\u002Fdata\u002Fformulas; then formatting\u002Fvalidation\u002Fconditional formatting; add charts\u002Ftables only when needed.\n3. Use additional focused calls if helpful for streamed progress.\n4. Near completion: inspect key ranges, scan formula errors, render all the sheets and verify, run a validation pass\n5. Export `.xlsx`\n\n## Making edits on a spreadsheet\nIf a user asks to edit or add to an existing spreadsheet:\n- For visual fix requests, start with the smallest plausible local change rather than applying sheet-wide autofit, wrapping, or restyling.\n- When making edits, ensure existing formulas and patterns are consistent. For example, if asked to add another column or row to a table and there is conditional formatting applied to the whole table, it should extend to the new column or rows as well.\n- If specific cells\u002Frows\u002Fcolumns are specified in prompt, limit edits to those ranges unless a broader change is clearly necessary. The exceptions are when other parts of the spreadsheet depend on them, e.g. if there's a dynamic chart that is based on the range of values in a table and a new row is added, the chart should include that new row. Another example is if conditional formatting was already set for a table from A1:C5, and you add a new column D, the conditional formatting should be updated (or deleted and re-created) to cover A1:D5.\n- For column resizing, avoid autofitting by default: instead, inspect only relevant data range, measure the longest text entry in that range, and set columnWidthPx to an estimated width based on text length (with a reasonable min\u002Fmax cap). Use autofit only when the user explicitly asks for it.\n\n## Handling queries and questions\n- The user may ask questions about the sheet instead of requesting an edit or a change. Simply answer those questions about the spreadsheet based on the context available rather than making an edit the user didn't intend for. You can use inspect to learn more or directly read values\u002Fformulas\u002Ftables etc via accessor methods.\n\n# Error Recovery\nOn first error:\n1. Read error text.\n2. Run one targeted `workbook.help(\"\u003Cexact_api>\")` query only if needed.\n3. Retry with minimal patch (not full rewrite).\n4. Continue from existing workbook state.\n\nDo not loop indefinitely on similar failures.\n\n# Quality Guidelines\n- Keep layout readable and bounded, contents visible:\n  - avoid extreme width\u002Fheight from unconstrained autofit\n  - cap oversized widths\u002Fheights after `autofit` + `wrap_text`\n- Prefer formula-driven logic over manual painted cells when logic is expected.\n- Derived values must be formulas (not hardcoded) and legible.\n- Use absolute\u002Frelative references correctly for fill\u002Fcopy behavior.\n- Do not use magic numbers in formulas; reference cells (e.g. `=H6*(1+$B$3)`).\n- Blank editable templates must look blank\u002Fneutral before user data is entered. Count, ranking, best\u002Fworst, IRR\u002FRATE\u002FXIRR, variance, and status formulas should guard on required input cells and return `\"\"`, `0`, or a clear \"No entries yet\" state as appropriate. Alternatively, prefill with a few rows of example data.\n- Include at least one visual summary for tracker\u002Fplanning requests when appropriate (KPI block, chart, dashboard area).\n- For dashboard, visualization, chart-ready analysis, budget\u002Freporting, trend, schedule\u002Ftimeline, and KPI prompts with plottable data, include at least one native Excel chart unless a verified export failure remains after simplifying the chart. Do not silently replace all charts with styled tables.\n- For presentation-ready analytical workbooks, plain range formatting alone is usually not enough. Prefer real Excel structures where useful: tables, freeze panes, filters, data validation, conditional formats, and at least one chart\u002FKPI\u002Fdashboard visual when the prompt implies summary analysis.\n- In rendered previews of dashboards and summary sheets, check financial values and row labels at normal zoom. Widen columns, adjust row heights, or move chart panels until important numbers and text are not clipped, awkwardly wrapped, or hidden.\n\n# Completion Criteria\nComplete only when:\n- Workbook content is populated and formulas compute.\n- No obvious formula errors in key scanned ranges (no bad refs\u002Foff-by-one\u002Fcircular errors).\n- `.xlsx` saved to `outputs\u002F\u003Cunique_thread_id>\u002F`.\n- Layout is organized, legible, and aligned to request style (or default formatting baseline).\n\n# Verification Rules\nBefore final response, verify values\u002Fformulas and visual quality.\n\n1. Inspect key ranges:\n```js\nconst check = await workbook.inspect({\n  kind: \"table\",\n  range: \"Dashboard!A1:H20\",\n  include: \"values,formulas\",\n  tableMaxRows: 20,\n  tableMaxCols: 12,\n});\nconsole.log(check.ndjson);\n```\n\nInspect targeting:\n- Prefer sheet-qualified ranges (`\"Sheet!A1:H20\"`) or `sheetId`.\n\n2. Scan formula errors:\n```js\nconst errors = await workbook.inspect({\n  kind: \"match\",\n  searchTerm: \"#REF!|#DIV\u002F0!|#VALUE!|#NAME\\\\?|#N\u002FA\",\n  options: { useRegex: true, maxResults: 300 },\n  summary: \"final formula error scan\",\n});\nconsole.log(errors.ndjson);\n```\n\n3. Render sheets\u002Franges to verify visual output (skip if already verified and no style changes):\n```js\nconst blob = await workbook.render({ sheetName: \"Sheet1\", range: \"A1:H20\", scale: 2 });\n```\nMake sure you do at least one visual pass of all the sheets in the workbook before the final export.\n\nVisual requirements:\n- Fix severe defects before finalizing: blank\u002Fbroken charts, clipped key headers or numbers, unreadable colors, obvious formula errors, default blank sheets, or content outside the visible working area.\n- Ensure logical labels or titles appear once, texts are all clearly visible, and merged ranges exist where labels or content intentionally span multiple columns.\n- Do one focused visual repair pass after the initial render. Do not spend additional passes on minor polish once the workbook is correct, legible, and exported; note any minor limitation briefly and finalize.\n\n4. Keep verification compact:\n- Inspect key ranges.\n- Avoid huge NDJSON dumps.\n\n5. Export:\n```js\nawait fs.mkdir(outputDir, { recursive: true });\nconst output = await SpreadsheetFile.exportXlsx(workbook);\nawait output.save(`${outputDir}\u002Foutput.xlsx`);\n```\n\n6. Finalize immediately after successful export + compact verification.\n- Do not export extra `.xlsx` variants unless asked.\n- Do not keep iterating on alternate designs once requirements are met, unless asked.\n\n# Source, PDF, and Attachment Processing\n- Use bundled runtime libraries for source extraction. For PDF or 10-K\u002F10-Q style inputs, read PDF via bundled Python `pypdf` when available, then use one small structured extraction script to collect all required facts into a dict\u002FJSON object. Avoid many ad hoc `rg`\u002F`sed` passes over the same text.\n- Keep source notes compact: record file name, section\u002Ftable label, and enough context to audit the number. Do not paste large PDF excerpts into the workbook unless requested.\n- Bundled Python libraries available for extraction\u002Fanalysis include `pandas`, `numpy`, `pypdf`, `python-docx`, and `reportlab`.\n- Bundled JS libraries available for document\u002FPDF work include `docx`, `pdf-lib`, and `pdfjs-dist`.\n\n# Using artifact_tool APIs (JavaScript)\n\nLibrary version: 2.8.6+\n\n## Required Imports + Startup\n\nImport existing workbook only when needed:\n```js\nimport { FileBlob, SpreadsheetFile } from \"@oai\u002Fartifact-tool\";\n\nconst input = await FileBlob.load(\"path\u002Fto\u002Finput.xlsx\");\nconst workbook = await SpreadsheetFile.importXlsx(input);\n```\n\nImport CSV text directly when the source or intermediate data is CSV:\n```js\nimport fs from \"node:fs\u002Fpromises\";\nimport { Workbook } from \"@oai\u002Fartifact-tool\";\n\nconst csvText = await fs.readFile(\"path\u002Fto\u002Finput.csv\", \"utf8\");\nconst workbook = await Workbook.fromCSV(csvText, { sheetName: \"Sheet1\" });\n```\nPrefer `Workbook.fromCSV(...)` over hand-parsing CSV rows; clean or analyze CSV with Python\u002FNode first only when needed.\n\nCreate new workbook:\n```js\nimport fs from \"node:fs\u002Fpromises\";\nimport { SpreadsheetFile, Workbook } from \"@oai\u002Fartifact-tool\";\n\nconst workbook = Workbook.create();\nconst sheet = workbook.worksheets.add(\"Inputs\");\n```\n\nFinal export:\n```js\nawait fs.mkdir(outputDir, { recursive: true });\nconst output = await SpreadsheetFile.exportXlsx(workbook);\nawait output.save(`${outputDir}\u002Foutput.xlsx`);\n```\n\n## Build Patterns\n- Prefer block writes (`range.values`, `range.formulas`) over per-cell loops. Matrix shape must match the target range (for example `\"D4:M4\"` should be a 1x10 matrix, row x col).\n- Seed scalar formulas once, then `fillDown()` \u002F `fillRight()`. For dynamic-array formulas (`SEQUENCE`, `UNIQUE`, `FILTER`, `SORT`, `VSTACK`, `HSTACK`), write only the anchor cell and let the result spill after.\n- Use `range.displayFormulas` plus `range.formulaInfos` when you need to understand a spill child or a data-table output cell.\n- You do not need to call recalculate; calculation automatically happens.\n- Date handling:\n  - Prefer real `Date` objects for sortable\u002Fcharted\u002Fformula date columns.\n  - Apply date formats explicitly (for example `yyyy-mm-dd`).\n- Use JSON-serializable values for non-Date cells: `string | number | boolean | null`.\n- If a cell is intended to display literal text that begins with `=`, write it as a value prefixed with a single quote (for example `'=B2*C2`). This includes formula descriptions, validation examples, and labels; do not write these cells through `range.formulas`.\n- Create every worksheet referenced by formulas before writing any cross-sheet formulas.\n- When rebuilding dashboards, delete drawings first with `sheet.deleteAllDrawings()`. `range.clear()` does not remove charts, shapes, or images.\n- Verify with `await workbook.inspect(...)`; use `workbook.help(...)` only when the quick surface below is insufficient.\n\n## Conventions\n- Use camelCase API names and option keys.\n- Cell\u002Frange addressing: A1 notation (`sheet.getRange(\"A1:C10\")`).\n- Drawing anchors (`sheet.charts`, `sheet.shapes`, `sheet.images`): 0-based `{ row, col }`.\n- Drawing offsets\u002Fextents use pixels (`rowOffsetPx`, `colOffsetPx`, `widthPx`, `heightPx`).\n\n## API Discovery Policy (Strict)\n- Use this quick API surface first.\n- Over 440 Excel formulas are supported, covering the most common ones. Use `workbook.help` in the way described below to browse families of formulas or to lookup a specific formula. \n- Use `workbook.help(...)` only when blocked by uncertainty.\n- For help queries, start with exact feature\u002Fpath lookups (`chart`, `worksheet.getRange`, `worksheet.freezePanes`, `range.dataValidation`, `chart.series.add`). If an exact path fails, one broader wildcard search is allowed.\n- Do not repeat semantically similar help queries.\n- If one help query returns 0 matches, reformulate once, then proceed best-effort.\n- `render` can be used to examine an existing workbook visually and for visual verifications.\n\n## Supported Formulas\n- To check if the exact Excel formula is supported, or to see how it's used, use `fx.\u003Cformula>`: `workbook.help(\"fx.PMT\", { include: \"index,examples,notes\", maxChars: 3000 })`.\n- To browse a family of formulas, use `fx.*` with a category regex. Useful categories: `financial`, `math-trig`, `statistical`, `lookup-reference`, `logical`, `text`, `date-time`, `information`, `engineering`, `database`.\n- For intent-based lookup, use a short natural query plus a narrow `search` regex of likely functions.\n- Keep `maxChars` bounded; if results are noisy, narrow `search` rather than issuing many similar queries.\n\nUseful `help` calls:\n```js\nconsole.log(workbook.help(\"shape.add\", { include: \"examples,notes\" }).ndjson);\nconsole.log(\n  workbook.help(\"*\", {\n    search: \"fill|borders|autofit\",\n    include: \"index,examples,notes\",\n    maxChars: 6000,\n  }).ndjson,\n);\nconsole.log(workbook.help(\"fx.PMT\", { include: \"index,examples,notes\" }).ndjson);\nconsole.log(workbook.help(\"fx.*\", { search: \"financial\", include: \"index,examples\", maxChars: 4000 }).ndjson);\nconsole.log(workbook.help(\"fx.*\", { search: \"math-trig\", include: \"index,examples\", maxChars: 4000 }).ndjson);\nconsole.log(workbook.help(\"lookup with fallback\", { search: \"XLOOKUP|INDEX|MATCH|IFERROR\", include: \"index,examples,notes\", maxChars: 4000 }).ndjson);\n```\n\n## Reading existing\u002Fimported workbooks\n- On existing\u002Fimported workbooks, get a compact summary via `inspect` to understand what already exists and where.\n- Prefer `inspect(...)` for workbook understanding and discovery across broad areas.\n- Prefer direct getters like `range.formulas` when you already know the target range and need the exact rectangular formula matrix.\n- If formula locations are unknown, prefer `inspect({ kind: \"formula\", ... })` over reading `range.formulas` across a very large area.\n- Prefer to set `maxChars`, `tableMaxRows`, `tableMaxCols`, and\u002For `maxResults` to prevent large dumps of data.\n- For suspicious or high-impact outputs, use `workbook.trace(\"Sheet!A1\")` to audit the dependency tree from final output\u002Fcheck cell back to source cells. Trace output can be large, so summarize by depth\u002Fnode count before logging.\n\n### Inspect for workbook understanding\n- Compact summary:\n```js\nawait wb.inspect({\n  kind: \"workbook,sheet,table\",\n  maxChars: 6000,\n  tableMaxRows: 6,\n  tableMaxCols: 6,\n  tableMaxCellChars: 80,\n});\n```\n- Quick overview of sheet ids and names: `await wb.inspect({ kind: \"sheet\", include: \"id,name\" })`\n- Formula discovery in a targeted area: `await wb.inspect({ kind: \"formula\", sheetId: firstSheetName, range: \"A1:Z30\", maxChars: 2500, options: {maxResults:50} })`\n- Checking existing styles in a targeted area: `await wb.inspect({ kind: \"computedStyle\", sheetId: firstSheetName, range: \"A1:E10\", maxChars: 2500 })`\n- Common `kind` tokens: `workbook`, `sheet`, `table`, `region`, `match`, `formula`, `thread`, `computedStyle`, `definedName`, `drawing`\n- Inspects can also be used to zoom in on specific areas, especially for target edits:\n```js\nawait wb.inspect({\n  kind: \"region\",\n  sheetId: firstSheetName,\n  range: \"A1:Z30\",\n  maxChars: 2500,\n});\n```\n- Inspect output may include JSON records with `\"id\"` values (for example `\"ws\u002Fr5qsk5\"`), which you can resolve back to workbook objects with `wb.resolve(...)`:\n- `wb.resolve(\"ws\u002F...\")` -> worksheet\n- `wb.resolve(\"th\u002F...\")` -> comment thread\n\n## Additional feature-specific notes\n\n### Merging cells\n- Merging cells is useful for visual headers, title bands, note\u002Fsource blocks, and other multi-cell labels that span columns.\n- If you plan to set a range of cells to a single value, consider merging those cells first.\n- `range.merge()` merges the target range into one cell; `range.merge(true)` merges across each row in the target range.\n- `range.unmerge()` reverses a merge.\nFor example:\n```js\nconst range = sheet.getRange(\"I23:N24\");\nrange.merge();\nrange.values = [[\"Source note spanning the recommendation panel\"]];\n```\n\n## Known Gotchas (Do not repeat)\n- Do not set undocumented attributes on remote objects.\n- `Workbook.create()` starts with no sheets; add one before calling `getActiveWorksheet()`.\n- If a formula appears unsupported use an alternate equivalent.\n- Use matrix sizes that match target ranges unless you intentionally spill.\n- Create every worksheet referenced by formulas before writing cross-sheet formulas.\n- Avoid full-column formula references such as `A:A`, `$A:$A`, or `Sheet!B:B`. Prefer bounded ranges sized to the editable table, e.g. `$A$6:$A$205`, especially inside `COUNTIFS`, `SUMIFS`, `INDEX`, and lookup formulas.\n- If a formula appears unsupported, use an alternate equivalent.\n- If export fails, isolate the cause by checkpoint-export after major blocks to isolate the cause: base sheets, values\u002Fformulas, formatting, conditional formatting, tables, charts\u002Frendering. For charts, first simplify optional styling first: nested border configs, custom chart axis\u002Fseries mutations, broad autofit\u002Fformatting, then nonessential drawings.\n\n## Quick API Surface (High-Value + Common)\n\n### Core workbook\u002Ffile APIs\n- `import { FileBlob, SpreadsheetFile, Workbook } from \"@oai\u002Fartifact-tool\"`\n- `const workbook = Workbook.create(); const sheet = workbook.worksheets.add(\"Sheet1\")`\n- `const workbook = await SpreadsheetFile.importXlsx(arrayBufferOrFileBlob)`\n- `const xlsx = await SpreadsheetFile.exportXlsx(workbook); await xlsx.save(\"output.xlsx\")`\n- `const inspect = await workbook.inspect({ kind: \"sheet\", include: \"id,name\", sheetId, range: \"A1:C10\" })`\n- `const help = workbook.help(\"worksheet.getRange\", { include: \"index,examples\" })`\n- Preferred: `const blob = await workbook.render({ sheetName: \"Sheet1\", autoCrop: \"all\", scale: 1, format: \"png\" })`\n- To get the bytes and\u002For save the blob to file:\n```js\nconst previewBytes = new Uint8Array(await preview.arrayBuffer());\nawait fs.writeFile(`${outputDir}\u002Fpreview.png`, previewBytes);\n```\n- `const workbook = await Workbook.fromCSV(csvText, { sheetName: \"Sheet1\" })`\n- `await workbook.fromCSV(csvText, { sheetName: \"ImportedData\" })`\n\n### Worksheet selection\u002Fcreation\n- `workbook.worksheets.add(name)`\n- `workbook.worksheets.getItem(name)`\n- `workbook.worksheets.getOrAdd(name, { renameFirstIfOnlyNewSpreadsheet: true })`\n- `workbook.worksheets.getItemAt(index)`\n- `workbook.worksheets.getActiveWorksheet()` (only after at least one sheet exists)\n\n### Worksheet operations\n- `sheet.getRange(\"A1:C10\")`, `sheet.getRangeByIndexes(startRow, startCol, rowCount, colCount)`, `sheet.getCell(row, col)`\n- `sheet.getUsedRange(valuesOnly?)`\n- `sheet.mergeCells(\"A1:C1\")`, `sheet.unmergeCells(\"A1:C1\")`\n- `sheet.freezePanes.freezeRows(1)`, `sheet.freezePanes.freezeColumns(2)`, `sheet.freezePanes.unfreeze()`\n- `sheet.tables`, `sheet.charts`, `sheet.sparklineGroups` (`sheet.sparklines` alias), `sheet.shapes`, `sheet.images`\n- `sheet.showGridLines = false`\n- `sheet.dataTables`, `sheet.conditionalFormattings`, `sheet.dataValidations`\n- `sheet.deleteAllDrawings()` removes charts, shapes, and images before a dashboard rebuild.\n\n### Range values\u002Fformulas\n- `const range = sheet.getRange(\"A1:C10\")`\n- `range.values = [[...], ...]` (2D matrix of values)\n- `range.formulas = [[\"=...\"], ...]`\n- `range.formulasR1C1 = [[\"=RC[-1]*2\"]]`\n- To read: `range.values` \u002F `range.formulas` \u002F `range.displayFormulas` \u002F `range.formulaInfos` (for spill\u002Farray formulas)\n- `range.write(matrixOrPayload)` (auto-sizes\u002Fspills from anchor as needed)\n- `range.writeValues(matrixOrRows)`\n- `range.fillDown()`, `range.fillRight()`\n  - `sheet.getRange(\"D2\").formulas = [[\"=...\"]]`\n  - `sheet.getRange(\"D2:D200\").fillDown()`\n- `range.clear({ applyTo: \"contents\" | \"formats\" | \"all\" })`\n- `range.copyFrom(sourceRange, \"values\" | \"formulas\" | \"all\")` source and destination must have the same shape\n- `range.copyTo(destRange, \"values\" | \"formulas\" | \"all\")`\n- `range.offset(...)`, `range.resize(...)`, `range.getCurrentRegion()`, `range.getRow(i)`, `range.getColumn(j)`\n- `range.getRangeByIndexes(...)`, `range.getCell(...)`\n- `range.merge()`, `range.merge(true)` to merge across, `range.unmerge()`\n\n### Formatting\n- `range.format` supports `fill`, `font`, `numberFormat`, `borders`, alignments, `wrapText`\n- `range.format.autofitColumns()`, `range.format.autofitRows()`\n- Excel unit sizing:  `range.format.columnWidth = 18`, `range.format.rowHeight = 24`\n- Pixel sizing: `range.format.columnWidthPx = 120`, `range.format.rowHeightPx = 24`\n- `range.setNumberFormat(\"yyyy-mm-dd\")`\n- `range.format.numberFormat = [[\"0\"], [\"0.00\"], [\"@\"]]`\n- Borders: There are two ways to set borders on a range (1) simple form (2) per edge form. Example:\n```js\n\u002F\u002F (1) Preferred simple form\n\u002F\u002F `preset` can be \"none\" | \"outside\" | \"inside\" | \"all\" | \"doubleBottom\"\n\u002F\u002F \"outside\" will just set borders on the outside edges of the range.\n\u002F\u002F `style` are Excel\u002FOpenXML-style names such as \"thin\", \"medium\", \"thick\", \"dashed\", and \"dotted\".\nrange.format.borders = { preset: \"all\", style: \"thin\", color: \"#D9D9D9\" };\n\n\u002F\u002F (2) Per-edge form. Use top\u002Fbottom\u002Fleft\u002Fright, not edgeTop\u002FedgeBottom\u002Fetc.\n\u002F\u002F Format: {style?: string; color?: ColorConfig; weight?: number;}\n\u002F\u002F Prefer setting `style` over `weight` unless you want granular control.\nrange.format.borders = {\n  insideHorizontal: { style: \"thin\", color: \"#D9D9D9\" },\n  insideVertical: { style: \"medium\", color: \"#D9D9D9\" },\n  top: { style: \"thick\", color: \"#D9D9D9\" },\n  bottom: { style: \"dashed\", color: \"#D9D9D9\" },\n  left: { style: \"dotted\", color: \"#D9D9D9\" },\n  right: { style: \"thin\", color: \"#D9D9D9\" },\n};\n```\n\n### Data Validation\n- `range.dataValidation = { rule: { type: \"list\", formula1: \"Categories!$A$2:$A$4\" } }`\n- `range.dataValidation = { rule: { type: \"list\", values: [\"Not Started\", \"In Progress\"] } }`\n- `sheet.dataValidations.add({ range: \"B2:B100\", rule: { type: \"whole\", operator: \"between\", formula1: 1, formula2: 10 } })`\n\n### Conditional formatting\n- Use `range.conditionalFormats.add(ruleType, ConditionalFormatConfig);`.\n- Use `range.conditionalFormats.add(ruleType, {operator, formula, format});`. Choose ruleType, operator, color, and style strings from the inline types below.\n```\ntype ConditionalFormatRuleType =\n  | \"cellIs\" | \"CellValue\" | \"Custom\" | \"expression\"\n  | \"colorScale\" | \"dataBar\" | \"iconSet\"\n  | \"containsText\" | \"notContainsText\" | \"beginsWith\" | \"endsWith\"\n  | \"containsBlanks\" | \"notContainsBlanks\" | \"containsErrors\" | \"notContainsErrors\"\n  | \"duplicateValues\" | \"uniqueValues\" | \"timePeriod\" | \"top10\" | \"aboveAverage\";\n\ntype CellIsOperator =\n  | \"greaterThan\"\n  | \"greaterThanOrEqual\"\n  | \"lessThan\"\n  | \"lessThanOrEqual\"\n  | \"equal\"\n  | \"notEqual\"\n  | \"between\"\n  | \"notBetween\";\n\ntype ConditionalFormatConfig =\n  | { operator: CellIsOperator; formula: string | number | Array\u003Cstring | number>; format?: DifferentialFormatConfig }\n  | { formula: string | number; format?: DifferentialFormatConfig }\n  | { colors?: ColorConfig[]; thresholds?: CfvoInput[] }\n  | { color?: ColorConfig; thresholds?: CfvoInput[]; gradient?: boolean }\n  | { iconSet: string; showValue?: boolean; reverse?: boolean; thresholds?: CfvoInput[] }\n  | { text: string; format?: DifferentialFormatConfig }\n  | { timePeriod: \"yesterday\" | \"today\" | \"tomorrow\" | \"last7Days\" | \"lastWeek\" | \"thisWeek\" | \"nextWeek\" | \"lastMonth\" | \"thisMonth\" | \"nextMonth\"; format?: DifferentialFormatConfig }\n  | { rank?: number; percent?: boolean; bottom?: boolean; format?: DifferentialFormatConfig }\n  | { aboveAverage?: boolean; equalAverage?: boolean; stdDev?: number; format?: DifferentialFormatConfig };\n\ntype DifferentialFormatConfig = {\n  fill?: FillConfig;\n  font?: { bold?: boolean; italic?: boolean; color?: ColorConfig };\n  border?: RangeBordersConfig;\n  numberFormat?: string;\n};\n\ntype CfvoInput =\n  | \"min\"\n  | \"max\"\n  | number\n  | `${number}%`\n  | { type: \"min\" | \"max\" | \"num\" | \"percent\" | \"percentile\"; value?: string | number };\n```\n- Rule types (`ConditionalFormatRuleType`): \"cellIs\" | \"CellValue\" | \"Custom\" | \"expression\"\n  | \"colorScale\" | \"dataBar\" | \"iconSet\"\n  | \"containsText\" | \"notContainsText\" | \"beginsWith\" | \"endsWith\"\n  | \"containsBlanks\" | \"notContainsBlanks\" | \"containsErrors\" | \"notContainsErrors\"\n  | \"duplicateValues\" | \"uniqueValues\" | \"timePeriod\" | \"top10\" | \"aboveAverage\";\n- Built-in `iconSet` names: `3Arrows`, `3Triangles`, `4Arrows`, `5Arrows`, `3ArrowsGray`, `4ArrowsGray`, `5ArrowsGray`, `3TrafficLights1`, `3Signs`, `4RedToBlack`, `3TrafficLights2`, `4TrafficLights`, `3Symbols`, `3Flags`, `3Symbols2`, `3Stars`, `5Quarters`, `5Boxes`, `4Rating`, `5Rating`.\n- Custom conditional formatting: `range.conditionalFormats.addCustom(expression, {fill, font, border});`\n- `range.conditionalFormats.deleteAll()` \u002F `range.conditionalFormats.clear()`\n\n```js\nconst grid = sheet.getRange(\"B2:J10\");\ngrid.conditionalFormats.add(\"colorScale\", {\n  criteria: [\n    { type: \"lowestValue\", color: \"#2563EB\" },\n    { type: \"percentile\", value: 50, color: \"#FDE047\" },\n    { type: \"highestValue\", color: \"#DC2626\" },\n  ],\n});\n```\n\n### Tables\n- When adding new tables, set explicit unique names (`TasksTable`, `SummaryTable`).\n- You cannot have multiple tables over the same range. Before adding a table on an existing\u002Fimported workbook, confirm the target range does not already overlap an existing table. Prefer the initial compact `inspect` summary over a separate tables-only scan when available.\n- `const table = sheet.tables.add(\"A1:H200\", true, \"TasksTable\")`\n- `table.rows.add(null, [[...], ...])`, `table.getDataRows()`, `table.getHeaderRowRange()`\n- Read tables: `sheet.tables.items` -> `Table[]`\n- Set + Getters: `table.name`, `table.style`, `table.style`, `table.showHeaders`\n- Toggles for table utilities (set\u002Fget): `table.showTotals`, `table.showBandedColumns = true`, `table.showFilterButton`\n- `table.delete()`\n\n### Images\n- `sheet.images.add({dataUrl: \"data:image\u002Fpng;base64,...\", anchor: {from: { row: 1, col: 2 }, extent: { widthPx: 160, heightPx: 120 }}})`\n\n\n### Threaded Comments\nThis is the API to create a threaded comment in Excel, which requires a user-visible author.\n- Required: First, always first call set_self to create an author `workbook.comments.setSelf({\"displayName\": \u003Cuser_display_string>})`. where `\u003Cuser_display_string>` is a string, e.g. \"User\"\n- Create a new thread with a single comment: `const thread = workbook.comments.addThread({\"cell\": sheet.getRange(\"E2\")}, \"Source: \u003Cwebsite>\")`\n- To reply to a threaded comment: `thread.addReply(\"This is a reply to the comment\")`\n- To resolve\u002Fre-open a thread: `thread.resolve()`, `thread.reopen()`\n\n### Charts\n- When adding or moving charts, do not cover existing data. Put charts in a reserved rectangle with blank gutter columns\u002Frows around the chart area.\n- If chart data comes from editable\u002Fsource data, ensure data\u002Fseries is formula-backed instead of literal values.\n- Fast chart path: If you already have a continuous range with text categories and one column per series, directly chart that range via `sheet.charts.add(chartType, range)`:\n```js\nsheet.getRange(\"F4:H7\").values = [\n  [\"Month\", \"Revenue\", \"EBITDA\"],\n  [\"Jan\", 100, 10],\n  [\"Feb\", 120, 18],\n  [\"Mar\", 130, 22],\n];\nconst chart = sheet.charts.add(\"line\", sheet.getRange(\"F4:H7\"));\n```\nSetting a range will auto-populate series information (series.formula, series.categoryFormula) with A1 range-reference strings internally. The first column is treated as categories (x-axis labels) and remaining columns are treated as series values (one series per column). First row will only be treated as headers if it's text and not numeric.\n- For advanced chart creation where you might want to define each series, you can do the following: \n```js\nconst chartConfig = {\n  chartType: \"bar\",\n  title: \"Scores By Person\",\n  hasLegend: true,\n}; \u002F\u002F type WorksheetChartConfig\nconst chart = sheet.charts.add(\"bar\", chartConfig);\n\u002F\u002F Add series\nconst series = chart.series.add(\"Scores\");\nseries.categoryFormula = \"'Scores'!$A$2:$A$10\"; \u002F\u002F string\nseries.formula = \"'Scores'!$E$2:$E$10\"; \u002F\u002F string\nseries.fill = \"#F472B6\";\n```\n- After creating a chart with data, specify position, title, axis via the following:\n```js\nchart.setPosition(\"J4\", \"Q20\");\nchart.title = \"Revenue and EBITDA Trend\";\nchart.titleTextStyle.fontSize = 12;\nchart.hasLegend = true;\nchart.xAxis = { axisType: \"textAxis\", textStyle: { fontSize: 10} };\n\u002F\u002F Number formatting on chart axis must be set separately even if the source range is already formatted.\nchart.yAxis = { numberFormatCode: \"$#,##0\", tickLabelInterval: 2, min: 20000, max:1000000 };\nchart.xAxis.title.text = \"Month\"; \u002F\u002F Set axis titles\nchart.yAxis.title.text = \"Revenue and EBITDA\";\n```\n- To manually set the chart's source range, use `chart.setData(range)`, which replaces all existing chart data\u002Fseries.\n- To read about a chart, the following fields exist on the `Chart` object: `type`, `title`, `categories`. To read all series: `chart.series.items`\n- If using compat positioning, always set position: `chart.setPosition(\"F2\", \"M20\")`.\n- `sheet.charts.getItemOrNullObject(\"Chart 1\")`, `sheet.charts.deleteAll()`\n- For month\u002Fdate x-axes, prefer a chart helper range with text labels such as `Jan 2025` or `2025-01`. Do not rely on date axis number formats alone; rendered previews can show Excel serial numbers.\n- Chart types: `\"bar\" | \"line\" | \"area\" | \"pie\" | \"doughnut\" | \"scatter\" | \"bubble\" | \"radar\" | \"stock\" | \"treemap\" | \"sunburst\" | \"histogram\" | \"boxWhisker\" | \"waterfall\" | \"funnel\" | \"map\"`.\n\n### Sparklines\n```\nconst group = sheet.sparklineGroups.add({\n  type,\n  targetRange,\n  sourceData,\n  dateAxisRange,\n  seriesColor,\n  negativeColor,\n  markers,\n  axis,\n  lineWeight,\n  displayEmptyCellsAs,\n  displayHidden,\n});\n```\n- Sparkline type is a string. Empty-cell display mode and axis min\u002Fmax modes are proto enum numbers on the current facade; inspect nearby tests before setting them directly.\n- Sparkline Inline Type:\n```\ntype SparklineConfig = {\n  type: \"line\" | \"column\" | \"stacked\";\n  targetRange: Range | string;\n  sourceData: Range | string;\n  dateAxisRange?: Range | string;\n  lineWeight?: number;\n  displayHidden?: boolean;\n  seriesColor?: ColorConfig;\n  negativeColor?: ColorConfig;\n  axisColor?: ColorConfig;\n  markersColor?: ColorConfig;\n  firstMarkerColor?: ColorConfig;\n  lastMarkerColor?: ColorConfig;\n  highMarkerColor?: ColorConfig;\n  lowMarkerColor?: ColorConfig;\n  markers?: SparklineMarkersOptions;\n  axis?: SparklineAxisOptions;\n};\n\ntype SparklineMarkersOptions = {\n  show?: boolean;\n  high?: boolean;\n  low?: boolean;\n  first?: boolean;\n  last?: boolean;\n  negative?: boolean;\n};\n\ntype SparklineAxisOptions = {\n  showAxis?: boolean;\n  manualMin?: number;\n  manualMax?: number;\n  rightToLeft?: boolean;\n};\n```\n- Range Alias: `const group = targetRange.sparklines.add(type, sourceRange, sparklineConfig);`\n- Edit And Delete\n```\ngroup.seriesColor = colorConfig;\ngroup.markers = markerConfig;\ngroup.axis = axisConfig;\ngroup.delete();\nsheet.sparklineGroups.deleteAll();\n```\n\n### Help \u002F Grep\nUse `workbook.help(...)` primarily for obscure\u002Fadvanced surfaces (for example deep chart axis settings, unusual drawing configs, pivot APIs, or uncommon option schemas).\n- `workbook.help(\"enum.ShapeGeometry\", { include: \"index,notes\" }).ndjson`\n- `workbook.help(\"enum.*\", { search: \"ShapeGeometry|LineStyle\", include: \"index\" }).ndjson`\n- `workbook.help(\"shape.add\", { include: \"examples,notes\" }).ndjson`\n- `workbook.help(\"fx.RATE\", { include: \"index,examples,notes\" }).ndjson`\n- `workbook.help(\"cash flow return rate\", { search: \"IRR|XIRR|NPV|XNPV\", include: \"index,examples,notes\", maxChars: 4000 }).ndjson`\n- `workbook.help(\"*\", { search: \"fill|borders|autofit\", include: \"index,examples,notes\", maxChars: 6000 }).ndjson`\n\n### Trace\nFor tracing the full tree of how a formula is calculated, `workbook.trace(\"Sheet!A1\")` is available. For complex formulas, the full tree can be extremely large, so output should be capped or outputted to a separate temp file (never dump raw traces). It takes only a cell reference. \n\n\n### JavaScript example snippet (runnable)\n\n```js\nimport fs from \"node:fs\u002Fpromises\";\nimport { SpreadsheetFile, Workbook } from \"@oai\u002Fartifact-tool\";\n\nconst outputDir = \"output\";\nawait fs.mkdir(outputDir, { recursive: true });\n\nconst workbook = Workbook.create();\nconst sheet = workbook.worksheets.add(\"Summary\");\n\nsheet.getRange(\"A1:C4\").values = [\n  [\"Month\", \"Revenue\", \"EBITDA\"],\n  [\"Jan\", 100, 10],\n  [\"Feb\", 120, 18],\n  [\"Mar\", 130, 22],\n];\nsheet.getRange(\"D1\").values = [[\"Margin\"]];\nsheet.getRange(\"D2\").formulas = [[\"=C2\u002FB2\"]];\nsheet.getRange(\"D2:D4\").fillDown();\n\nsheet.getRange(\"A1:D1\").format = {\n  fill: \"#0F766E\",\n  font: { bold: true, color: \"#FFFFFF\" },\n};\nsheet.getRange(\"B2:C4\").format.numberFormat = \"$#,##0\";\nsheet.getRange(\"D2:D4\").format.numberFormat = \"0.0%\";\n\n\u002F\u002F Helper range links to source cells so edits update the chart.\nsheet.getRange(\"F1:G1\").values = [[\"Month\", \"Revenue\"]];\nsheet.getRange(\"F2:G2\").formulas = [[\"=A2\", \"=B2\"]];\nsheet.getRange(\"F2:G4\").fillDown();\nconst chart = sheet.charts.add(\"line\", sheet.getRange(\"F1:G4\"));\nchart.title = \"Revenue Trend\";\nchart.hasLegend = false;\nchart.xAxis = { axisType: \"textAxis\" };\nchart.yAxis = { numberFormatCode: \"$#,##0\" };\nchart.setPosition(\"I1\", \"P15\");\n\nconst preview = await workbook.render({\n  sheetName: \"Summary\",\n  autoCrop: \"all\",\n  scale: 1,\n  format: \"png\",\n});\nawait fs.writeFile(`${outputDir}\u002Fsummary.png`, new Uint8Array(await preview.arrayBuffer()));\n\nconst xlsx = await SpreadsheetFile.exportXlsx(workbook);\nawait xlsx.save(`${outputDir}\u002Fsummary.xlsx`);\n```\n",{"name":5,"description":7},"main","d9535210da9af28aa76bca80de80355197e1b6d6","skills\u002Fspreadsheets","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog","https:\u002F\u002Fgithub.com\u002Fzfifteen","I like to measure things.","2026-07-19 23:41:54",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add zfifteen\u002Fskills-catalog --skill Spreadsheets",{"tool":37,"command":38},"bunx","bunx skills add zfifteen\u002Fskills-catalog --skill Spreadsheets",{"tool":40,"command":41},"pnpm","pnpm dlx skills add zfifteen\u002Fskills-catalog --skill Spreadsheets","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fspreadsheets\u002FSKILL.md",true,[45,51,57,61,65,69,73,77],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"agents\u002Fopenai.yaml","REFERENCE","参考文档",364,"https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fspreadsheets\u002Fagents\u002Fopenai.yaml",{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"assets\u002Ffile-spreadsheet.png","ASSET","资产文件",11988,"https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fspreadsheets\u002Fassets\u002Ffile-spreadsheet.png",{"path":58,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":59,"sourceHtmlUrl":60},"charts.md",3812,"https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fspreadsheets\u002Fcharts.md",{"path":62,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":63,"sourceHtmlUrl":64},"style_guidelines.md",9290,"https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fspreadsheets\u002Fstyle_guidelines.md",{"path":66,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":67,"sourceHtmlUrl":68},"templates\u002Ffinancial_models.md",13963,"https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fspreadsheets\u002Ftemplates\u002Ffinancial_models.md",{"path":70,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":71,"sourceHtmlUrl":72},"templates\u002Fhealthcare.md",3912,"https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fspreadsheets\u002Ftemplates\u002Fhealthcare.md",{"path":74,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":75,"sourceHtmlUrl":76},"templates\u002Fmarketing_advertising.md",3586,"https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fspreadsheets\u002Ftemplates\u002Fmarketing_advertising.md",{"path":78,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":79,"sourceHtmlUrl":80},"templates\u002Fscientific_research.md",2508,"https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fspreadsheets\u002Ftemplates\u002Fscientific_research.md",[82,89,96,103,112,119],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M79GXQ2PWPT2E4CJYHXVJ0YE","Zotero","Use Zotero Desktop from Codex to enable\u002Fprobe the local API, search a local Zotero library, list items\u002Fcollections\u002Ftags, export BibTeX, insert citation keys into LaTeX or Markdown drafts, read indexed full text when requested, and import BibTeX\u002FRIS records into Zotero through the connector server. Use when the user mentions Zotero, citations, references.bib, BibTeX export, local Zotero API, localhost:23119, or adding citations from a Zotero library.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fzotero\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M79GXN85NETKBE06865CWK6Z","zoom-apps-sdk","Use when using Apps SDK.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M79GXCYD7FGYS932J9N9RFFY","youtube","Obtain accurate, timestamped YouTube video transcripts (preferring manual captions over auto-generated) as the primary deliverable, then derive summaries, key claims, or notes from that transcript.  Use when the user provides a YouTube URL (or video ID) and wants the transcript, a faithful summary, key claims with attribution, timestamped notes, or \"what does this video actually say\".  The skill is transcript-first: never substitute metadata, title, description, or search snippets for the spoken content.  Triggers: \"youtube transcript\", \"get the transcript of this video\", \"summarize this youtube video\", \"what did they say in https:\u002F\u002Fyoutube.com\u002F...\", \"key claims from this talk\".","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":107,"licenseFileUrl":108,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M79GX8EXHHYM566BKR7MS778","yeet","Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M79GX2HFJPX84NMRE5VBTYX9","x-post-creator","Create X-ready post threads and co-located story packages from the active conversation or referenced project material. Use when the user says turn this into an X-post, \u002Fx-post, make this into an X thread, or wants plain-language social posts with supporting images saved to docs\u002Fx-posts\u002F[story-name]\u002F.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fx-post-creator\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":19},"01M79GWXQT4HBT6QME6QSBZJFA","x-api","Search, read, and write X posts through the local X API MCP server (the same backend used by the Codex x-api skill). Use for searching X\u002Fx.com, reading threads and replies, creating lists, staging\u002Fpublishing posts for @alltheputs, finding high-visibility reply targets for research outreach, ingesting public context, or any request that mentions \u002Fx-api or \"search X\".","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]