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/coin-families-contract/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/coin-families-contract)<a href="https://agentmods.dev/skills/ledgerhq/ledger-live/coin-families-contract"><img src="https://agentmods.dev/badge/skills/ledgerhq/ledger-live/coin-families-contract/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/coin-families-contract"><img src="https://agentmods.dev/badge/skills/ledgerhq/ledger-live/coin-families-contract.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00065 | $0.01034 |
| Opus 5 | $0.00032 | $0.00517 |
| Sonnet 5 | $0.00013 | $0.00207 |
| Haiku 4.5 | $0.00006 | $0.00103 |
Grade A, and why
coin-families-contract 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 12d 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 — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Coin families contract (Desktop & Mobile UI)
Principle: Coin-specific UI and behavior must live in families/. Generic screens, hooks, and components must not branch on family === "evm" (or any family name). They must use the families contract: optional slots defined in the family type, implemented per family, and consumed via a single lookup (e.g. getLLDCoinFamily(currency.family).SlotName). This keeps generic code family-agnostic and supports modularisation and lazy loading.
Do not do (anti-patterns)
- Generic code (outside
families/<family>/):if (currency.family === "evm")/if (transaction.family === "solana")to render or behave differently.- Coin-specific hooks or logic in shared ViewModels / screens (e.g. Canton onboarding branch inside a generic Scan Device VM).
- Importing a specific coin module (e.g.
@ledgerhq/coin-canton) in generic UI to branch on that coin.
- Exception: Type-narrowing inside a family folder (e.g.
invariant(transaction.family === "bitcoin", "...")infamilies/bitcoin/) is acceptable; the rule applies to generic (shared) code only.
Do (correct pattern)
-
Define a slot on the contract
- Desktop: Add an optional property to
LLDCoinFamilyinapps/ledger-live-desktop/src/renderer/families/types.ts(e.g.NoAssociatedAccounts?: React.ComponentType<...>). - Mobile: Use the same idea: a typed contract (or generated map like
noAssociatedAccountsByFamily) that families can optionally fill.
- Desktop: Add an optional property to
-
Implement only in the family
- Put the component or logic in
families/<family>/(e.g.families/hedera/NoAssociatedAccounts.tsx) and export it from the family index (Desktop: in the object passed togenerated; Mobile: in the generated aggregation if applicable).
- Put the component or logic in
-
Use the contract in generic code
- Generic code looks up by family and uses the slot if present, with no
if (family === "hedera"): - Desktop:
getLLDCoinFamily(currency.family).NoAssociatedAccounts→ use it when defined. - Mobile: e.g.
getCustomNoAssociatedAccounts(currency)returning a component from a family map, then pass it to the screen (e.g. asCustomNoAssociatedAccountsin route params).
- Generic code looks up by family and uses the slot if present, with no
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.
- 12d ago First seen · 54 lines · 65 tokens per session scan A 08f9af4730dd
coin-families-contract is a skill published in the GitHub repository LedgerHQ/ledger-live (618 stars, last pushed today), licensed MIT. It adds 65 tokens to every session and 1,034 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-08-30.
Other skills, from other repositories
signature-replay
Signature replay attacks — missing nonces, missing chain ID, ecrecover zero address, signature malleability, cross-chain replay.
onchainkit
Build onchain apps with Coinbase's OnchainKit React components - wallets, swaps, NFTs, payments.
marginfi
MarginFi — Solana lending and borrowing.
crypto-market-rank
Crypto market rankings and leaderboards. Query trending tokens, top searched tokens, Binance Alpha tokens, tokenized stocks, social hype sentiment ranks, smart money inflow token rankings, top meme token rankings from Pulse launchpad, and top trader PnL leaderboards. Use this skill when users ask about token rankings…
trading-signal
Subscribe and retrieve on-chain Smart Money signals. Monitor trading activities of smart money addresses, including buy/sell signals, trigger price, current price, max gain, and exit rate. Use this skill when users are looking for investment opportunities — smart money signals can serve as valuable references for…
devtools-event-client
Create typed EventClient for a library. Define event maps with typed payloads, pluginId auto-prepend namespacing, emit()/on()/onAll()/onAllPluginEvents() API. Connection lifecycle (5 retries, 300ms), event queuing, enabled/disabled state, SSR fallbacks, singleton pattern. Unique pluginId requirement to avoid event…