dr-revenue-trends

dr-revenue-trends is a skill for Claude Code from Datarails/dr-claude-code-plugins-re. It costs 40 tokens per session (5,390 once invoked), scanned A, original, MIT.

An analysis of monthly revenue totals over time, including growth, high and low months, category mix, and overall direction. It works with aggregated financial data from Datarails Finance OS.

In plain words
What is it for?
Use it to examine revenue growth, find peak and trough months, compare sub-categories, and assess whether revenue is rising, falling, or stable.
Why use it?
It turns monthly financial records into trends and comparisons without relying on a small sample of rows or requiring a separate setup step.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the datarails-financeos plugin — 18 skills, 4 commands shipped together

Good fit Use it to examine revenue growth, find peak and trough months, compare sub-categories, and assess whether revenue is rising, falling, or stable.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/datarails/dr-claude-code-plugins-re/revenue-trends
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 Datarails/dr-claude-code-plugins-re --skill revenue-trends
Clone the repo
git clone --depth 1 https://github.com/Datarails/dr-claude-code-plugins-re

Made for: Claude Code.

Or install datarails-financeos, the plugin that ships this one along with the rest of its 18 skills, 4 commands.

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 dr-revenue-trends

README.md
[![agentmods](https://agentmods.dev/badge/skills/datarails/dr-claude-code-plugins-re/revenue-trends/github.svg)](https://agentmods.dev/skills/datarails/dr-claude-code-plugins-re/revenue-trends)
Your own site
<a href="https://agentmods.dev/skills/datarails/dr-claude-code-plugins-re/revenue-trends"><img src="https://agentmods.dev/badge/skills/datarails/dr-claude-code-plugins-re/revenue-trends/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 dr-revenue-trends

Your own site · 80×15
<a href="https://agentmods.dev/skills/datarails/dr-claude-code-plugins-re/revenue-trends"><img src="https://agentmods.dev/badge/skills/datarails/dr-claude-code-plugins-re/revenue-trends.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,390 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.00040 $0.05390
Opus 5 $0.00020 $0.02695
Sonnet 5 $0.00008 $0.01078
Haiku 4.5 $0.00004 $0.00539

Measured 9d ago against content hash 60da547c66a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

dr-revenue-trends 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 9d 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.

skills/revenue-trends/SKILL.md · 326 lines

How it starts

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

Analyze revenue patterns over time using real aggregated monthly data — growth rates, peak/trough months, composition by sub-category, and overall direction. Built on the aggregation start→poll tools (start_aggregation_by_aliasget_aggregation_result_by_alias, or the by-id twins) — no row cap, real totals, not samples.

This skill is self-contained: it discovers the client's financials table and field names itself (Step 2). It does not depend on a saved profile, a learn step, or any prior setup — every Datarails environment names its table and fields differently, so discovery happens inline, once per conversation.

Workflow

Step 1: Verify Authentication

If a tool call fails with an auth or connection error, tell the user to connect via the Connectors UI ("+" → Connectors → Datarails → Connect), then stop.

Step 2: Discover the financials table and its fields

If you already discovered these earlier in THIS conversation, reuse them — skip to the next step. Discovery is cheap but not free; do it once per conversation, then carry the values forward.

  1. list_data_models. Pick the financials table: the one whose name (or alias) matches /financial|cube|p&?l|ledger|gl/i; if none match, the largest by row count. Note both its numeric id and its alias (the alias may be empty). Prefer the alias path when an alias exists — friendlier field names, far fewer tokens.

  2. Fields. If the table has an alias, list_aliased_fields(<alias>); otherwise get_fields_by_id(<financials_table_id>) (capture each field's numeric id — the by-id tools address fields by id). Bind these by case-insensitive match on the field alias/name (respecting the noted type):

    • <amount_field> — numeric: ^amount$transaction_amountvalue
    • <scenario_field> — categorical: ^scenario$^version$
    • <date_field> — date/timestamp: reporting_dateposting_date^date$
    • <account_l1_field>dr_acc_l1account_l1account_group_l1
    • <account_l2_field>dr_acc_l2account_l2 (optional, for --breakdown)

Read the full file on GitHub · 326 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. 9d ago First seen · 326 lines · 40 tokens per session scan A 60da547c66a7

Subscribe to this mod's changes

dr-revenue-trends is a skill published in the GitHub repository Datarails/dr-claude-code-plugins-re (3 stars, last pushed 10d ago), licensed MIT. It adds 40 tokens to every session and 5,390 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-31.

Related

Other skills, from other repositories