marginal-analys-bas

marginal-analys-bas is a skill for Claude Code, Codex from seabasst/claude-smb-sverige. It costs 177 tokens per session (592 once invoked), scanned A, original, MIT.

A Swedish business-margin analysis workflow using the BAS chart of accounts, Sweden’s standard accounting account structure. It calculates measures such as gross margin, contribution margin, EBITDA, operating margin, and net margin.

In plain words
What is it for?
Use it to analyse a Bokio income statement, compare margins across periods, rank major costs, and examine how the cost structure affects profit.
Why use it?
It turns accounting figures into a view of profitability and shows which costs are fixed, variable, or unusually large. This version is marked as a stub, so some planned parts are not implemented.

Skill for Claude CodeCodex

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

Good fit Use it to analyse a Bokio income statement, compare margins across periods, rank major costs, and examine how the cost structure affects profit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seabasst/claude-smb-sverige/marginal-analys-bas
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 seabasst/claude-smb-sverige --skill marginal-analys-bas
Clone the repo
git clone --depth 1 https://github.com/seabasst/claude-smb-sverige

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 marginal-analys-bas

README.md
[![agentmods](https://agentmods.dev/badge/skills/seabasst/claude-smb-sverige/marginal-analys-bas/github.svg)](https://agentmods.dev/skills/seabasst/claude-smb-sverige/marginal-analys-bas)
Your own site
<a href="https://agentmods.dev/skills/seabasst/claude-smb-sverige/marginal-analys-bas"><img src="https://agentmods.dev/badge/skills/seabasst/claude-smb-sverige/marginal-analys-bas/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 marginal-analys-bas

Your own site · 80×15
<a href="https://agentmods.dev/skills/seabasst/claude-smb-sverige/marginal-analys-bas"><img src="https://agentmods.dev/badge/skills/seabasst/claude-smb-sverige/marginal-analys-bas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 177 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 592 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.00177 $0.00592
Opus 5 $0.00088 $0.00296
Sonnet 5 $0.00035 $0.00118
Haiku 4.5 $0.00018 $0.00059

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

Security

Grade A, and why

marginal-analys-bas 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 11d 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/marginal-analys-bas/SKILL.md · 43 lines

What it actually says

Marginalanalys på BAS-kontoplan

Status: STUB — bidra gärna

Skillen ska:

  1. Hämta resultaträkning från Bokio för vald period
  2. Klassificera kostnader enligt BAS-kontoklasser:
    • 4xxx: Material och varor (rörlig)
    • 5xxx: Övriga externa kostnader (delvis rörlig)
    • 6xxx: Övriga externa kostnader (mest fast)
    • 7xxx: Personalkostnader (semi-fast)
    • 8xxx: Finansiella poster
  3. Räkna ut:
    • Bruttomarginal = (Omsättning - Kostnad sålda varor) / Omsättning
    • TB1 = Omsättning - direkta rörliga kostnader
    • TB2 = TB1 - direkt fasta kostnader
    • EBITDA = Resultat före räntor, skatt, av- och nedskrivningar
    • Rörelsemarginal = EBIT / Omsättning
    • Nettomarginal = Resultat efter skatt / Omsättning
  4. Jämförelse:
    • Mot föregående period
    • Mot motsvarande period i fjol
    • Mot industristandard (om data finns)
  5. Top-5 kostnader med procent av omsättning
  6. Identifiera kostnadskategorier som "drar i sär" från historiskt mönster

TODO

  • Branschbenchmark-data för svenska SMB
  • Visualisering med vattenfallsdiagram (omsättning → kostnader → resultat)
  • AI-genererad "berättelse" om varför marginalen rört sig

Referenser

  • BAS-kontoplan (BAS-kontogruppen)
  • references/bas-kontoplan-2026.md
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. 11d ago First seen · 43 lines · 177 tokens per session scan A 69e43b99f52b

Subscribe to this mod's changes

marginal-analys-bas is a skill published in the GitHub repository seabasst/claude-smb-sverige (9 stars, last pushed 3mo ago), licensed MIT. It adds 177 tokens to every session and 592 once invoked, about $0.0009 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

second-order-thinking

Think beyond immediate consequences to understand the chain reactions of decisions. Master Howard Marks' investment framework for seeing what others miss. Use when: Strategic decisions where long-term consequences matter; Policy/rule changes that will trigger behavioral responses; Competitive moves to anticipate…

guia-matthieu/clawfu-skills · 82 tokens

forecast-scenarios

Model best-case, worst-case, and likely revenue scenarios with sensitivity analysis for strategic planning. Use when: building financial forecasts; presenting board scenarios; planning headcount around revenue uncertainty; modeling pricing changes impact; preparing investor updates with upside/downside ranges.

guia-matthieu/clawfu-skills · 54 tokens

commission-intelligence

Explain sales commission calculations, resolve discrepancies, and model compensation scenarios for quota planning.

guia-matthieu/clawfu-skills · 19 tokens

pipeline-forecasting

Generate predictive pipeline forecasts with confidence intervals and scenario modeling for revenue planning.

guia-matthieu/clawfu-skills · 18 tokens

agb-bei-kreditvertraegen-verbraucherdarlehen

Für AGB bei Kreditverträgen Verbraucherdarlehen: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt.

Klotzkette/claude-fuer-deutsches-recht · 49 tokens

agb-in-kapitalanlagen-effektenhandel

Für AGB in Kapitalanlagen Effektenhandel: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt.

Klotzkette/claude-fuer-deutsches-recht · 41 tokens