skills/financial/financial-reporting/SKILL.md
Generates and analyzes financial reports using data aggregation, visualization, and compliance tools.
npx skillsauth add alphaonedev/openclaw-graph financial-reportingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill enables the generation and analysis of financial reports by aggregating data, creating visualizations, and ensuring compliance with standards like GAAP or IFRS. It processes financial datasets to produce actionable insights for reporting tasks.
Use this skill for quarterly financial summaries, annual audits, compliance checks, or ad-hoc analyses of income statements and balance sheets. Apply it when integrating with accounting software or when visualizing trends in financial metrics.
/api/v1/aggregate?start_date=2023-01-01&end_date=2023-12-31, supporting filters for accounts and currencies.plot_type='pie'&data_source='expenses'.compliance_check('GAAP', report_data), returning boolean results.calculate_ratio('debt_to_equity', balance_sheet_data), outputting a float value.export_format='PDF'&file_path='/reports/q1.pdf'.To use this skill, import the module in Python scripts or call via CLI. Start by authenticating with $FINANCIAL_API_KEY, then aggregate data before analysis. For scripts, wrap calls in try-except blocks for error resilience. Common pattern: Fetch data, process it, visualize, and export. Example workflow: aggregate_data() -> analyze_data() -> generate_report().
openclaw financial-report aggregate --start-date 2023-01-01 --end-date 2023-12-31 --key $FINANCIAL_API_KEY
/api/v1/reports/generate with JSON body: {"type": "balance_sheet", "data": {"assets": 100000}}
Authorization: Bearer $FINANCIAL_API_KEYimport openclaw_financial
api_key = os.environ.get('FINANCIAL_API_KEY')
report = openclaw_financial.generate_report('income_statement', api_key)
from openclaw_financial import analyze
result = analyze.calculate_ratio('quick_ratio', {'cash': 50000, 'receivables': 30000, 'liabilities': 100000})
print(result) # Outputs: 0.8
{"api_endpoint": "/api/v1/aggregate", "auth_key": "$FINANCIAL_API_KEY", "default_currency": "USD"} in a file named .financial-config.json.Integrate by setting the environment variable $FINANCIAL_API_KEY for authentication before running commands. For external systems, use the SDK to connect; e.g., in a Node.js app, require the package and pass the key: const client = new FinancialClient(process.env.FINANCIAL_API_KEY);. Ensure data sources are compatible (e.g., CSV or API-compatible). For web apps, handle CORS on the /api/v1/* endpoints by adding headers in your server config.
Handle authentication errors by checking for 401 responses and prompting for $FINANCIAL_API_KEY. For data errors (e.g., invalid dates), catch exceptions like ValueError in code: try: openclaw_financial.aggregate_data(start_date) except ValueError as e: print(f"Error: {e} - Use YYYY-MM-DD format"). API timeouts use retry logic with exponential backoff; implement via requests library: response = requests.get(url, headers, timeout=10). Log all errors with details like error codes (e.g., 404 for missing endpoints) for debugging.
openclaw financial-report generate --type balance_sheet --period Q1-2024 --key $FINANCIAL_API_KEY. This aggregates assets/liabilities and outputs a PDF report for auditing.import openclaw_financial
data = openclaw_financial.aggregate_data('earnings', os.environ['FINANCIAL_API_KEY'])
openclaw_financial.visualize(data, 'line', 'earnings_trend.png')
This plots quarterly earnings to identify growth patterns.tools
Root web development: project structure, tooling selection, deployment decisions
development
WebAssembly: Rust/Go/C to WASM, wasm-bindgen, Emscripten, WASM Component Model
development
Vue 3: Composition API script setup, Pinia, Vue Router 4, SFCs, Vite, Nuxt 3
tools
Tailwind CSS 4: utility classes, config, JIT, arbitrary values, darkMode, plugins, shadcn/ui