agentleFS
TTNANTTNAN/wps-agent-skills/skills/wps-office/SKILL.md

wps-office

Skill4 starsChanged 48 days agoMITView on GitHub

用户说"用 WPS"但没说是文字/表格/演示时,先用这个路由 skill 判断。 触发词:WPS、金山办公、金山、wps、et、dps、做文档(未指明类型时)。 只做路由和跨应用编排,不直接操作 COM。

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. lc2panda/wps-skills★ 636same name
    2. tinqiao-oss/clawtouch-skills★ 4same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository4 other files it gives its agents.

The file

Files
SKILL.md

wps-office(路由)

很薄的一层:判断该用哪个业务 skill,以及处理跨应用任务。

路由规则

用户说什么用哪个 skill
文字、报告、合同、docx、wps文件、转PDF(文档)wps-writer
表格、xlsx、et文件、求和、填表、图表wps-spreadsheets
演示、PPT、pptx、dps文件、幻灯片wps-presentation
没说清是哪种("帮我做个文档")先问;或按文件扩展名判断:.docx/.wps→writer,.xlsx/.et→spreadsheets,.pptx/.dps→presentation
目标是 Microsoft Office 不是 WPS不用本仓库的任何 skill,用通用 office skill

跨应用任务

表格出图 → 贴进 PPT 这类组合:两个 skill 的 Invoke-WpsSession.ps1 各跑各的会话, 不要试图复用同一个 COM 实例。中间文件放 $env:TEMP,例如:

  1. wps-spreadsheets:用 scripts/Export-WpsRangePng.ps1(⚠️ 真机未验证,先跑一遍看 OK)把区域导出到 $env:TEMP\chart.png,不要自己手写 CopyPicture
  2. wps-presentation:AddPicture("$env:TEMP\chart.png", ...) 贴进幻灯片

用户已经开着 WPS 时

三个业务 skill 的包装器都会检测:附着到用户已开的实例时跳过 Quit(), 只关闭自己打开的文档/工作簿/文稿。跨应用任务里每个会话独立判断,不互相干扰。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.