vue-upload-integration-skill

vue-upload-integration-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 108 tokens per session (4,645 once invoked), scanned A, original, Apache-2.0.

A Vue integration skill for connecting file uploads to forms and backend requests. It combines upload controls, form fields and request handling for image and file workflows.

In plain words
What is it for?
Use it for avatar settings, product publishing forms, file managers and batch image uploads. It covers image preview, cropping, compression and file-list displays where supported.
Why use it?
It removes the need to connect the form, upload component and server API separately. This helps keep the page and the backend request contract aligned.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for avatar settings, product publishing forms, file managers and batch image uploads. It covers image preview, cropping, compression and file-list displays where supported.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiushiwon/wg-skills/vue-upload-integration-skill
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.

Any agent
npx skills add jiushiwon/wg-skills --skill vue-upload-integration-skill
Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills

Made for: Claude Code, Codex.

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 vue-upload-integration-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-upload-integration-skill/github.svg)](https://agentmods.dev/skills/jiushiwon/wg-skills/vue-upload-integration-skill)
Your own site
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/vue-upload-integration-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-upload-integration-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.

agentmods 80×15 button for vue-upload-integration-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/vue-upload-integration-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-upload-integration-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,645 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.00108 $0.04645
Opus 5.5 $0.00043 $0.01858
Sonnet 5.5 $0.00022 $0.00929
Haiku 4.5 $0.00011 $0.00464

Measured 25d ago against content hash c4fa325f27a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vue-upload-integration-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.

frontend/vue/vue-base-skill/vue-complex-skill/vue-upload-integration-skill/SKILL.md · 583 lines

How it starts

The opening of the file, as written. The whole thing — 583 lines — stays where its author put it; the contents beside it link to each section on GitHub.

vue-upload-integration-skill

综合级别:不是单个组件,而是上传 + 表单 + 后端契约的全链路集成。

引用 vue-upload-skill + vue-form-skill + frontend-request-skill + vue-card-skill + vue-button-skill + vue-tag-skill,实现即插即用。

定位

维度 说明
本技能做什么 将上传组件嵌入表单/页面,对齐后端契约,给出完整业务代码
本技能不做什么 不重新定义上传组件(→ vue-upload-skill)、不重新定义表单(→ vue-form-skill)

引用组件

技能 组件 / API 用途
vue-upload-skill base-upload mode="file" 通用文件上传
base-upload mode="image" 图片上传(预览/裁剪/压缩)
base-upload mode="list" 文件列表展示
vue-form-skill base-form / base-form-item 表单容器 + 表单项
vue-card-skill base-card 根容器
vue-button-skill base-button 操作按钮
vue-tag-skill base-tag 状态标签
frontend-request-skill upload() 上传请求封装

场景矩阵

# 场景 组件组合 后端路由
1 头像设置页 base-card + base-upload(mode="image" avatar) + base-button POST /api/upload/image
2 商品发布页 base-card + base-form + base-upload(mode="image" crop+compress) + base-button POST /api/upload/image
3 文件管理器 base-card + base-upload(mode="file" drag+text) + base-upload(mode="list") + base-tag POST /api/upload/file
4 批量导入页 base-card + base-upload(autoUpload:false) + base-button POST /api/upload/file

场景 1:头像设置页

<template>
  <base-card title="个人设置">
    <div class="avatar-setting">
      <div class="avatar-setting__label">头像</div>
      <div class="avatar-setting__content">
        <base-upload
          v-model="avatar"
          action="/api/upload/image"
          mode="image"
          avatar
          :compress="true"
          :compress-max-width="256"
          :compress-max-height="256"
          @success="handleAvatarSuccess"
          @error="handleAvatarError"
        />
        <div class="avatar-setting__tip">支持 JPG、PNG,建议 256×256,自动压缩</div>
      </div>
    </div>

    <div class="avatar-setting">
      <div class="avatar-setting__label">昵称</div>
      <div class="avatar-setting__content">
        <base-input v-model="nickname" placeholder="请输入昵称" />
      </div>
    </div>

    <div class="avatar-setting__actions">
      <base-button @click="handleCancel">取消</base-button>
      <base-button type="primary" :loading="saving" @click="handleSave">保存</base-button>
    </div>
  </base-card>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { upload } from '@/api/upload'

const avatar = ref<string[]>([])
const nickname = ref('')
const saving = ref(false)

function handleAvatarSuccess(payload: { file: any; response: any }) {
  // 头像上传成功,自动同步到 v-model
}

function handleAvatarError(payload: { file: any; error: any }) {
  // 提示上传失败
}

async function handleSave() {
  saving.value = true
  try {
    // 调用用户信息更新接口
    await request({ url: '/user/profile', method: 'PUT', data: {
      avatar: avatar.value[0],
      nickname: nickname.value,
    }})
  } finally {
    saving.value = false
  }
}

function handleCancel() {
  // 重置
}
</script>

<style scoped>
.avatar-setting {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}
.avatar-setting__label {
  width: 80px;
  font-size: var(--font-base);
  color: var(--color-text);
  padding-top: var(--space-2);
  flex-shrink: 0;
}
.avatar-setting__content {
  flex: 1;
}
.avatar-setting__tip {
  font-size: var(--font-xs);
  color: var(--color-text-tertiary);
  margin-top: var(--space-2);
}
.avatar-setting__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  padding-top: var(--space-5);
}
</style>

Read the full file on GitHub · 583 lines

Files

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.

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. 25d ago Changed c4fa325f27a3
  2. 2mo ago First seen · 583 lines · 108 tokens per session scan A 4d417eee2af9

Subscribe to this mod's changes

vue-upload-integration-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 7d ago), licensed Apache-2.0. It adds 108 tokens to every session and 4,645 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-30.

Related

vue-upload-integration-skill compared with skills from other repositories

vue-upload-integration-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vue-upload-integration-skilljiushiwon/wg-skillsSkill1547d agoApache-2.0A108Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k4d agoApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.2ktodayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill6916d agoMITA105Claude Code, Codex