interactive-document-rendering-skill

interactive-document-rendering-skill is a skill for OpenCode from darellchua2/opencode-config-template. It costs 52 tokens per session (2,202 once invoked), scanned A, original, Apache-2.0.

A shared formatting standard for producing interactive HTML pages and Word documents from Markdown. It defines navigation, dark mode, tables of contents, links, and page breaks.

In plain words
What is it for?
Use it when generating self-contained HTML or DOCX deliverables from Markdown, including navigable reports and Word files with automatic contents lists.
Why use it?
It keeps document output consistent across different document-creation tools and avoids each tool inventing its own formatting rules.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions subagents; mentions OpenCode.

Good fit Use it when generating self-contained HTML or DOCX deliverables from Markdown, including navigable reports and Word files with automatic contents lists.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/interactive-document-rendering-skill
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 darellchua2/opencode-config-template --skill interactive-document-rendering-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: OpenCode.

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 interactive-document-rendering-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/interactive-document-rendering-skill.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/interactive-document-rendering-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/interactive-document-rendering-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/interactive-document-rendering-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,202 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00052 $0.02202
Opus 5 $0.00026 $0.01101
Sonnet 5 $0.00010 $0.00440
Haiku 4.5 $0.00005 $0.00220

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

Security

Grade A, and why

interactive-document-rendering-skill 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 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.

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.

opencode_app/.opencode/skills/interactive-document-rendering-skill/SKILL.md · 203 lines

How it starts

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

What I do

I am the single source of truth for how document-creation skills render their Markdown sources into two complementary deliverables:

  1. Interactive HTML — a self-contained, navigable, dark-mode-aware web page
  2. Word (.docx) — a formal deliverable with auto-generated TOC and hyperlinked headers

Consumers (vision-creation-skill, srs-creation-skill, and later brd-creation-skill) reference me via "Render dual outputs per interactive-document-rendering-skill." They do NOT redefine HTML/DOCX styling themselves — that would re-introduce the inconsistency this skill exists to eliminate.

SCOPE — what I do NOT do

  • No .xlsx. Tabular artifacts (RTM, data dictionaries, requirement registers) are produced by xlsx-specialist-skill/xlsx-specialist-subagent as peer deliverables, linked from the doc — never embedded in HTML/DOCX.
  • No .pptx. Customer presentation decks are produced by pptx-specialist-subagent as peer deliverables.
  • No image interpretation. If image content must be understood (screenshots, reference images, diagrams), delegate to image-analyzer-subagent — do not attempt to interpret images inline.

This keeps each format's tooling owned by its specialist and the rendering skill focused on HTML + DOCX.

When to regenerate: living vs snapshot

Doc type HTML lifecycle When to (re)render
Vision (discovery, customer) Living — updated through the session After each wireframe/feedback round so the client always sees current state; cheap to regenerate
SRS / BRD (internal) Snapshot Rendered once at wrap, after all sections are confirmed

The living model applies to discovery only; internal docs render a single final snapshot.

Naming & placement

Artifact Path
Source Markdown docs/{type}/{NAME}-{slug}.md (e.g. docs/vision/VISION-inventory.md, docs/srs/SRS-{key}.md)
Interactive HTML docs/{type}/{slug}/{NAME}.interactive.html
Word deliverable docs/{type}/{NAME}-{slug}.docx
Peer xlsx docs/{type}/{slug}/{NAME}-{artifact}.xlsx (linked, not embedded)

Read the full file on GitHub · 203 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. 4d ago First seen · 203 lines · 52 tokens per session scan A 2bd09fbe0f31

Subscribe to this mod's changes

interactive-document-rendering-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 52 tokens to every session and 2,202 once invoked, about $0.0003 per session on Opus 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-09-03.