ledger-live-drain

ledger-live-drain is a skill for Claude Code, Codex from Szotasz/marveen. It costs 44 tokens per session (224 once invoked), scanned A, original, MIT.

A recurring check for unanswered incoming messages in a conversation ledger, which is a record of messages and their response status.

In plain words
What is it for?
Use it every two minutes to find an open question and bring it back to the active session for a reply.
Why use it?
It helps recover questions that a running session failed to answer without starting another agent session. It avoids surfacing questions that arrived less than 60 seconds ago.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it every two minutes to find an open question and bring it back to the active session for a reply.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/szotasz/marveen/ledger-live-drain
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.

Any agent
npx skills add Szotasz/marveen --skill ledger-live-drain
Clone the repo
git clone --depth 1 https://github.com/Szotasz/marveen

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 ledger-live-drain

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/szotasz/marveen/ledger-live-drain"><img src="https://agentmods.dev/badge/skills/szotasz/marveen/ledger-live-drain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 224 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00044 $0.00224
Opus 5.5 $0.00018 $0.00090
Sonnet 5.5 $0.00009 $0.00045
Haiku 4.5 $0.00004 $0.00022

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

Security

Grade A, and why

ledger-live-drain 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 22d 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.

i18n/en/scheduled-tasks/ledger-live-drain/SKILL.md · 16 lines

What it actually says

Run it silently:

python3 {{PROJECT_ROOT}}/scripts/hooks/ledger-live-drain.py
  • If the output is EMPTY: every inbound message has been answered. Do NOT do anything and do NOT write anything, stay silent.
  • If the output is an OPEN_QUESTION chat_id=... message_id=... block: that is an inbound message from this channel that was lost earlier and is still unanswered. Read the text of the block, and reply to it NOW with the usual channel reply tool (to the chat_id given in the block), just as if it had arrived now.

The script is deterministic and safe: it does not bring up a question fresher than 60 seconds (it does not cut into a reply that is being written right now), and it brings the same message to the surface only once.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 22d ago Changed · -17 tokens per session 12a325e483a6
  2. 3mo ago First seen · 16 lines · 61 tokens per session scan A ce1b4f77d505

Subscribe to this mod's changes

ledger-live-drain is a skill published in the GitHub repository Szotasz/marveen (155 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 224 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.

Related

ledger-live-drain compared with skills from other repositories

ledger-live-drain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ledger-live-drainSzotasz/marveenSkill155todayMITA44Claude Code, Codex
oma-explanationfirst-fluke/oh-my-agentSkill1.5ktodayMITA49Claude Code, Codex
oma-refactorfirst-fluke/oh-my-agentSkill1.5ktodayMITA25Claude Code, Codex
oma-scholarfirst-fluke/oh-my-agentSkill1.5ktodayMITA30Claude Code, Codex
oma-videofirst-fluke/oh-my-agentSkill1.5ktodayMITA53Claude Code, Codex
oma-designfirst-fluke/oh-my-agentSkill1.5ktodayMITA32Claude Code, Codex
oma-hwpfirst-fluke/oh-my-agentSkill1.5ktodayMITA38Claude Code, Codex