Agent skill

Client Ids

by LedgerHQ in LedgerHQ/ledger-live

Privacy-protected ID management with @domain/entity-client-identity — DeviceId, UserId, DatadogId, export-rules.json

MITAuto-check passedFrontend & Design

Install Client Ids

skills CLI
$ npx skills add LedgerHQ/ledger-live --skill client-ids -a claude-code

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

GitHub CLI
$ gh skill install LedgerHQ/ledger-live client-ids --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/client-ids .claude/skills/client-ids && 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
client-ids
GitHub stars
622
Token cost
~800 tokens
SKILL.md length
300 words
Files
1
Skills in repo
50
Repo updated
First seen
Licence
MIT

At a glance

Privacy-protected ID management with @domain/entity-client-identity — DeviceId, UserId, DatadogId, export-rules.json

  • Works in 3 steps: All ID Usage Must Go Through This Package → Privacy Protection → Explicit Use Cases
  • Frontend & Design work in your project
  • SKILL.md covers Privacy & Security, Package layout, Core Principles and Usage Requirements
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Client Ids is an agent skill from LedgerHQ/ledger-live. Privacy-protected ID management with @domain/entity-client-identity — DeviceId, UserId, DatadogId, export-rules.json

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

It sits in Frontend & Design. It works with Redux. The repository describes itself as: Mono-repository for Ledger Wallet apps and related packages. The licence is MIT.

When your agent uses it

  • Frontend & Design work in your project

Example prompts

  • “/client-ids”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. All ID Usage Must Go Through This Package
  2. Privacy Protection
  3. Explicit Use Cases

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 (its code samples are json and typescript).

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

  • Network

    No URLs in SKILL.md.

    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

Client Ids loads about 800 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 300 words of instructions outside code blocks.

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

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). 300 words, ~800 tokens.

Download SKILL.mdSave it as .claude/skills/client-ids/SKILL.md (or your agent's skills folder).
name
client-ids
description
Privacy-protected ID management with @domain/entity-client-identity — DeviceId, UserId, DatadogId, export-rules.json

Client Identity Domain (@domain/entity-client-identity)

Privacy & Security

Sensitive identifiers (DeviceId, UserId, DatadogId) must always use the domain entity package:

  • Never use raw string IDs for devices, users, or analytics.
  • Always use DeviceId, UserId, or DatadogId classes from @domain/entity-client-identity.
  • ID values are only accessible through explicit export methods (e.g., exportUserIdForSomething()).
  • Every export method must be allowlisted in domain/entity/client-identity/export-rules.json.
  • Export IDs only at system boundaries (API calls, persistence) — never in the middle of processing.
  • toString() and toJSON() return [DeviceId:REDACTED] by design.

Package layout

PackageLocationWhat it contains
@domain/entity-client-identitydomain/entity/client-identity/DeviceId, UserId, DatadogId classes + Redux slice, selectors, persistence
@domain/api-push-devicesdomain/api/push-devices/RTK Query mutation + Redux sync middleware

Core Principles

1. All ID Usage Must Go Through This Package
  • Never create raw string IDs for devices, users, or analytics
  • Always use DeviceId, UserId, or DatadogId classes from @domain/entity-client-identity
  • IDs are protected by Symbols and automatically redacted in logs/JSON
2. Privacy Protection
  • IDs are stored in Symbol fields to prevent accidental access
  • toString() and toJSON() return [DeviceId:REDACTED] by default
  • Actual ID values are only accessible through explicit export methods
3. Explicit Use Cases
  • Every ID usage must be explicitly declared through a dedicated export method (e.g., exportUserIdForSomethingSomething())
  • Export methods represent specific, documented use cases and can only be called from allowlisted files
  • The export-rules.json file in domain/entity/client-identity/ serves as a registry of all allowed use cases
  • The check-export-rules.mjs script enforces the allowlist at build time

Usage Requirements

Using an existing ID for a new use case
  • Add a new export method on the class (e.g., exportUserIdForSomethingSomething())
  • Add your file to domain/entity/client-identity/export-rules.json:
    json
    {
      "domain/entity/client-identity/src/ids/UserId.ts": {
        "exportUserIdForSomethingSomething": [
          "your/new/file/path.ts"
        ]
      }
    }
  • Use the method only from the allowlisted file (at the system boundary)
Introducing a new kind of ID
  • Create a new class in domain/entity/client-identity/src/ids/ (e.g., NewId.ts)
  • Follow the pattern from DeviceId.ts: Symbol storage, redacted toString/toJSON, export methods
  • Add export methods with allowlist rules in export-rules.json
typescript
import { DeviceId } from "@domain/entity-client-identity";

// ✅ Correct: Use the domain entity
const deviceId = DeviceId.fromString("device-123");

// ❌ Wrong: Don't use raw strings
const deviceId = "device-123"; // BAD

© 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/client-ids of LedgerHQ/ledger-live.

Open the folder on GitHubat commit 30d7883

Compare with similar skills

Client Ids 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.

Client Ids compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Client Ids this skillLedgerHQ/ledger-live622—~800Automated safety check: PassMIT
React State Managementinvolvex/youtube-music-cli45613 repos~3kAutomated safety check: PassMIT
Frontendredis/RedisInsight8.9k—~3.2kAutomated safety check: PassCustom licence
Reactvalkey-io/valkey-admin148—~766Automated safety check: PassApache-2.0
Nekocap Redux Featurenopol10/nekocap105—~939Automated safety check: PassGPL-3.0
React ExpertJeffallan/claude-skills12k—~1.4kAutomated safety check: PassMIT

Similar skills

  • React State Management

    involvex/youtube-music-cli

    Master modern React state management with Redux Toolkit, Zustand, Jotai, and React Query.

    456 GitHub starsUsed in 13 repos~3k tokens
    Frontend & DesignAuto-check passed
  • Frontend

    redis/RedisInsight

    Official

    React/Redux frontend development patterns for RedisInsight UI: component folder structure, styled-components, hooks, named exports, barrel files, layout components, and theme usage.

    8.9k GitHub stars~3.2k tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • React

    valkey-io/valkey-admin

    Guidance for React frontend work. An agent skill from valkey-io/valkey-admin.

    148 GitHub stars~766 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Nekocap Redux Feature

    nopol10/nekocap

    A skill your agent uses when adding or modifying a Redux feature folder in the nekocap frontend — creating slices, writing sagas, defining selectors, changing persisted state shape, or touching…

    105 GitHub stars~939 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • React Expert

    Jeffallan/claude-skills

    Builds React 19 components in TypeScript with Server Components, useActionState forms, custom hooks and state libraries, checked with tsc and React Testing Library.

    12k GitHub stars~1.4k tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Sentry React SDK

    getsentry/sentry-for-ai

    Official

    Full Sentry SDK setup for React. An agent skill from getsentry/sentry-for-ai.

    268 GitHub stars~4.8k tokensUpdated today
    Frontend & DesignAuto-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

Works with

Questions about Client Ids

What does Client Ids do?

Privacy-protected ID management with @domain/entity-client-identity — DeviceId, UserId, DatadogId, export-rules.json. Client Ids is an agent skill from LedgerHQ/ledger-live.

When should I use Client Ids?

Client Ids fits situations like: frontend & Design work in your project.

How do I install Client Ids in Claude Code?

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

How do I install Client Ids in Codex?

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

Can I use Client Ids 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 client-ids -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/client-ids, .gemini/skills/client-ids, .github/skills/client-ids and .opencode/skills/client-ids in your project.

What does Client Ids need to run?

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

Does Client Ids access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Client Ids 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 Client Ids use?

Client Ids 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 Client Ids use?

About 800 tokens (SKILL.md is roughly 3.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 Client Ids?

Skills that share tags, products or a category with Client Ids: React State Management (involvex/youtube-music-cli, 456 stars), Frontend (redis/RedisInsight, 8.9k stars), React (valkey-io/valkey-admin, 148 stars) and Nekocap Redux Feature (nopol10/nekocap, 105 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Client Ids?

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.