vue-chat-skill

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

A Vue 3 chat-page skill for building AI conversation screens in several layouts, including terminal, minimal, support-ticket, message-bubble, IDE and dark-glass styles. It defines a reusable page structure with messages, controls and an optional sidebar.

In plain words
What is it for?
Use it for AI assistants, customer-support conversations, developer chat screens and IDE-style coding discussions. It includes message containers, send and action buttons, and optional sidebar content.
Why use it?
It removes the need to design the chat page structure and each visual treatment separately. The same template can be styled for different conversation products or interfaces.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it for AI assistants, customer-support conversations, developer chat screens and IDE-style coding discussions. It includes message containers, send and action buttons, and optional sidebar content.

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

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

agentmods 80×15 button for vue-chat-skill

Your own site · 80×15
<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>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,496 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.00117 $0.06496
Opus 5.5 $0.00047 $0.02598
Sonnet 5.5 $0.00023 $0.01299
Haiku 4.5 $0.00012 $0.00650

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

Security

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.

frontend/vue/vue-base-skill/vue-complex-skill/vue-chat-skill/SKILL.md · 801 lines

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>

Read the full file on GitHub · 801 lines

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 · +1 lines 67e3be3c2580
  2. 2mo ago First seen · 800 lines · 117 tokens per session scan A 6ae94403381e

Subscribe to this mod's changes

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.

Related

vue-chat-skill compared with skills from other repositories

vue-chat-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vue-chat-skilljiushiwon/wg-skillsSkill1547d agoApache-2.0A117Claude Code, Codex
agent-platform-model-registrygoogle/skillsSkill25ktodayApache-2.0A60Claude Code, Codex
llm-evaluationsickn33/agentic-awesome-skillsSkill51kyesterdayMITA25Claude Code
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill25ktodayApache-2.0A132Claude Code, Codex
training-checkwanshuiyin/Auto-claude-code-research-in-sleepSkill20kyesterdayMITA35Claude Code
tao-run-inference-serviceNVIDIA/skillsSkill4.2ktodayApache-2.0A92Claude Code
nemo-automodel-launcher-configNVIDIA/skillsSkill4.2ktodayApache-2.0A30Claude Code