xlsx

GitHub

处理Excel/CSV工作簿的创建、编辑、公式重算、校验及渲染,确保保留格式、宏和元数据。

App/memmy-agent/src/skills/xlsx/SKILL.md MemTensor/memmy-agent

Trigger Scenarios

需要创建或修改Excel文件 执行电子表格数据清洗或格式化 验证或重新计算Excel公式

Install

npx skills add MemTensor/memmy-agent --skill xlsx -g -y
More Options

Non-standard path

npx skills add https://github.com/MemTensor/memmy-agent/tree/main/App/memmy-agent/src/skills/xlsx -g -y

Use without installing

npx skills use MemTensor/memmy-agent@xlsx

指定 Agent (Claude Code)

npx skills add MemTensor/memmy-agent --skill xlsx -a claude-code -g -y

安装 repo 全部 skill

npx skills add MemTensor/memmy-agent --all -g -y

预览 repo 内 skill

npx skills add MemTensor/memmy-agent --list

SKILL.md

Frontmatter
{
    "name": "xlsx",
    "description": "Create, inspect, edit, recalculate, validate, render, and deliver Excel workbooks while preserving formulas, formatting, drawings, links, macros, and metadata."
}

Workbook workflow

Trigger for .xlsx, .xlsm, .xltx, .csv, and .tsv workbooks or requests to create, read, edit, clean, format, calculate, chart, or convert them. Do not use it for ordinary documents, web pages, databases, or live external spreadsheet APIs.

  1. Copy an existing workbook to a unique temporary directory and inspect it with scripts/inspect_workbook.mjs --input <file> --json before editing.
  2. Preserve formulas, cached values, styles, merges, tables, filters, validations, conditional formatting, charts, images, shapes, comments, hidden sheets, links, macros, and metadata. Only modify the requested cells or objects.
  3. After adding or changing formulas run scripts/recalculate_workbook.mjs --input <file> --output <file> --json. A completed recalculation with formula errors is reported as errors_found; a conversion or process failure is a separate failure.
  4. Run scripts/check_workbook.mjs <file> --json; use --allow-lossy only when the caller explicitly accepts the listed loss. The checker does not use PPTX or XSD data.
  5. Render with scripts/render_with_office.mjs <file> --output-dir <dir> and inspect every sheet/page. Reopen the output and verify formulas, cached values, objects, and that the original hash is unchanged.

CSV/TSV input requires an explicit encoding, BOM, delimiter, quote, newline, and malformed-row policy. Never replace formulas with constants unless a static export was requested. External links, macros, unsupported extensions, and objects that cannot be safely preserved fail closed.

All commands are standalone Node CLIs. They write stable JSON with --json, diagnostics to stderr, and non-zero status for invalid input, missing Office, timeout, or unsafe preservation. The bundled renderer is resolved through MEMMY_OFFICE_RENDERING_ROOT, the legacy DOCX override during migration, the packaged Office payload, and the source payload; it never silently falls back to a system PATH installation.

See references/workbook-workflow.md, references/formula-recalculation.md, and references/layout-and-preservation.md for the full SOP.

Version History

  • 0074fc0 Current 2026-09-22 01:42

Same Skill Collection

App/memmy-agent/src/skills/agent-memory-onboarding/SKILL.md
App/memmy-agent/src/skills/computer-history/SKILL.md
App/memmy-agent/src/skills/docx/SKILL.md
App/memmy-agent/src/skills/github/SKILL.md
App/memmy-agent/src/skills/goal/SKILL.md
App/memmy-agent/src/skills/image-generation/SKILL.md
App/memmy-agent/src/skills/pdf/SKILL.md
App/memmy-agent/src/skills/pptx/SKILL.md
App/memmy-agent/src/skills/skill-creator/SKILL.md
App/memmy-agent/src/skills/summarize/SKILL.md
App/memmy-agent/src/skills/tmux/SKILL.md
App/memmy-agent/src/skills/ui-craft/SKILL.md
App/memmy-agent/src/skills/weather/SKILL.md
Memory/src/cli/skills/memmy-memory/SKILL.md
App/memmy-agent/src/skills/cron/SKILL.md

Metadata

Files
0
Version
0074fc0
Hash
158fbec9
Indexed
2026-09-22 01:42

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-22 18:59
浙ICP备14020137号-1