wps-ppt-pipeline

wps-ppt-pipeline is a cursor rule for Cursor from thenw-123/CO-WPSppt. It costs 39 tokens per session (545 once invoked), scanned A, original, MIT.

A set of instructions for creating and editing WPS presentations, the slide documents used by WPS Office. It requires a JSON specification to be sent through the project's WPS automation tools.

In plain words
What is it for?
Use it to create slide decks, add slides, change text or speaker notes, validate presentation specifications, and save the result.
Why use it?
It keeps presentation work on the project's supported automation path and defines how to validate, edit, save, and report errors.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: built for openclaw.

Good fit Use it to create slide decks, add slides, change text or speaker notes, validate presentation specifications, and save the result.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/thenw-123/co-wpsppt/wps-ppt-pipeline
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/thenw-123/CO-WPSppt

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wps-ppt-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/rules/thenw-123/co-wpsppt/wps-ppt-pipeline/github.svg)](https://agentmods.dev/rules/thenw-123/co-wpsppt/wps-ppt-pipeline)
Your own site
<a href="https://agentmods.dev/rules/thenw-123/co-wpsppt/wps-ppt-pipeline"><img src="https://agentmods.dev/badge/rules/thenw-123/co-wpsppt/wps-ppt-pipeline/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wps-ppt-pipeline

Your own site · 80×15
<a href="https://agentmods.dev/rules/thenw-123/co-wpsppt/wps-ppt-pipeline"><img src="https://agentmods.dev/badge/rules/thenw-123/co-wpsppt/wps-ppt-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 545 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00545
Opus 5 $0.00019 $0.00272
Sonnet 5 $0.00008 $0.00109
Haiku 4.5 $0.00004 $0.00055

Measured 12d ago against content hash 35475db3c6a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

wps-ppt-pipeline scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/wps-ppt-pipeline.mdc · 30 lines

What it actually says

WPS 演示自动化(OpenClaw + COM)

用户要做 PPT / 演示 / WPS 汇报 时:走 JSON spec → wps_dispatch → COM,不要默认 python-pptx 或 Markdown 假装幻灯片。整体数据流见仓库 README.md 里的 「核心逻辑」

项目位置

仓库根(与 manifest.jsontools/ 同级)。

Cursor 侧

  1. skills/drive-wps-ppt/SKILL.md;答辩类还须 Skill 里的生成与视觉 QC 约定。
  2. 已接 Gateway MCPopenclaw_discoverwps-pptopenclaw_invokeaction + args_json)。无工具则网关加载 manifest.json,或改 tools/wps_dispatch.ps1。详见 docs/MCP-OpenClaw与wps-ppt.md
  3. 成稿优先 run-specspecPath 或内联 spec);叙事版式见 specs/narrative-layouts-demo.json。默认校验;大稿可先 validate-spec;环境用 doctor
  4. 边做边改:newadd-slide / set-text / set-notessave

参数约定

  • 所有脚本从 stdout 输出一行 JSON:{"ok":true,"data":{...}}{"ok":false,"error":"...","code":"..."};失败时若有 data.errors(校验)一并交给用户。
  • 可通过环境变量 OC_ARGS_JSON 传入与 args_json 相同的 JSON 字符串。
  • 会话文件:logs/wps-session.json(当前绑定的 presentationPath)。

安全

  • 不要用 exec 跑不可信脚本;exec 仅允许项目内的 .ps1 路径。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 30 lines · 39 tokens per session scan A 35475db3c6a5

Subscribe to this mod's changes

wps-ppt-pipeline is a cursor rule published in the GitHub repository thenw-123/CO-WPSppt (2 stars, last pushed 4mo ago), licensed MIT. It adds 39 tokens to every session and 545 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.