mcpField
O
office-combo

office-combo

github.com/dwsyDocuments2458 installsUpdated 5w ago
Repository

About office-combo

A skill for working with Excel, PowerPoint, PDF, and Word files. It uses on-demand loading of format-specific guidance to keep the initial context small.

Key features

  1. 01Work with Excel, CSV, and TSV
  2. 02Create and edit PowerPoint files
  3. 03Extract and merge PDFs
  4. 04Create and revise Word documents
  5. 05Load guides by file format

Use cases

  1. 01Analyze spreadsheet data
  2. 02Create or edit presentations
  3. 03Extract, merge, or fill out PDFs
  4. 04Create Word documents with tracked changes

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/dwsy/agent --skill office-combo

After installing, type/office-comboin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
docx.md
INDEX.md
pdf.md
pptx.md
xlsx.md

Details

From the project README

Microsoft Office 全功能支持

本技能提供 Microsoft Office 文件处理能力,采用渐进式引入机制。

支持的格式

  • Excel (.xlsx, .xlsm, .csv, .tsv) - 表格创建、编辑、数据分析
  • PowerPoint (.pptx) - 演示文稿创建、编辑、设计
  • PDF (.pdf) - 文档提取、合并、表单填写
  • Word (.docx) - 文档创建、编辑、修订跟踪

渐进式引入

本技能采用按需加载机制,详细文档仅在需要时读取,避免占用初始 token。

上下文效率

传统方式:

  • 所有详细内容加载到 SKILL.md
  • 估计上下文:~5000 tokens

本技能方式:

  • 元数据仅:~150 tokens
  • 详细文档(按需):~5k tokens
按需加载指南

当需要处理特定格式的 Office 文件时,读取对应的详细文档:

# Excel 处理
cat $SKILL_DIR/references/xlsx.md

# PowerPoint 处理
cat $SKILL_DIR/references/pptx.md

# PDF 处理
cat $SKILL_DIR/references/pdf.md

# Word 处理
cat $SKILL_DIR/references/docx.md

注意: Replace $SKILL_DIR with the actual discovered path of this skill directory.

使用模式

当用户请求匹配此技能的能力时:

Step 1: 识别文件类型(Excel / PowerPoint / PDF / Word)

Step 2: 加载对应的详细文档

cd $SKILL_DIR
cat references/<type>.md

Step 3: 根据详细文档中的指导执行操作

技能来源

本技能整合了 Anthropic 官方技能:

  • xlsx - Excel 处理
  • pptx - PowerPoint 处理
  • pdf - PDF 处理
  • docx - Word 处理

原始来源:https://github.com/anthropics/skills


This skill uses progressive disclosure to minimize initial context usage

Comments

Markdown supported