compte-de-resultat

compte-de-resultat is a skill for Claude Code from WellApp-ai/Well. It costs 55 tokens per session (555 once invoked), scanned A, original, MIT.

A report of a business's income, expenses, and resulting profit or loss for a chosen period, built from posted accounting records in Well.

In plain words
What is it for?
Use it to query Well's accounting data, group revenue and expenses by account, and calculate the net result for a period.
Why use it?
It avoids calculating results from raw invoices alone, which can miss accounting classifications, accruals, or payments already recorded in the ledger.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the well plugin — 9 skills, 1 hook shipped together

Good fit Use it to query Well's accounting data, group revenue and expenses by account, and calculate the net result for a period.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wellapp-ai/well/compte-de-resultat
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 WellApp-ai/Well --skill compte-de-resultat
Clone the repo
git clone --depth 1 https://github.com/WellApp-ai/Well

Made for: Claude Code.

Or install well, the plugin that ships this one along with the rest of its 9 skills, 1 hook.

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 compte-de-resultat

README.md
[![agentmods](https://agentmods.dev/badge/skills/wellapp-ai/well/compte-de-resultat/github.svg)](https://agentmods.dev/skills/wellapp-ai/well/compte-de-resultat)
Your own site
<a href="https://agentmods.dev/skills/wellapp-ai/well/compte-de-resultat"><img src="https://agentmods.dev/badge/skills/wellapp-ai/well/compte-de-resultat/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 compte-de-resultat

Your own site · 80×15
<a href="https://agentmods.dev/skills/wellapp-ai/well/compte-de-resultat"><img src="https://agentmods.dev/badge/skills/wellapp-ai/well/compte-de-resultat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 555 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.00055 $0.00555
Opus 5 $0.00028 $0.00278
Sonnet 5 $0.00011 $0.00111
Haiku 4.5 $0.00006 $0.00056

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

Security

Grade A, and why

compte-de-resultat 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 10d 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.

plugins/well/skills/compte-de-resultat/SKILL.md · 31 lines

How it starts

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

Compte de résultat (P&L) from Well

A correct income statement comes from the posted accounting ledger, not from raw invoices. Well's sync/posting pipelines post invoices and bank transactions into journal_entries against ledger_accounts; that posted data already handles classification, accruals, and settlement that a raw-invoice sum misses.

Do this

  1. Discover the schema first (see well:querying-well-data):
    • well_get_schema("ledger_accounts") — the chart of accounts. Look for the account code/number and name/type fields; income-statement accounts are the revenue and expense classes (in a French plan comptable, classe 7 = produits, classe 6 = charges).
    • well_get_schema("journal_entries") and well_get_schema("journal_entry_lines") if present — the posted movements with debit/credit amounts and the date you'll filter the period on.
  2. Scope the period with a whereClause on the posting/entry date (e.g. _gte start, _lte end).
  3. Aggregate by account: sum the posted amounts per ledger account, then group revenue accounts and expense accounts.
  4. Net result = total produits (revenue) − total charges (expenses).

Do NOT

  • Do not reconstruct the P&L by summing issued invoices as revenue and received invoices as expenses. That misses postings, non-invoice entries, accruals, and account classification, and double-counts or omits settlement. Use the ledger.
  • Do not hardcode account codes you haven't confirmed from well_get_schema/the data — read the chart of accounts first.

If the ledger is empty

If journal_entries / ledger_accounts return no rows for the workspace, the books may not be posted yet. Say so explicitly, and only then offer an invoice-based approximation — clearly labelled as an estimate, not the compte de résultat — built from invoices (issued = revenue proxy, received = expense proxy) over the period.

Present it

Group the output as: Produits (revenue) lines → total; Charges (expense) lines → total; Résultat net. Note the currency and the period. Offer a month-by-month or category breakdown as a follow-up.

Read the full file on GitHub · 31 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. 10d ago First seen · 31 lines · 55 tokens per session scan A 47bb98de0601

Subscribe to this mod's changes

compte-de-resultat is a skill published in the GitHub repository WellApp-ai/Well (341 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 555 once invoked, about $0.0003 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

lemon-squeezy

Lemon Squeezy simplifies global tax compliance and recurring billing. The official @lemonsqueezy/lemonsqueezy.js SDK handles interactions cleanly.

ashish7802/awesome-api-skills · 0 tokens

paddle

Paddle acts as a Merchant of Record, meaning they handle sales tax (VAT, GST) calculations and remittance for you. Use the @paddle/paddle-node SDK to manage subscriptions and invoices.

ashish7802/awesome-api-skills · 0 tokens

plaid

Plaid connects users' bank accounts to apps. This skill focuses on Plaid Link flow and the plaid-node SDK to extract transaction data.

ashish7802/awesome-api-skills · 0 tokens

stripe

Stripe provides APIs for payment processing, billing, subscriptions, and financial management. This skill focuses on the Stripe Node.js and Python SDKs, emphasizing PCI-compliant flows like Checkout Sessions and Webhook signatures.

ashish7802/awesome-api-skills · 0 tokens

braintree

Braintree (by PayPal) provides enterprise payment processing accepting Credit Cards, PayPal, Venmo, Apple Pay, and Google Pay with PCI-compliant Hosted Fields and Drop-in UI.

ashish7802/awesome-api-skills · 0 tokens

dashboards

Use when creating or extending Costory dashboards, generating interesting FinOps overviews (suggestgroupby + suggestusagemetrics + text widgets), adding or replacing widgets, copying widgets between dashboards, editing dashboardContext (global filter / period / groupBy) via updatedashboard, or applying shared-context…

costory-io/costory-finops-mcp-skills · 92 tokens