Recursive Decision Ledger
affaan-m/ECC
Run repeated rollouts ("Prime Gauss" style recursive prompting) while keeping an append-only decision ledger of trials, marks, coherence checks, and promotion gates, so recursive confidence never…
How to define and check error classes in Ledger Live. An agent skill from LedgerHQ/ledger-live.
$ npx skills add LedgerHQ/ledger-live --skill errors -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LedgerHQ/ledger-live errors --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LedgerHQ/ledger-live.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/errors .claude/skills/errors && rm -rf skills-srcUse ~/.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/
Install the "errors" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/errors into .claude/skills/errors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "errors", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/errorsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LedgerHQ/ledger-live --skill errors -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LedgerHQ/ledger-live errors --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LedgerHQ/ledger-live.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/errors .agents/skills/errors && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "errors" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/errors into .agents/skills/errors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "errors", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LedgerHQ/ledger-live --skill errors -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LedgerHQ/ledger-live errors --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LedgerHQ/ledger-live.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/errors .cursor/skills/errors && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "errors" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/errors into .cursor/skills/errors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "errors", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LedgerHQ/ledger-live.git --path .agents/skills/errors--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LedgerHQ/ledger-live --skill errors -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LedgerHQ/ledger-live errors --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LedgerHQ/ledger-live.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/errors .gemini/skills/errors && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "errors" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/errors into .gemini/skills/errors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "errors", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LedgerHQ/ledger-live errorsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LedgerHQ/ledger-live --skill errors -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LedgerHQ/ledger-live.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/errors .github/skills/errors && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "errors" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/errors into .github/skills/errors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "errors", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LedgerHQ/ledger-live --skill errors -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LedgerHQ/ledger-live errors --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LedgerHQ/ledger-live.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/errors .opencode/skills/errors && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "errors" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/errors into .opencode/skills/errors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "errors", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
errorsHow to define and check error classes in Ledger Live. An agent skill from LedgerHQ/ledger-live.
Errors is an agent skill from LedgerHQ/ledger-live. How to define and check error classes in Ledger Live. Read when adding a new error, creating an errors.ts file, or checking an error's type.
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.
The repository describes itself as: Mono-repository for Ledger Wallet apps and related packages. The licence is MIT.
Read from SKILL.md and the folder at commit 30d7883. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Errors loads about 801 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 228 words of instructions outside code blocks.
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.
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.
The full file from LedgerHQ/ledger-live at commit 30d7883, republished under its MIT licence (© LedgerHQ). 228 words, ~801 tokens.
.claude/skills/errors/SKILL.md (or your agent's skills folder).Each package owns its errors in its own src/errors.ts, as plain native classes.
There is no shared errors lib: the former @ledgerhq/errors package has been removed.
A package groups its errors in src/errors.ts. Extend Error directly and set a
stable name. The name string is the contract — keep it stable, it is what
survives across process/serialization boundaries.
// message-only
export class FooNotFound extends Error {
override name = "FooNotFound";
}
// with a default message
export class InvalidChallenge extends Error {
override name = "InvalidChallenge";
constructor() {
super("backend returned an invalid challenge");
}
}
// with extra fields
export class HttpError extends Error {
override name = "HttpError";
readonly status: number | undefined;
constructor(message: string, status?: number) {
super(message);
this.status = status;
}
}Group a family under a per-package base class so callers can catch the whole set:
export class WalletAuthError extends Error {
override name = "WalletAuthError";
}
export class WalletAuthSignatureError extends WalletAuthError {
override name = "WalletAuthSignatureError";
constructor(cause: unknown) {
super("failed to sign challenge", { cause });
}
}See libs/ledger-auth/src/errors.ts for a full reference.
causeUse the native second argument: super(message, { cause }). Error cause was
standardized in ES2022 and is supported by modern runtimes; its TypeScript typing
(ErrorOptions) requires lib: es2022.error (i.e. es2022). Coin modules and
some older packages still target es2020 — there, declare and assign manually:
export class BroadcastError extends Error {
override name = "BroadcastError";
cause?: unknown;
constructor(message: string, cause?: unknown) {
super(message);
this.cause = cause;
}
}error.namePrefer error.name === "FooNotFound" over instanceof FooNotFound.
instanceof breaks once an error crosses a boundary — desktop/mobile IPC, worker
messaging, or the external @ledgerhq/coin-module-framework — because the object
is rebuilt and loses its prototype. The name string always survives.
// ✅ survives serialization
if (error instanceof Error && error.name === "FooNotFound") { … }
// ⚠️ only works in-process, before any serialization
if (error instanceof FooNotFound) { … }Use instanceof only when you are certain the error has not crossed a boundary
(e.g. caught in the same module that threw it) and you need the typed fields.
src/errors.ts.src/errors.ts (apps/ledger-live-desktop,
apps/ledger-live-mobile).libs/ledger-wallet-framework/src/errors.ts
(@ledgerhq/ledger-wallet-framework/errors), the shared home below the coin layer.© LedgerHQ, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/errors of LedgerHQ/ledger-live.
Open the folder on GitHubat commit 30d7883
Errors 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Errors this skillLedgerHQ/ledger-live | 622 | — | ~801 | Automated safety check: Pass | MIT | |
| Recursive Decision Ledgeraffaan-m/ECC | 275k | 1 repos | ~701 | Automated safety check: Pass | MIT | |
| Party Ledger Reconciliationsickn33/agentic-awesome-skills | 47k | 1 repos | ~5.2k | Automated safety check: Pass | MIT | |
| Defining Clos Classesultralisp/ultralisp | 258 | — | ~1k | Automated safety check: Pass | None | |
| Ledgeralsk1992/CloddsBot | 2.9k | — | ~134 | Automated safety check: Pass | MIT | |
| Tabler Class Reference Tablestabler/tabler | 42k | — | ~1.4k | Automated safety check: Pass | MIT |
affaan-m/ECC
Run repeated rollouts ("Prime Gauss" style recursive prompting) while keeping an append-only decision ledger of trials, marks, coherence checks, and promotion gates, so recursive confidence never…
sickn33/agentic-awesome-skills
Party ledger reconciliation: party type, name and PAN/VAT, ledger against statement balance, difference and reason, duplicates, confirmation status and adjustment.
ultralisp/ultralisp
A skill your agent uses when defining CLOS classes and their constructors in Common Lisp, adding an optional slot to an existing class, or converting a defstruct to a defclass — especially when…
alsk1992/CloddsBot
Trade decision audit trail and statistics. An agent skill from alsk1992/CloddsBot.
tabler/tabler
Writes or updates the classnames front matter that renders the class table at the end of a Tabler component docs page.
sickn33/agentic-awesome-skills
Use YYLO Ledger task management: create, list, search, get, mark, update, archive, deps, ready, order and merge with dependencies.
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…
LedgerHQ/ledger-live
Write, review or debug a cloudSyncModule.ts — a CloudSyncDataManager that syncs one slice of user data through Ledger Sync (Cloud Sync).
LedgerHQ/ledger-live
Maintain CODEOWNERS file and team directories. An agent skill from LedgerHQ/ledger-live.
LedgerHQ/ledger-live
Coin-specific families logic must live in families/. An agent skill from LedgerHQ/ledger-live.
LedgerHQ/ledger-live
Structure a Ledger Wallet data layer where one API response serves several entities.
LedgerHQ/ledger-live
Investigate native React Native crashes (Fabric/Hermes/iOS) in ledger-live-mobile when JS error logs are missing or unhelpful.
How to define and check error classes in Ledger Live. An agent skill from LedgerHQ/ledger-live. Errors is an agent skill from LedgerHQ/ledger-live. How to define and check error classes in Ledger Live.
Run `npx skills add LedgerHQ/ledger-live --skill errors -a claude-code`. Or copy the skill folder (.agents/skills/errors in LedgerHQ/ledger-live) into .claude/skills/errors in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LedgerHQ/ledger-live --skill errors -a codex`. Or copy the skill folder (.agents/skills/errors in LedgerHQ/ledger-live) into .agents/skills/errors in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LedgerHQ/ledger-live --skill errors -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/errors, .gemini/skills/errors, .github/skills/errors and .opencode/skills/errors in your project.
SKILL.md names no scripts, command-line tools or credentials: Errors is instructions for the agent only.
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.
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.
Errors is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 801 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.
Skills that share tags, products or a category with Errors: Recursive Decision Ledger (affaan-m/ECC, 275k stars), Party Ledger Reconciliation (sickn33/agentic-awesome-skills, 47k stars), Defining Clos Classes (ultralisp/ultralisp, 258 stars) and Ledger (alsk1992/CloddsBot, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
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.