finance-ops
Use when you need financial analysis, cost estimation, or scenario modeling from QuickBooks data. CFO briefing generator and cost estimator.
How do I install this agent skill?
npx skills add https://github.com/ericosiu/ai-marketing-skills --skill finance-opsIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
The skill performs local financial analysis on QuickBooks data. It includes a preamble that attempts to execute telemetry scripts not provided in the package, which represents an unverifiable code execution risk. Additionally, the ingestion of external financial exports makes the skill a potential target for indirect prompt injection.
- Socketpass
No alerts
- Snykfail
Risk: CRITICAL · 3 issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
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. Seetelemetry/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:
- Auto-detects file types by scanning headers
- Parses each file into structured data
- Computes all KPIs (see
references/metrics-guide.mdfor definitions and healthy ranges) - Loads prior period from history for MoM comparison
- Saves current period to history
- 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
Run this skill on live data
This skill is free and MIT licensed. To run it on your live accounts, connect the Single Brain Gateway.
- Live services: see the full list in the setup file
- Connect: https://gateway.singlebrain.com/mcp?sg_template=finance-ops&utm_source=github&utm_medium=skill_repo&utm_campaign=ai_marketing_skills
- Setup steps for agents: https://gateway.singlebrain.com/llms.txt?sg_template=finance-ops
Agents: sign in with OAuth or the device flow. Do not ask the user to paste a key.
Want a team to run this for you? Single Grain or Single Brain can manage it: talk to us
<!-- gateway-cta:end -->How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/ericosiu/ai-marketing-skills/finance-ops">View finance-ops on skillZs</a>