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.
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.
curl -O https://raw.githubusercontent.com/Simon-He95/markstream-vue/main/.agents/skills/markstream-custom-components/SKILL.mdgit 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-custom-components)<a href="https://agentmods.dev/skills/simon-he95/markstream-vue/markstream-custom-components"><img src="https://agentmods.dev/badge/skills/simon-he95/markstream-vue/markstream-custom-components/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.
<a href="https://agentmods.dev/skills/simon-he95/markstream-vue/markstream-custom-components"><img src="https://agentmods.dev/badge/skills/simon-he95/markstream-vue/markstream-custom-components.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.1 | $0.00099 | $0.00900 |
| Opus 5.5 | $0.00040 | $0.00360 |
| Sonnet 5.5 | $0.00020 | $0.00180 |
| Haiku 4.5 | $0.00010 | $0.00090 |
Grade A, and why
markstream-custom-components 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 6d 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 — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Markstream Custom Components
Use this skill when the task is to change how Markstream renders specific nodes or custom tags.
Read references/patterns.md before choosing an override strategy.
For SolidJS/SolidStart, follow markstream-solid and the Solid API reference. Prefer renderer-local or MarkstreamProvider overrides, keep prop reads reactive, and use typed callbacks/render props rather than Vue emits/slots.
Workflow
- Classify the request.
built-in override: replace an existing renderer such asimage,link,code_block,mermaid,d2, orinline_code.custom tag: support trusted HTML-like tags such asthinking.parser-level: requires token transforms or AST reshaping. Only then should you leave this skill and use low-level parser hooks.
- Prefer scoped mappings.
- Vue, Vue 2, Svelte, and shared Angular registration: use
setCustomComponents(customId, mapping)instead of global mappings whenever practical, and pass the samecustomId/custom-id. - React custom tags: prefer renderer-local
streamingComponentsfor parser-backed nodes orhtmlComponentsfor sanitized HTML props pluschildren. UsedefineStreamingComponents(...)/defineHtmlComponents(...)for typed maps. KeepsetCustomComponentsfor built-in node overrides or shared legacy registration. - Svelte and Angular can also pass a renderer-local
customComponentsmap when the override should not enter the shared registry. - In Vue 3 app/plugin setup, import
{ VueRendererMarkdown }frommarkstream-vueand install it with{ components }when the override should be scoped to the Vue app instance.
- Vue, Vue 2, Svelte, and shared Angular registration: use
- Start with the smallest safe override.
- Leaf-like nodes (
image,link,inline_code,mermaid) are easier than container nodes (heading,paragraph,list_item). - If the request only changes Mermaid, use
mermaid, notcode_block.
- Leaf-like nodes (
- Preserve nested Markdown when needed.
- For trusted custom tags with inner Markdown, render
node.contentwith a nested renderer. - Pass the same custom-tag allowlist to nested renderers.
- Nested renderers inside a smooth-streaming parent are automatically suppressed from double pacing — do not add
smooth-streamingto child renderers. - In React,
streamingComponentsautomatically contributes its keys to the effective custom-tag list; do not duplicate those keys incustomHtmlTagsunless another parser path needs them.
- For trusted custom tags with inner Markdown, render
- Keep props and cleanup intact.
- Preserve
node,loading,indexKey,customId, andisDark. - For
mermaidandinfographicoverrides, preserveestimatedPreviewHeightPxso async preview shells keep stable height during remounts. - Remove temporary scoped mappings with
removeCustomComponents(customId)when the scope is no longer needed.
- Preserve
- Validate with the smallest useful check.
- Prefer a local demo, targeted test, or docs build.
- Call out whether the implementation is safe for repeated and nested custom tags.
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.
- 6d ago Changed · +2 lines · +2 tokens per session 26f7cae05b06
- 2mo ago First seen · 54 lines · 97 tokens per session scan A 7206433824f8
markstream-custom-components is a skill published in the GitHub repository Simon-He95/markstream-vue (3,051 stars, last pushed yesterday), licensed MIT. It adds 99 tokens to every session and 900 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.
markstream-custom-components compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| markstream-custom-componentsSimon-He95/markstream-vue | Skill | 3.1k | yesterday | MIT | A | 99 | Codex |
| astrosickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 28 | Claude Code |
| astroDorianGallo/antigravity-awesome-skills-local | Skill | 2 | yesterday | MIT | A | 28 | Claude Code |
| astrosendralt/agentic-awesome-skills | Skill | 2 | 4d ago | MIT | A | 28 | Claude Code |
| slidevslidevjs/slidev | Skill | 49k | yesterday | MIT | A | 51 | Claude Code |
| tanstack-formKiranism/next-shadcn-dashboard-starter | Skill | 7.2k | 3d ago | MIT | A | 34 | Claude Code, Codex |
| nuxt-uinuxt/ui | Skill | 7.1k | yesterday | MIT | A | 56 | Claude Code, Codex |