markstream-vue: Skill for Codex

.agents/skills/markstream-vue2-vite/SKILL.md

markstream-vue2-vite is a skill for Codex from Simon-He95/markstream-vue. It costs 71 tokens per session (699 once invoked), scanned A, original, MIT.

Integration guidance for rendering Markdown with markstream-vue2 in Vue 2 applications built with Vite. It covers styling, workers for diagrams and formulas, streaming text, and code blocks.

In plain words
What is it for?
It helps add Markdown rendering to Vue 2 Vite apps, including AI chat output, Mermaid diagrams, KaTeX formulas, document views, and code blocks.
Why use it?
It prevents setup errors caused by Vue 2 and Vite compatibility differences, especially around worker imports and CSS loading.

Skill for Codex

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

This is Simon-He95/markstream-vue's own configuration. It tells Codex how to work on markstream-vue 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 markstream-vue configures →

About the project

markstream-vue is a family of Markdown renderers that display AI-generated text while it is still arriving, including unfinished formatting, code blocks, diagrams, and mathematical notation. It is for AI chat interfaces built with Vue and other supported frameworks, with markstream-vue targeting Vue 3, Nuxt, and VitePress. The catalogue entries provide agent guidance for using the renderer family.

Simon-He95/markstream-vue · 3,002 stars · on GitHub · markstream.simonhe.me

Reuse

Borrowing it

Nothing to install: this file belongs to Simon-He95/markstream-vue. 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/Simon-He95/markstream-vue/main/.agents/skills/markstream-vue2-vite/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Simon-He95/markstream-vue

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 markstream-vue2-vite

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/simon-he95/markstream-vue/markstream-vue2-vite"><img src="https://agentmods.dev/badge/skills/simon-he95/markstream-vue/markstream-vue2-vite.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 699 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.00071 $0.00699
Opus 5 $0.00036 $0.00349
Sonnet 5 $0.00014 $0.00140
Haiku 4.5 $0.00007 $0.00070

Measured today against content hash b288ebcb4467, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

markstream-vue2-vite 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 today.

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/markstream-vue2-vite/SKILL.md · 44 lines

How it starts

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

Markstream Vue 2 Vite

Use this skill when the host app is Vue 2 and the bundler is Vite.

Workflow

  1. Confirm the repo is Vue 2 with Vite-based tooling.
  2. Install markstream-vue2 plus only the requested optional peers.
  3. Import markstream-vue2/index.css after resets.
  4. Use Vite worker imports when the repo needs bundled workers.
    • markstream-vue2/workers/... ?worker or ?worker&inline patterns are allowed here.
  5. Keep Composition API decisions explicit for Vue 2.6 repos.
    • For AI chat or streaming UIs, keep content and use built-in smooth streaming first.
      • smooth-streaming="auto" is the default and activates when typewriter=true or max-live-nodes <= 0.
      • typewriter only controls the blinking cursor and defaults to false.
      • fade controls node enter and streamed-text fade animations and defaults to true.
    • Streaming vs recovering history: in chat UIs the same MarkdownRender starts streaming and later switches to history when final=true.
      • Streaming: smooth-streaming="auto", :fade="false", typewriter=true. This is a conservative visual/performance choice, not an API incompatibility. This adapter has not adopted Vue 3's bounded append fades, so verify its animation behavior before enabling both.
      • Recovering history: :smooth-streaming="false", :fade="true", typewriter=false. Content is already complete — pacing would slow it down, but fade gives a polished entry animation.
      • Dynamic switch: :smooth-streaming="isStreaming ? 'auto' : false", :fade="!isStreaming".
    • Move to nodes + final only for worker-preparsed content, shared AST stores, or custom AST control.
    • Remember that html-policy now defaults to safe, and Mermaid strict mode is on by default through mermaid-props.
  6. Validate with the smallest useful Vite dev or build command.

Default Decisions

  • Prefer bundled workers over CDN workers in Vite-based Vue 2 repos.
  • Keep UnoCSS or Tailwind resets before Markstream CSS.
  • Use the generic markstream-vue2 skill only when the bundler-specific choice does not matter.
  • Keep html-policy="safe" and Mermaid strict mode unless the task is preserving trusted legacy rendering.
  • If a trusted surface needs older behavior, use html-policy="trusted" and :mermaid-props="{ isStrict: false }" only on that surface and explain why.

Read the full file on GitHub · 44 lines

Files

What ships with it

1 file 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. today Changed b288ebcb4467
  2. 10d ago First seen · 44 lines · 71 tokens per session scan A 06a76eb3d23e

Subscribe to this mod's changes

markstream-vue2-vite is a skill published in the GitHub repository Simon-He95/markstream-vue (3,002 stars, last pushed today), licensed MIT. It adds 71 tokens to every session and 699 once invoked, about $0.0004 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