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.
npx skills add guyulong/cn-agent-skills --skill uniapp-helpergit clone --depth 1 https://github.com/guyulong/cn-agent-skillsWrote 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/guyulong/cn-agent-skills/uniapp-helper)<a href="https://agentmods.dev/skills/guyulong/cn-agent-skills/uniapp-helper"><img src="https://agentmods.dev/badge/skills/guyulong/cn-agent-skills/uniapp-helper/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/guyulong/cn-agent-skills/uniapp-helper"><img src="https://agentmods.dev/badge/skills/guyulong/cn-agent-skills/uniapp-helper.svg" alt="Reviewed on agentmods" width="80" 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.00010 | $0.00705 |
| Opus 5 | $0.00005 | $0.00352 |
| Sonnet 5 | $0.00002 | $0.00141 |
| Haiku 4.5 | $0.00001 | $0.00071 |
Grade A, and why
uniapp-helper 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 10d 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 — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
uni-app 跨端开发助手
使用场景
uni-app项目开发中的常见问题和最佳实践。
项目结构
├── pages/ # 页面
│ ├── index/
│ │ └── index.vue
│ └── user/
│ └── index.vue
├── components/ # 组件
├── store/ # Vuex/Pinia
├── api/ # 接口封装
├── utils/ # 工具函数
├── static/ # 静态资源
├── pages.json # 页面配置
├── manifest.json # 应用配置
└── uni.scss # 全局样式
条件编译
// #ifdef MP-WEIXIN
console.log('微信小程序环境');
// #endif
// #ifdef H5
console.log('H5环境');
// #endif
// #ifdef APP-PLUS
console.log('App环境');
// #endif
// 平台列表
// MP-WEIXIN 微信小程序
// MP-ALIPAY 支付宝小程序
// MP-BAIDU 百度小程序
// MP-TOUTIAO 抖音小程序
// MP 所有小程序
// H5 H5
// APP-PLUS App
常用API对照
| 功能 | uni-app | 微信小程序 |
|---|---|---|
| 路由跳转 | uni.navigateTo() |
wx.navigateTo() |
| 请求 | uni.request() |
wx.request() |
| 存储 | uni.setStorageSync() |
wx.setStorageSync() |
| 提示 | uni.showToast() |
wx.showToast() |
| 选择图片 | uni.chooseImage() |
wx.chooseImage() |
接口封装
// api/request.js
const BASE_URL = 'https://api.example.com';
export const request = (options) => {
return new Promise((resolve, reject) => {
uni.request({
url: BASE_URL + options.url,
method: options.method || 'GET',
data: options.data,
header: {
'Authorization': uni.getStorageSync('token'),
'Content-Type': 'application/json'
},
success: (res) => {
if (res.statusCode === 200) {
resolve(res.data);
} else if (res.statusCode === 401) {
uni.navigateTo({ url: '/pages/login/index' });
reject(new Error('未登录'));
} else {
reject(new Error(res.data.message || '请求失败'));
}
},
fail: (err) => {
reject(err);
}
});
});
};
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.
- 10d ago First seen · 106 lines · 10 tokens per session scan A 20a66521db7a
uniapp-helper is a skill published in the GitHub repository guyulong/cn-agent-skills (3 stars, last pushed 3mo ago), licensed MIT. It adds 10 tokens to every session and 705 once invoked, about $0.0001 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 skills, from other repositories
nextjs-dashboard
Next.js 15+ App Router dashboard skill — server/client components, mobile nav, polling, data tables, skeleton states, and production-grade dashboard UX patterns.
dart-flutter-patterns
A collection of architecture and coding patterns for building Dart and Flutter applications, including state management, navigation, networking, storage, and tests.
animate-expo
Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and…
leanback-to-compose-tv-migration
Provides instructions and architectural patterns for migrating Android TV applications from legacy Leanback UI Toolkit, Android Views, or Support Fragments to Jetpack Compose for TV (androidx.tv). Use this skill for Leanback to Compose migrations, including browse screen, settings screen, authentication screen, login…
maui-data-binding
Guidance for .NET MAUI XAML and C# data bindings — compiled bindings, INotifyPropertyChanged / ObservableObject, value converters, binding modes, multi-binding, relative bindings, fallbacks, and MVVM best practices. USE FOR: setting up compiled bindings with x:DataType, implementing INotifyPropertyChanged or…
web-haptics
Add haptic feedback to web apps using the web-haptics library. Use when building mobile-facing UIs that need tactile feedback on buttons, toggles, forms, pickers, and other interactive elements.