Agent skill

Coin Modules

by LedgerHQ in LedgerHQ/ledger-live

Rules and layout for coin module packages under libs/coin-modules/.

MITAuto-check passed

Install Coin Modules

skills CLI
$ npx skills add LedgerHQ/ledger-live --skill coin-modules -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LedgerHQ/ledger-live coin-modules --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LedgerHQ/ledger-live.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/coin-modules .claude/skills/coin-modules && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
coin-modules
GitHub stars
622
Token cost
~1.1k tokens
SKILL.md length
346 words
Files
1
Skills in repo
50
Repo updated
First seen
Licence
MIT

At a glance

Rules and layout for coin module packages under libs/coin-modules/.

  • SKILL.md covers Directory Layout, Dependencies, Integration Paths and Integ Test Requirements (Coin…, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Coin Modules is an agent skill from LedgerHQ/ledger-live. Rules and layout for coin module packages under libs/coin-modules/. Read when adding or modifying a coin module.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Mono-repository for Ledger Wallet apps and related packages. The licence is MIT.

Example prompts

  • “Use the coin-modules skill to rule and layout for coin module packages under libs/coin-modules/”
  • “/coin-modules”

What it can do on your machine

Read from SKILL.md and the folder at commit 30d7883. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Coin Modules loads about 1.1k tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 346 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LedgerHQ/ledger-live at commit 30d7883, republished under its MIT licence (© LedgerHQ). 346 words, ~1,057 tokens.

Download SKILL.mdSave it as .claude/skills/coin-modules/SKILL.md (or your agent's skills folder).
name
coin-modules
description
Rules and layout for coin module packages under libs/coin-modules/. Read when adding or modifying a coin module.

Coin Modules

Each blockchain family lives in its own package under libs/coin-modules/coin-<family>.
Package name: @ledgerhq/coin-<family>

Coin modules are one of the few things that still belong in legacy libs/: they migrate to LedgerHQ/coin-modules, not to the monorepo layers.

Do not create a new coin-module if it fits the ecosystem of an existing one.
No packages other than coin-modules are allowed in libs/coin-modules/.

Directory Layout

Directory / filePurpose
api/Coin Module API surface — implements CoinModuleApi from @ledgerhq/coin-module-framework/api/index; restricted imports apply (see below)
logic/Core blockchain logic, agnostic of Bridge or API; only depends on network/ and external libs; restricted imports apply (see below)
network/Communication with explorer / indexer / node; restricted imports apply (see below)
types/Model definitions, not related to network
bridge/ (legacy)CurrencyBridge + AccountBridge implementation
signer/ (legacy)Hardware wallet signer interface and device address resolver

Tests: *.unit.test.ts (co-located), *.test.ts (integration, no network), *.integ.test.ts (real network, separate jest.integ.config.js).

Dependencies

Prefer native dependencies from the blockchain foundation and well-established open-source libraries.
Avoid proprietary third-party SDKs or closed-source vendor packages.

In api/, logic/, and network/, the only permitted @ledgerhq/* imports are @ledgerhq/logs, @ledgerhq/live-network, @ledgerhq/coin-module-framework, and @ledgerhq/ledger-wallet-framework (enforced by eslint/no-restricted-imports in libs/coin-modules/.oxlintrc.json). Other directories (bridge/, signer/, types/) have no such restriction.

Integration Paths

1. Coin Module API path (preferred) — export createApi(config, currencyId) returning CoinModuleApi (from @ledgerhq/coin-module-framework/api/index). Enable the family in libs/ledger-live-common/src/bridge/generic-coin-framework/genericCoinFrameworkFamilies.json (checked by isGenericCoinFrameworkFamily). For methods that don't apply, throw new Error("<method> is not supported").

2. Classic JS Bridge (legacy, do not use) — export createBridges(signerContext, coinConfig) returning { currencyBridge, accountBridge }. Wired via libs/ledger-live-common/src/families/<family>/setup.ts.

Integ Test Requirements (Coin Module API)

  • craftTransaction / estimateFees: cover each transaction type (token transfer, native, memo, delegation, …)
  • getBalance / listOperations: cover each asset type in the module
  • getBlockInfo / getBlock / listOperations / getStakes: compare against a reference block/op/stake to validate metadata parsing
  • getValidators: validate metadata against a reference validator
  • lastBlock: block height > 0, valid date, hash with expected length
  • getNextSequence: higher than current nonce for a known account

live-common Import Rule

In libs/ledger-live-common/src, runtime imports of coin-specific code (from @ledgerhq/coin-* or ../families/*) are only allowed inside src/coin-modules/ and src/families/. All other shared code must access coin-specific behaviour through coinModuleLoaders from src/coin-modules/loaders.ts.

© LedgerHQ, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/coin-modules of LedgerHQ/ledger-live.

Open the folder on GitHubat commit 30d7883

Compare with similar skills

Coin Modules next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Coin Modules compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Coin Modules this skillLedgerHQ/ledger-live622—~1.1kAutomated safety check: PassMIT
Python Packagingwshobson/agents40k12 repos~911Automated safety check: PassMIT
Write UI Module Readmeremix-run/remix33k—~1.1kAutomated safety check: PassMIT
Splitting Oversized ModulesPostHog/posthog40k—~2.2kAutomated safety check: PassCustom licence
Add Packageremix-run/remix33k—~2kAutomated safety check: PassMIT
Tabler Page Layoutstabler/tabler42k—~1.5kAutomated safety check: PassMIT

Similar skills

  • Python Packaging

    wshobson/agents

    Package and publish Python libraries and CLI tools: project layout, pyproject.toml, build backends, wheels and source distributions, versioning and PyPI releases.

    40k GitHub starsUsed in 12 repos~911 tokens
    DevelopmentAuto-check passed
  • Write UI Module Readme

    remix-run/remix

    Write concise module README files for packages/ui/src/lib/ primitives.

    33k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Split an oversized Python module (a thousand-plus-line logic.py, models.py, api.py, or its test file) into a package of one module per concern, mechanically and provably without changing behavior.

    40k GitHub stars~2.2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Add Package

    remix-run/remix

    Create or align a package in the Remix monorepo to match existing package conventions.

    33k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Tabler Page Layouts

    tabler/tabler

    Picks and configures the right layout for a Tabler preview page and covers changing or adding layouts in shared/layouts, including DefaultLayout props and the page-header slot.

    42k GitHub stars~1.5k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Moves logic out of Astro frontmatter into tested helper modules under shared/lib, with rules for naming, typing, deterministic demo data and sibling test files.

    42k GitHub stars~1.2k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from LedgerHQ/ledger-live

All 50 skills in this repo
  • Impacting PRs

    LedgerHQ/ledger-live

    Find which open PRs are impacted by a migration/sunset/refactor and notify their authors — blocking review when the old path is already gone from develop, heads-up comment when it is only deprecated…

    622 GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Cloud Sync Module

    LedgerHQ/ledger-live

    Write, review or debug a cloudSyncModule.ts — a CloudSyncDataManager that syncs one slice of user data through Ledger Sync (Cloud Sync).

    622 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Codeownership

    LedgerHQ/ledger-live

    Maintain CODEOWNERS file and team directories. An agent skill from LedgerHQ/ledger-live.

    622 GitHub stars~687 tokensUpdated today
    Auto-check passed
  • Coin Families Contract

    LedgerHQ/ledger-live

    Coin-specific families logic must live in families/. An agent skill from LedgerHQ/ledger-live.

    622 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Data Layer Advanced

    LedgerHQ/ledger-live

    Structure a Ledger Wallet data layer where one API response serves several entities.

    622 GitHub stars~509 tokensUpdated today
    Auto-check passed
  • Debug Rn Native Crash

    LedgerHQ/ledger-live

    Investigate native React Native crashes (Fabric/Hermes/iOS) in ledger-live-mobile when JS error logs are missing or unhelpful.

    622 GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Questions about Coin Modules

What does Coin Modules do?

Rules and layout for coin module packages under libs/coin-modules/. Coin Modules is an agent skill from LedgerHQ/ledger-live. Rules and layout for coin module packages under libs/coin-modules/.

How do I install Coin Modules in Claude Code?

Run `npx skills add LedgerHQ/ledger-live --skill coin-modules -a claude-code`. Or copy the skill folder (.agents/skills/coin-modules in LedgerHQ/ledger-live) into .claude/skills/coin-modules in your project. Claude Code loads it when a task matches its description.

How do I install Coin Modules in Codex?

Run `npx skills add LedgerHQ/ledger-live --skill coin-modules -a codex`. Or copy the skill folder (.agents/skills/coin-modules in LedgerHQ/ledger-live) into .agents/skills/coin-modules in your project. Codex loads it when a task matches its description.

Can I use Coin Modules in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LedgerHQ/ledger-live --skill coin-modules -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/coin-modules, .gemini/skills/coin-modules, .github/skills/coin-modules and .opencode/skills/coin-modules in your project.

What does Coin Modules need to run?

SKILL.md names no scripts, command-line tools or credentials: Coin Modules is instructions for the agent only.

Does Coin Modules access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Coin Modules safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Coin Modules use?

Coin Modules is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Coin Modules use?

About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Coin Modules?

Skills that share tags, products or a category with Coin Modules: Python Packaging (wshobson/agents, 40k stars), Write UI Module Readme (remix-run/remix, 33k stars), Splitting Oversized Modules (PostHog/posthog, 40k stars) and Add Package (remix-run/remix, 33k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Coin Modules?

LedgerHQ (a GitHub organization) maintains it in LedgerHQ/ledger-live, which has 622 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on October 8, 2026.

Source: LedgerHQ/ledger-live on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.