markstream-install

markstream-install is a skill for Claude Code, Codex from Simon-He95/markstream-vue. It costs 104 tokens per session (1,966 once invoked), scanned A, original, MIT.

Installation instructions for adding Markstream, a library that renders streamed content, to Vue, React, Angular, or Svelte applications. They explain how to identify the framework, choose the matching package, install needed dependencies, and arrange styles.

In plain words
What is it for?
Use them when installing Markstream or repairing an existing installation in a frontend repository, including choosing the renderer package and configuring optional code, diff, or infographic features.
Why use it?
They help avoid incompatible packages, unnecessary optional dependencies, and broken code-block or CSS rendering. They also explain special choices for Vue 3, diagrams, and file or diff displays.

Skill for Claude CodeCodex

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,986 stars · on GitHub

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.

agentmods
npx agentmods add skills/simon-he95/markstream-vue/markstream-install
Any agent
npx skills add Simon-He95/markstream-vue --skill markstream-install
Clone the repo
git clone --depth 1 https://github.com/Simon-He95/markstream-vue

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 markstream-install

README.md
[![agentmods](https://agentmods.dev/badge/skills/simon-he95/markstream-vue/markstream-install.svg)](https://agentmods.dev/skills/simon-he95/markstream-vue/markstream-install)
Your own site
<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>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,966 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00104 $0.01966
Opus 5 $0.00052 $0.00983
Sonnet 5 $0.00021 $0.00393
Haiku 4.5 $0.00010 $0.00197

Measured 5d ago against content hash 3f0583cec106, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

.agents/skills/markstream-install/SKILL.md · 85 lines

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

  1. 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, or markstream-svelte.
    • Use markstream-svelte only for Svelte 5 apps.
  2. 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-diffs for the enhanced File/Diff surface, omit it for automatic <pre><code> fallback, or set render-code-blocks-as-pre to force the plain path.
    • Add @antv/infographic plus setInfographicLoader(...) only when infographic fences are needed.
    • Do not install every optional peer by default.
    • For Vue 3 enhanced code-block preloading, use preloadCodeBlockRuntime from markstream-vue. If the application intentionally owns a runtime controller, import that advanced API directly from stream-diffs.
  3. 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.css when math is enabled.
  4. Add the smallest working render example.
    • Use content for 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. Use MarkstreamVirtualTimeline or useMarkstreamVirtualAdapter() and follow docs/guide/performance.md.
    • For Vue 3, choose renderer mode by surface before tuning lower-level props.
      • mode="chat": AI chat or SSE output; lightweight batches, fade=false, max-live-nodes=0, and smooth-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-diffs when installed. Use render-code-blocks-as-pre for a forced plain path or setCustomComponents(customId, { code_block: ... }) for a scoped application-owned renderer.
    • For streaming AI chat in other Markstream packages, start with content and built-in smooth streaming.
      • Auto mode is the default: smoothStreaming="auto" / smooth-streaming="auto".
      • Auto pacing activates when typewriter=true or maxLiveNodes <= 0 / 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.
      • For high-frequency smooth streams, consider fade=false / :fade="false" / [fade]="false" to avoid fade stacking.
    • Streaming vs recovering history: in chat UIs the same renderer starts streaming and later switches to history when final becomes true.
      • 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 use mode="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}.
    • Use nodes + final only 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 useStickToBottom from markstream-vue/utils; call scheduleScrollToBottom() after the content update instead of starting a smooth scrollIntoView() animation for every token. Use MarkstreamVirtualTimeline with stick-to-bottom="auto" for long mixed timelines.
    • For manual pacing with nodes, use useSmoothMarkdownStream: enqueue() chunks, finish() when done, render from visible, wait for caughtUp before final parsing.
    • Preserve the default hardening: HTML policies now default to safe, and Mermaid runs in strict mode by default.
  5. Keep customization scoped.
    • If the task requires overrides, prefer customId / custom-id plus scoped setCustomComponents(...).
  6. 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.

Read the full file on GitHub · 85 lines

Files

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.

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. 5d ago First seen · 85 lines · 104 tokens per session scan A 3f0583cec106

Subscribe to this mod's changes

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.

Related

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.

DorianGallo/antigravity-awesome-skills-local · 28 tokens

astro

Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.

sendralt/agentic-awesome-skills · 28 tokens

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.

slidevjs/slidev · 51 tokens

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.

nuxt/ui · 56 tokens

tanstack-form

Headless, performant, and type-safe form state management for TS/JS, React, Vue, Angular, Solid, Lit, and Svelte.

Kiranism/next-shadcn-dashboard-starter · 34 tokens

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…

microsoft/power-platform-skills · 73 tokens