seb1n/awesome-ai-agent-skills

expense-categorization

Classify expenses by category, department, and tax deductibility from transaction data.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/seb1n/awesome-ai-agent-skills --skill expense-categorization

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

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.

  1. 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.

  1. 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.

  1. 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).

  1. 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.

  1. 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:

DateAmountMerchantCategoryDepartmentTax DeductibleNotes
2024-11-02$249.00GitHubSoftware & SaaSEngineeringYes (100%)
2024-11-03$1,450.00United AirlinesTravel & LodgingEngineeringYes (100%)Business travel
2024-11-03$189.50MarriottTravel & LodgingEngineeringYes (100%)Business travel
2024-11-05$42.67UberTravel & LodgingEngineeringYes (100%)Ground transport
2024-11-08$156.00Google AdsAdvertisingMarketingYes (100%)
2024-11-12$89.99ZoomSoftware & SaaSEngineeringYes (100%)
2024-11-14$67.32DoorDashMeals & EntertainmentOperationsYes (50%)Needs business purpose memo
2024-11-18$4,200.00DellEquipmentEngineeringDepreciationSection 179 eligible
2024-11-22$350.00CourseraTraining & EducationEngineeringYes (100%)
2024-11-25$23.45StaplesOffice SuppliesOperationsYes (100%)

Summary:

CategoryTotal% of Spend
Equipment$4,200.0061.5%
Travel & Lodging$1,682.1724.6%
Training & Education$350.005.1%
Software & SaaS$338.995.0%
Advertising$156.002.3%
Meals & Entertainment$67.321.0%
Office Supplies$23.450.3%
Total$6,817.93100%

Example 2: Flagging Misclassified Expenses

Input: Review existing categorizations for accuracy.

Output — Correction Report:

DateAmountMerchantCurrent CategoryCorrected CategoryReason
2024-11-07$320.00WeWorkOffice SuppliesRent & FacilitiesCo-working space is rent, not supplies
2024-11-10$85.00Blue ApronOffice SuppliesMeals & EntertainmentMeal delivery service miscoded
2024-11-16$599.00Adobe CreativeTrainingSoftware & SaaSCreative Cloud is a software subscription, not training
2024-11-29$175.00Lyft BusinessMiscellaneousTravel & LodgingBusiness ground transportation should be under travel

Impact: Reclassifying these 4 transactions shifts $1,179.00 across categories, affecting department budgets and tax deduction calculations. The Adobe correction reduces the Training & Education deduction by $599 and increases the Software & SaaS deduction by the same amount.

Best Practices

  • Build and maintain a merchant-to-category mapping dictionary. Start with the 50 most common merchants in your transaction history and expand over time.
  • Set a confidence threshold (recommended: 80%) below which transactions are routed for human review rather than auto-categorized.
  • Review categorization accuracy monthly — track precision and recall by category to identify systematic errors.
  • Always separate personal and business expenses before categorization. Flag transactions from personal merchants (grocery stores, streaming services) for review.
  • Apply consistent rules for edge cases like meals during travel (Travel vs. Meals) and document the policy.
  • Keep tax deductibility rules current with the applicable tax year — IRS rules change frequently for categories like meals, entertainment, and vehicle expenses.

Safety Boundaries

  • Treat the output as analytical support, not individualized financial, tax, investment, or accounting advice.
  • Preserve source data and expose assumptions, formulas, units, and reconciliation checks so a reviewer can reproduce the result.
  • Do not initiate payments, transactions, journal entries, filings, or account changes without explicit user authorization.
  • Require a qualified professional to review material decisions, regulated filings, or conclusions based on incomplete data.

Edge Cases

  • Split transactions: A single purchase at a warehouse store may include both office supplies and snacks. If the receipt is available, split into separate line items with distinct categories.
  • Foreign currency transactions: Categorize based on the merchant and purpose, not the currency. Record both the original currency amount and the converted amount. Watch for duplicate entries from currency conversion fees.
  • Refunds and chargebacks: Match refunds to the original transaction and apply the same category as a negative entry. Don't create a new "refund" category — it distorts spend analytics.
  • Recurring vs. one-time: Identify recurring charges (same merchant, similar amount, monthly cadence) and flag any that stop unexpectedly or change amount by more than 10%.
  • Ambiguous merchants: When a merchant name maps to multiple possible categories (e.g., Amazon could be office supplies, software, or equipment), use the amount and cardholder's department as tiebreakers. Amounts under $100 from Amazon default to Office Supplies; over $500 default to Equipment.

Verwandte Aufgaben

aus demselben Repository

Weitere Skills

Alle Skills
seb1n
Community

accessibility-testing

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.

Installationen
1
GitHub Stars
211
Aktualisiert
9. Aug.
seb1n
Community

agent-red-teaming

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.

Installationen
1
GitHub Stars
211
Aktualisiert
9. Aug.
seb1n
Community

api-design

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.

Installationen
1
GitHub Stars
211
Aktualisiert
9. Aug.
seb1n
Community

api-integration

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.

Installationen
1
GitHub Stars
211
Aktualisiert
9. Aug.