adding-a-shared-template-utility SKILL.md skillA

adding-a-shared-template-utility from fusedio/fused-render is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add fusedio/fused-render/adding-a-shared-template-utility@git:20261006.5c319d2

Pins git:20261006.5c319d2 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
fusedio/fused-render
Path
.claude/skills/adding-a-shared-template-utility/SKILL.md
Versions recorded
2
Latest version
git:20261006.5c319d2, committed Oct 6, 2026
First version recorded
Aug 24, 2026
Size
7,356 bytes
Repository stars
13
License
MIT

Use when adding, editing, or vendoring a helper in fused_render/templates/shared/ — a module both built-in templates AND arbitrary user .py files need one copy of (env facts, a stdlib API client). Covers the stdlib-only constraint, why it must never import fused_render, the sibling-import-by-path rule, the two path-seeding sites that have to change together, and why export.py never ships it.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 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, 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:
  ```python
  import sys, os
  sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "shared"))
  import appenv
  ```
  This only works because the template physically lives inside `templates/`, one level above `shared/`.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add fusedio/fused-render/adding-a-shared-template-utility@sha256:df716af3ba6bafa6

The line at the top of this page pins the label git:20261006.5c319d2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_tvdkhq7lvnnuefff.svg)](https://markdownregistry.com/a/art_tvdkhq7lvnnuefff)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Aug 24, 2026 and Oct 6, 2026, about one every 43 days.

versioncommittedcommitsizeaudit
git:20261006.5c319d2 latest2026-10-06 5c319d2 7,356 BA view · diff
git:20260824.7b1447c2026-08-24 7b1447c 7,363 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7356 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

fusedio/fused-render · 13 stars · license MIT · pushed 2026-10-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_tvdkhq7lvnnuefff
GET https://markdownregistry.com/api/v1/resolve?ref=fusedio/fused-render/adding-a-shared-template-utility
GET https://markdownregistry.com/api/v1/blob/df716af3ba6bafa6577745043c80895e7aaea73be660f9bb7c64a9573b93cf5d

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from fusedio/fused-render

changing-suggested-models SKILL.md skill
fusedio/fused-render · .claude/skills/changing-suggested-models/SKILL.md · Use when adding, removing, or swapping a model in one of the curated suggested-model lists in…
git:20260822.aa570f0 · audit A · 13 stars
making-a-release SKILL.md skill
fusedio/fused-render · .claude/skills/making-a-release/SKILL.md · Use when cutting a new fused-render release, bumping the version, or creating a release tag — bumps __version__, lands…
git:20261022.2dc9974 · audit A · 13 stars
setting-up-dev-env SKILL.md skill
fusedio/fused-render · .claude/skills/setting-up-dev-env/SKILL.md · Use when setting up a fused-render checkout or git worktree, or when starting, waiting for, restarting or stopping the…
git:20261021.5635b02 · audit B · 13 stars
CLAUDE.md@fused_render/app_starter CLAUDE.md file
fusedio/fused-render · fused_render/app_starter/CLAUDE.md
git:20260925.de1cdce · audit A · 13 stars
apple-notes SKILL.md skill
fusedio/fused-render · fused_render/bots/starters/apple-notes/SKILL.md · Read and search the user's Apple Notes on this Mac through Notes.app itself (no iCloud web, no network, no Shortcuts) —…
git:20261006.81bec2f · audit A · 13 stars
google-sheets-tabs SKILL.md skill
fusedio/fused-render · fused_render/bots/starters/google-sheets-tabs/SKILL.md · Read, write and style worksheet tabs of the user's Google Sheets with a saved service-account key — list tabs, read…
git:20261006.81bec2f · audit A · 13 stars
mac-automation SKILL.md skill
fusedio/fused-render · fused_render/bots/starters/mac-automation/SKILL.md · Drive stock Apple apps and system settings on this Mac (Reminders, Calendar, Notes, Mail, Messages, Finder, Safari…
git:20261006.81bec2f · audit A · 13 stars
CLAUDE.md@fused_render/template_starter CLAUDE.md file
fusedio/fused-render · fused_render/template_starter/CLAUDE.md
git:20260903.f3d7ece · audit A · 13 stars
fused-render-ai SKILL.md skill
fusedio/fused-render · skills/fused-render-ai/SKILL.md · Use when page or .py calls fused.ai (text/image/video/speech/transcribe/embed/decide/vision), picks model/provider, or…
git:20261016.984bedb · audit A · 13 stars
fused-render-api-migration SKILL.md skill
fusedio/fused-render · skills/fused-render-api-migration/SKILL.md · Use when migrating app to current fused page API — Migrate task, stale/missing fused-api-version meta, "fused.ai is not…
git:20260903.f3d7ece · audit A · 13 stars
fused-render-app-doctor SKILL.md skill
fusedio/fused-render · skills/fused-render-app-doctor/SKILL.md · Use when reviewing or sharing an app — checking for secrets, hardcoded paths, stray generated files, missing structure…
git:20261005.5a940dd · audit A · 13 stars
fused-render-app-icon SKILL.md skill
fusedio/fused-render · skills/fused-render-app-icon/SKILL.md · Use when adding/changing/fixing app's icon.svg or icon.png — sidebar glyph, app card mark, browser-tab favicon.
git:20260916.b3e4bff · audit A · 13 stars

Every file in fusedio/fused-render

Browse by kind, by grade A, or by owner.