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-chat-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-chat-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/vue-chat-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-chat-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-chat-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-chat-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00117 | $0.06496 |
| Opus 5.5 | $0.00047 | $0.02598 |
| Sonnet 5.5 | $0.00023 | $0.01299 |
| Haiku 4.5 | $0.00012 | $0.00650 |
Grade A, and why
vue-chat-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 — 801 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vue3 Chat Skill
Vue3 高端 PC 端 AI 聊天页技能,6 种真正差异化的视觉风格。
容器原则(铁律)
所有助手消息容器必须基于
base-card实现,无例外。
<template>
<base-card class="chat-message chat-message--assistant">
<!-- 消息内容 -->
</base-card>
</template>
组件依赖(全部走现有组件库)
| 用到 | 来源 | 文件 |
|---|---|---|
| 消息卡片容器 | vue-base-skill | base-card.md |
| 发送按钮 | vue-button-skill | base-button.md |
| 操作按钮 | vue-button-skill | base-button.md |
禁止自定义 div 实现按钮。所有原子组件必须从上述技能引用。
6 种风格
| 风格 | 核心差异 | 触发词 |
|---|---|---|
| Codex 暗色终端 | 暗色终端、等宽字体、代码块、绿色强调、流式输出 | 默认、"codex"、"终端" |
| ChatGPT 极简 | 纯白简洁、ChatGPT 风格、无衬线 | "minimal"、"chatgpt" |
| 客服工单 | 侧边栏工单列表、客户信息面板 | "support"、"客服" |
| 消息气泡 | iMessage/微信气泡、圆润、多彩 | "bubble"、"气泡" |
| IDE 对话 | VS Code 暗色主题、分栏布局、代码为主 | "ide"、"vscode" |
| 深色玻璃 | 暗色毛玻璃、微光晕、高级感 | "glass"、"暗黑" |
标准 ChatPage(所有风格共用)
完整模板见 templates/ChatPage.vue。所有风格的差异仅在 CSS 变体上,模板结构不变。
<template>
<div class="chat-page" :class="`chat-page--${variant}`">
<!-- 侧边栏 -->
<aside v-if="showSidebar" class="chat-sidebar">
<div class="chat-sidebar__header">
<slot name="sidebar-header">
<div role="button" tabindex="0" class="chat-sidebar__new-btn" @click="$emit('conversation-select', '')" @keydown.enter="$emit('conversation-select', '')" @keydown.space.prevent="$emit('conversation-select', '')">+ 新对话</div>
</slot>
</div>
<div class="chat-sidebar__search">
<div contenteditable="true" role="textbox" class="chat-sidebar__search-input" data-placeholder="搜索对话..." @input="searchQuery = ($event.target as HTMLElement).innerText"></div>
</div>
<div class="chat-sidebar__list">
<div
v-for="conv in filteredConversations"
:key="conv.id"
class="chat-sidebar__item"
:class="{ 'chat-sidebar__item--active': conv.id === currentConversationId }"
@click="$emit('conversation-select', conv.id)"
>
<div class="chat-sidebar__item-title">{{ conv.title }}</div>
<div class="chat-sidebar__item-preview">{{ conv.lastMessage }}</div>
<div class="chat-sidebar__item-time">{{ conv.timestamp }}</div>
<span v-if="conv.unread" class="chat-sidebar__item-badge">{{ conv.unread }}</span>
</div>
</div>
</aside>
<!-- 主聊天区域 -->
<main class="chat-main">
<!-- 头部 -->
<header v-if="showHeader" class="chat-header">
<div class="chat-header__title">{{ title }}</div>
<div class="chat-header__model">
<span class="chat-header__model-dot" />
{{ modelLabel }}
</div>
<div class="chat-header__actions">
<slot name="header-actions" />
</div>
</header>
<!-- 消息列表 -->
<div class="chat-messages" ref="messagesRef">
<template v-for="msg in messages" :key="msg.id">
<div v-if="msg.role === 'system'" class="chat-message chat-message--system">
<span class="chat-message__system-text">{{ msg.content }}</span>
</div>
<div v-else-if="msg.role === 'user'" class="chat-message chat-message--user">
<div class="chat-message__bubble chat-message__bubble--user">
<div class="chat-message__content">{{ msg.content }}</div>
<div class="chat-message__time">{{ msg.timestamp }}</div>
</div>
</div>
<base-card v-else class="chat-message chat-message--assistant">
<div class="chat-message__avatar"><!-- SVG bot icon --></div>
<div class="chat-message__body">
<div class="chat-message__content" v-html="formatContent(msg.content)" />
<div v-if="msg.code" class="chat-code-block">
<div class="chat-code-block__header">
<span class="chat-code-block__lang">{{ msg.language || 'code' }}</span>
<div role="button" tabindex="0" class="chat-code-block__copy" @click="copyCode(msg.code!)" @keydown.enter="copyCode(msg.code!)">复制</div>
</div>
<pre class="chat-code-block__pre"><code>{{ msg.code }}</code></pre>
</div>
<div class="chat-message__footer">
<span class="chat-message__time">{{ msg.timestamp }}</span>
<span v-if="msg.status === 'error'" class="chat-message__error">发送失败</span>
</div>
</div>
<slot name="message-custom" :message="msg" />
</base-card>
</template>
<div v-if="loading" class="chat-message chat-message--assistant chat-message--loading">
<div class="chat-message__avatar"><!-- SVG bot icon --></div>
<div class="chat-message__body">
<div class="chat-typing-indicator">
<span /><span /><span />
</div>
</div>
</div>
<div v-if="streaming" class="chat-streaming-cursor" />
</div>
<!-- 输入区域 -->
<div class="chat-input-area">
<div class="chat-input-area__wrapper">
<div role="button" tabindex="0" class="chat-input-area__attach" title="附件"><!-- SVG attach icon --></div>
<div
contenteditable="true"
role="textbox"
ref="inputRef"
:data-placeholder="inputPlaceholder"
class="chat-input-area__textarea"
@keydown.enter.exact.prevent="handleSend"
@input="inputText = ($event.target as HTMLElement).innerText; autoResize()"
></div>
<base-button
type="primary"
size="sm"
:disabled="!inputText.trim() || streaming"
@click="handleSend"
>
{{ streaming ? '停止' : '发送' }}
</base-button>
</div>
<div class="chat-input-area__hint">Enter 发送 · Shift+Enter 换行</div>
<slot name="input-extra" />
</div>
</main>
<!-- 状态栏 -->
<footer v-if="showStatusBar" class="chat-status-bar">
<span class="chat-status-bar__connection">
<span class="chat-status-bar__dot" :class="connectionClass" />
{{ connectionLabel }}
</span>
<span class="chat-status-bar__tokens">Tokens: {{ tokenCount }}</span>
<span class="chat-status-bar__latency">延迟: {{ responseTime }}ms</span>
</footer>
</div>
</template>
What ships with it
11 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.
- demo-components/chat-page/html/00-showcase.html 18 KB
- demo-components/chat-page/html/01-codex.html 13 KB
- demo-components/chat-page/html/02-minimal.html 11 KB
- demo-components/chat-page/html/03-support.html 14 KB
- demo-components/chat-page/html/04-bubble.html 12 KB
- demo-components/chat-page/html/05-ide.html 12 KB
- demo-components/chat-page/html/06-glass-dark.html 13 KB
- demo-components/shared/demo.css 13 KB
- demo-components/shared/tokens.css 2.4 KB
- README.md 844 B
- templates/ChatPage.vue 35 KB
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 · +1 lines 67e3be3c2580
- 2mo ago First seen · 800 lines · 117 tokens per session scan A 6ae94403381e
vue-chat-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 7d ago), licensed Apache-2.0. It adds 117 tokens to every session and 6,496 once invoked, about $0.0005 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.
vue-chat-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| vue-chat-skilljiushiwon/wg-skills | Skill | 154 | 7d ago | Apache-2.0 | A | 117 | Claude Code, Codex |
| agent-platform-model-registrygoogle/skills | Skill | 25k | today | Apache-2.0 | A | 60 | Claude Code, Codex |
| llm-evaluationsickn33/agentic-awesome-skills | Skill | 51k | yesterday | MIT | A | 25 | Claude Code |
| google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skills | Skill | 25k | today | Apache-2.0 | A | 132 | Claude Code, Codex |
| training-checkwanshuiyin/Auto-claude-code-research-in-sleep | Skill | 20k | yesterday | MIT | A | 35 | Claude Code |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 92 | Claude Code |
| nemo-automodel-launcher-configNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 30 | Claude Code |