datapages-templates

datapages-templates is a skill for Claude Code, Codex from romshark/datapages. It costs 44 tokens per session (2,942 once invoked), scanned A, original, MIT.

A reference for writing Templ templates for a Datapages application. Templ is a Go-based HTML templating system whose files are compiled into Go code.

In plain words
What is it for?
Use it when creating Datapages templates, page links, asset URLs, query parameters, or actions in `.templ` files.
Why use it?
It explains the project's rules for generated links, form actions, URL safety, and template compilation so invalid pages are caught early.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when creating Datapages templates, page links, asset URLs, query parameters, or actions in .templ files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/romshark/datapages/datapages-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 romshark/datapages --skill datapages-templates
Clone the repo
git clone --depth 1 https://github.com/romshark/datapages

Made for: Claude Code, Codex.

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 datapages-templates

README.md
[![agentmods](https://agentmods.dev/badge/skills/romshark/datapages/datapages-templates/github.svg)](https://agentmods.dev/skills/romshark/datapages/datapages-templates)
Your own site
<a href="https://agentmods.dev/skills/romshark/datapages/datapages-templates"><img src="https://agentmods.dev/badge/skills/romshark/datapages/datapages-templates/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for datapages-templates

Your own site · 80×15
<a href="https://agentmods.dev/skills/romshark/datapages/datapages-templates"><img src="https://agentmods.dev/badge/skills/romshark/datapages/datapages-templates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,942 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.
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.00044 $0.02942
Opus 5.5 $0.00018 $0.01177
Sonnet 5.5 $0.00009 $0.00588
Haiku 4.5 $0.00004 $0.00294

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

Security

Grade A, and why

datapages-templates 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.

example/calculator/.agents/skills/datapages-templates/SKILL.md · 181 lines

How it starts

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

Templates

Read datapages first for the build loop, hard rules and naming conventions.

A Templ component implements datapages.Component, so handlers can return it. Run templ generate to compile .templ files to _templ.go. Datapages does not run this command. Templ docs: https://templ.guide/llms.md

Return application HTML as a Templ datapages.Component. Do not render it into a datapages.File: its bytes bypass Templ's contextual escaping and the Datapages template linter.

The generated href package has 1 function for each page, named after its page type. Query structs are named href.Query<PageType>. Zero-value fields are omitted from the URL.

<a href={ href.PageIndex() }>Home</a>
<a href={ href.PagePost(post.Slug) }>{ post.Title }</a>
<a href={ href.PageMessages(href.QueryPageMessages{Chat: chatID}) }>Messages</a>
<a href={ href.Asset("logo.svg") }>Logo</a>

The linter rejects a hardcoded root-relative, relative, query-only or empty href. It also rejects javascript:. Literal https://, mailto:, tel:, #frag and //cdn.example.com values are valid. Use href.External(url) for an external URL computed by the app.

Inside href={ ... }, use an href package call, string literal or constant. The linter rejects variables and other calls, including fmt.Sprintf and templ.SafeURL, because it cannot resolve them.

A GETXXX action, which answers with a datapages.File, has a URL builder that is a method of its owner: (*App).GETImage becomes href.App.Image(name), PageDoc.GETExport becomes href.PageDoc.Export(id). href.PageDoc(id) still builds the URL of the page. Pass a query value from the constructor next to the builder, as href.App.Image(name, href.App.ImageQuery(width)). Use these builders in src and href, such as href.App.Image(img.Name) for an image or href.PageDoc.Export(doc.ID) for a download link. The action package has no helper for a GET action: a browser loads it by URL.

Read the full file on GitHub · 181 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 Changed a2c69305c6c5
  2. 5d ago Changed · +80 lines · +3 tokens per session fac1e25f0ee3
  3. 20d ago Changed · +2 lines 677492b13f94
  4. 25d ago Changed 9e6d5fd0b43d
  5. 26d ago First seen · 99 lines · 41 tokens per session scan A 379a30e4b3a1

Subscribe to this mod's changes

datapages-templates is a skill published in the GitHub repository romshark/datapages (114 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 2,942 once invoked, about $0.0002 per session on Opus 5.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-20.

Related

Other skills, from other repositories

go-idioms

Go idioms and patterns: stdlib conventions, explicit error wrapping (%w), small interfaces, goroutines/channels concurrency, table-driven tests, and gofumpt formatting. Use when writing, refactoring, or reviewing Go services and packages.

irahardianto/awesome-agv · 54 tokens

structpages

Guide for building Go web applications with the structpages framework (struct-based routing + gsx + HTMX). Use when writing routes, pages, page groups, Props methods, handler methods (ServeHTTP), page components, partials, HTMX partial rendering and nested swap levels, URL and element-id generation (the gsx…

jackielii/structpages · 142 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

motion-graphics

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI…

heygen-com/hyperframes · 139 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

pinchtab-stealth-score

Run the PinchTab stealth-score sweep against 15 bot-detection / fingerprint sites (sannysoft, rebrowser, deviceandbrowserinfo, iphey, whoer, browserscan, pixelscan, fingerprint-scan, incolumitas, fvision, amiunique, browserleaks, creepjs, coveryourtracks, fingerprint-demo). Starts a Docker PinchTab container per…

pinchtab/pinchtab · 168 tokens