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.
npx agentmods add commands/brainbytes-dev/everything-claude-finance/cost-analysisgit clone --depth 1 https://github.com/brainbytes-dev/everything-claude-financeWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00007 | $0.01584 |
| Opus 5 | $0.00003 | $0.00792 |
| Sonnet 5 | $0.00001 | $0.00317 |
| Haiku 4.5 | $0.00001 | $0.00158 |
Grade A, and why
cost-analysis 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/cost-analysis — Kostenrechnung / Cost Analysis
What This Command Does
Performs structured cost analysis following German Kostenrechnung methodology or international cost accounting standards. Covers Kostenartenrechnung (cost type), Kostenstellenrechnung (cost center), and Kostentraegerrechnung (cost object). Supports full-cost, marginal cost, activity-based costing, target costing, and break-even analyses.
When to Use
- Product profitability analysis
- Make-or-buy decisions
- Pricing strategy support
- Cost center efficiency analysis
- Break-even calculation for new products/markets
- Cost reduction initiative identification
- Transfer pricing cost-plus calculations
How It Works
- Kostenartenrechnung: Classifies costs by type — material, personnel, depreciation, other
- Kostenstellenrechnung: Allocates costs to cost centers via BAB (Betriebsabrechnungsbogen)
- Kostentraegerrechnung: Calculates per-unit or per-project costs with full allocation
- Contribution Margin: Multi-stage Deckungsbeitragsrechnung (DB I, II, III)
- Break-Even: Volume and revenue break-even with sensitivity
- Benchmarking: Compares cost structure against industry standards
Example Usage
Input:
/cost-analysis entity:"Product Line Alpha" type:full-cost period:FY2025 currency:EUR
Output:
# Kostenrechnung — Product Line Alpha
## Method: Vollkostenrechnung | Period: FY2025 | Currency: EUR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## 1. Kostenartenrechnung (Cost Types)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| Kostenart | EUR '000 | % of Total | Fix/Var |
|-------------------------|----------|------------|----------|
| Materialeinzelkosten | 2,800 | 35.0% | Variable |
| Materialgemeinkosten | 420 | 5.3% | Mixed |
| Fertigungseinzelkosten | 1,200 | 15.0% | Variable |
| Fertigungsgemeinkosten | 960 | 12.0% | Fixed |
| Verwaltungsgemeinkosten | 800 | 10.0% | Fixed |
| Vertriebsgemeinkosten | 640 | 8.0% | Mixed |
| Abschreibungen | 480 | 6.0% | Fixed |
| Sonstige Kosten | 700 | 8.7% | Mixed |
| **Gesamtkosten** |**8,000** |**100.0%** | |
Variable costs: EUR 4,600K (57.5%)
Fixed costs: EUR 3,400K (42.5%)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## 2. Kostenstellenrechnung (BAB — excerpt)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| Kostenstelle | Primär | Umlage | Gesamt | Zuschlagssatz |
|------------------|---------|---------|---------|---------------|
| Material | 320 | 100 | 420 | 15.0% |
| Fertigung | 780 | 180 | 960 | 80.0% |
| Verwaltung | 650 | 150 | 800 | 10.0% |
| Vertrieb | 540 | 100 | 640 | 8.0% |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## 3. Kostenträgerstückrechnung (per Unit)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Production volume: 50,000 units
| Kalkulation | EUR/Unit | Calculation |
|----------------------------|----------|--------------------------|
| Materialeinzelkosten | 56.00 | Direct material |
| + Materialgemeinkosten | 8.40 | 15.0% Zuschlag |
| = Materialkosten | 64.40 | |
| Fertigungseinzelkosten | 24.00 | Direct labor |
| + Fertigungsgemeinkosten | 19.20 | 80.0% Zuschlag |
| = Fertigungskosten | 43.20 | |
| = **Herstellkosten** |**107.60**| |
| + Verwaltungsgemeinkosten | 10.76 | 10.0% of Herstellkosten |
| + Vertriebsgemeinkosten | 8.61 | 8.0% of Herstellkosten |
| = **Selbstkosten** |**126.97**| |
| + Gewinnzuschlag (12%) | 15.24 | |
| = **Angebotspreis (netto)**|**142.21**| |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## 4. Deckungsbeitragsrechnung (Contribution Margin)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| Stufe | EUR/Unit | EUR '000 | Margin % |
|---------------------|---------|-----------|-----------|
| Erlös (Revenue) | 145.00 | 7,250 | 100.0% |
| − Variable Kosten | (92.00) | (4,600) | |
| = **DB I** |**53.00**|**2,650** | **36.6%** |
| − Produktfixkosten | (12.80) | (640) | |
| = **DB II** |**40.20**|**2,010** | **27.7%** |
| − Bereichsfixkosten | (18.40) | (920) | |
| = **DB III** |**21.80**|**1,090** | **15.0%** |
| − Unternehmensfixk. | (14.60) | (730) | |
| = **Betriebsergebnis**|**7.20**|**360** | **5.0%** |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
## 5. Break-Even Analyse
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Break-even volume: 3,400K / 53.00 = 64,151 units
Break-even revenue: EUR 9,302K
Current volume: 50,000 units — BELOW BREAK-EVEN on full-cost basis
⚠ Product line is profitable on DB I and DB II basis but does not cover
full allocated fixed costs. Decision: maintain if DB II positive and
strategic value exists. Review fixed cost allocation methodology.
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.
- 3d ago First seen · 141 lines · 7 tokens per session scan A da387c1c49de
cost-analysis is a command published in the GitHub repository brainbytes-dev/everything-claude-finance (5 stars, last pushed 5mo ago), licensed MIT. It adds 7 tokens to every session and 1,584 once invoked, about $0.0000 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.
Other commands, from other repositories
earnings
财报解读 — 超预期检测 + 同比分析 + 投资逻辑影响.
audit-checklist
Perform an internal audit, review controls, or prepare for an external financial audit.
venture-debt
Evaluate or structure debt for high-growth, venture-backed startups.
monitor
Position monitoring — watchlist, thesis check, event radar, thesis tracker, catalyst calendar, morning note.
payment-compare
Compare Medicare payment for a procedure across settings of care.
report
月次クロージングレポートの自動生成.