beancount-io: Skill for Claude Code

.agents/skills/rt-shipped-feature-inliner/SKILL.md

rt-shipped-feature-inliner is a skill for Claude Code from bex-co/beancount-io. It costs 146 tokens per session (917 once invoked), scanned A, original, MIT.

A maintenance routine for removing obsolete feature gates from a monorepo package. A feature gate is a flag or condition that chooses between old and new behavior; this routine removes it only after confirming every environment already chooses the same path.

In plain words
What is it for?
Use it to remove finished feature flags, environment switches, route guards, and their unused code paths after checking deployment settings and readers.
Why use it?
Old flags leave dead branches and configuration that people must understand and maintain. It also distinguishes forgotten gates from switches that are still intentionally controlled.

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-shipped-feature-inliner/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-shipped-feature-inliner

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bex-co/beancount-io/rt-shipped-feature-inliner"><img src="https://agentmods.dev/badge/skills/bex-co/beancount-io/rt-shipped-feature-inliner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 917 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.00146 $0.00917
Opus 5.5 $0.00058 $0.00367
Sonnet 5.5 $0.00029 $0.00183
Haiku 4.5 $0.00015 $0.00092

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

Security

Grade A, and why

rt-shipped-feature-inliner 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-shipped-feature-inliner/SKILL.md · 94 lines

How it starts

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

Task: Remove gates for fully shipped features

Usage: /rt-shipped-feature-inliner [package-or-path]

Find a flag whose decision has already been made everywhere, prove it is forgotten rather than deliberate, inline the path it always takes, delete the other branch and the flag definition, 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

Grep the package for gate shapes:

  • mobile/src/config.ts → config.features.* compile-time constants
  • process.env.* used as a boolean switch; values seeded in .env.example and deploy configs (deploy/, root bex.yaml)
  • is*Enabled / enable* booleans, route guards, early returns on a config value

3. Prove it — deliberate gate vs forgotten flag (mandatory triage)

A flag is only a finding when all of these hold:

  1. It holds one value in every environment: grep every setter and reader, .env.example, deploy configs — no environment or code path flips it.
  2. Nothing marks it deliberate: check root .pm/DO_NOT_DO.md, the package's .pm/DO_NOT_DO.md, docs/adrs/, and code comments at the definition.
  3. git log on its introduction and last value change shows it has sat at its final value for a while, with no sign of a pending decision.

Any evidence of intent → not a finding; note it as skipped.

4. Fix

Inline the path the flag always takes. Delete: the now-dead branch, the flag definition, its plumbing (props/params that only carried it), and tests that only exercised the removed branch. Update tests that asserted the flag's value to assert the now-unconditional behavior. Never change the flag's value on the way out — inline only flags already at their final value.

5. Verify

Read the full file on GitHub · 94 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 · 94 lines · 146 tokens per session scan A b4093b9181f9

Subscribe to this mod's changes

rt-shipped-feature-inliner is a skill published in the GitHub repository bex-co/beancount-io (808 stars, last pushed yesterday), licensed MIT. It adds 146 tokens to every session and 917 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-shipped-feature-inliner compared with skills from other repositories

rt-shipped-feature-inliner next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rt-shipped-feature-inlinerbex-co/beancount-ioSkill808yesterdayMITA146Claude Code
bookkeepingericrisco/rsc-harnessSkill695yesterdayMITA84Claude Code, Codex
rledgerrustledger/rustledgerSkill442todayGPL-3.0A117Claude Code, Codex
countbean-accountingCPUtester5465/countbean-pluginSkill211mo agoMITA54Claude Code
ledger-revieweternal-roman/ledgerSkill13d agoMITA42Claude Code
full-engagement-pipelinecynco-labs/ai-accounting-skillsSkill64mo agoMITA56Claude Code
smart-intakecynco-labs/ai-accounting-skillsSkill64mo agoMITA47Claude Code