vue-button-skill

vue-button-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 36 tokens per session (687 once invoked), scanned A, original, Apache-2.0.

A Vue component guide for reusable buttons. It defines button types, visual styles, sizes, disabled and loading states, and full-width buttons.

In plain words
What is it for?
Use it for actions such as saving, cancelling, deleting, submitting forms, showing loading progress, and creating full-width controls.
Why use it?
It keeps button behavior and appearance consistent across an application without requiring a third-party component library.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is 所有按钮组、操作栏都应嵌入 `<base-card>` 容器([vue-card-skill](../vue-card-skill/))。.

Good fit Use it for actions such as saving, cancelling, deleting, submitting forms, showing loading progress, and creating full-width controls.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills
agentmods
npx agentmods add skills/jiushiwon/wg-skills/vue-button-skill

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-button-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/vue-button-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-button-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 687 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00036 $0.00687
Opus 5.5 $0.00014 $0.00275
Sonnet 5.5 $0.00007 $0.00137
Haiku 4.5 $0.00004 $0.00069

Measured 2mo ago against content hash 5059b506a9d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vue-button-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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (components/index.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-button-skill/SKILL.md · 87 lines

What it actually says

vue-button-skill

Vue 按钮组件技能。基于 vue-theme-skill 的 Token 实现,零第三方组件库。

核心组件

组件 说明
base-button 通用按钮(6 type × 3 variant × 3 size)

Props 矩阵

维度 可选值
type default / primary / success / warning / danger / info
variant solid(默认)/ outline / text
size sm / md(默认)/ lg
disabled boolean
loading boolean
block boolean(块级铺满)

文件结构

vue-button-skill/
├── SKILL.md
├── README.md
├── base-button.md
└── demo-components/
    └── base-button/
        ├── README.md
        ├── html/01-types.html
        ├── html/02-variants.html
        └── html/03-sizes.html

容器原则

所有按钮组、操作栏都应嵌入 <base-card> 容器(vue-card-skill)。

<base-card title="商品管理">
  <template #header-right>
    <base-button>取消</base-button>
    <base-button type="primary">保存</base-button>
  </template>

  <div class="demo-row">
    <base-button>默认</base-button>
    <base-button type="primary" variant="outline">主要描边</base-button>
    <base-button type="danger" :loading="saving">删除</base-button>
  </div>
</base-card>

设计 Token

.base-button {
  height: var(--height-button-md);     /* 36px */
  padding: 0 var(--space-4);           /* 16px */
  border-radius: var(--radius-md);     /* 6px */
  background: var(--color-surface);
  color: var(--color-text);
}
.base-button--type-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}

禁止硬编码任何颜色 / 间距 / 行高 / 圆角值。

第三方组件库

❌ 禁止 Element Plus / Naive UI / Ant Design Vue / Vuetify / PrimeVue。

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. 2mo ago First seen · 87 lines · 36 tokens per session scan A 5059b506a9d1

Subscribe to this mod's changes

vue-button-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 6d ago), licensed Apache-2.0. It adds 36 tokens to every session and 687 once invoked, about $0.0001 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.

Related

vue-button-skill compared with skills from other repositories

vue-button-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vue-button-skilljiushiwon/wg-skillsSkill1546d agoApache-2.0A36Claude Code, Codex
shadcn-vueunovue/shadcn-vueSkill11k3d agoMITA97Claude Code
figma-codegenawdr74100/figwrightSkill1.6ktodayMITA145Claude Code, Codex
moai-domain-uiuxmodu-ai/moai-adkSkill1.3ktodayApache-2.0A49Claude Code
moai-domain-frontendmodu-ai/moai-adkSkill1.3ktodayApache-2.0A54Claude Code
inspira-uisecondsky/claude-skillsSkill257yesterdayMITA53Claude Code
component-template-generatorcuriositech/some_claude_skillsSkill2823d agoMITA32Claude Code