Skip to main content
ClaudeWave
ES, Spanish
Skill227 estrellas del repoactualizado 2mo ago

expense-categorization

Classify expenses by category, department, and tax deductibility from transaction data. Use when the user requests expense categorization or provides relevant inputs for this workflow.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/seb1n/awesome-ai-agent-skills /tmp/expense-categorization && cp -r /tmp/expense-categorization/finance-and-accounting/expense-categorization ~/.claude/skills/expense-categorization
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

# Expense Categorization

Automatically classify business expenses into accounting categories, assign department cost centers, and flag tax-deductible items from raw transaction data. This skill processes credit card statements, bank feeds, and expense reports to produce clean, categorized output suitable for bookkeeping, tax preparation, and spend analytics.

## Workflow

1. **Receive Expense Data**
   Accept transaction data as CSV, bank statement text, or structured records. Required fields: date, amount, and description or merchant name. Optional fields: card last four digits, employee name, department, receipt notes. Normalize date formats and currency to a consistent standard.

2. **Parse Description and Merchant**
   Extract the merchant name from the transaction descriptor, stripping out authorization codes, location suffixes, and card network prefixes. Map common merchant name variations to canonical names (e.g., "AMZN MKTP US" → "Amazon", "GOOGLE *GSUITE" → "Google Workspace"). Use the merchant category code (MCC) when available as a secondary signal.

3. **Classify Expense Category**
   Assign each transaction to a primary category based on merchant identity, MCC, description keywords, and amount patterns. Standard categories: Travel & Lodging, Meals & Entertainment, Software & SaaS, Office Supplies, Professional Services, Advertising, Utilities, Insurance, Shipping & Postage, Equipment, Training & Education, Miscellaneous.

4. **Assign Department and Cost Center**
   Route each expense to the appropriate department based on the cardholder, project codes in the description, or pre-configured rules. Apply default department assignments for known merchants (e.g., AWS charges → Engineering, HubSpot → Marketing).

5. **Flag Tax-Deductible Items**
   Mark expenses that qualify for tax deduction based on category and business purpose. Apply IRS rules for meals (50% deductible for business meals, 100% for company events), home office, vehicle mileage, and professional development. Flag items that need substantiation — receipts, business purpose memo, or attendee lists.

6. **Generate Categorized Summary**
   Output a categorized transaction list with totals by category, department, and tax status. Highlight any transactions that couldn't be confidently categorized (confidence < 80%) for manual review.

## Usage

Provide transaction data in any tabular format. Specify any custom category mappings, department rules, or tax jurisdiction if not US federal.

**Example prompt:**
> Categorize these November credit card transactions for our 15-person startup. We have Engineering, Marketing, and Operations departments. Flag tax-deductible items. Here's the CSV: [paste transactions]

## Examples

### Example 1: Monthly Credit Card Categorization

**Input (CSV):**
```csv
date,amount,description,cardholder
2024-11-02,249.00,GITHUB TEAM PLAN,Sarah Chen
2024-11-03,1450.00,UNITED AIRLINES 0167823,Mike Torres
2024-11-03,189.50,MARRIOTT HOTEL CHI,Mike Torres
2024-11-05,42.67,UBER TRIP FKJE83,Mike Torres
2024-11-08,156.00,GOOGLE ADS 8834721,Lisa Park
2024-11-12,89.99,ZOOM VIDEO COMMS,Sarah Chen
2024-11-14,67.32,DOORDASH DASHER TIP,Operations
2024-11-18,4200.00,DELL TECHNOLOGIES,Sarah Chen
2024-11-22,350.00,COURSERA BUSINESS,Mike Torres
2024-11-25,23.45,STAPLES #1284,Operations
```

**Output:**

| Date       | Amount    | Merchant         | Category              | Department  | Tax Deductible | Notes                         |
|------------|-----------|------------------|-----------------------|-------------|----------------|-------------------------------|
| 2024-11-02 | $249.00   | GitHub           | Software & SaaS       | Engineering | Yes (100%)     |                               |
| 2024-11-03 | $1,450.00 | United Airlines  | Travel & Lodging      | Engineering | Yes (100%)     | Business travel               |
| 2024-11-03 | $189.50   | Marriott         | Travel & Lodging      | Engineering | Yes (100%)     | Business travel               |
| 2024-11-05 | $42.67    | Uber             | Travel & Lodging      | Engineering | Yes (100%)     | Ground transport              |
| 2024-11-08 | $156.00   | Google Ads       | Advertising           | Marketing   | Yes (100%)     |                               |
| 2024-11-12 | $89.99    | Zoom             | Software & SaaS       | Engineering | Yes (100%)     |                               |
| 2024-11-14 | $67.32    | DoorDash         | Meals & Entertainment | Operations  | Yes (50%)      | Needs business purpose memo   |
| 2024-11-18 | $4,200.00 | Dell             | Equipment             | Engineering | Depreciation   | Section 179 eligible          |
| 2024-11-22 | $350.00   | Coursera         | Training & Education  | Engineering | Yes (100%)     |                               |
| 2024-11-25 | $23.45    | Staples          | Office Supplies       | Operations  | Yes (100%)     |                               |

**Summary:**
| Category              | Total     | % of Spend |
|-----------------------|-----------|------------|
| Equipment             | $4,200.00 | 61.5%      |
| Travel & Lodging      | $1,682.17 | 24.6%      |
| Training & Education  | $350.00   | 5.1%       |
| Software & SaaS       | $338.99   | 5.0%       |
| Advertising           | $156.00   | 2.3%       |
| Meals & Entertainment | $67.32    | 1.0%       |
| Office Supplies       | $23.45    | 0.3%       |
| **Total**             | **$6,817.93** | **100%** |

### Example 2: Flagging Misclassified Expenses

**Input:** Review existing categorizations for accuracy.

**Output — Correction Report:**

| Date       | Amount  | Merchant       | Current Category | Corrected Category     | Reason                                                  |
|------------|---------|----------------|------------------|------------------------|---------------------------------------------------------|
| 2024-11-07 | $320.00 | WeWork         | Office Supplies  | Rent & Facilities      | Co-working space is r
accessibility-testingSkill

Audit web interfaces against WCAG 2.1 AA/AAA standards, identify violations, and produce actionable remediation reports with code fixes. Use when the user requests accessibility testing or provides relevant inputs for this workflow.

agent-evaluationSkill

Design reproducible evaluations for AI agents with representative task sets, explicit rubrics, appropriate graders, baselines, regression gates, and failure analysis. Use when defining agent quality, comparing prompts or models, validating a release, measuring tool-use reliability, investigating regressions, or deciding whether an agent is ready for production.

agent-observabilitySkill

Design privacy-aware observability for AI agents using traces, spans, structured events, metrics, cost attribution, dashboards, alerts, and investigation workflows. Use when instrumenting an agent, debugging intermittent tool or model failures, defining service-level objectives, analyzing latency or spend, auditing agent decisions, or preparing production monitoring.

agent-red-teamingSkill

Plan, execute, document, and retest authorized security assessments of AI agents and multi-agent workflows using safe adversarial cases, synthetic identities, canaries, and evidence-based findings. Use when defining red-team rules of engagement, assessing prompt injection or excessive agency, testing tool and identity boundaries, evaluating memory or cross-agent attacks, scoring a campaign, or verifying remediation in an approved environment.

analytics-reportingSkill

Generate comprehensive marketing analytics reports by collecting KPIs, analyzing trends, and delivering actionable insights with attribution modeling and funnel analysis. Use when the user requests analytics reporting or provides relevant inputs for this workflow.

api-designSkill

Design RESTful APIs with proper resource modeling, HTTP method semantics, status codes, pagination, versioning, and documentation. Use when the user requests api design or provides relevant inputs for this workflow.

api-integrationSkill

Integrate with external APIs using REST clients, webhook consumers, SDK wrappers, and polling patterns with proper authentication, error handling, and retry logic. Use when the user requests api integration or provides relevant inputs for this workflow.

budget-planningSkill

Create and manage budgets with variance analysis and departmental allocation. Use when the user requests budget planning or provides relevant inputs for this workflow.