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.
npx agentmods add skills/fusedio/fused-render/adding-a-shared-template-utilitynpx skills add fusedio/fused-render --skill adding-a-shared-template-utilitygit clone --depth 1 https://github.com/fusedio/fused-renderWrote 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/fusedio/fused-render/adding-a-shared-template-utility)<a href="https://agentmods.dev/skills/fusedio/fused-render/adding-a-shared-template-utility"><img src="https://agentmods.dev/badge/skills/fusedio/fused-render/adding-a-shared-template-utility.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00094 | $0.01696 |
| Opus 5 | $0.00047 | $0.00848 |
| Sonnet 5 | $0.00019 | $0.00339 |
| Haiku 4.5 | $0.00009 | $0.00170 |
Grade A, and why
adding-a-shared-template-utility 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 4d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
A user `.py` may run inside a hermetic `uv` venv built from ITS OWN `pyproject.toml` (PY-16) and containing exactly what that manifest declares, nothing unioned in from a baseline. A shared utility that imports `requests How it starts
The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Adding a Shared Template Utility
Overview
fused_render/templates/shared/ is where ONE copy of a helper lives when both a built-in template and an arbitrary user .py need it — appenv.py (env facts: home dir, mounts, origin) and fused_ai.py (the Python client for fused.ai) are the two that exist today. It looks like an ordinary shared-code folder. It is not: every file in it runs as a subprocess with no guarantee the fused_render package is importable, and both consumer shapes (a template shipped inside the app, a user file anywhere on disk) have to resolve the same import identically. The rules below are currently scattered across appenv.py's and fused_ai.py's own docstrings and SPEC PY-15/PY-19 — write them down here instead of re-deriving them per contribution.
Where it goes, and how each consumer reaches it
- A built-in template (
fused_render/templates/<name>/*.py) reaches it with the established relative dance:
This only works because the template physically lives insideimport sys, os sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "shared")) import appenvtemplates/, one level aboveshared/. - A user
.py, anywhere on disk, just doesimport fused_ai(orimport appenv) with no path setup at all. Both execution engines appendtemplates/sharedonto that module's ownsys.pathbefore it runs — see "Path seeding" below — so the import resolves the same wayimport pandasdoes.
Stdlib only — not a style preference
A user .py may run inside a hermetic uv venv built from ITS OWN pyproject.toml (PY-16) and containing exactly what that manifest declares, nothing unioned in from a baseline. A shared utility that imports requests, or anything beyond the standard library, would need every app that ever imports it to declare that dependency in its own manifest — which no contributor adding a shared helper is in a position to arrange, and which silently breaks the first app that doesn't. json, os, socket, time, urllib are fine; a third-party package is not.
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.
- 4d ago First seen · 70 lines · 94 tokens per session scan A 72faf9bfacd2
adding-a-shared-template-utility is a skill published in the GitHub repository fusedio/fused-render (11 stars, last pushed today), licensed MIT. It adds 94 tokens to every session and 1,696 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
auto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.
chat-perf
Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…