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/dyeoman2/tanstack-start-template/control-register-authoringnpx skills add dyeoman2/tanstack-start-template --skill control-register-authoringgit clone --depth 1 https://github.com/dyeoman2/tanstack-start-templateWrote 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/dyeoman2/tanstack-start-template/control-register-authoring)<a href="https://agentmods.dev/skills/dyeoman2/tanstack-start-template/control-register-authoring"><img src="https://agentmods.dev/badge/skills/dyeoman2/tanstack-start-template/control-register-authoring.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.00065 | $0.03642 |
| Opus 5 | $0.00032 | $0.01821 |
| Sonnet 5 | $0.00013 | $0.00728 |
| Haiku 4.5 | $0.00006 | $0.00364 |
Grade A, and why
control-register-authoring 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 313 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Control Register Authoring
Use this skill to add or revise controls that appear in the site admin security workspace.
Workflow
- Confirm the control exists in references/workspace-files.md under the NIST moderate source file before editing the generator.
- Update references/workspace-files.md targets in this order:
scripts/compliance/generate-active-control-register.ts- only then regenerate
compliance/generated/active-control-register.seed.json - update
convex/security.tsonly if site admin workspace materialization or reseed behavior must change
- Keep the control readable to two audiences at once:
- the internal site admin maintaining evidence
- the customer security admin reviewing the control
- Tie every checklist item to concrete repo evidence when available.
- If repo support is partial, keep the checklist item and mark it partial or incomplete instead of overstating coverage.
- Regenerate and reseed after changes.
Authoring Rules
- Start from the NIST control title and statement in the generated moderate controls JSON. Do not invent control IDs.
- Do not hand-edit
compliance/generated/active-control-register.seed.json. Always regenerate it from the script. - Prefer explicit
csf20Idsandsoc2CriterionIdsoverrides when the inherited crosswalk is broader than the app evidence actually supports. - Keep implementation summaries narrow. Do not let one control drift into adjacent controls.
- Ensure the implementation summary is fully supportable by the checklist items and seeded evidence. If the checklist or evidence is narrower than the summary, narrow the summary.
- Write for a customer security admin first. The target reader should understand what the control does, what evidence exists, and what remains their responsibility without needing repo knowledge.
- Keep shared-responsibility wording precise:
- platform items describe what the hosted service does
- customer responsibility notes describe what the customer must govern or operate
- provider-internal process items should be clearly labeled as provider or operator duties, not customer guidance
- Prefer explicit actor labels. Use
Provider,Customer,Platform,Hosted service, orSite admininstead of ambiguous terms likeoperatorunless the actor is immediately clarified. - Evidence should point to concrete code, config, UI, or schema artifacts already in the repo.
- Evidence descriptions must read like artifact descriptions, not just conclusions and not just file-path notes.
- Seed evidence at the checklist-item level, not only at the control level.
- When evidence only proves part of the claim, set sufficiency to
partialand keep the checklist status honest. - Preserve stable control IDs and checklist item IDs so reseeds do not create logical duplicates.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2d ago First seen · 313 lines · 65 tokens per session scan A cfa2a9d49f09
control-register-authoring is a skill published in the GitHub repository dyeoman2/tanstack-start-template (26 stars, last pushed 4mo ago), licensed MIT. It adds 65 tokens to every session and 3,642 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-01.
Other skills, from other repositories
ai-core/middleware
Chat lifecycle middleware hooks: onConfig, onStart, onChunk, onBeforeToolCall, onAfterToolCall, onUsage, onFinish, onAbort, onError. Use for analytics, event firing, tool caching (toolCacheMiddleware), logging, and tracing. Middleware array in chat() config, left-to-right execution order. NOT onEnd/onFinish callbacks…
docs
Use when writing, editing, or organizing documentation, when planning what docs a feature needs, and whenever planning or implementing a new feature or change in a repo (docs ship with the code). Also use when tempted to write docs without showing the discovered readers to the user, without asking for tone, or without…
pr-sweep
Sweep open (or listed) PRs with up to 100 parallel agents: security-scan outside contributors, rebase onto main when behind (push --force-with-lease), approve pending first-time-contributor CI when relevant, optionally rebase in-house PRs, and report who should review. Supports full, changed-only, behind-only, and…
ai-persistence/server
Server chat state with withPersistence from @tanstack/ai-persistence. Authoritative transcript, run lifecycle, durable interrupts/approvals, chatParamsFromRequest, reconstructChat, snapshotStreaming. Use when the server owns history, multi-device, or durable tool approvals. NOT client localStorage (see…
pr-description
Use when writing a pull request title or body, when about to run gh pr create, when about to git push on a branch that already has an open PR, or when the user says /pr-description, "write the PR description", or "update the PR title". Don't use for commit messages, changelogs, or review comments.
ai-core
Entry point for TanStack AI skills. Routes to chat-experience, tool-calling, media-generation, structured-outputs, adapter-configuration, ag-ui-protocol, middleware, locks, custom-backend-integration, and debug-logging, plus the skills shipped by companion packages (@tanstack/ai-persistence, @tanstack/ai-code-mode).…