agentleFS
admdanielpaulinoadmdanielpaulino/claude-codes/finance-ops/SKILL.md

finance-ops

Skill1 starsChanged 7 months agoMITView on GitHub

AI-powered financial analysis suite. Generates executive CFO briefings from QuickBooks exports (P&L, Balance Sheet, General Ledger, Cash Flow, etc.) with anomaly detection, burn rate, runway analysis, and scenario modeling. Also estimates codebase development costs with organizational overhead and AI ROI analysis. Triggers on: 'CFO briefing', 'financial analysis', 'cost briefing', 'expense review', 'runway analysis', 'burn rate', 'cost estimate', 'how much would this cost to build', 'development cost', 'Claude ROI'.

3 other projects use a version of this.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 13: 0 new projectsWeek of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Place QuickBooks export files (CSV, XLSX, XLS) in a working directory.

    line 35
  2. Very specific:

    After running the CFO analysis, model base/bull/bear scenarios:

    line 70
  3. Distinctive:

    Read the entire codebase. Catalog total lines of code by language/type, architectural complexity, advanced features, testing coverage, and …

    line 103
  4. Distinctive:

    Use web search to find current hourly rates for the relevant specializations.

    line 111
  5. Very specific:

    If the codebase was built with AI assistance, calculate value per AI hour using references/claude-roi.md.

    line 127
  6. Very specific:

    Always show ranges (low/avg/high), never a single number

    line 134
  7. Distinctive:

    Search for CURRENT year market rates, don't use stale data

    line 135

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Preamble (runs on skill start)

# Version check (silent if up to date)
python3 telemetry/version_check.py 2>/dev/null || true

# Telemetry opt-in (first run only, then remembers your choice)
python3 telemetry/telemetry_init.py 2>/dev/null || true

Privacy: This skill logs usage locally to ~/.ai-marketing-skills/analytics/. Remote telemetry is opt-in only. No code, file paths, or repo content is ever collected. See telemetry/README.md.


AI Finance Ops

Two tools: CFO Briefing Generator and Codebase Cost Estimator.


Tool 1: CFO Briefing Generator

Generate executive financial summaries from QuickBooks exports.

Workflow

1. Ingest Files

Place QuickBooks export files (CSV, XLSX, XLS) in a working directory. Accepted report types (any subset works — P&L alone is sufficient):

  • P&L Summary — Revenue, COGS, expenses, net income (MOST IMPORTANT)
  • P&L by Customer — Revenue breakdown by client
  • P&L Detail — Transaction-level detail (XLSX)
  • Balance Sheet — Assets, liabilities, equity
  • General Ledger — All account transactions
  • Expenses by Vendor — Vendor-level expense breakdown
  • Transaction List by Vendor — Detailed vendor transactions
  • Bill Payments — AP payment history
  • Cash Flow Statement — Operating/investing/financing flows (XLSX)
  • Account List — Chart of accounts

2. Run Analysis

python3 scripts/cfo-analyzer.py --input ./data/uploads/ [--period YYYY-MM]

Options:

  • --input DIR — Directory with QB exports
  • --period YYYY-MM — Override period label (default: auto-detected from files)
  • --history DIR — History directory for MoM comparison (default: ./data/history/)
  • --no-history — Skip saving to history

The script:

  1. Auto-detects file types by scanning headers
  2. Parses each file into structured data
  3. Computes all KPIs (see references/metrics-guide.md for definitions and healthy ranges)
  4. Loads prior period from history for MoM comparison
  5. Saves current period to history
  6. Outputs formatted executive summary to stdout

3. Scenario Modeling (Optional)

After running the CFO analysis, model base/bull/bear scenarios:

python3 scripts/scenario-modeler.py --input ./data/financial-latest.json

This generates 12-month projections for:

  • Base case — current trajectory continues
  • Bull case — growth targets met (new product revenue + new clients)
  • Bear case — lose top clients

4. Deliver Summary

The script outputs a formatted briefing with emoji status indicators (🟢🟡🔴), suitable for Slack, email, or any messaging surface.

File Format Details

See references/quickbooks-formats.md for expected CSV/XLSX column formats and detection heuristics.

Metric Thresholds

See references/metrics-guide.md for healthy ranges, red/yellow/green thresholds, and benchmark context. Adjust thresholds for your business size and type.


Tool 2: Codebase Cost Estimator

Estimate full development cost of a codebase.

Workflow

Step 1: Analyze the Codebase

Read the entire codebase. Catalog total lines of code by language/type, architectural complexity, advanced features, testing coverage, and documentation quality.

Step 2: Calculate Development Hours

Apply productivity rates from references/rates.md. Calculate base hours per code type, then apply overhead multipliers for architecture, debugging, review, docs, integration, and learning curve.

Step 3: Research Market Rates

Use web search to find current hourly rates for the relevant specializations. Build a rate table with low / median / high for the project's tech stack.

Step 4: Calculate Organizational Overhead

Convert raw dev hours to calendar time using efficiency factors from references/org-overhead.md. Show estimates across company types (Solo through Enterprise).

Step 5: Calculate Full Team Cost

Apply supporting role ratios and team multipliers from references/team-cost.md. Show role-by-role breakdown, plus summary across all company stages.

Step 6: Generate Cost Estimate

Output the full estimate using the template in references/output-template.md. Include all sections: codebase metrics, dev hours, calendar time, market rates, engineering cost, full team cost, grand total summary, and assumptions.

Step 7: AI ROI Analysis (Optional)

If the codebase was built with AI assistance, calculate value per AI hour using references/claude-roi.md. Determine active hours via git history clustering, calculate speed multiplier vs human developer, and compute cost savings and ROI.

Key Principles

  • Present professionally, suitable for stakeholders
  • Include confidence level (low/medium/high) and key assumptions
  • Highlight highest-complexity areas that drive cost
  • Always show ranges (low/avg/high), never a single number
  • Search for CURRENT year market rates, don't use stale data

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.