chatgpt-vue3-light-mvp: Skill for Codex

.agents/skills/chatbot-mvp-distillation-zh/SKILL.md

chatbot-mvp-distillation-zh is a skill for Codex from pdsuwwz/chatgpt-vue3-light-mvp. It costs 109 tokens per session (745 once invoked), scanned A, original, MIT.

A Chinese-language architecture guide for building ChatGPT-style web chat interfaces with Vue 3, Vite, and TypeScript. It covers streamed replies, model adapters, typing effects, and rich answer rendering.

In plain words
What is it for?
Use it to plan or implement chat interfaces with fetch or SSE streaming, Markdown, code, mathematical formulas, Mermaid diagrams, reasoning sections, and local mock responses.
Why use it?
It helps separate model-specific network responses from the user interface and provides a migration path instead of copying one project blindly.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is pdsuwwz/chatgpt-vue3-light-mvp's own configuration. It tells Codex how to work on chatgpt-vue3-light-mvp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything chatgpt-vue3-light-mvp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pdsuwwz/chatgpt-vue3-light-mvp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pdsuwwz/chatgpt-vue3-light-mvp/main/.agents/skills/chatbot-mvp-distillation-zh/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pdsuwwz/chatgpt-vue3-light-mvp

Made for: 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 chatbot-mvp-distillation-zh

README.md
[![agentmods](https://agentmods.dev/badge/skills/pdsuwwz/chatgpt-vue3-light-mvp/chatbot-mvp-distillation-zh/github.svg)](https://agentmods.dev/skills/pdsuwwz/chatgpt-vue3-light-mvp/chatbot-mvp-distillation-zh)
Your own site
<a href="https://agentmods.dev/skills/pdsuwwz/chatgpt-vue3-light-mvp/chatbot-mvp-distillation-zh"><img src="https://agentmods.dev/badge/skills/pdsuwwz/chatgpt-vue3-light-mvp/chatbot-mvp-distillation-zh/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 chatbot-mvp-distillation-zh

Your own site · 80×15
<a href="https://agentmods.dev/skills/pdsuwwz/chatgpt-vue3-light-mvp/chatbot-mvp-distillation-zh"><img src="https://agentmods.dev/badge/skills/pdsuwwz/chatgpt-vue3-light-mvp/chatbot-mvp-distillation-zh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 745 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.00109 $0.00745
Opus 5 $0.00055 $0.00373
Sonnet 5 $0.00022 $0.00149
Haiku 4.5 $0.00011 $0.00075

Measured 12d ago against content hash 516d07d5b5ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

chatbot-mvp-distillation-zh 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 12d 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.

.agents/skills/chatbot-mvp-distillation-zh/SKILL.md · 48 lines

What it actually says

Chatbot MVP 蒸馏 zh

使用这个 Skill,把 chatgpt-vue3-light-mvp 的工程经验迁移到其他项目,而不是机械复制当前仓库代码。

源项目是一个基于 Vue 3 + Vite + TypeScript 的单轮大模型对话 MVP。它最值得复用的经验是:

  • 将模型特有的流式协议和 UI 渲染解耦
  • 先把不同模型的增量响应归一化为文本块,再交给界面展示
  • 使用打字机缓冲区,让网络读取速度和视觉输出速度分离
  • 将 Markdown、代码高亮、数学公式、Mermaid 图表和推理块组织成独立渲染管线
  • 保留 Mock Stream,让其他项目在没有真实 API Key 时也能开发和验证界面

使用流程

  1. 先识别目标项目的前端框架、状态管理方式和 API 边界。
  2. 设计整体模块边界时,阅读 references/architecture.md
  3. 实现 fetch/SSE/ReadableStream 流式处理时,阅读 references/streaming-sse.md
  4. 增加模型供应商或统一响应格式时,阅读 references/model-adapters.md
  5. 实现富文本回答渲染时,阅读 references/markdown-rendering.md
  6. 在其他项目落地前,阅读 references/migration-checklist.md 做迁移检查。

输出要求

在其他项目使用这个 Skill 时:

  • 先描述适配后的架构,再动代码
  • 保持模型适配器和 UI 组件相互独立
  • 在实现供应商之前,先定义小而稳定的流式增量契约
  • 保留一条本地 Mock Stream 路径,方便开发和演示
  • 明确指出目标项目和当前 Vue MVP 的差异
  • 在可行时验证流式读取、停止生成、完成态、Markdown、代码块、数学公式和 Mermaid 图表

源码锚点

可以把这些文件作为源项目案例阅读:

  • src/views/chat.vue:输入、模型选择、reader 生命周期和停止生成行为
  • src/store/business/index.ts:创建 reader 的 service/store 边界
  • src/components/MarkdownPreview/transform/index.ts:SSE 与 JSON chunk 拆包
  • src/components/MarkdownPreview/models/index.ts:模型适配器和增量响应转换
  • src/components/MarkdownPreview/index.vue:打字机渲染和完成状态
  • src/components/MarkdownPreview/plugins/markdown.ts:Markdown、KaTeX、Mermaid 和推理块渲染
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. 12d ago First seen · 48 lines · 109 tokens per session scan A 516d07d5b5ae

Subscribe to this mod's changes

chatbot-mvp-distillation-zh is a skill published in the GitHub repository pdsuwwz/chatgpt-vue3-light-mvp (574 stars, last pushed 1mo ago), licensed MIT. It adds 109 tokens to every session and 745 once invoked, about $0.0005 per session on Opus 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-08-30.

Related

Other skills, from other repositories

svelte-expert

Expert knowledge in Svelte framework, SvelteKit, reactivity system, compiled approach, and building performant web applications. Use when the user mentions SvelteKit, reactivity, compiler, frontend, performance, or JavaScript, or when the task involves Svelte Fundamentals, Reactivity System, Installation and Setup, or…

personamanagmentlayer/pcl · 74 tokens

vue-expert

Expert knowledge in Vue.js 3, Composition API, Pinia state management, and Nuxt.js for building modern reactive web applications. Use when the user mentions Vue 3, the Composition API, Pinia, Nuxt, reactive, or frontend, or when the task involves Vue 3 Fundamentals, Composition API, Pinia State Management, or Nuxt.js.

personamanagmentlayer/pcl · 78 tokens

trtc-chat

Internal Chat (IM) integration domain skill — enter ONLY via skills/trtc/SKILL.md after product=chat routing. Not a standalone dispatcher entry. Handles Vue 3 Web full/direct chat integration (Path A/B/C/D).

Tencent-RTC/agent-skills · 51 tokens

shadcn-svelte

Pre-built shadcn-svelte components for json-render Svelte apps. Use when working with @json-render/shadcn-svelte, adding standard UI components to a Svelte catalog, or building Svelte web UIs with shadcn-svelte + Tailwind CSS components.

vercel-labs/json-render · 63 tokens

html-email

Send-ready single-file email.

asgeirtj/system_prompts_leaks · 8 tokens

node-connect

Diagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale…

the-open-agent/openagent · 81 tokens