Agent skill

Markstream Custom Components

by Simon-He95 in Simon-He95/markstream-vue

Override built-in Markstream node renderers and add trusted custom tags across Vue, React, Svelte, and Angular.

MITAuto-check passedDevelopment

Install Markstream Custom Components

skills CLI
$ npx skills add Simon-He95/markstream-vue --skill markstream-custom-components -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Simon-He95/markstream-vue markstream-custom-components --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Simon-He95/markstream-vue.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/markstream-custom-components .claude/skills/markstream-custom-components && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
markstream-custom-components
GitHub stars
3k
Token cost
~955 tokens
SKILL.md length
404 words
Files
3 (incl. references)
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Override built-in Markstream node renderers and add trusted custom tags across Vue, React, Svelte, and Angular.

  • Works in 6 steps: Classify the request. → Prefer scoped mappings. → Start with the smallest safe override. → …
  • Codex needs scoped setCustomComponents
  • SKILL.md covers Workflow, Default Decisions and Useful Doc Targets
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Markstream Custom Components is an agent skill from Simon-He95/markstream-vue. Override built-in Markstream node renderers and add trusted custom tags across Vue, React, Svelte, and Angular. Use when Codex needs scoped setCustomComponents, renderer-local React streamingComponents or htmlComponents, Angular/Svelte customComponents, Vue app-scoped components, node override keys such as image, codeblock, mermaid, or link, or nested renderers for tags such as thinking.

Its SKILL.md is about 960 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/patterns.md`).

It sits in Development, covering Diagrams. It works with Vue.js, Angular, Svelte and React. The repository describes itself as: Multi-framework streaming Markdown renderers for AI apps: Vue/Nuxt, React/Next.js, Svelte, and Angular, with Mermaid, KaTeX, stream-diffs code blocks, safe HTML, and low-jitter… The licence is MIT.

When your agent uses it

  • Codex needs scoped setCustomComponents
  • Renderer-local React streamingComponents
  • Angular/Svelte customComponents
  • Vue app-scoped components

Example prompts

  • “/markstream-custom-components”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Classify the request.
  2. Prefer scoped mappings.
  3. Start with the smallest safe override.
  4. Preserve nested Markdown when needed.
  5. Keep props and cleanup intact.
  6. Validate with the smallest useful check.

What it can do on your machine

Read from SKILL.md and the folder at commit d5d0c00. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Markstream Custom Components loads about 955 tokens when it runs, and up to ~1.4k if it reads all its reference files. Until then it costs about 110 tokens; SKILL.md has 404 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~110
When it runs · the whole SKILL.md, loaded when a task matches
~955
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Simon-He95/markstream-vue at commit d5d0c00, republished under its MIT licence (© Simon-He95). 404 words, ~955 tokens.

Download SKILL.mdSave it as .claude/skills/markstream-custom-components/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
markstream-custom-components
description
Override built-in Markstream node renderers and add trusted custom tags across Vue, React, Svelte, and Angular. Use when Codex needs scoped `setCustomComponents`, renderer-local React `streamingComponents` or `htmlComponents`, Angular/Svelte `customComponents`, Vue app-scoped components, node override keys such as `image`, `code_block`, `mermaid`, or `link`, or nested renderers for tags such as `thinking`.

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.

Workflow

  1. Classify the request.
    • built-in override: replace an existing renderer such as image, link, code_block, mermaid, d2, or inline_code.
    • custom tag: support trusted HTML-like tags such as thinking.
    • parser-level: requires token transforms or AST reshaping. Only then should you leave this skill and use low-level parser hooks.
  2. Prefer scoped mappings.
    • Vue, Vue 2, Svelte, and shared Angular registration: use setCustomComponents(customId, mapping) instead of global mappings whenever practical, and pass the same customId / custom-id.
    • React custom tags: prefer renderer-local streamingComponents for parser-backed nodes or htmlComponents for sanitized HTML props plus children. Use defineStreamingComponents(...) / defineHtmlComponents(...) for typed maps. Keep setCustomComponents for built-in node overrides or shared legacy registration.
    • Svelte and Angular can also pass a renderer-local customComponents map when the override should not enter the shared registry.
    • In Vue 3 app/plugin setup, import { VueRendererMarkdown } from markstream-vue and install it with { components } when the override should be scoped to the Vue app instance.
  3. 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, not code_block.
  4. Preserve nested Markdown when needed.
    • For trusted custom tags with inner Markdown, render node.content with 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-streaming to child renderers.
    • In React, streamingComponents automatically contributes its keys to the effective custom-tag list; do not duplicate those keys in customHtmlTags unless another parser path needs them.
  5. Keep props and cleanup intact.
    • Preserve node, loading, indexKey, customId, and isDark.
    • For mermaid and infographic overrides, preserve estimatedPreviewHeightPx so async preview shells keep stable height during remounts.
    • Remove temporary scoped mappings with removeCustomComponents(customId) when the scope is no longer needed.
  6. 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.
Show full SKILL.md (52 more words)Show less

Default Decisions

  • Scoped overrides first, global overrides only when the whole app truly needs them.
  • Leaf-node overrides before container-node overrides.
  • customHtmlTags plus scoped custom components before parser hooks.
  • In React, renderer-local component maps before registry mutation.
  • Nested renderers for tag bodies that contain Markdown.

Useful Doc Targets

  • docs/guide/component-overrides.md
  • docs/guide/custom-components.md
  • docs/guide/react-components.md
  • docs/guide/components.md
  • docs/guide/advanced.md

© Simon-He95, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in .agents/skills/markstream-custom-components of Simon-He95/markstream-vue.

  • SKILL.md
  • agents/openai.yaml
  • references/patterns.md

Open the folder on GitHubat commit d5d0c00

Compare with similar skills

Markstream Custom Components next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Markstream Custom Components compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Markstream Custom Components this skillSimon-He95/markstream-vue3k—~955Automated safety check: PassMIT
Tanstack Querybskimball/tanstack-hono1191 repos~5.4kAutomated safety check: PassMIT
Lunora Realtimeanolilab/lunora283—~2.4kAutomated safety check: PassCustom licence
Hig Doctor Auditraintree-technology/hig-doctor142—~502Automated safety check: PassMIT
Static Nginx Skilljiushiwon/wg-skills110—~1kAutomated safety check: PassApache-2.0
Olore Tanstack Query 4olorehq/olore103—~583Automated safety check: PassMIT

Similar skills

  • Tanstack Query

    bskimball/tanstack-hono

    Powerful asynchronous state management, server-state utilities, and data fetching for TS/JS, React, Vue, Solid, Svelte & Angular.

    119 GitHub starsUsed in 1 repo~5.4k tokens
    Frontend & DesignAuto-check passed
  • Lunora Realtime

    anolilab/lunora

    Wires Lunora's live data into a client. An agent skill from anolilab/lunora.

    283 GitHub stars~2.4k tokensUpdated today
    MobileAuto-check passed
  • Hig Doctor Audit

    raintree-technology/hig-doctor

    Audit interface source with HIG Doctor when the user asks to scan, lint, review, or remediate Swift, UIKit, AppKit, React, Vue, Svelte, Angular, Compose, Android XML, Flutter, CSS, or HTML for…

    142 GitHub stars~502 tokensUpdated 26 days ago
    MobileAuto-check passed
  • Static Nginx Skill

    jiushiwon/wg-skills

    用于处理 Vue/React/Angular/Svelte 等前端构建产物或纯静态资源的部署,检测目标服务器是否安装 Nginx,生成 Nginx 安装命令与站点配置(SPA 路由 fallback、纯静态托管、API 反向代理、HTTPS)。区分开发构建与生产部署。当用户说「静态文件部署」「nginx 部署」「vue 部署」「react 部署」「前端部署到服务器」时触发。

    110 GitHub stars~1k tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed
  • Local TanStack Query documentation reference (v4). An agent skill from olorehq/olore.

    103 GitHub stars~583 tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Boneyard

    0xGF/boneyard

    Use boneyard-js to add, configure, debug, or rebuild skeleton screens.

    7.5k GitHub stars~2.2k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check: notes

More from Simon-He95/markstream-vue

All 11 skills in this repo
  • Markstream Install

    Simon-He95/markstream-vue

    Install and wire markstream-vue, markstream-react, markstream-vue2, markstream-angular, or markstream-svelte into an existing repository.

    3k GitHub stars~2.2k tokensUpdated 2 days ago
    Auto-check passed
  • Markstream Angular

    Simon-He95/markstream-vue

    Integrate the alpha markstream-angular package into an Angular 20+ app.

    3k GitHub starsUsed in 1 repo~802 tokens
    Auto-check passed
  • Markstream Migration

    Simon-He95/markstream-vue

    Audit and migrate existing Markdown rendering to Markstream, or upgrade a markstream-vue 1.x integration to 2.x.

    3k GitHub stars~2k tokensUpdated 2 days ago
    Auto-check passed
  • Markstream Nuxt

    Simon-He95/markstream-vue

    Integrate markstream-vue into a Nuxt 3 or Nuxt 4 app. An agent skill from Simon-He95/markstream-vue.

    3k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • Markstream Vue2

    Simon-He95/markstream-vue

    Integrate markstream-vue2 into a Vue 2.6 or 2.7 app. An agent skill from Simon-He95/markstream-vue.

    3k GitHub starsUsed in 1 repo~733 tokens
    Auto-check passed
  • Markstream Vue2 Vite

    Simon-He95/markstream-vue

    Integrate markstream-vue2 into a Vue 2 plus Vite app. An agent skill from Simon-He95/markstream-vue.

    3k GitHub starsUsed in 1 repo~706 tokens
    Auto-check passed

Categories

Questions about Markstream Custom Components

What does Markstream Custom Components do?

Override built-in Markstream node renderers and add trusted custom tags across Vue, React, Svelte, and Angular. Markstream Custom Components is an agent skill from Simon-He95/markstream-vue. Override built-in Markstream node renderers and add trusted custom tags across Vue, React, Svelte, and Angular.

When should I use Markstream Custom Components?

Markstream Custom Components fits situations like: Codex needs scoped setCustomComponents; renderer-local React streamingComponents; angular/Svelte customComponents; vue app-scoped components.

How do I install Markstream Custom Components in Claude Code?

Run `npx skills add Simon-He95/markstream-vue --skill markstream-custom-components -a claude-code`. Or copy the skill folder (.agents/skills/markstream-custom-components in Simon-He95/markstream-vue) into .claude/skills/markstream-custom-components in your project. Claude Code loads it when a task matches its description.

How do I install Markstream Custom Components in Codex?

Run `npx skills add Simon-He95/markstream-vue --skill markstream-custom-components -a codex`. Or copy the skill folder (.agents/skills/markstream-custom-components in Simon-He95/markstream-vue) into .agents/skills/markstream-custom-components in your project. Codex loads it when a task matches its description.

Can I use Markstream Custom Components in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Simon-He95/markstream-vue --skill markstream-custom-components -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/markstream-custom-components, .gemini/skills/markstream-custom-components, .github/skills/markstream-custom-components and .opencode/skills/markstream-custom-components in your project.

What does Markstream Custom Components need to run?

SKILL.md names no scripts, command-line tools or credentials: Markstream Custom Components is instructions for the agent only.

Does Markstream Custom Components access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Markstream Custom Components safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Markstream Custom Components use?

Markstream Custom Components is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Markstream Custom Components use?

About 955 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 426 tokens, read only when the agent opens those files.

What are the alternatives to Markstream Custom Components?

Skills that share tags, products or a category with Markstream Custom Components: Tanstack Query (bskimball/tanstack-hono, 119 stars), Lunora Realtime (anolilab/lunora, 283 stars), Hig Doctor Audit (raintree-technology/hig-doctor, 142 stars) and Static Nginx Skill (jiushiwon/wg-skills, 110 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Markstream Custom Components?

Simon-He95 (a GitHub user) maintains it in Simon-He95/markstream-vue, which has 3,025 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 5, 2026.

Source: Simon-He95/markstream-vue on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.