Community生产力与协作github.com

claude-office-skills/excel-automation

使用自然语言指令自动化和操作 Excel 工作表。

excel-automation 是什么?

该技能使 AI 代理(如 Claude)能够通过自然语言指令与 Excel 文件进行交互,从而自动化数据处理、格式化和分析任务。它支持通过 Python 脚本(利用 `openpyxl` 或 `xlwings` 等库)或 VBA 宏来生成、修改和查询 Excel 工作簿。用户无需手动编码,只需用中文描述所需操作(例如“合并单元格 A1 到 C1”或“计算总和列 D”),即可执行常见操作。该技能适用于任何支持技能执行的平台(如 Claude Code、Cursor 或 Codex),通过解释用户意图并执行相应代码来操作 Excel。其核心价值在于提高办公效率,降低 Excel 宏或复杂公式的学习门槛,使非技术用户也能轻松自动化 Excel 工作流程。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/claude-office-skills/skills/tree/main/skills/excel-automation

Installed? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

excel-automation 是做什么的?

使用自然语言指令自动化和操作 Excel 工作表。此技能支持通过生成 Python 代码(如 openpyxl、xlwings 等库)或 VBA 宏来执行 Excel 自动化任务。

功能

  • 读取和写入 Excel 单元格数据
  • 格式化和样式调整(字体、颜色、边框等)
  • 数据分析和计算(如 SUM、AVERAGE、公式)
  • 添加、删除或重命名工作表
  • 合并和取消合并单元格
  • 创建图表和数据透视表
  • 保存为 .xlsx 或 .xlsm 格式

使用方法

在对话中以自然语言描述您想要执行的操作。例如:

  • “打开 data.xlsx,将 A1 单元格值设为 ‘销售额’”
  • “对第 2 列应用粗体格式”
  • “按部门对工作表进行排序”
  • “生成第 1 至 10 行的柱状图”

支持平台

  • Claude Code
  • Cursor
  • Codex
  • 其他支持技能执行的 AI 代理

环境变量

无需额外的环境变量。确保您的工作环境中安装了 Python 及其所需库(如 openpyxl、xlwings)。

注意事项

  • 大型 Excel 文件可能会影响性能
  • 确保 Excel 文件未被其他程序锁定
  • VBA 宏仅在 .xlsm 文件中有效

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

claude-office-skills/academic-search

Search and analyze academic literature. Find papers, understand research methodologies, and synthesize academic findings for research projects.

claude-office-skills/ads-copywriter

Multi-platform ad copy generation for Google Ads, Meta/Facebook, TikTok, LinkedIn with A/B testing variants

claude-office-skills/ai-agent-builder

Build AI agents with tools, memory, and multi-step reasoning - ChatGPT, Claude, Gemini integration patterns

claude-office-skills/airtable-automation

Airtable database automation - views, automations, integrations, and workflow triggers

claude-office-skills/ai-slides

Generate complete presentations with AI - from outline to polished slides

claude-office-skills/amazon-seller

Automate Amazon seller operations including inventory, orders, pricing, and advertising management

claude-office-skills/apple-shortcuts-integration

Create and trigger Apple Shortcuts for iOS/macOS automation and cross-platform workflows

claude-office-skills/applicant-screening

Screen job applications against requirements and score candidates

claude-office-skills/asana-automation

Automate Asana project management workflows, task tracking, team collaboration, and reporting

claude-office-skills/batch-convert

Batch convert documents between multiple formats using a unified pipeline

claude-office-skills/batch-processor

Process multiple documents in bulk with parallel execution

claude-office-skills/brand-guidelines-generator

Create and maintain brand style guides for consistent visual identity

claude-office-skills/browser-automation

Automate web browser interactions, scraping, testing, and workflow automation with Puppeteer/Playwright

claude-office-skills/calendar-automation

Google Calendar and Outlook automation - scheduling optimization, meeting workflows, time blocking, and Slack/Sheets integration

claude-office-skills/changelog-generator

Generate release notes from git commits, updates, or feature lists

claude-office-skills/chart-designer

Design effective data visualizations and charts. Generate chart configurations for ECharts, Chart.js, and other libraries. Create dashboards and reports.

claude-office-skills/chat-with-pdf

Answer questions about PDF content, summarize, and extract information

claude-office-skills/clickup-automation

Automate ClickUp workspace management, task workflows, time tracking, and team productivity

claude-office-skills/company-research

Conduct comprehensive company research and due diligence. Analyze business model, competitive landscape, management, and market position.

claude-office-skills/competitive-analysis

Analyze competitors systematically. Compare products, features, pricing, positioning, and market strategies. Generate comprehensive competitive intelligence reports.

相关技能