ledger-live: Skill for Claude Code

.agents/skills/docs-update-or-create/SKILL.md

docs-update-or-create is a skill for Claude Code, Codex from LedgerHQ/ledger-live. It costs 43 tokens per session (656 once invoked), scanned A, original, MIT.

A guide for creating or updating repository documentation such as README files, documentation pages, and agent instruction files.

In plain words
What is it for?
Use it when deciding where new knowledge belongs, gathering existing guidance, writing repeatable workflows, or validating documentation changes.
Why use it?
It helps keep documentation short, discoverable, non-duplicated, and useful to both people and coding agents.

Skill for Claude CodeCodex

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

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/docs-update-or-create/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 docs-update-or-create

README.md
[![agentmods](https://agentmods.dev/badge/skills/ledgerhq/ledger-live/docs-update-or-create.svg)](https://agentmods.dev/skills/ledgerhq/ledger-live/docs-update-or-create)
Your own site
<a href="https://agentmods.dev/skills/ledgerhq/ledger-live/docs-update-or-create"><img src="https://agentmods.dev/badge/skills/ledgerhq/ledger-live/docs-update-or-create.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 656 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.00043 $0.00656
Opus 5 $0.00022 $0.00328
Sonnet 5 $0.00009 $0.00131
Haiku 4.5 $0.00004 $0.00066

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

Security

Grade A, and why

docs-update-or-create 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 7d 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/docs-update-or-create/SKILL.md · 84 lines

How it starts

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

Create or Update Docs

Create minimal docs, avoid duplication and make content discoverable. Treat docs for both human and AI agents together. Follow our principles of progressive disclosure, locality and canonicalization.

📝 Process to follow

  1. Understand the topic of knowledge and its purpose
  2. Gather existing knowledge on that topic
  3. Agree on the best format and location for it to live
  4. Write/update the files, inline with what's agreed
  5. Validate the results and refine as necessary

📜 Guidelines

These guidelines define some boundaries within which to operate. They do not dictate everything. Follow them, but also use judgement and creativity to find the best way to document knowledge in each case.

❌ BAD:

  • Avoid long files containing multiple levels of details
  • Avoid overloading context with rarely used knowledge
  • Avoid duplicating knowledge in multiple files
  • Avoid documenting community-obvious knowledge
  • Avoid preserving old structure for its own sake

✅ GOOD:

  • Add docs that measurably improve agent performance
  • Do document repeatable workflows, commands and behaviours
  • Capture what is peculiar to this repo, domain, or team
  • Only add docs that solve real problems
  • Delete files that have no unique value after changes
  • Use emojis, checkboxes and formatting sparingly to make docs more appealing

Keep it short

  • Keep it short and direct. Treat 100 lines as a target (not a hard limit)
  • Keep each file at one level of detail.
  • Link to narrower docs when detail must branch.
  • Use short inline examples when they replace explanation.
  • Link longer examples instead of embedding them.

Use frontmatter

  • Skill and agent definitions should use frontmatter to be discoverable by tools.
  • Frontmatter for READMEs is optional. If it's useful for you, include it
  • Tool-discoverable docs and skills should have name and description
  • Add allowed-tools, or compatibility only when they help.
  • Use disable-model-invocation: true for user-invoked skills (commands)
  • Use user-invocable: false for agent-only skills

Read the full file on GitHub · 84 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. 7d ago First seen · 84 lines · 43 tokens per session scan A 5e63c32491ed

Subscribe to this mod's changes

docs-update-or-create is a skill published in the GitHub repository LedgerHQ/ledger-live (616 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 656 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens