Claim this agent
agentCLAWHUBUnverified

Office Toolkit

处理 Office 文档(Word/Excel/PPT/PDF)的技能。当用户要求读取、创建、编辑 Word 文档(.docx)、Excel 表格(.xlsx/.csv)、PPT(.pptx)或 PDF 时使用。基于 python-docx、openpyxl、python-pptx、pypdf 库。Require... Skill: Office Toolkit Owner: axelhu Summary: 处理 Office 文档(Word/Excel/PPT/PDF)的技能。当用户要求读取、创建、编辑 Word 文档(.docx)、Excel 表格(.xlsx/.csv)、PPT(.pptx)或 PDF 时使用。基于 python-docx、openpyxl、python-pptx、pypdf 库。Require... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-01T10:28:14.136Z | auto - Initial release of office-toolkit, providing tools for reading, creating, and editing Word (.docx), Excel (.xlsx/.csv), PowerPoint (.pp

OpenClaw

Rank

62

Safety

84

Downloads

9.1k

Updated

Oct 9, 2026

Version

1.0.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 9.1K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 9, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 9, 2026
Adoption signal
9.1K downloadsadoption · observed Oct 9, 2026
Latest release
1.0.0release · observed Apr 1, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s172yaxxd2drm0sc92554g9aq983hegj:openclaw-office-toolkit
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-axelhu-openclaw-office-toolkit/snapshot"

Documentation

CLAWHUB

7,447 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: office-toolkit
description: "处理 Office 文档(Word/Excel/PPT/PDF)的技能。当用户要求读取、创建、编辑 Word 文档(.docx)、Excel 表格(.xlsx/.csv)、PPT(.pptx)或 PDF 时使用。基于 python-docx、openpyxl、python-pptx、pypdf 库。Requires: python-docx, openpyxl, python-pptx, pypdf, pandoc, LibreOffice(验证用)。"
metadata: {"openclaw":{"emoji":"📄","requires":{"anyBins":[]}}}
---

# office-toolkit

处理 Office 文档:Word(.docx)、Excel(.xlsx/.csv)、PPT(.pptx)、PDF。

## 环境要求

```bash
pip install --break-system-packages python-docx openpyxl python-pptx pypdf
sudo apt install libreoffice-writer libreoffice-calc libreoffice-impress pandoc
```

## 快速参考

| 任务 | 库/命令 |
|------|---------|
| 读 Word | `python-docx` 或 `pandoc -t markdown` |
| 创建/编辑 Word | `python-docx` |
| 读 Excel | `openpyxl` 或 `pandas` |
| 创建/编辑 Excel | `openpyxl` |
| 读 PPT | `python-pptx` |
| 创建/编辑 PPT | `python-pptx` |
| 读 PDF | `pypdf` 或 `pandoc` |
| PDF 格式验证 | LibreOffice `soffice` |
| PDF 转图片 | `pdftoppm` (poppler-utils) |

---

## Word (.docx)

### 读取
```python
from docx import Document
doc = Document('file.docx')
for para in doc.paragraphs:
    print(para.text)

# 带格式提取
import subprocess
result = subprocess.run(['pandoc', '--track-changes=all', 'file.docx', '-t', 'markdown'], 
    capture_output=True, text=True)
print(result.stdout)
```

### 创建
```python
from docx import Document
from docx.shared import Pt, Inches

doc = Document()
# 标题
doc.add_heading('文档标题', 0)

# 段落
p = doc.add_paragraph('正文内容')
p.runs[0].bold = True  # 加粗
p.runs[0].font.size = Pt(12)
p.runs[0].font.name = 'Arial'

# 引用
doc.add_paragraph('引用内容', style='Intense Quote')

# 表格
table = doc.add_table(rows=2, cols=3)
table.style = 'Light Grid Accent 1'
table.rows[0].cells[0].text = '表头1'
table.rows[0].cells[1].text = '表头2'

doc.save('output.docx')
```

### 编辑现有文档
1. 解压 → 修改 XML → 重新打包(推荐用 python-docx 直接修改)
2. 复杂格式建议用 LibreOffice 打开编辑

---

## Excel (.xlsx)

### 读取
```python
import openpyxl
wb = openpyxl.load_workbook('file.xlsx')
ws = wb.active
for row in ws.iter_rows(values_only=True):
    print(row)
```

### 创建/编辑
```python
import openpyxl
from openpyxl.styles import Font, PatternFill, Alignment

wb = openpyxl.Workbook()
ws = wb.active
ws.title = '数据'

# 写入
ws['A1'] = '姓名'
ws['B1'] = '年龄'
ws['A2'] = '张三'
ws['B2'] = 25

# 格式化
header_fill = PatternFill(start_color='4472C4', end_color='4472C4', fill_type='solid')
ws['A1'].fill = header_fill
ws['A1'].font = Font(color='FFFFFF', bold=True)
ws['A1'].alignment = Alignment(horizontal='center')

# 保存
wb.save('output.xlsx')
```

### 格式化规则(财务场景)
- 蓝色字体:硬编码输入值
- 黑色字体:公式/计算
- 绿色字体:同文件内链接
- 红色字体:外部链接
- 黄色背景:需要关注的假设

---

## PowerPoint (.pptx)

### 读取
```python
from pptx import Presentation
prs = Presentation('file.pptx')
for slide in prs.slides:
    for shape in slide.shapes:
        if hasattr(shape, 'text'):
            print(shape.text)
```

### 创建
```python
from pptx import Presentation
from pptx.util import Inches, Pt

prs = Presentation()
prs.slide_width = Inches(10)
prs.slide_height = Inches(7.5)

# 使用空白布局
slide = prs.slides.a

_meta.json

{
  "ownerId": "kn7bcaearb90wwcjbr9gpv32s5831k39",
  "slug": "openclaw-office-toolkit",
  "version": "1.0.0",
  "publishedAt": 1775039294136
}

skill-card.md

## Description:

Office Toolkit helps agents read, create, and edit Word, Excel, PowerPoint, CSV, and PDF documents using common Python document libraries plus Pandoc and LibreOffice when needed.

This skill is ready for commercial/non-commercial use.

## Publisher:

[axelhu](https://clawhub.ai/user/axelhu)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agents use this skill to inspect, generate, format, convert, and update Office documents and PDFs during document automation workflows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Privileged and unpinned setup commands can modify host system packages.

Mitigation: Review setup commands before installing, prefer a virtual environment, avoid --break-system-packages, and only use sudo apt install with trusted OS package sources.

Risk: Document editing workflows can overwrite or damage existing files.

Mitigation: Keep backups before editing existing documents and verify outputs with the appropriate Office or PDF tooling.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/axelhu/skills/openclaw-office-toolkit)

## Skill Output:

**Output Type(s):** [Text, Markdown, Code, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown with inline code blocks and file-operation guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May produce or modify Office document files when the agent applies the guidance.]

## Skill Version(s):

1.0.0 (source: server release metadata and artifact _meta.json)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/axelhu/skills/openclaw-office-toolkit",
      "sourceUrl": "https://clawhub.ai/axelhu/skills/openclaw-office-toolkit",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T02:32:53.436Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-axelhu-openclaw-office-toolkit/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-axelhu-openclaw-office-toolkit/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-09T02:32:53.436Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "9.1K downloads",
      "href": "https://clawhub.ai/axelhu/openclaw-office-toolkit",
      "sourceUrl": "https://clawhub.ai/axelhu/openclaw-office-toolkit",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T02:32:53.436Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.0",
      "href": "https://clawhub.ai/axelhu/openclaw-office-toolkit",
      "sourceUrl": "https://clawhub.ai/axelhu/openclaw-office-toolkit",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-01T10:28:14.136Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-axelhu-openclaw-office-toolkit/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-axelhu-openclaw-office-toolkit/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.0",
      "description": "- Initial release of office-toolkit, providing tools for reading, creating, and editing Word (.docx), Excel (.xlsx/.csv), PowerPoint (.pptx), and PDF documents. - Utilizes python-docx, openpyxl, python-pptx, and pypdf libraries for core functionality. - Supports document conversion and additional features via pandoc and LibreOffice. - Includes code examples and formatting guidelines for typical Office file operations. - Specifies dependency installation steps and agent rules for robust document handling.",
      "href": "https://clawhub.ai/axelhu/openclaw-office-toolkit",
      "sourceUrl": "https://clawhub.ai/axelhu/openclaw-office-toolkit",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-01T10:28:14.136Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 9, 2026.

Sponsored

Ads related to Office Toolkit and adjacent AI workflows.