vue-badge-skill

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

A Vue badge component skill for showing a small dot, number, label, or highlighted notification marker beside another interface element.

In plain words
What is it for?
Use it for message counts, shopping-cart quantities, online or pending states, labels such as NEW, and highlighted notifications.
Why use it?
It avoids repeatedly creating separate visual treatments for unread counts, status indicators, and short labels.

Skill for Claude CodeCodex

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

Good fit Use it for message counts, shopping-cart quantities, online or pending states, labels such as NEW, and highlighted notifications.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/vue-badge-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-badge-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 797 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.00066 $0.00797
Opus 5.5 $0.00026 $0.00319
Sonnet 5.5 $0.00013 $0.00159
Haiku 4.5 $0.00007 $0.00080

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

Security

Grade A, and why

vue-badge-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 1mo 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-badge-skill/SKILL.md · 99 lines

What it actually says

vue-badge-skill

Vue 徽标组件技能。基于 vue-theme-skill 的 Token 实现。

核心组件

组件 说明
base-badge 通用徽标(5 种形态)

形态矩阵

形态 说明 场景
dot 圆点 在线状态、待处理
count 数字 消息数量、购物车
text 文字 NEW、HOT、热门
max 最大值 99+、999+
dot-pulse 脉冲红点 重要通知

Props

属性 类型 默认值 说明
type 'dot' | 'count' | 'text' | 'max' 'count' 徽标类型
value number | string 0 数值或文字
max number 99 最大显示值
showZero boolean false 是否显示 0
pulse boolean false 是否脉冲动画
color string 'error' 颜色主题

使用示例

<!-- 数字徽标 -->
<base-badge :value="5" />
<base-badge :value="100" :max="99" />

<!-- 圆点徽标 -->
<base-badge type="dot" />

<!-- 文字徽标 -->
<base-badge type="text" value="NEW" />

<!-- 脉冲红点 -->
<base-badge type="dot" :pulse="true" />

<!-- 购物车数量 -->
<base-badge :value="cartCount" :max="99" />

样式 Token

变量 说明
--badge-bg 徽标背景色
--badge-text 徽标文字色
--badge-size 徽标尺寸
--badge-font-size 字号

跨技能协同

技能 用途
vue-theme-skill Token 样式
frontend-icon-skill 图标徽标组合
vue-button-skill 按钮徽标组合
vue-menu-skill 菜单徽标
vue-dropdown-skill 下拉徽标

红线

  • ❌ 禁止硬编码颜色
  • ❌ 禁止第三方 UI 库

文件结构

vue-badge-skill/
├── SKILL.md
├── README.md
├── base-badge.md
├── components/
│   └── BaseBadge.vue
└── demo-components/
    └── base-badge/
        └── html/
            └── 00-showcase.html
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. 1mo ago Changed 2b36d639a550
  2. 1mo ago First seen · 99 lines · 66 tokens per session scan A d403feff31ea

Subscribe to this mod's changes

vue-badge-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 7d ago), licensed Apache-2.0. It adds 66 tokens to every session and 797 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-10-08.

Related

vue-badge-skill compared with skills from other repositories

vue-badge-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vue-badge-skilljiushiwon/wg-skillsSkill1547d agoApache-2.0A66Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code