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.
git clone --depth 1 https://github.com/ZiMiaoWorkshop/Touchpad-ShieldWrote 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.
[](https://agentmods.dev/rules/zimiaoworkshop/touchpad-shield/touchpad-shield-build)<a href="https://agentmods.dev/rules/zimiaoworkshop/touchpad-shield/touchpad-shield-build"><img src="https://agentmods.dev/badge/rules/zimiaoworkshop/touchpad-shield/touchpad-shield-build.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00928 | $0.00928 |
| Opus 5 | $0.00464 | $0.00464 |
| Sonnet 5 | $0.00186 | $0.00186 |
| Haiku 4.5 | $0.00093 | $0.00093 |
Grade A, and why
touchpad-shield-build 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 3d 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.
What it actually says
Touchpad Shield 版本与编译规范
版本号
- 语义化版本号(人工维护):
MAJOR.MINOR.PATCH,定义于version/Version.props - 构建号(源码变动时自动递增):4 位数字
BUILD,与版本号分开维护 - 展示格式:
MAJOR.MINOR.PATCH build BUILD(例如1.0.0 build 0006) - 渠道后缀(仅展示字符串,不影响 BUILD 数字与 assembly 版本):
build-debug.ps1→(alpha),例如1.1.0 build 0101 (alpha)build-beta.ps1→(beta)build-release.ps1→ 无后缀
- Windows 资源字符串(
.rc)与 UI 使用展示格式;app.manifest的assemblyIdentity使用四段数字MAJOR.MINOR.PATCH.buildInt
产物目录
Touchpad Shield App/debug/:Debug 可执行文件,启用 debug 日志Touchpad Shield App/beta/:NSIS 打包的 debug 版安装包(仅用户指令时编译)Touchpad Shield App/release/:正式发布 NSIS 安装包(仅用户指令时编译)
编译策略
- 每次修改源码后:自动编译 debug 版本并输出到
Touchpad Shield App/debug/ - beta / release:仅在用户明确指令时编译与打包
- 技术栈:WinUI 3 unpackaged + C++/WinRT + NSIS
需求变更
- 需求理解阶段有疑问必须与用户确认,不可自行决定解决方案
版本号与文档同步(发布前必查)
版本号或 BUILD 变更后(含 bump-build.ps1、改 Version.props、打 Release/Beta 包),必须同步并复查以下位置是否与 version/Version.props 一致:
| 检查项 | 路径 / 位置 |
|---|---|
| 对外版本行 | README.md 文首「当前版本」、下载表安装包文件名 |
| 版本规则示例 | README.md §版本号规则表 |
| 开发指导基线 | PRD/Touchpad_Shield_开发指导.md 文首、§5.1 当前基线、§5.2 产物示例、§7.1 标题 |
| Patch 变更说明 | PRD/Touchpad_Shield_v1.0.0_to_v1.1.0_变更说明.md 对应 §七附 / §七附2 |
| 安装包文件名 | Touchpad Shield App/release/TouchpadShield-{semver}-build{BUILD}-setup.exe 与 NSIS 脚本 |
| Git tag / Release | v{MAJOR.MINOR.PATCH}-build{BUILD} |
提交 git / push / 打 tag 前: 用 grep 或全文搜索旧 BUILD 号(如 0109),确认文档与 Version.props 无遗漏。
GitHub Release 发布规范
- 使用
scripts/publish-github-release.ps1;Release 简介正文来自scripts/release-notes-body.template.md(或-ReleaseNotesFile指定 UTF-8 文件) - Windows 上
gh --notes-file必须 UTF-8 BOM(脚本Write-Utf8BomFile会校验 BOM);禁止直接用系统 ANSI 编码的临时文件 - 发布后立即执行
gh release view <tag> --repo ZiMiaoWorkshop/Touchpad-Shield,确认网页简介中文正常、无乱码(如姝e紡类 mojibake) - 若 Release 已存在但简介乱码:
gh release edit <tag> --notes-file <UTF-8 BOM 文件>或重跑publish-github-release.ps1 -SkipTagPush
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.
- 3d ago Changed · +22 lines · +496 tokens per session b06bf202e4eb
- 8d ago First seen · 36 lines · 432 tokens per session scan A f5ef2c98414e
touchpad-shield-build is a cursor rule published in the GitHub repository ZiMiaoWorkshop/Touchpad-Shield (8 stars, last pushed 3d ago), licensed Apache-2.0. It adds 928 tokens to every session, about $0.0046 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.
Other cursor rules, from other repositories
monorepo-versioning
Internal peerDependency ranges and Changesets conventions for the SDK monorepo — avoid major-version cascades.
release-notes
Generate changelog entries and GitHub releases from git history. Categorizes commits into features, fixes, breaking changes, and docs. Supports conventional commits, PR-based grouping, and semantic versioning. Creates formatted CHANGELOG.md entries and GitHub releases.
iris
GitHub operations specialist — branches, pull requests, issues, releases, tags. Called by zeus after review. Never pushes or merges without explicit human approval. Integrates with VS Code GitHub Pull Requests extension.
release-checklist
What to update with each code change or version release.
release-policy
Release, versioning, and signing policy for setmac.
bump-project-version
The user can provide version in one of three ways.