fused-render-custom-templates

fused-render-custom-templates is a skill for Claude Code from fusedio/fused-render. It costs 26 tokens per session (982 once invoked), scanned A, original, MIT.

A way to register a custom HTML preview page for files with a chosen extension. The registration controls which preview modes are available and their order in fused-render.

In plain words
What is it for?
Add a custom viewer for a file extension, choose its default preview mode, or add an icon for the mode switcher.
Why use it?
It lets a file type use a project-specific viewer or lets you replace, reorder, or extend the built-in viewers.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fused-render plugin — 15 skills shipped together

Good fit Add a custom viewer for a file extension, choose its default preview mode, or add an icon for the mode switcher.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fusedio/fused-render/fused-render-custom-templates
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.

Any agent
npx skills add fusedio/fused-render --skill fused-render-custom-templates
Clone the repo
git clone --depth 1 https://github.com/fusedio/fused-render

Made for: Claude Code.

Or install fused-render, the plugin that ships this one along with the rest of its 15 skills.

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 fused-render-custom-templates

README.md
[![agentmods](https://agentmods.dev/badge/skills/fusedio/fused-render/fused-render-custom-templates.svg)](https://agentmods.dev/skills/fusedio/fused-render/fused-render-custom-templates)
Your own site
<a href="https://agentmods.dev/skills/fusedio/fused-render/fused-render-custom-templates"><img src="https://agentmods.dev/badge/skills/fusedio/fused-render/fused-render-custom-templates.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 982 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 42
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00026 $0.00982
Opus 5 $0.00013 $0.00491
Sonnet 5 $0.00005 $0.00196
Haiku 4.5 $0.00003 $0.00098

Measured 3d ago against content hash d224893346e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

fused-render-custom-templates scanned grade A with 1 finding 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 3d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

Templates run on every open, server privileges, inside packaged app. Readers/conditions: no `subprocess`/`os.system`/system binaries — bundled libraries in-process only (list in `fused-render-authoring`; more → folder py
skills/fused-render-custom-templates/SKILL.md · 55 lines

How it starts

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

Custom preview templates

Each extension resolves to ordered mode list (first = default; >1 shows switcher). This skill = registration only. Writing template.html/reader .pyfused-render-authoring (its "Preview templates" section IS a custom template). "Template" that's really long-running server → fused-render-background-apps.

Layout

~/.fused-render/templates/
├── registry.json      extension → mode list
└── <name>/            folder name IS public name (registry ref, _mode value)
    ├── template.html  required entry point
    ├── reader.py      optional siblings, referenced relatively
    ├── condition.py   optional per-file gate
    └── icon.svg       optional switcher icon (monochrome, currentColor, square, legible 16px)

Name resolution: user folder wins, else built-in — resolved from staged copy ~/.fused-render/.core-templates/<name>/ (packaged fused_render/templates/ tree copied there at server startup; repo tree is source only). Naming after built-in shadows it deliberately (built-in names = every staged folder with template.html; also Templates → Library). Folder names: single segment, no dots, no leading _. Folder without registry entry = inert draft.

registry.json

Flat object; same key grammar as built-in fused_render/templates/registry.json. Values: list of names (full ordered mode list — replace semantics, no merge; re-list built-in modes you keep), string (single-mode shorthand), or null/[] (disable templating for extension).

  • Keys: dot-anchored suffix patterns, case-insensitive, most-specific wins (.tar.gz > .gz; literal > * at equal length). * = exactly one whole segment. Trailing / binds directory (.zarr/). Any extension allowed, .html included (rebind ["code", "_render"] → source becomes default).
  • _-prefixed names = shell sentinels; referenceable: _render, _listing. Other _name invalid → dropped, template_error set, rest of list works.
  • Any registry key beats built-in table. Re-read every file open — no restart.

Read the full file on GitHub · 55 lines

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. 3d ago Changed · -68 lines · -34 tokens per session d224893346e5
  2. 7d ago First seen · 123 lines · 60 tokens per session scan A 83d0ea876de4

Subscribe to this mod's changes

fused-render-custom-templates is a skill published in the GitHub repository fusedio/fused-render (11 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 982 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). 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

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

menu-transitions-rtl

Animate react-horizontal-scrolling-menu scrolling and build right-to-left menus: noPolyfill defaults to true since v8, so transitionDuration (default 500), a custom-easing-function transitionBehavior, and per-call ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev are silently ignored unless…

asmyshlyaev177/react-horizontal-scrolling-menu · 137 tokens

vite

Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration. Use when working with Vite projects, vite.config.ts, Vite plugins, or building libraries/SSR apps with Vite.

antfu/skills · 49 tokens