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 jiushiwon/wg-skills --skill vue-upload-skillgit clone --depth 1 https://github.com/jiushiwon/wg-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/jiushiwon/wg-skills/vue-upload-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/vue-upload-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-upload-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/vue-upload-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-upload-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.00091 | $0.01570 |
| Opus 5.5 | $0.00036 | $0.00628 |
| Sonnet 5.5 | $0.00018 | $0.00314 |
| Haiku 4.5 | $0.00009 | $0.00157 |
Grade A, and why
vue-upload-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 25d 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 — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.
vue-upload-skill
容器原则:所有上传区域必须嵌入
<base-card>。无例外。 零 HTML5 标签唯一例外:隐藏的<input type="file">(浏览器安全模型硬性要求)。 一个组件,三种模式:新增变体扩展 props 即可,不需要新建 md。
核心组件
| 组件 | 三种模式 | 说明 | 文档 |
|---|---|---|---|
| base-upload | mode="file" |
通用文件上传(拖拽/多文件/进度条/三种 listType) | base-upload.md |
mode="image" |
图片上传(预览大图/Canvas 裁剪/客户端压缩/头像) | ||
mode="list" |
文件列表展示(独立使用/拖拽排序) |
模式速查
<!-- 通用文件上传 -->
<base-upload mode="file" v-model="files" action="/api/upload/file" drag />
<!-- 图片上传(裁剪+压缩) -->
<base-upload mode="image" v-model="images" action="/api/upload/image" crop compress />
<!-- 头像上传 -->
<base-upload mode="image" v-model="avatar" action="/api/upload/image" avatar />
<!-- 文件列表(独立展示) -->
<base-upload mode="list" :files="fileList" :sortable="true" />
共享类型(即插即用核心)
export type UploadStatus = 'ready' | 'uploading' | 'success' | 'error'
export type UploadMode = 'file' | 'image' | 'list'
export type ListType = 'text' | 'picture' | 'picture-card'
export interface UploadFile {
uid: number
name: string
size?: number
type?: string
url?: string
thumbUrl?: string
raw?: File
status: UploadStatus
percent: number
response?: unknown
}
场景矩阵
| 场景 | mode | 关键 props |
|---|---|---|
| 文件附件 | file | list-type="text" accept=".pdf,.doc" |
| 商品图片 | image | crop compress :max-count="9" |
| 头像上传 | image | avatar :compress="true" |
| 证件照 | image | crop :crop-ratio="3/4" :max-count="2" |
| 拖拽上传 | file | drag list-type="text" |
| 文件管理 | list | :sortable="true" |
| 手动上传 | file | :auto-upload="false" + ref.submit() |
跨技能协同
| 对接技能 | 对接方式 |
|---|---|
| vue-theme-skill | Token 唯一来源,零硬编码 |
| frontend-request-skill | 调用 upload() 封装 |
| vue-card-skill | 上传区域用 <base-card> 包裹 |
| vue-button-skill | 按钮引用 <base-button> |
| vue-tag-skill | 状态标签引用 <base-tag> |
| vue-form-skill | 作为 form-item 子组件,v-model 对接 |
| vue-generate-skill | 骨架项目自动放置到 src/components/ |
What ships with it
6 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.
- 25d ago Changed 7bc2072df92a
- 2mo ago Changed · +121 lines · +52 tokens per session 881974b54c15
- 2mo ago First seen · 21 lines · 39 tokens per session scan A 3d9fb6bfc814
vue-upload-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 6d ago), licensed Apache-2.0. It adds 91 tokens to every session and 1,570 once invoked, about $0.0004 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-09-03.
vue-upload-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| vue-upload-skilljiushiwon/wg-skills | Skill | 154 | 6d ago | Apache-2.0 | A | 91 | Claude Code, Codex |
| shadcn-sveltevercel-labs/json-render | Skill | 20k | 7d ago | Apache-2.0 | A | 63 | Claude Code, Codex |
| add-localizationmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 69 | Claude Code |
| moai-domain-uiuxmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 49 | Claude Code |
| moai-domain-frontendmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 54 | Claude Code |
| vue-router-best-practicesvuejs-ai/skills | Skill | 3.4k | 1mo ago | MIT | A | 25 | Claude Code, Codex |
| weapp-vite-vue-sfc-best-practicesweapp-vite/weapp-vite | Skill | 529 | today | MIT | A | 107 | Codex |