control-register-authoring

control-register-authoring is a skill for Claude Code, Codex from dyeoman2/tanstack-start-template. It costs 65 tokens per session (3,642 once invoked), scanned A, original, MIT.

Add or update buyer-facing security controls in this repo's site admin control workspace. Use when authoring or revising NIST-based controls, framework mappings, implementation summaries, checklist items, seeded evidence, or site admin reseed/reset behavior tied to the active control register generator and Convex…

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/dyeoman2/tanstack-start-template/control-register-authoring
Any agent
npx skills add dyeoman2/tanstack-start-template --skill control-register-authoring
Clone the repo
git clone --depth 1 https://github.com/dyeoman2/tanstack-start-template

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 control-register-authoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/dyeoman2/tanstack-start-template/control-register-authoring.svg)](https://agentmods.dev/skills/dyeoman2/tanstack-start-template/control-register-authoring)
Your own site
<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>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,642 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00065 $0.03642
Opus 5 $0.00032 $0.01821
Sonnet 5 $0.00013 $0.00728
Haiku 4.5 $0.00006 $0.00364

Measured 2d ago against content hash cfa2a9d49f09, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

.codex/skills/control-register-authoring/SKILL.md · 313 lines

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

  1. Confirm the control exists in references/workspace-files.md under the NIST moderate source file before editing the generator.
  2. 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.ts only if site admin workspace materialization or reseed behavior must change
  3. Keep the control readable to two audiences at once:
    • the internal site admin maintaining evidence
    • the customer security admin reviewing the control
  4. Tie every checklist item to concrete repo evidence when available.
  5. If repo support is partial, keep the checklist item and mark it partial or incomplete instead of overstating coverage.
  6. 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 csf20Ids and soc2CriterionIds overrides 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, or Site admin instead of ambiguous terms like operator unless 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 partial and keep the checklist status honest.
  • Preserve stable control IDs and checklist item IDs so reseeds do not create logical duplicates.

Read the full file on GitHub · 313 lines

Files

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.

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. 2d ago First seen · 313 lines · 65 tokens per session scan A cfa2a9d49f09

Subscribe to this mod's changes

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.

Related

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…

TanStack/ai · 86 tokens

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…

TanStack/ai · 118 tokens

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…

TanStack/ai · 159 tokens

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…

TanStack/ai · 83 tokens

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.

TanStack/ai · 72 tokens

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).…

TanStack/ai · 108 tokens