Community编程与开发github.com

claude-office-skills/表格提取器

从文档和图像中提取表格数据的工具。

表格提取器 是什么?

该技能旨在使AI助手(如Claude、Cursor等)能够从各种文档格式(包括PDF、图片和电子表格)中提取表格数据。它通过解析文档中的表格结构,将其转换为结构化数据(如CSV或JSON),以便进一步处理和分析。此技能对于需要从非结构化文档中提取信息的开发者或数据分析师特别有用,可自动化数据采集流程。它可能依赖于OCR(光学字符识别)技术来处理图像中的表格,并支持多种文件输入格式。

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

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

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

文档

表格提取器 是做什么的?

从文档和图像中提取表格数据。

概述

该技能使AI助手能够从PDF、图像和电子表格等文档中提取表格数据。它将提取的数据转换为结构化格式(如CSV或JSON),以便于下游处理。

主要功能

  • PDF表格提取:从PDF文档中提取表格,同时保留结构和格式。
  • 图像表格提取:使用OCR技术从图像(PNG、JPEG等)中提取表格数据。
  • 电子表格转换:将电子表格(Excel、CSV等)转换为结构化JSON或CSV。
  • 数据验证:确保提取的数据准确并保持原始结构。

支持的平台

  • Claude Code
  • Cursor
  • Codex
  • 其他支持技能API的AI代理平台

用法

# 示例:从PDF提取表格
import pandas as pd

# 加载PDF并提取表格
tables = extract_tables('document.pdf')

# 保存为CSV
for i, table in enumerate(tables):
    table.to_csv(f'table_{i}.csv', index=False)

配置

设置以下环境变量以配置技能:

  • TABLE_EXTRACTOR_OUTPUT_DIR:保存提取表格的输出目录(默认:./extracted_tables)
  • TABLE_EXTRACTOR_OCR_ENABLED:启用OCR进行图像表格提取(true/false,默认:true)

依赖

  • Python 3.8+
  • pandas
  • PyMuPDF(用于PDF表格提取)
  • Tesseract OCR(用于图像表格提取)
  • openpyxl(用于Excel支持)

贡献

欢迎贡献!请提交拉取请求或提出改进问题。

许可

MIT

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.

相关技能