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 skills add cognitedata/builder-skills --skill tygengit clone --depth 1 https://github.com/cognitedata/builder-skillsWrote 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/cognitedata/builder-skills/tygen)<a href="https://agentmods.dev/skills/cognitedata/builder-skills/tygen"><img src="https://agentmods.dev/badge/skills/cognitedata/builder-skills/tygen/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.
<a href="https://agentmods.dev/skills/cognitedata/builder-skills/tygen"><img src="https://agentmods.dev/badge/skills/cognitedata/builder-skills/tygen.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00053 | $0.02237 |
| Opus 5.5 | $0.00021 | $0.00895 |
| Sonnet 5.5 | $0.00011 | $0.00447 |
| Haiku 4.5 | $0.00005 | $0.00224 |
Grade A, and why
tygen 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 8d 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 — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TyGen
TyGen generates a typed client from one version of a CDF data model. Use it to read instances with short property names and result types that follow the request, instead of the nested properties[space]['View/version'] objects of the native @cognite/sdk.
Availability
TyGen is experimental and is not part of the normal app workflow. Before suggesting, running, or editing code that depends on generated output, verify that COGNITE_ALPHA_ENABLE_TYGEN is explicitly set to true for the command environment. If it is not enabled, explain that TyGen is an opt-in alpha capability and continue with the native @cognite/sdk types and APIs already used by the app.
If you introduce TyGen as an option, confirm the user wants to use it before running it. An explicit request to generate types is sufficient confirmation. Do not enable the flag, add it to a repository, or change deployment configuration without the user's explicit approval.
Without the flag the CLI reports unknown command 'tygen'. That means the flag is not set, not that the CLI is too old.
Generate
From the app directory (it has an app.json):
npx @cognite/cli@latest tygen generate --data-model mySpace:myModel:v1
- In an interactive terminal, omit
--data-modelto pick a versioned model from the project.--interactivecontrols browser authentication, independently of the model picker. - The command uses the app configuration and the saved
cognite auth loginsession. Use--base-urland--projectto generate outside an app directory. - When the data-model reference is unknown,
cognite api datamodels listlists the models. It requires the separateCOGNITE_ALPHA_ENABLE_API=trueflag; check that it is already enabled before running it. - Output goes to
src/generated_types/<externalId>/:index.ts(the entry point),types.ts,views.ts,tygen-views.ts,tygen-interface.ts,methods/andinternal/. Do not write application code there, and do not edit generated files. - Generating again into the same folder replaces it. To keep two versions of a model side by side, generate the second with
-o src/generated_types/<externalId>-<version>. - Commit the generated output. After a data-model change, regenerate, inspect the diff, and run the app's typecheck and tests.
What ships with it
1 file 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.
- 8d ago Changed · +68 lines · +17 tokens per session d3305007fe52
- 1mo ago First seen · 67 lines · 36 tokens per session scan A 497ef447b2c1
tygen is a skill published in the GitHub repository cognitedata/builder-skills (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 53 tokens to every session and 2,237 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-10-03.
tygen compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tygencognitedata/builder-skills | Skill | 6 | yesterday | Apache-2.0 | A | 53 | Claude Code |
| no-bare-castsprisma/orm | Skill | 48k | today | Apache-2.0 | A | 52 | Claude Code, Codex |
| aws-sst-developmentsickn33/agentic-awesome-skills | Skill | 49k | today | MIT | A | 26 | Claude Code |
| league-akari-shard-developmentLeagueAkari/LeagueAkari | Skill | 4.7k | 5d ago | MIT | A | 58 | Claude Code, Codex |
| dd-code-generationDataDog/pup | Skill | 1.0k | yesterday | Apache-2.0 | A | 16 | Claude Code |
| fast-typescript-checkinternet-development/www-sacred | Skill | 1.6k | 3d ago | MIT | A | 84 | Claude Code, Codex |
| typescript-magicianmcollina/skills | Skill | 2.0k | 10d ago | MIT | A | 108 | Claude Code, Codex |