markstream-vue: Skill for Codex

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

markstream-react is a skill for Codex from Simon-He95/markstream-vue. It costs 94 tokens per session (1,050 once invoked), scanned A, original, MIT.

Integration guidance for adding the beta markstream-react package to React 18+ or Next applications. The package renders Markdown and can display streamed AI-generated content.

In plain words
What is it for?
Use it to install the package, import its CSS, choose client, Next, or server rendering, render content or nodes, configure streamed chat output, and add local custom components.
Why use it?
It helps choose the correct renderer entry point and avoid styling, client/server boundary, and streaming setup problems.

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,051 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-react/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-react

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/simon-he95/markstream-vue/markstream-react"><img src="https://agentmods.dev/badge/skills/simon-he95/markstream-vue/markstream-react.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,050 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.00094 $0.01050
Opus 5.5 $0.00038 $0.00420
Sonnet 5.5 $0.00019 $0.00210
Haiku 4.5 $0.00009 $0.00105

Measured 1mo ago against content hash 1c528154044f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

markstream-react 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 1mo 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-react/SKILL.md · 61 lines

How it starts

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

Markstream React

Use this skill when the host app is React or Next and the task is to wire Markstream safely.

Workflow

  1. Confirm the repo is React 18+ or a compatible Next host and accepts a beta renderer API.
  2. Install markstream-react plus only the requested optional peers.
  3. Import markstream-react/index.css from the app shell or client entry.
  4. Choose the entrypoint that matches the rendering boundary.
    • Use markstream-react for the normal client renderer.
    • Use markstream-react/next for the Next-specific component surface.
    • Use markstream-react/server for server rendering without client hooks.
  5. Start with content.
    • For streaming or high-frequency AI output, keep content and use built-in smooth streaming first.
      • smoothStreaming="auto" is the default and activates when typewriter={true} or maxLiveNodes <= 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 renderer starts streaming and later switches to history when final={true}.
      • Streaming: smoothStreaming="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: smoothStreaming={false}, fade={true}, typewriter={false}. Content is already complete — pacing would slow it down, but fade gives a polished entry animation.
      • Dynamic switch: smoothStreaming={isStreaming ? 'auto' : false}, fade={!isStreaming}.
    • Move to nodes + final only for worker-preparsed content, shared AST stores, or custom AST control.
    • Remember that htmlPolicy now defaults to safe, and Mermaid strict mode is on by default through mermaidProps.
  6. Respect SSR boundaries in Next.
    • Prefer use client, dynamic imports with ssr: false, or other client-only boundaries when browser-only peers are involved.
  7. Use renderer-local components before custom parser work.
    • streamingComponents receives parser-backed NodeComponentProps, supports incomplete custom tags, and automatically contributes its keys to the effective customHtmlTags list.
    • htmlComponents receives sanitized HTML attributes plus children; it does not receive the parser node/loading contract.
    • Prefer defineStreamingComponents(...) and defineHtmlComponents(...) for typed maps.
    • Keep scoped setCustomComponents for built-in node overrides or shared compatibility registration.
    • Use parseOptions transforms only when migration requires token or AST changes.
  8. Validate with the smallest useful dev, build, or typecheck command.

Read the full file on GitHub · 61 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. 1mo ago Changed 1c528154044f
  2. 2mo ago First seen · 61 lines · 94 tokens per session scan A 37305730b16a

Subscribe to this mod's changes

markstream-react is a skill published in the GitHub repository Simon-He95/markstream-vue (3,051 stars, last pushed yesterday), licensed MIT. It adds 94 tokens to every session and 1,050 once invoked, about $0.0004 per session on Opus 5.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

markstream-react compared with skills from other repositories

markstream-react next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
markstream-reactSimon-He95/markstream-vueSkill3.1kyesterdayMITA94Codex
astrosickn33/agentic-awesome-skillsSkill49kyesterdayMITA28Claude Code
streamdownvercel/streamdownSkill5.7kyesterdaynoneA164Claude Code, Codex
pdf-presskdcube/kdcubeSkill27todayMITA74Claude Code
png-presskdcube/kdcubeSkill27todayMITA36Claude Code
mk:markdown-readerngocsangyem/MeowKitSkill155d agoMITA81Claude Code
mermaid-lintellmos-ai/skillsSkill93d agoMITA61Claude Code, Codex