markstream-vue: Skill for Codex

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

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

A setup guide for adding Markstream, a Markdown renderer, to Vue 2.6 or 2.7 applications. It covers CSS, optional Composition API support, and streamed chat content.

In plain words
What is it for?
Use it when installing and configuring Markstream in a Vue 2 app, especially an AI chat interface that receives Markdown gradually. It also helps configure completed conversation history and scoped style changes.
Why use it?
It helps avoid using Vue 3 instructions or adding dependencies your Vue 2 project does not need. It also explains how to display changing chat content without awkward animation or history-recovery behavior.

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 · 2,993 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/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

README.md
[![agentmods](https://agentmods.dev/badge/skills/simon-he95/markstream-vue/markstream-vue2.svg)](https://agentmods.dev/skills/simon-he95/markstream-vue/markstream-vue2)
Your own site
<a href="https://agentmods.dev/skills/simon-he95/markstream-vue/markstream-vue2"><img src="https://agentmods.dev/badge/skills/simon-he95/markstream-vue/markstream-vue2.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 711 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.00078 $0.00711
Opus 5 $0.00039 $0.00356
Sonnet 5 $0.00016 $0.00142
Haiku 4.5 $0.00008 $0.00071

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

Security

Grade A, and why

markstream-vue2 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 8d 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/markstream-vue2/SKILL.md · 45 lines

How it starts

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

Markstream Vue 2

Use this skill when the host app is Vue 2 and not specifically a Vue CLI / Webpack 4 edge case.

Workflow

  1. Confirm the repo is Vue 2.6 or 2.7.
  2. Install markstream-vue2.
    • Add @vue/composition-api only when the repo is Vue 2.6 and uses Composition API patterns.
  3. Import markstream-vue2/index.css after resets.
  4. Start with <MarkdownRender :content="markdown" />.
    • 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. Smooth pacing handles gradual appearance; fade would flicker.
      • 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.
  5. Use scoped custom component mappings when the task needs overrides or trusted tags.
  6. Validate with the smallest useful dev or build command.

Default Decisions

  • Vue 2.7 can use built-in Composition API support.
  • Vue 2.6 needs @vue/composition-api only when the codebase actually relies on Composition API.
  • If the repo is Vue CLI / Webpack 4, prefer markstream-vue2-cli.
  • If the repo is Vue 2 plus Vite worker imports, prefer markstream-vue2-vite.
  • 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 · 45 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. 8d ago First seen · 45 lines · 78 tokens per session scan A 8c504308013b

Subscribe to this mod's changes

markstream-vue2 is a skill published in the GitHub repository Simon-He95/markstream-vue (2,993 stars, last pushed yesterday), licensed MIT. It adds 78 tokens to every session and 711 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