markstream-vue: Skill for Codex

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

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

A process for moving a project to Markstream, a Markdown renderer that turns Markdown into displayed content, or upgrading its Vue integration from version 1 to 2.

In plain words
What is it for?
Use it to replace renderers such as react-markdown, markdown-it, or marked, or to migrate a markstream-vue 1.x integration while preserving custom behavior.
Why use it?
It helps identify existing renderer behavior, security settings, plugins, and custom output that could be lost during the change.

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-migration/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-migration

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/simon-he95/markstream-vue/markstream-migration"><img src="https://agentmods.dev/badge/skills/simon-he95/markstream-vue/markstream-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,727 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.00095 $0.01727
Opus 5.5 $0.00038 $0.00691
Sonnet 5.5 $0.00019 $0.00345
Haiku 4.5 $0.00010 $0.00173

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

Security

Grade A, and why

markstream-migration 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-migration/SKILL.md · 93 lines

How it starts

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

Markstream Migration

Use this skill when a repo already renders Markdown and the task is either to adopt Markstream safely or to upgrade an existing markstream-vue 1.x integration to 2.x.

Choose The Migration Route

Inspect package.json, the lockfile, imports, and renderer props before changing code.

  • If the repo already depends on markstream-vue 1.x, read references/vue-1x-to-2x.md and follow Route B. Confirm the package dependency instead of routing only from shared names such as MarkdownCodeBlockNode or InternalParseOptions, which can also appear in other adapters.
  • Otherwise, when replacing react-markdown, markdown-it, marked, or another renderer with a Markstream package, read references/adoption-checklist.md and follow Route A.
  • If both apply, complete the 1.x to 2.x package and API upgrade first, then audit the separate renderer replacement as an adoption task.

Route A: Adopt Markstream From Another Renderer

  1. Audit the repo's current renderer usage.
    • Search for markdown renderers, plugin chains, raw HTML handling, security props, and custom renderers.
    • List every call site that will be touched.
  2. Classify the migration.
    • direct: simple string-in renderer swap.
    • renderer-custom: custom renderers but limited parser work.
    • plugin-heavy: remark, rehype, markdown-it, or other transform-heavy pipelines.
    • security-heavy: allow or deny lists, URL rewriting, sanitization, or raw HTML policies.
  3. Swap the renderer first.
    • Introduce the correct Markstream package and CSS.
    • Import Markstream CSS through the package CSS subpath; do not rely on the renderer import to inject styles.
    • Preserve user-visible behavior before adding richer Markstream-only features.
    • Audit whether the old renderer allowed broad raw HTML or Mermaid loose-mode HTML labels before claiming parity.
  4. Migrate custom renderers.
    • Convert built-in node renderers into scoped node-type overrides.
    • In React, prefer renderer-local streamingComponents for parser-backed tags and htmlComponents for sanitized HTML-prop components; use setCustomComponents for built-in node overrides or shared compatibility registration.
    • In Svelte or Angular, prefer the renderer-local customComponents input when the mapping does not need shared registration.
    • For trusted tag-like content, prefer customHtmlTags.
    • Use parseOptions.preTransformTokens, postTransformTokens, or postTransformNodes only when the old pipeline truly requires token or AST transforms.
  5. Review gaps honestly.
    • Do not claim 1:1 parity where none exists.
    • Call out parser, plugin, security, or HTML behavior that still needs manual review.
  6. Consider renderer mode and smooth streaming before jumping to nodes.
    • For Vue 3, choose mode="chat" for AI/SSE output, mode="docs" for rich document surfaces, and mode="minimal" for lightweight non-chat surfaces.
    • If the app streams content and only needs pacing, smooth-streaming="auto" (the default) handles it without requiring nodes.
    • Move to nodes only when the app needs custom AST control, worker preparsing, or high-frequency structural updates.
    • In Vue 3 (including Nuxt), smooth-streaming controls output pacing and fade controls opacity; they can be enabled together. mode="chat" keeps fade=false as a lightweight default. Add fade when gradual text reveal is desired; keep it off when animation cost matters more. Do not carry a legacy :fade="!isStreaming" binding into a Vue 3 migration unless the host wants that policy.
    • Streaming vs recovering history: when migrating a chat UI, keep mode="chat" on the same chat row and switch pacing/animation props instead. Vue 3 streaming: mode="chat", final, and optional fade. Vue 3 completed chat history: keep mode="chat", use :smooth-streaming="false" when pacing is unnecessary, and choose fade independently. Use mode="docs" only for separate rich document surfaces.
  7. Validate and summarize.
    • Run the smallest relevant tests or build.
    • Report direct mappings, TODOs, and remaining verification work.

Read the full file on GitHub · 93 lines

Files

What ships with it

3 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. 1mo ago Changed 83e96dfe1b84
  2. 2mo ago First seen · 93 lines · 95 tokens per session scan A 273956c1e011

Subscribe to this mod's changes

markstream-migration is a skill published in the GitHub repository Simon-He95/markstream-vue (3,051 stars, last pushed yesterday), licensed MIT. It adds 95 tokens to every session and 1,727 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-migration compared with skills from other repositories

markstream-migration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
markstream-migrationSimon-He95/markstream-vueSkill3.1kyesterdayMITA95Codex
astrosickn33/agentic-awesome-skillsSkill49kyesterdayMITA28Claude Code
astroDorianGallo/antigravity-awesome-skills-localSkill2yesterdayMITA28Claude Code
astrosendralt/agentic-awesome-skillsSkill24d agoMITA28Claude Code
slidevslidevjs/slidevSkill49kyesterdayMITA51Claude Code
tanstack-formKiranism/next-shadcn-dashboard-starterSkill7.2k3d agoMITA34Claude Code, Codex
nuxt-uinuxt/uiSkill7.1kyesterdayMITA56Claude Code, Codex