Borrowing it
Nothing to install: this file belongs to LedgerHQ/ledger-live. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/LedgerHQ/ledger-live/develop/.agents/skills/domain-data/SKILL.mdgit clone --depth 1 https://github.com/LedgerHQ/ledger-liveWrote 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/ledgerhq/ledger-live/domain-data)<a href="https://agentmods.dev/skills/ledgerhq/ledger-live/domain-data"><img src="https://agentmods.dev/badge/skills/ledgerhq/ledger-live/domain-data/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/ledgerhq/ledger-live/domain-data"><img src="https://agentmods.dev/badge/skills/ledgerhq/ledger-live/domain-data.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.00103 | $0.01859 |
| Opus 5.5 | $0.00041 | $0.00744 |
| Sonnet 5.5 | $0.00021 | $0.00372 |
| Haiku 4.5 | $0.00010 | $0.00186 |
Grade A, and why
domain-data 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 yesterday.
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 — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Domain data: one entity, one api
One backend resource maps to one entity. Use data-layer-advanced
when one response hydrates several entities. Placement comes from
structure-flow, barrels from
package-public-api.
| Package | Owns | Never |
|---|---|---|
@domain/entity-<name> |
schemas, inferred types, branded ids, slice, mocks, selectors | React, network calls, an app store type |
@domain/api-<name> |
endpoints, wire schemas, transforms, cache tags, hooks | createApi, base URL, env reads |
Reference packages: @domain/entity-contact and
@domain/api-push-devices.
Entity package
domain/entity/<name>/src/
├── schema.ts # Zod schemas (required)
├── types.ts # z.infer types and the state type
├── schema.mock.ts # mock factories, parsed by the schema (required)
├── slice.ts # createSlice, initial state, default reducer
├── slice.mock.ts # mock slice state (required with a slice)
├── selectors.ts
└── index.ts # export * only
Every source file has its *.test.ts. Slice, selectors and their mocks are optional: an entity
can be schema-only.
Schema first. Write the Zod schema, then infer the type. Never hand-write a type the schema already describes, and never add Typia.
// schema.ts
export const ContactNameSchema = z.string().min(1).max(CONTACT_NAME_MAX_LENGTH).brand<"ContactName">();
// types.ts
export type ContactName = z.infer<typeof ContactNameSchema>;
- Brand ids and constrained strings (
.brand<"ContactName">(),CryptoCurrencyIdSchemain@domain/entity-currency-crypto) so two strings of different meaning cannot be swapped. - Reuse primitives from
@shared/schema-primitives(NonEmptyStringSchema,DateTimeIsoSchema,HttpUrlSchema) and other entities' schemas, never a local copy. - Nullable means
.nullable(). A field the backend sends asnullis.nullable(); a field it may leave out is.optional(). They are not interchangeable. - Build values through the schema. A constructor such as
contact(data)indefine.tsreturnsContactSchema.parse(data), so a branded value always passed validation.
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.
- yesterday First seen · 154 lines · 103 tokens per session scan A 1c0f079e3b02
domain-data is a skill published in the GitHub repository LedgerHQ/ledger-live (624 stars, last pushed today), licensed MIT. It adds 103 tokens to every session and 1,859 once invoked, about $0.0004 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-29.
Other skills, from other repositories
azure-mgmt-apicenter-dotnet
Azure API Center SDK for .NET. Centralized API inventory management with governance, versioning, and discovery. Use for creating API services, workspaces, APIs, versions, definitions, environments, deployments, and metadata schemas. Triggers: "API Center", "ApiCenterService", "ApiCenterWorkspace", "ApiCenterApi", "API…
azure-communication-chat-java
Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.
conventions
Spring Boot project conventions and mandatory rules. Auto-loads when working with Spring Boot, Java, or Maven projects. Enforces No-Lombok, constructor injection, RestClient, Flyway for relational databases, Problem Details errors, and other standards; adds OpenAPI contract rules when the API is built for a UI.
azure-messaging-webpubsubservice-py
Real-time messaging with WebSocket connections at scale.
fastapi-pro
Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.
go-ws-module-skill
A Go Gin module for adding WebSocket chat to an existing backend. WebSockets keep a live connection open so messages can arrive without repeated requests.