{
  "schemaVersion": "1.0",
  "item": {
    "slug": "wps-office",
    "name": "Wps Skill",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/lilei0311/wps-office",
    "canonicalUrl": "https://clawhub.ai/lilei0311/wps-office",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/wps-office",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=wps-office",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "config.json",
      "scripts/main.py",
      "skill.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/wps-office"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/wps-office",
    "agentPageUrl": "https://openagent3.xyz/skills/wps-office/agent",
    "manifestUrl": "https://openagent3.xyz/skills/wps-office/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/wps-office/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "简介",
        "body": "WPS Office 自动化操作 Skill，支持本地文档操作和 WPS 365 云端协作功能。"
      },
      {
        "title": "本地自动化风险",
        "body": "GUI 自动化：本 Skill 使用 pyautogui 进行键盘输入模拟，可能会与当前活动窗口交互\n文件操作：Skill 会创建、打开和修改文件，请确保在受信任的环境中使用\n权限要求：macOS 需要授予辅助功能权限才能使用自动化功能"
      },
      {
        "title": "云端凭证安全",
        "body": "凭证存储：WPS 365 功能需要配置 app_id 和 app_secret，建议：\n\n不要在公共设备或共享环境中配置\n定期更换凭证\n使用环境变量而非明文配置文件（即将支持）\n\n\nAPI 调用：所有 WPS 365 API 调用使用 HTTPS 加密传输"
      },
      {
        "title": "建议",
        "body": "首次使用建议在沙盒环境或虚拟机中测试\n审查 scripts/main.py 源码确认功能符合预期\n如不需要 WPS 365 功能，可留空 app_id 和 app_secret"
      },
      {
        "title": "本地文档操作（无需凭证）",
        "body": "📄 创建文档 - 创建 Word、Excel、PPT 文档\n📂 打开文档 - 打开已有文档\n📋 文档列表 - 列出文档目录中的文件\n🔄 格式转换 - 支持 MD 转 Word/RTF/HTML\n📦 批量处理 - 批量转换文档格式"
      },
      {
        "title": "WPS 365 云端功能（需要凭证）",
        "body": "📊 智能表单 - 表单创建、数据收集\n📄 智能文档 - 在线协作文档\n📊 多维表格 - 视图管理、字段管理、高级查询\n📊 流程图 - 流程图创建和导出\n🧠 思维导图 - 思维导图创建和导出"
      },
      {
        "title": "1. 安装依赖",
        "body": "pip install requests pyautogui pyperclip Pillow"
      },
      {
        "title": "2. 配置 Skill",
        "body": "编辑 config.json：\n\n{\n  \"default_save_path\": \"~/Documents/WPS\",\n  \"wps_path\": \"\",\n  \"app_id\": \"\",\n  \"app_secret\": \"\"\n}"
      },
      {
        "title": "3. 获取 WPS 开放平台凭证（可选）",
        "body": "仅在使用 WPS 365 功能时需要：\n\n访问 https://open.wps.cn\n注册开发者账号\n创建应用获取 App ID 和 App Secret\n将凭证填入 config.json"
      },
      {
        "title": "本地文档操作",
        "body": "# 创建 Word 文档\npython scripts/main.py create type=writer filename=报告.docx\n\n# Markdown 转 Word\npython scripts/main.py convert file=文档.md format=docx\n\n# 批量转换\npython scripts/main.py batch_convert dir=~/Documents format=pdf"
      },
      {
        "title": "WPS 365 云端功能",
        "body": "# 智能表单\npython scripts/main.py form_list\n\n# 智能文档\npython scripts/main.py doc_list\n\n# 多维表格\npython scripts/main.py sheet_list\npython scripts/main.py sheet_views sheet_id=sheet_001\n\n# 流程图\npython scripts/main.py flow_list\n\n# 思维导图\npython scripts/main.py mind_list"
      },
      {
        "title": "本地功能实现",
        "body": "使用 subprocess 调用 WPS Office 应用程序\n使用 pyautogui 模拟键盘输入（创建带内容的文档）\n文件格式转换使用本地 WPS 引擎或 Python 库"
      },
      {
        "title": "WPS 365 云端功能实现",
        "body": "使用 WPS 开放平台 REST API\nOAuth 2.0 认证流程\n所有 API 调用使用 HTTPS 加密\n支持自动 token 刷新"
      },
      {
        "title": "API 端点",
        "body": "认证: POST /auth/v1/token\n表单: /forms/v1/*\n文档: /docs/v1/*\n表格: /sheets/v1/*\n流程图: /flows/v1/*\n思维导图: /minds/v1/*"
      },
      {
        "title": "本地功能问题",
        "body": "WPS 无法打开：检查 WPS 是否已安装\n自动化无响应：检查 macOS 辅助功能权限\n格式转换失败：确保文件格式受支持"
      },
      {
        "title": "WPS 365 功能问题",
        "body": "API 调用失败：检查 app_id 和 app_secret 是否正确\n网络超时：检查网络连接，API 服务器是否可访问\n权限不足：检查应用是否有足够的 API 权限"
      },
      {
        "title": "版本信息",
        "body": "版本: 1.0.0\n作者: MaxStorm Team\n许可证: MIT\n源码: https://github.com/maxstorm/wps-skill"
      }
    ],
    "body": "WPS Office Skill\n简介\n\nWPS Office 自动化操作 Skill，支持本地文档操作和 WPS 365 云端协作功能。\n\n⚠️ 安全警告\n本地自动化风险\nGUI 自动化：本 Skill 使用 pyautogui 进行键盘输入模拟，可能会与当前活动窗口交互\n文件操作：Skill 会创建、打开和修改文件，请确保在受信任的环境中使用\n权限要求：macOS 需要授予辅助功能权限才能使用自动化功能\n云端凭证安全\n凭证存储：WPS 365 功能需要配置 app_id 和 app_secret，建议：\n不要在公共设备或共享环境中配置\n定期更换凭证\n使用环境变量而非明文配置文件（即将支持）\nAPI 调用：所有 WPS 365 API 调用使用 HTTPS 加密传输\n建议\n首次使用建议在沙盒环境或虚拟机中测试\n审查 scripts/main.py 源码确认功能符合预期\n如不需要 WPS 365 功能，可留空 app_id 和 app_secret\n功能特性\n本地文档操作（无需凭证）\n📄 创建文档 - 创建 Word、Excel、PPT 文档\n📂 打开文档 - 打开已有文档\n📋 文档列表 - 列出文档目录中的文件\n🔄 格式转换 - 支持 MD 转 Word/RTF/HTML\n📦 批量处理 - 批量转换文档格式\nWPS 365 云端功能（需要凭证）\n📊 智能表单 - 表单创建、数据收集\n📄 智能文档 - 在线协作文档\n📊 多维表格 - 视图管理、字段管理、高级查询\n📊 流程图 - 流程图创建和导出\n🧠 思维导图 - 思维导图创建和导出\n安装\n1. 安装依赖\npip install requests pyautogui pyperclip Pillow\n\n2. 配置 Skill\n\n编辑 config.json：\n\n{\n  \"default_save_path\": \"~/Documents/WPS\",\n  \"wps_path\": \"\",\n  \"app_id\": \"\",\n  \"app_secret\": \"\"\n}\n\n3. 获取 WPS 开放平台凭证（可选）\n\n仅在使用 WPS 365 功能时需要：\n\n访问 https://open.wps.cn\n注册开发者账号\n创建应用获取 App ID 和 App Secret\n将凭证填入 config.json\n使用方法\n本地文档操作\n# 创建 Word 文档\npython scripts/main.py create type=writer filename=报告.docx\n\n# Markdown 转 Word\npython scripts/main.py convert file=文档.md format=docx\n\n# 批量转换\npython scripts/main.py batch_convert dir=~/Documents format=pdf\n\nWPS 365 云端功能\n# 智能表单\npython scripts/main.py form_list\n\n# 智能文档\npython scripts/main.py doc_list\n\n# 多维表格\npython scripts/main.py sheet_list\npython scripts/main.py sheet_views sheet_id=sheet_001\n\n# 流程图\npython scripts/main.py flow_list\n\n# 思维导图\npython scripts/main.py mind_list\n\nAPI 实现说明\n本地功能实现\n使用 subprocess 调用 WPS Office 应用程序\n使用 pyautogui 模拟键盘输入（创建带内容的文档）\n文件格式转换使用本地 WPS 引擎或 Python 库\nWPS 365 云端功能实现\n使用 WPS 开放平台 REST API\nOAuth 2.0 认证流程\n所有 API 调用使用 HTTPS 加密\n支持自动 token 刷新\nAPI 端点\n认证: POST /auth/v1/token\n表单: /forms/v1/*\n文档: /docs/v1/*\n表格: /sheets/v1/*\n流程图: /flows/v1/*\n思维导图: /minds/v1/*\n故障排除\n本地功能问题\nWPS 无法打开：检查 WPS 是否已安装\n自动化无响应：检查 macOS 辅助功能权限\n格式转换失败：确保文件格式受支持\nWPS 365 功能问题\nAPI 调用失败：检查 app_id 和 app_secret 是否正确\n网络超时：检查网络连接，API 服务器是否可访问\n权限不足：检查应用是否有足够的 API 权限\n版本信息\n版本: 1.0.0\n作者: MaxStorm Team\n许可证: MIT\n源码: https://github.com/maxstorm/wps-skill"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/lilei0311/wps-office",
    "publisherUrl": "https://clawhub.ai/lilei0311/wps-office",
    "owner": "lilei0311",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/wps-office",
    "downloadUrl": "https://openagent3.xyz/downloads/wps-office",
    "agentUrl": "https://openagent3.xyz/skills/wps-office/agent",
    "manifestUrl": "https://openagent3.xyz/skills/wps-office/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/wps-office/agent.md"
  }
}