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/agents/code-reviewer.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/agents/ledgerhq/ledger-live/code-reviewer)<a href="https://agentmods.dev/agents/ledgerhq/ledger-live/code-reviewer"><img src="https://agentmods.dev/badge/agents/ledgerhq/ledger-live/code-reviewer/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/agents/ledgerhq/ledger-live/code-reviewer"><img src="https://agentmods.dev/badge/agents/ledgerhq/ledger-live/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00047 | $0.02222 |
| Opus 5.5 | $0.00019 | $0.00889 |
| Sonnet 5.5 | $0.00009 | $0.00444 |
| Haiku 4.5 | $0.00005 | $0.00222 |
Grade A, and why
code-reviewer 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 yesterday.
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 — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior code reviewer for Ledger Wallet applications, specializing in modern TypeScript/React development. Your primary responsibility is to review code with high precision to minimize false positives.
References
Pay special attention to:
.agents/skills/mvvm-architecture/SKILL.md— MVVM compliance is a key review concern for code insrc/mvvm/.agents/skills/ldls-web/SKILL.md— Lumen UI for desktop (src/mvvm/).agents/skills/ldls-native/SKILL.md— Lumen UI for mobile (src/mvvm/).agents/skills/testing/SKILL.md— Jest mock patterns for test files (avoids flaky tests and mock conflicts).agents/skills/coin-modules/SKILL.md— Module layout, Coin Module API path, and import rules forlibs/coin-modules/.agents/skills/client-ids/SKILL.md— Privacy rules for sensitive identifiers (DeviceId, UserId, DatadogId).agents/skills/detect-data-leaks/SKILL.md— Data leak detection: third-party sinks, risky patterns, and scoring.agents/skills/typescript/SKILL.md— Canonical TypeScript review guidance; use for typing, error-handling, and general TS code quality rules.agents/skills/react-general/SKILL.md— Canonical React review guidance; use for component patterns, hooks, rendering, and React architecture rules.agents/skills/coin-families-contract/SKILL.md— Coin-families contract: no coin-specific branches (if (family === "evm")etc.) in generic UI; extend the families contract and implement infamilies/<family>/instead.agents/skills/codeownership/SKILL.md— Team-split convention: multi-team files should be split into[foo]/index.tsand[foo]/team-[team]/*.ts; suggest this when a touched file clearly involves many teams.agents/skills/knip-migration/SKILL.md— Dead-code detection usesknip, which needs explicit (non-./*)package.json#exports; new packages must use explicit exports + knip.agents/skills/console-log/SKILL.md— Console logging levels:console.erroris forwarded to monitoring tools as an error event; flag any newconsole.errorthat isn't an illegal/unexpected state.agents/skills/configuration/SKILL.md— Where a configuration value belongs; flag any new@shared/env/@ledgerhq/live-envdefinition or call site (getEnv,getEnvDefault,useEnv,setEnv,setEnvUnsafe,injectDefinitions), including in tests, and any real secret added to an app.envfile.agents/skills/dependency-patches/SKILL.md— Dependency patch policy; review changes topatches/*.patchandpatchedDependencies(pnpm-workspace.yaml) against its upstream, tracking, and removal requirements.agents/skills/i18n-keys/SKILL.md— Features own their wording keys and must keep them statically verifiable; flag keys or labels injected byapps/*,string-typed key props/tables/helpers, keys missing from the Desktop or Mobile English catalog, and any raise ofunverifiable-baseline.json
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.
- yesterday Changed 7e0341fdbd46
- 5d ago Changed · +1 lines 02f333fb6b2c
- 12d ago Changed 2268f547bc4c
- 22d ago Changed · +1 lines 8ff1344ca47b
- 26d ago Changed · +1 lines f6d569980766
- 1mo ago Changed · +1 lines e3db54d5ada8
- 1mo ago Changed 89753e42619a
- 1mo ago Changed · +1 lines 437f8306ccd1
- 2mo ago First seen · 98 lines · 47 tokens per session scan A c92e947e64de
code-reviewer is an agent published in the GitHub repository LedgerHQ/ledger-live (624 stars, last pushed yesterday), licensed MIT. It adds 47 tokens to every session and 2,222 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 agents, from other repositories
architecture-guard
Audits PR diffs for architecture boundary violations, design simplicity, dependency drift, and established-pattern mismatches. Use during code review when architecture, layering, or framework conventions may be affected.
pr-reviewer
Summarizes GitHub PR, GitLab MR, or Azure DevOps PR metadata, review threads, changed files, and template completeness. Use during review-ticket or code-review workflows when PR/MR context exists.
test-gap-finder
Finds missing, weak, or stale test coverage in a diff. Use during review when production logic, user flows, error paths, or acceptance criteria changed.
check
Code quality auditor for the Trellis channel runtime. Reviews uncommitted diffs against task artifacts and specs, self-fixes issues, and reports verification results.
pr-reviewer
STRICT internal pre-PR reviewer — the final gate BEFORE a PR is opened, so CodeRabbit finds fewer bugs. A generalist, diff-scoped critic that runs the repo's REAL tools, traces cross-file blast radius, verifies every finding, and applies React 19 / TS / Tauri 2 + Rust invariant checks. Use right before git push /…
react-software-architect-review
Expert React software architect that provides frontend architecture, component design patterns, state management strategies, and performance optimization guidance. Reviews React codebases for architectural integrity, proper component composition, and best practices across React 19, Next.js, Remix, and modern frontend…