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.
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 agentmods add skills/simon-he95/markstream-vue/markstream-installnpx skills add Simon-He95/markstream-vue --skill markstream-installgit clone --depth 1 https://github.com/Simon-He95/markstream-vueWrote 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/simon-he95/markstream-vue/markstream-install)<a href="https://agentmods.dev/skills/simon-he95/markstream-vue/markstream-install"><img src="https://agentmods.dev/badge/skills/simon-he95/markstream-vue/markstream-install.svg" alt="Measured on agentmods" 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 | $0.00104 | $0.01966 |
| Opus 5 | $0.00052 | $0.00983 |
| Sonnet 5 | $0.00021 | $0.00393 |
| Haiku 4.5 | $0.00010 | $0.00197 |
Grade A, and why
markstream-install 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 5d 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 — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Markstream Install
Use this skill when the task is "add markstream to an app" or "fix a broken markstream install".
Read references/scenarios.md before making dependency choices.
Workflow
- Detect the target framework and CSS stack.
- Check
package.json, app entry files, Tailwind or UnoCSS config, and whether the repo is SSR or streaming-focused. - Choose the package that matches the host app:
markstream-vue,markstream-vue2,markstream-react,markstream-angular, ormarkstream-svelte. - Use
markstream-svelteonly for Svelte 5 apps.
- Check
- Install the smallest peer set that matches the requested features.
- Add peers only for features the user actually needs. Check the chosen package's
peerDependencies; peer availability differs by renderer. - Vue 3 fenced code uses the built-in renderer automatically. Add
stream-diffsfor the enhanced File/Diff surface, omit it for automatic<pre><code>fallback, or setrender-code-blocks-as-preto force the plain path. - Add
@antv/infographicplussetInfographicLoader(...)only when infographic fences are needed. - Do not install every optional peer by default.
- For Vue 3 enhanced code-block preloading, use
preloadCodeBlockRuntimefrommarkstream-vue. If the application intentionally owns a runtime controller, import that advanced API directly fromstream-diffs.
- Add peers only for features the user actually needs. Check the chosen package's
- Fix CSS order.
- Put reset styles before Markstream styles.
- In Tailwind or UnoCSS projects, use
@import 'markstream-*/index.css' layer(components);. - Do not rely on renderer imports to inject CSS; import the package CSS subpath explicitly.
- Import
katex/dist/katex.min.csswhen math is enabled.
- Add the smallest working render example.
- Use
contentfor static or low-frequency rendering. - In Vue 3 apps with long AI conversations, thread restore, or an existing message virtualizer such as
vue-virtual-scroller, do not stop at a trivial renderer. UseMarkstreamVirtualTimelineoruseMarkstreamVirtualAdapter()and followdocs/guide/performance.md. - For Vue 3, choose renderer
modeby surface before tuning lower-level props.mode="chat": AI chat or SSE output; lightweight batches,fade=false,max-live-nodes=0, andsmooth-streaming="auto".mode="docs": rich document surfaces; default mode, larger batches, tooltips, and fade.mode="minimal": lightweight non-chat surfaces.- Regular fenced code uses the built-in renderer, enhanced by
stream-diffswhen installed. Userender-code-blocks-as-prefor a forced plain path orsetCustomComponents(customId, { code_block: ... })for a scoped application-owned renderer.
- For streaming AI chat in other Markstream packages, start with
contentand built-in smooth streaming.- Auto mode is the default:
smoothStreaming="auto"/smooth-streaming="auto". - Auto pacing activates when
typewriter=trueormaxLiveNodes <= 0/max-live-nodes <= 0. typewriteronly controls the blinking cursor and defaults tofalse.fadecontrols node enter and streamed-text fade animations and defaults totrue.- For high-frequency smooth streams, consider
fade=false/:fade="false"/[fade]="false"to avoid fade stacking.
- Auto mode is the default:
- Streaming vs recovering history: in chat UIs the same renderer starts streaming and later switches to history when
finalbecomestrue.- Vue 3 streaming:
mode="chat",smooth-streaming="auto",:fade="false",typewriter=true. - Vue 3 recovering/completed chat history: keep
mode="chat"on the same chat row; use:smooth-streaming="false",typewriter=false, and only set:fade="true"when the host explicitly wants a history-entry animation. - Use
mode="minimal"for lightweight non-chat recovered content, and usemode="docs"only for rich document surfaces. - Other packages streaming:
smoothStreaming="auto"/smooth-streaming="auto",fade=false,typewriter=true. - Other packages recovering history:
smoothStreaming=false/smooth-streaming=false,fade=true,typewriter=false. - Dynamic switch:
smoothStreaming={isStreaming ? 'auto' : false},fade={!isStreaming}.
- Vue 3 streaming:
- Use
nodes+finalonly for worker preparsing, shared AST stores, or custom AST control. - In Vue 3, use
typewriter="simple"for a lightweight cursor on high-frequency streams; use precise mode only when the cursor must follow complex inline layout. - For a non-virtual Vue 3 chat scroller, import
useStickToBottomfrommarkstream-vue/utils; callscheduleScrollToBottom()after the content update instead of starting a smoothscrollIntoView()animation for every token. UseMarkstreamVirtualTimelinewithstick-to-bottom="auto"for long mixed timelines. - For manual pacing with
nodes, useuseSmoothMarkdownStream:enqueue()chunks,finish()when done, render fromvisible, wait forcaughtUpbefore final parsing. - Preserve the default hardening: HTML policies now default to
safe, and Mermaid runs in strict mode by default.
- Use
- Keep customization scoped.
- If the task requires overrides, prefer
customId/custom-idplus scopedsetCustomComponents(...).
- If the task requires overrides, prefer
- Validate.
- Run the smallest relevant build, typecheck, test, or docs build command.
- Report which peers were installed, where CSS lives, and whether the repo should later adopt
nodes.
What ships with it
2 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.
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.
- 5d ago First seen · 85 lines · 104 tokens per session scan A 3f0583cec106
markstream-install is a skill published in the GitHub repository Simon-He95/markstream-vue (2,986 stars, last pushed today), licensed MIT. It adds 104 tokens to every session and 1,966 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.
Other skills, from other repositories
astro
Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.
astro
Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.
slidev
Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features. Use when building technical presentations, conference talks, code walkthroughs, teaching materials, or developer decks.
nuxt-ui
Build UIs with @nuxt/ui v4 — 125+ accessible Vue components with Tailwind CSS theming. Use when creating interfaces, customizing themes to match a brand, building forms, or composing layouts like dashboards, docs sites, and chat interfaces.
tanstack-form
Headless, performant, and type-safe form state management for TS/JS, React, Vue, Angular, Solid, Lit, and Svelte.
create-site
Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…