Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/jiushiwon/wg-skillsnpx agentmods add skills/jiushiwon/wg-skills/uniapp-crossplatform-audit-skillWrote 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/skills/jiushiwon/wg-skills/uniapp-crossplatform-audit-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/uniapp-crossplatform-audit-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-crossplatform-audit-skill/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.
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/uniapp-crossplatform-audit-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/uniapp-crossplatform-audit-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00086 | $0.03386 |
| Opus 5.5 | $0.00034 | $0.01354 |
| Sonnet 5.5 | $0.00017 | $0.00677 |
| Haiku 4.5 | $0.00009 | $0.00339 |
Grade A, and why
uniapp-crossplatform-audit-skill 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 22d 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.
How it starts
The opening of the file, as written. The whole thing — 212 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UniApp Cross-Platform Audit Skill
定位
本 skill 专门审计 uniapp 项目在三端(小程序 / H5 / App)运行时的兼容性问题,识别 H5 标签、浏览器 API、样式兼容性、条件编译缺失、平台配置缺陷等导致"一端正常、另一端崩溃"的隐患,仅输出 uniapp-crossplatform-audit-report.md 报告,不修改、不修复、不重构项目代码。
与
uniapp-code-audit-skill的区别:本 skill 是专项深度审计,按项目目标与证据覆盖跨平台差异;uniapp-code-audit-skill是全维度体检(10 维度),跨平台只是其中一维。
When to Use
触发此 skill 时使用:
- "跨平台审计"
- "小程序 App 兼容"
- "多端兼容检查"
- "uniapp 三端表现差异"
- "H5 标签能不能跑小程序"
- "条件编译写得对不对"
- "App 端和小程序端有哪些坑"
Workflow
Phase 1: 审计范围确认
目标平台:微信小程序 / H5 / App / 其他小程序
端数:2 端 / 3 端 / N 端
重点维度:模板标签 / 样式兼容 / API 兼容 / 条件编译 / 平台配置
Phase 2: 多维度扫描
按下列 6 个维度逐项扫描
记录问题位置、风险等级、判定依据
Phase 3: 问题汇总
按 P0/P1/P2/P3 风险等级归类
列出"端间表现差异"专项问题
Phase 4: 输出报告
生成 uniapp-crossplatform-audit-report.md
审计维度
语法与平台能力专项
- 模板:动态组件、插槽、表达式与事件,对照 Vue 版本及目标编译器,区分编译错误与运行错误。
- 脚本:分开核查语法降级和运行时对象,构建转换通过不代表 Promise、URL 等能力在目标环境存在。
- 样式:H5、App-vue、App-nvue 分开核对布局、选择器和属性兼容性,禁止假设 App 支持全部 Web CSS。
- 原生能力:plus.*、原生插件逐项核对系统、模块、权限及调用环境,追踪小程序/H5 分支是否误入。
- DOM:区分 H5、App 逻辑层、WebView/renderjs;小程序普通逻辑层不具备浏览器 DOM 环境。
- renderjs:对照官方支持范围,不把 App-vue 能力推广至 nvue 或小程序。
- 微信能力:区分小程序 wx.* 与网页 JS-SDK,核查基础库、授权及开放条件。
- 设备能力:摄像头、定位、蓝牙、文件逐 API 核对 Android/iOS、小程序、浏览器的版本、权限及安全上下文。
- 输出能力矩阵,列各平台支持条件、项目已有分支、证据、入口可达性与状态;不设计替代实现。
证据判定(覆盖后文旧扫描示例的直接定级规则)
- 登记 uni-app/Vue 版本、微信基础库、H5 浏览器、App vue/nvue 模式及 Android/iOS 版本,缺项写待核实。
- 关键词命中只建立候选。追踪入口、封装、条件编译及执行路径,结合对应版本官方兼容表或运行证据才能确认问题。
- HTML 标签、background-image、calc()、CSS 变量、px/rpx 混用、缺少某条 env() 均不得单独作为不兼容结论。
- 对齐同一业务的输入字段、请求参数、登录身份、成功/失败/取消结果和资源访问结果,平台专属交互按项目契约验收。
- 键盘、安全区、滚动及原生层级需要运行证据。检查系统、页面、组件是否重复处理,不要求所有固定底栏上移,不从监听缺失推断遮挡。
- 状态为已确认、待验证、不适用、未执行。每项包含平台版本、文件行号、调用路径、依据、影响、验证操作及预期结果。只统计已确认项为问题。
- 只写审计报告。禁止修改业务源码、配置和依赖,禁止自动安装、构建、执行支付或上传。缺少运行前提记录未执行。
- 禁止输出修复方案、替代实现、修复代码、补丁及自动修复命令。脚本结果逐条复核。
| 维度 | 主要内容 |
|---|---|
| 模板标签 | <div> <span> <p> <h1~h6> <img> <ul> 等标签的目标编译转换与组件映射,命中只建立候选 |
| 样式兼容 | background-image、CSS 变量跨端差异、px/rpx 混用、vw/vh 适配问题 |
| API 调用 | fetch/window/document/localStorage/alert 在小程序端不可用 |
| 条件编译 | #ifdef MP-WEIXIN #ifdef APP-PLUS #ifdef H5 使用是否完整 |
| 平台配置 | manifest.json 中 mp-weixin/h5/app-plus 各端差异化字段 |
| 端间表现差异 | 同一逻辑在三端的表现不一致(如键盘、滚动、安全区、支付回调) |
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 22d ago Changed · +39 lines 8c3d7523d174
- 23d ago Changed · +24 lines 8a09dc2bc25e
- 1mo ago Changed · +31 lines 0d00f66e0af4
- 1mo ago Changed 4e8001dfb96d
- 2mo ago Changed fe0aed190411
- 3mo ago First seen · 118 lines · 86 tokens per session scan A 3ebcbfe098bc
uniapp-crossplatform-audit-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 6d ago), licensed Apache-2.0. It adds 86 tokens to every session and 3,386 once invoked, about $0.0003 per session on Opus 5.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-30.
uniapp-crossplatform-audit-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| uniapp-crossplatform-audit-skilljiushiwon/wg-skills | Skill | 154 | 6d ago | Apache-2.0 | A | 86 | Claude Code, Codex |
| orca-emulator-androidstablyai/orca | Skill | 147k | today | MIT | A | 102 | Claude Code, Codex |
| glance-canonical-layoutsandroid/skills | Skill | 11k | 7d ago | Apache-2.0 | A | 56 | Claude Code |
| android-tombstone-symbolicationdotnet/skills | Skill | 6.4k | today | MIT | A | 176 | Claude Code |
| dogfoodcallstack/agent-device | Skill | 5.6k | today | MIT | A | 55 | Claude Code |
| winapp-mauimicrosoft/winappCli | Skill | 1.4k | today | MIT | A | 68 | Claude Code |
| flutter-devMiniMax-AI/skills | Skill | 14k | 20d ago | MIT | A | 83 | Claude Code |