datapages: Skill for Claude Code

.claude/skills/datastar/SKILL.md

datastar is a skill for Claude Code from romshark/datapages. It costs 21 tokens per session (60 once invoked), scanned A, original, MIT.

A reference for using Datastar HTML attributes and backend actions in Templ templates. Datastar is a browser tool that supports reactive page updates, live server messages, and actions such as loading, creating, changing, or deleting data.

In plain words
What is it for?
Writing Templ templates with Datastar actions, browser signals, server-sent updates, dynamic page changes, and generated internal links.
Why use it?
It prevents templates from using incorrect or fragile links and action URLs. Instead, the guide requires generated project functions that keep links and actions aligned with the server.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is romshark/datapages's own configuration. It tells Claude Code how to work on datapages itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything datapages configures →

Reuse

Borrowing it

Nothing to install: this file belongs to romshark/datapages. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/romshark/datapages/main/.claude/skills/datastar/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/romshark/datapages

Made for: Claude Code.

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 datastar

README.md
[![agentmods](https://agentmods.dev/badge/skills/romshark/datapages/datastar/github.svg)](https://agentmods.dev/skills/romshark/datapages/datastar)
Your own site
<a href="https://agentmods.dev/skills/romshark/datapages/datastar"><img src="https://agentmods.dev/badge/skills/romshark/datapages/datastar/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 datastar

Your own site · 80×15
<a href="https://agentmods.dev/skills/romshark/datapages/datastar"><img src="https://agentmods.dev/badge/skills/romshark/datapages/datastar.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 60 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 warn 7 Sept 2026
SkillSpector: 6 findings, up to high

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 →

  • high Prompt Injection · line 148
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 1030
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 1490
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 1643
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • low Excessive Agency · line 418
    Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
    Fix: Limit the skill's scope to its documented purpose. Remove instructions that enable the agent to perform actions outside its stated functionality.
  • low Excessive Agency · line 616
    Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
    Fix: Limit the skill's scope to its documented purpose. Remove instructions that enable the agent to perform actions outside its stated functionality.
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.00021 $0.00060
Opus 5.5 $0.00008 $0.00024
Sonnet 5.5 $0.00004 $0.00012
Haiku 4.5 $0.00002 $0.00006

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

Security

Grade A, and why

datastar 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 1mo 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.

.claude/skills/datastar/SKILL.md · 8 lines

What it actually says

Read internal/generator/agentdocs/data/skills/datastar/SKILL.md. It is the source shipped to users by datapages init.

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. 1mo ago Changed · -1,749 lines · -33 tokens per session b4a136d45d62
  2. 1mo ago Changed a071e21a7bf8
  3. 2mo ago Changed · +76 lines 67561348fe22
  4. 2mo ago First seen · 1,681 lines · 54 tokens per session scan A 86f4640551e4

Subscribe to this mod's changes

datastar is a skill published in the GitHub repository romshark/datapages (119 stars, last pushed 2d ago), licensed MIT. It adds 21 tokens to every session and 60 once invoked, about $0.0001 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-08-30.

Related

datastar compared with skills from other repositories

datastar next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
datastarromshark/datapagesSkill1192d agoMITA21Claude Code
structpagesjackielii/structpagesSkill24yesterdayBSD-3-ClauseA154Claude Code
pinchtabpinchtab/pinchtabSkill11k10d agoMITA94Codex
printing-press-amendmvanhorn/cli-printing-pressSkill4.9kyesterdayMITA222Claude Code
golang-graphqlsamber/cc-skills-golangSkill3.8k5d agoMITA77Claude Code
golang-grpcsamber/cc-skills-golangSkill3.8k5d agoMITA72Claude Code
golang-swaggersamber/cc-skills-golangSkill3.8k5d agoMITA146Claude Code