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/e2e-swap/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/e2e-swap)<a href="https://agentmods.dev/skills/ledgerhq/ledger-live/e2e-swap"><img src="https://agentmods.dev/badge/skills/ledgerhq/ledger-live/e2e-swap/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/e2e-swap"><img src="https://agentmods.dev/badge/skills/ledgerhq/ledger-live/e2e-swap.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.00061 | $0.00854 |
| Opus 5.5 | $0.00024 | $0.00342 |
| Sonnet 5.5 | $0.00012 | $0.00171 |
| Haiku 4.5 | $0.00006 | $0.00085 |
Grade A, and why
e2e-swap 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 14d 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 — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Swap E2E Skill
Writing rules: when editing desktop, follow Desktop E2E. When editing mobile, follow Mobile E2E.
Use this skill when
- Updating swap tests in
e2e/desktopore2e/mobile. - Refactoring swap page objects or moving reusable flow logic out of specs.
- Fixing PR review comments about dead code, selector ownership, brittle amounts, or multi-step approval assertions.
Current source of truth
- Desktop specs:
e2e/desktop/tests/specs/*swap*.spec.ts - Desktop swap shared utils:
e2e/desktop/tests/utils/swapUtils.ts - Desktop page objects:
e2e/desktop/tests/page/swap.page.ts— swap webview.e2e/desktop/tests/page/drawer/swap.confirmation.drawer.ts— main window.
- Mobile builders/specs:
e2e/mobile/specs/swap/otherTestCases/swap.other.tse2e/mobile/specs/swap/**/*.spec.ts
- Mobile page objects:
e2e/mobile/page/liveApps/swapLiveApp.tse2e/mobile/page/trade/swap.page.ts
Swap rules
- Reuse
selectSpecificProvider(...)before adding a new provider helper. - Assert what the UI shows. Do not assert swap state by reading another repo on disk.
- Fragile amounts come from the provider minimum, not a hardcoded value:
app.swap.getMinimumAmount(...)(desktop)app.swapLiveApp.getMinimumAmount(...)(mobile)
Desktop API
Quote selection takes a SwapProvider. SwapProvider.CHANGELLY is disabled.
performSwapUntilQuoteSelectionStep({ app, swap, minAmount })app.swap.selectSpecificProvider(provider)await app.swap.getAmountToSend()only when a later assertion needs the amount
selectSpecificProvider and getAmountToSend do not take electronApp.
Do not reintroduce removed helpers:
checkBannerVisibility(...)verifyContinueButtonVisible()on the desktop swap pageselectProviderQuoteWithRetry(...)in swap utils
Mobile API
Quote selection uses the provider UI name:
performSwapUntilQuoteSelectionStep(...)app.swapLiveApp.selectSpecificProvider(provider.uiName)await app.swapLiveApp.getAmountToSend()only when a later assertion needs the amount
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.
- 14d ago Changed · -41 lines 3602a216422b
- 2mo ago First seen · 120 lines · 61 tokens per session scan A 842f24de3573
e2e-swap is a skill published in the GitHub repository LedgerHQ/ledger-live (624 stars, last pushed yesterday), licensed MIT. It adds 61 tokens to every session and 854 once invoked, about $0.0002 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-08-30.
Other skills, from other repositories
test-master
Generates test files, creates mocking strategies, analyzes code coverage, designs test architectures, and produces test plans and defect reports across functional, performance, and security testing disciplines. Use when writing unit tests, integration tests, or E2E tests; creating test strategies or automation…
cua-driver
Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.
test-warp-ui
Guides testing Warp UI features and changes using the computer use tool. Use this skill only when computer-use testing was requested (explicit request or accepted offer) and the computeruse tool is available to the agent. Covers launching Warp and verifying UI behavior.
test-electron-app
Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…
test-loop
Plan, generate, and heal an executable E2E test suite from approved acceptance criteria (web and mobile).
playwright-verifier
Internal helper: re-run targeted scans to confirm a fix works at runtime.