markstream-nuxt

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

Instructions for using Markstream in Nuxt 3 or 4, Vue frameworks that can render pages on the server as well as in the browser.

In plain words
What is it for?
Use them when adding Markdown rendering to Nuxt pages, components, or plugins, especially for chat streams, documents, code blocks, or custom rendering.
Why use it?
They help prevent browser-only features from breaking server rendering and ensure Markdown styles and rendering modes are set up correctly.

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 · markstream.simonhe.me

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-nuxt
Any agent
npx skills add Simon-He95/markstream-vue --skill markstream-nuxt
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-nuxt

README.md
[![agentmods](https://agentmods.dev/badge/skills/simon-he95/markstream-vue/markstream-nuxt.svg)](https://agentmods.dev/skills/simon-he95/markstream-vue/markstream-nuxt)
Your own site
<a href="https://agentmods.dev/skills/simon-he95/markstream-vue/markstream-nuxt"><img src="https://agentmods.dev/badge/skills/simon-he95/markstream-vue/markstream-nuxt.svg" alt="Measured on agentmods" 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 1,106 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.1 $0.00071 $0.01106
Opus 5 $0.00036 $0.00553
Sonnet 5 $0.00014 $0.00221
Haiku 4.5 $0.00007 $0.00111

Measured 5d ago against content hash 2e5a0da275ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

markstream-nuxt 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-nuxt/SKILL.md · 53 lines

How it starts

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

Markstream Nuxt

Use this skill when the host app is Nuxt and SSR boundaries matter.

Workflow

  1. Confirm the repo is Nuxt 3 or 4.
  2. Install markstream-vue plus only the optional peers required by the requested features.
  3. Keep browser-only peers behind client-only boundaries.
    • Prefer <client-only> wrappers, .client plugins, or guarded setup paths.
  4. Import markstream-vue/index.css from a client-safe app shell or plugin.
    • The root JS import does not inject styles; use markstream-vue/index.css or markstream-vue/index.px.css explicitly.
  5. Start with content, choose the renderer mode by surface, and move to nodes plus final only when the UI needs custom AST control.
    • Use mode="chat" for AI chat or SSE output. It uses lightweight batches, fade=false, and max-live-nodes=0; smooth-streaming="auto" paces visible output.
    • Use mode="docs" for rich document surfaces. It is the default and enables larger batches, tooltips, and fade.
    • Use mode="minimal" for lightweight non-chat surfaces.
    • Regular fenced code uses the built-in renderer, enhanced by stream-diffs when the optional peer is installed. Use render-code-blocks-as-pre for a forced plain path or setCustomComponents(customId, { code_block: ... }) for a scoped application-owned renderer.
    • typewriter only controls the blinking cursor and defaults to false. Prefer typewriter="simple" for high-frequency chat.
    • When overriding mode defaults on a high-frequency stream, pair smooth streaming with :fade="false" to avoid delta fade stacking with high-commit pacing.
    • Streaming vs recovering history: in chat UIs the same MarkdownRender starts streaming and later switches to history when final=true.
      • Streaming: mode="chat", smooth-streaming="auto", :fade="false", typewriter=true.
      • 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.
    • In SSR, avoid smooth-streaming="true" on first-screen content; the mounted gate inside auto prevents hydration mismatch.
    • Remember that html-policy now defaults to safe, and Mermaid strict mode is on by default through mermaid-props.
  6. Validate with the smallest relevant Nuxt dev, build, or typecheck command.

Read the full file on GitHub · 53 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. 5d ago First seen · 53 lines · 71 tokens per session scan A 2e5a0da275ff

Subscribe to this mod's changes

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