profit-loss
Installation
SKILL.md
Profit & Loss Statement
Overview
Build a standard income statement (P&L) showing revenue, cost of goods sold, gross profit, operating expenses, and net income. Calculates gross margin and net margin percentages.
Wilson Tools Used
transaction_search— pull all income transactions (positive amounts) and expense transactions (negative amounts) for the target periodspending_summary— aggregate expenses by category to populate operating expense line items
Workflow
- Ask for the reporting period (e.g., "Q1 2026" or "January 2026").
- Use
transaction_searchwithamount > 0to find all revenue transactions in the period. - Use
transaction_searchwithamount < 0to find all expense transactions. - Use
spending_summaryfor the same period to get category-level expense totals. - Separate COGS categories (materials, supplies, direct labor) from operating expenses (rent, utilities, software, payroll, insurance).
- Build the P&L using this format:
Related skills