run-tests

run-tests is a skill for Claude Code, Codex from LedgerHQ/ledger-live. It costs 32 tokens per session (175 once invoked), scanned A, original, MIT.

A test-running guide that checks only the files changed on the current code branch. A branch is a separate line of development used to make and review changes.

In plain words
What is it for?
Use it to validate changed files before a pull request, map files to the right project test command, and report passing suites or failures.
Why use it?
It avoids running the entire test suite when only a small part of the project changed, while still reporting and fixing failures one at a time.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/ledgerhq/ledger-live/run-tests
Any agent
npx skills add LedgerHQ/ledger-live --skill run-tests
Clone the repo
git clone --depth 1 https://github.com/LedgerHQ/ledger-live

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for run-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/ledgerhq/ledger-live/run-tests.svg)](https://agentmods.dev/skills/ledgerhq/ledger-live/run-tests)
Your own site
<a href="https://agentmods.dev/skills/ledgerhq/ledger-live/run-tests"><img src="https://agentmods.dev/badge/skills/ledgerhq/ledger-live/run-tests.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 175 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00175
Opus 5 $0.00016 $0.00088
Sonnet 5 $0.00006 $0.00035
Haiku 4.5 $0.00003 $0.00017

Measured 6d ago against content hash 7c588958ae08, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

run-tests 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 6d 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.

.agents/skills/run-tests/SKILL.md · 22 lines

What it actually says

Run Tests

Run tests only on files touched in this branch:

git diff --name-only develop..HEAD

Map to scope:

  • apps/ledger-live-desktop/pnpm desktop test:jest "path/to/file"
  • apps/ledger-live-mobile/pnpm mobile test:jest "path/to/file"
  • libs/<name>/pnpm --filter <package-name> test "path/to/file"

Fix failures one at a time — never skip or comment out a test.

Report: ✅ X suites pass or ❌ failure in ... → Fixed: [description]

Changes

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.

  1. 6d ago First seen · 22 lines · 32 tokens per session scan A 7c588958ae08

Subscribe to this mod's changes

run-tests is a skill published in the GitHub repository LedgerHQ/ledger-live (616 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 175 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

migrate-xunit-to-xunit-v3

Migrate .NET test projects from xUnit.net v2 to xunit.v3 and fix v3 breaks. Use for package/CPM conversion, OutputType=Exe, preserving the VSTest or MTP runner (including projects currently using YTest.MTP.XUnit2), incompatible TFMs, async void tests, string-to-Type attributes, custom Fact/Theory/BeforeAfterTest…

dotnet/skills · 149 tokens

go-testing

Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.

Gentleman-Programming/gentle-ai · 26 tokens

detect-flaky-tests

Detects flaky Go tests by analyzing GitHub Actions workflow runs across the last 7 days and all PRs — covering both the run-tests job (unit/integration) and the e2e-test job (gVisor and microVM lanes). For each newly-detected flaky test or infra issue, opens a GitHub issue with full evidence and a draft fix PR. Does…

agent-substrate/substrate · 102 tokens

nw-fp-clojure

Clojure language-specific patterns, data-first modeling, REPL-driven development, and spec.

nWave-ai/nWave · 25 tokens

mobiai-ios-testing

Use when writing or running tests in an iOS project — unit tests, UI tests, snapshot tests, choosing the right framework.

ArisGuimera/MobiAI-Core · 31 tokens

testing-llm

LLM and AI testing patterns — mock responses, evaluation with DeepEval/RAGAS, structured output validation, and agentic test patterns (generator, healer, planner). Use when testing AI features, validating LLM outputs, or building evaluation pipelines.

yonatangross/orchestkit · 55 tokens