beancount-io: Skill for Claude Code

.agents/skills/rt-logic-bugfixer/SKILL.md

rt-logic-bugfixer is a skill for Claude Code from bex-co/beancount-io. It costs 153 tokens per session (1,234 once invoked), scanned A, original, MIT.

A maintenance routine for finding and fixing one difficult logic bug in a package within a monorepo, a repository that contains multiple related packages. It models edge cases such as state changes, dates, amounts, duplicate detection, and pagination, then adds a failing test before fixing the cause.

In plain words
What is it for?
Use it to investigate tricky business rules, prove a bug with a test, apply the smallest root-cause fix, and submit the change.
Why use it?
It turns complicated, easy-to-miss behavior into a specific reproducible failure instead of relying on guesswork. The test helps show that the fix matches the documented intent.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is bex-co/beancount-io's own configuration. It tells Claude Code how to work on beancount-io 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 beancount-io configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bex-co/beancount-io. 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/bex-co/beancount-io/main/.agents/skills/rt-logic-bugfixer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/bex-co/beancount-io

Made for: Claude Code.

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 rt-logic-bugfixer

README.md
[![agentmods](https://agentmods.dev/badge/skills/bex-co/beancount-io/rt-logic-bugfixer/github.svg)](https://agentmods.dev/skills/bex-co/beancount-io/rt-logic-bugfixer)
Your own site
<a href="https://agentmods.dev/skills/bex-co/beancount-io/rt-logic-bugfixer"><img src="https://agentmods.dev/badge/skills/bex-co/beancount-io/rt-logic-bugfixer/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 rt-logic-bugfixer

Your own site · 80×15
<a href="https://agentmods.dev/skills/bex-co/beancount-io/rt-logic-bugfixer"><img src="https://agentmods.dev/badge/skills/bex-co/beancount-io/rt-logic-bugfixer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,234 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.00153 $0.01234
Opus 5.5 $0.00061 $0.00494
Sonnet 5.5 $0.00031 $0.00247
Haiku 4.5 $0.00015 $0.00123

Measured yesterday against content hash 56a72fdfc215, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rt-logic-bugfixer 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.

.agents/skills/rt-logic-bugfixer/SKILL.md · 119 lines

How it starts

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

Task: Model tricky logic to find and fix provable bugs

Usage: /rt-logic-bugfixer [package-or-path]

Pick one unit of genuinely tricky logic, enumerate its states and edges, derive inputs that should break it, prove each bug with a failing test against documented intent, fix the root cause, and land via /land.

Contract

Read .agents/skills/rt-shared/contract.md first — preconditions, scope resolution, verify gates, land protocol, budget, universal STOPs. Floor even without it: never land red; one finding per landing; anything in a DO_NOT_DO.md is a hard STOP.

Workflow

1. Scope

Resolve scope per the contract.

2. Discover

Start with the ledger: a Deferred entry under rt-logic-bugfixer is a suspected bug another routine handed over, and it comes before a new hunt.

Otherwise pick one tricky unit — the kinds this repo actually has: auth/session state machines, date and period arithmetic, amount sign conventions, dedup/fuzzy-match windows, pagination cursors, cache invalidation, balance computation. The richest kind is two things that must agree: a ranking and the rule its comment promises, a client-side check and the server rule it mirrors, an export and what the screen shows, a preview and the write it previews, the CLI engine and its mirrored frontend copy. Check the pair against each other on the edges. Then model it explicitly: list every state, transition, and edge (empty input, boundary dates, negative amounts, timezone/DST edges, off-by-one windows, concurrent transitions). From the model, derive candidate-breaking inputs.

3. Prove it

A bug exists only when you have both:

  1. A failing test against current code for a derived input, and
  2. Documented intent the behavior diverges from — code comments, docs, AGENTS.md guidance, beancount semantics, ADRs, or the git history of the unit.

Reproducible crashes found while modeling count as provable bugs (crashing is never the documented intent). If the intent is genuinely ambiguous — the test pins a choice nobody has made — STOP for that finding and report the ambiguity instead of landing an opinion.

Read the full file on GitHub · 119 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. yesterday First seen · 119 lines · 153 tokens per session scan A 56a72fdfc215

Subscribe to this mod's changes

rt-logic-bugfixer is a skill published in the GitHub repository bex-co/beancount-io (808 stars, last pushed yesterday), licensed MIT. It adds 153 tokens to every session and 1,234 once invoked, about $0.0006 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-12-01.

Related

rt-logic-bugfixer compared with skills from other repositories

rt-logic-bugfixer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rt-logic-bugfixerbex-co/beancount-ioSkill808yesterdayMITA153Claude Code
bookkeepingericrisco/rsc-harnessSkill695yesterdayMITA84Claude Code, Codex
test-hang-watchdogniki914/zafiroSkill4064d agoMITA66Claude Code, Codex
rledgerrustledger/rustledgerSkill442todayGPL-3.0A117Claude Code, Codex
countbean-accountingCPUtester5465/countbean-pluginSkill211mo agoMITA54Claude Code
full-engagement-pipelinecynco-labs/ai-accounting-skillsSkill64mo agoMITA56Claude Code
smart-intakecynco-labs/ai-accounting-skillsSkill64mo agoMITA47Claude Code