ledger-live: Skill for Claude Code

.agents/skills/ci-workflow-refs/SKILL.md

ci-workflow-refs is a skill for Claude Code, Codex from LedgerHQ/ledger-live. It costs 88 tokens per session (696 once invoked), scanned A, original, MIT.

A guide for handling GitHub Actions workflows that call reusable workflows or shared actions from another branch. A workflow is an automated build or deployment process, and a reusable workflow is one that other workflows call.

In plain words
What is it for?
Review or change reusable workflows and composite actions while keeping builds, tests, and releases compatible across branches.
Why use it?
It prevents automation from using newer workflow files with older code, which can cause missing scripts, projects, inputs, or files on release and maintenance branches.

Skill for Claude CodeCodex

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

This is LedgerHQ/ledger-live's own configuration. It tells Claude Code and Codex how to work on ledger-live itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ledger-live configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/LedgerHQ/ledger-live/develop/.agents/skills/ci-workflow-refs/SKILL.md
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 ci-workflow-refs

README.md
[![agentmods](https://agentmods.dev/badge/skills/ledgerhq/ledger-live/ci-workflow-refs/github.svg)](https://agentmods.dev/skills/ledgerhq/ledger-live/ci-workflow-refs)
Your own site
<a href="https://agentmods.dev/skills/ledgerhq/ledger-live/ci-workflow-refs"><img src="https://agentmods.dev/badge/skills/ledgerhq/ledger-live/ci-workflow-refs/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.

agentmods 80×15 button for ci-workflow-refs

Your own site · 80×15
<a href="https://agentmods.dev/skills/ledgerhq/ledger-live/ci-workflow-refs"><img src="https://agentmods.dev/badge/skills/ledgerhq/ledger-live/ci-workflow-refs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 696 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00088 $0.00696
Opus 5.5 $0.00035 $0.00278
Sonnet 5.5 $0.00018 $0.00139
Haiku 4.5 $0.00009 $0.00070

Measured 6d ago against content hash b511670d71fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ci-workflow-refs 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/ci-workflow-refs/SKILL.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CI Workflow Refs (split brain)

How it runs

  • Root workflows (build-and-test-push.yml, build-and-test-pr.yml, merge-queue.yml, release-*.yml) run from the triggering commit's YAML.
  • Children are pinned: uses: LedgerHQ/ledger-live/.github/workflows/<x>-reusable.yml@develop and LedgerHQ/ledger-live/tools/actions/...@develop. They always run develop's YAML.
  • Checkout uses github.sha (or inputs.ref), so the code, package.json scripts and Nx projects come from the caller's branch.

On develop the two match. On release, hotfix, main and PRs targeting them, the code can be weeks or months older than the YAML running against it.

What breaks

A child workflow or action on develop can only rely on what exists on every branch that calls it:

  • ❌ A new step running pnpm <new-script>, nx run <new-project>:<target> or a new file path. It fails on release/hotfix, where the script or project doesn't exist yet.
  • ❌ A new required input on a reusable workflow. Older root workflows don't pass it.
  • ❌ Removing or renaming an input or output. Older callers still pass or read it.
  • ❌ Changing a composite action's inputs in a way older callers can't satisfy.

Release and hotfix pipelines are the worst place to find this out.

Do this instead

  • Prefer pnpm exec nx run-many -t <target> -p <project>. It is a no-op when the project is absent (see test-boundaries-reusable.yml). Leave a comment saying why.
  • Guard steps on presence, e.g. if: hashFiles('path/to/new/config') != '', or check in the script before running it.
  • Give new inputs a default and keep them optional. Deprecate inputs before removing them, and remove them only after release and hotfix have caught up.
  • To make a new check mandatory everywhere, land the code first, then wire it into the root workflow (which runs at the commit) rather than the @develop child. Or wait until the change has reached main before you make the child depend on it.
  • Composite actions are local to the repo, but @develop pins them the same way, so the same rules apply.

Read the full file on GitHub · 40 lines

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 · 40 lines · 88 tokens per session scan A b511670d71fd

Subscribe to this mod's changes

ci-workflow-refs is a skill published in the GitHub repository LedgerHQ/ledger-live (624 stars, last pushed yesterday), licensed MIT. It adds 88 tokens to every session and 696 once invoked, about $0.0004 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-10-23.