vue-dialog-skill

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

A Vue 3 dialog skill with a general modal window and a confirmation dialog. A modal is a window shown above the current page, while a confirmation dialog asks the user to approve or cancel an action.

In plain words
What is it for?
Use the general dialog for custom titles, content and footer buttons, and use the confirmation version for warning, danger or information prompts. Configure visibility, size, closing behaviour and button text.
Why use it?
It provides a consistent way to show extra content or request confirmation without navigating away. This is useful for actions such as deleting records where an accidental click should be avoidable.

Skill for Claude CodeCodex

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

Good fit Use the general dialog for custom titles, content and footer buttons, and use the confirmation version for warning, danger or information prompts. Configure visibility, size, closing behaviour and button text.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/vue-dialog-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-dialog-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 946 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.00946
Opus 5.5 $0.00026 $0.00378
Sonnet 5.5 $0.00013 $0.00189
Haiku 4.5 $0.00007 $0.00095

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

Security

Grade A, and why

vue-dialog-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-dialog-skill/SKILL.md · 121 lines

How it starts

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

vue-dialog-skill

零 HTML5 标签:按钮用 <span role="button">,关闭用 <span role="button"> 零第三方依赖:纯 CSS3 过渡 + Teleport

对话框组件技能,提供两种形态:

组件 场景 说明
base-dialog 通用弹窗 自定义标题、内容、底部按钮
base-confirm 确认对话框 带图标的确认/取消,常用于删除确认

详细规范见 base-dialog.md

Props 矩阵

base-dialog

维度 说明
visible boolean 控制显示
title string 标题
width string 宽度,默认 '500px'
closable boolean 是否显示关闭按钮,默认 true
maskClosable boolean 点击遮罩关闭,默认 true
footer boolean 是否显示底部,默认 true

base-confirm

维度 说明
visible boolean 控制显示
type warning(默认)/ danger / info
title string 标题
message string 描述文字
confirmText string 确认按钮文字,默认 '确认'
cancelText string 取消按钮文字,默认 '取消'
confirmType string 确认按钮类型,默认 'primary'

使用方式

<script setup lang="ts">
import { ref } from 'vue';
import { BaseDialog, BaseConfirm } from './components';

const dialogVisible = ref(false);
const confirmVisible = ref(false);

function handleDelete(row) {
  confirmVisible.value = true;
}
</script>

<template>
  <BaseDialog v-model:visible="dialogVisible" title="编辑用户">
    <!-- 自定义内容 -->
  </BaseDialog>

  <BaseConfirm
    v-model:visible="confirmVisible"
    type="danger"
    title="确认删除"
    message="确定要删除该记录吗?此操作不可恢复。"
    @confirm="doDelete"
  />
</template>

设计 Token

.base-dialog__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
}
.base-dialog {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

文件结构

vue-dialog-skill/
├── SKILL.md
├── README.md
├── base-dialog.md
└── demo-components/
    └── base-dialog/
        └── html/
            └── 00-showcase.html

跨技能协同

  • vue-button-skill:弹窗底部按钮
  • vue-crud-skill:新增/编辑弹窗、删除确认
  • vue-form-skill:弹窗内嵌表单
  • vue-toast-skill:确认操作后的反馈
  • vue-theme-skill:所有 Token 来源

Read the full file on GitHub · 121 lines

Files

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.

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 · 121 lines · 66 tokens per session scan A 832c7614e292

Subscribe to this mod's changes

vue-dialog-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 946 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-09-30.

Related

vue-dialog-skill compared with skills from other repositories

vue-dialog-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vue-dialog-skilljiushiwon/wg-skillsSkill1547d agoApache-2.0A66Claude Code, Codex
webgl-holographic-foilnexu-io/open-designSkill110ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill110ktodayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill110ktodayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
glance-canonical-layoutsandroid/skillsSkill11k8d agoApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.7ktodayMITA47Claude Code