agentleFS
strikersamstrikersam/autonomous-ai-agency/.claude/skills/financial-analyst/SKILL.md

financial-analyst

Skill9 starsChanged 3 months agoMITView on GitHub

Agentic CFO for autonomous financial analysis of AI infrastructure spend. Computes burn rate, runway, gross margin, and ROI-based budget reallocation.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After adding new cost lines to the infrastructure budget

    line 27
  2. Distinctive:

    Before scaling any AI service that incurs cost

    line 29
  3. Distinctive:

    When runway drops below 6 months (triggers CUT recommendations)

    line 30

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill: financial-analyst (Agentic CFO)

Purpose

Autonomous financial analysis for AI infrastructure costs. Ingests cost lines, computes standard CFO metrics, and emits per-line budget recommendations.

When to Use

  • After adding new cost lines to the infrastructure budget
  • Monthly financial review cycles
  • Before scaling any AI service that incurs cost
  • When runway drops below 6 months (triggers CUT recommendations)

Components

ClassRole
CostLineSingle budget line item (name, monthly_cost, revenue_attributed)
FinancialMetricsCore metrics: burn rate, runway, gross margin
BudgetOptimizerGreedy ROI-weighted budget reallocation
FinancialAgentRecommendation engine: CUT / SCALE / HOLD / INVESTIGATE

Quick Start

from agents.financial_analyst import (
    CostLine, FinancialMetrics, FinancialAgent,
)

metrics = FinancialMetrics(
    monthly_revenue=50_000,
    monthly_costs=35_000,
    cash_on_hand=200_000,
    cost_lines=[
        CostLine("gpu", 20_000, revenue_attributed=40_000, category="cogs"),
        CostLine("api", 5_000, revenue_attributed=50_000, category="operations"),
    ],
)

agent = FinancialAgent()
recs = agent.assess(metrics)
for line_name, rec in recs.items():
    print(f"{line_name}: {rec.value}")

Decision Rules

ConditionRecommendation
runway < 6 monthsCUT lowest-ROI line
gross_margin < 0.40INVESTIGATE COGS lines
line.roi > 5.0 and category in {sales, R&D}SCALE
line.roi < 0.5 and not strategicCUT
otherwiseHOLD

Testing

pytest tests/test_financial_analyst.py -v

22 tests covering CostLine, FinancialMetrics, BudgetOptimizer, and FinancialAgent.

Branch

fix/quick-note-236-agentic-cfo

SKILL.md refresh Tue Jun 2 11:35:52 CEST 2026

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.