agent-smith
FreeNo executable scriptsNot checkedIntelligent financial management skill for Claude Code that provides comprehensive PocketSmith API integration with AI-powered analysis, transaction…
by diegosouzapw★ 68 GitHub starsAbout this skill
Agent Smith
An intelligent financial management skill for Claude Code that transforms PocketSmith from a passive tracking tool into an active financial intelligence system.
Core Capabilities
1. Hybrid Rule Engine
- Platform Rules: Simple keyword patterns synced to PocketSmith API
- Local Rules: Advanced regex, multi-condition logic, confidence scoring
- Intelligence Modes: Conservative (manual approval), Smart (auto-apply ≥90%), Aggressive (auto-apply ≥80%)
- Performance Tracking: Rule accuracy, matches, user overrides
2. 3-Tier Tax Intelligence (Australian ATO)
- Level 1 (Reference): ATO category mappings, basic tax reports, GST tracking
- Level 2 (Smart): Deduction detection, CGT tracking, confidence scoring, expense splitting
- Level 3 (Full): BAS preparation, compliance checks, scenario planning, audit-ready documentation
3. Transaction Categorization
- Batch Processing: Categorize uncategorized transactions with AI assistance
- Merchant Intelligence: Automatic payee normalization and variation detection
- AI Fallback: LLM-powered categorization when rules don't match
- Dry-Run Mode: Preview categorization before applying
4. Financial Analysis & Reporting
- Spending Analysis: By category, merchant, time period
- Trend Detection: Increasing/decreasing categories, anomaly detection
- Multi-Format Reports: Markdown, CSV/JSON, HTML dashboards, Excel
- Comparative Analysis: YoY, QoQ, MoM comparisons
5. Scenario Analysis
- Historical: What-if replays ("What if I cut dining by 30% last year?")
- Projections: Spending forecasts, affordability analysis, goal modeling
- Optimization: Subscription analysis, expense rationalization, tax optimization
- Tax Planning: Purchase timing, income deferral, CGT scenarios
6. Health Check System
- 6 Health Dimensions: Data Quality, Category Structure, Rule Engine, Tax Readiness, Automation, Budget Alignment
- Automated Monitoring: Weekly checks, EOFY prep, post-operation validation
- Prioritized Recommendations: Top 3 highest-impact improvements
7. Advanced Features
- Smart Alerts: Budget overruns, tax thresholds, pattern detection
- Document Tracking: Receipt requirements ($300 ATO threshold)
- Multi-User: Shared expense tracking and settlement
- Audit Trail: Complete activity log with undo capability
Quick Start
First-Time Setup
Prerequisites:
- PocketSmith account with API access
- Developer API key from PocketSmith (Settings > Security)
- Python 3.9+ with uv package manager
Configuration:
- Copy
.env.sampleto.env - Add
POCKETSMITH_API_KEY=<your_key> - Set
TAX_INTELLIGENCE_LEVEL=smart(reference|smart|full) - Set
DEFAULT_INTELLIGENCE_MODE=smart(conservative|smart|aggressive)
- Copy
Installation:
# From the skill directory uv syncGuided Onboarding:
# Launch integrated onboarding (8 stages) /agent-smith:install
The onboarding process will:
- Discover your PocketSmith account structure
- Recommend and apply a rule template
- Help customize rules for your needs
- Configure intelligence modes
- Incrementally categorize transactions
- Show measurable improvement with health scores
- Provide ongoing usage guidance
- Generate intelligent suggestions
Time required: 30-60 minutes for first-time setup
Daily Usage
Two Usage Modes:
Guided Journey Mode - When you start Claude Code, Agent Smith displays a status dashboard with:
- Your health score
- Uncategorized transaction count
- Conflicts awaiting review
- Suggested next steps with both natural language and command options
Power User Mode - Use slash commands directly for specific operations.
Slash Commands (7 specialized commands):
/smith:install- Installation and onboarding wizard/smith:categorize [--mode] [--period]- Transaction categorization/smith:review-conflicts- Review transactions flagged for review/smith:health [--full|--quick]- Health check and recommendations/smith:insights <spending|trends|scenario|report>- Financial analysis and reports/smith:tax <deductions|cgt|bas|eofy>- Tax intelligence (ATO)/smith:schedule [--setup|--status|--remove]- Automated categorization scheduling
Python Scripts
All Python scripts are in scripts/ directory. Always run with uv run python -u for proper dependency resolution and unbuffered output.
Core Operations
# Categorize transactions
uv run python -u scripts/operations/batch_categorize.py --mode=smart --period=2025-11
# Run health check
uv run python -u scripts/health/check.py --full
# Generate spending report
uv run python -u scripts/reporting/generate.py --period=2025 --format=all
# Tax deduction analysis
uv run python -u scripts/tax/deduction_detector.py --period=2024-25
Script Organization
- **`scripts
Install agent-smith in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the agent-smith skill do?
Intelligent financial management skill for Claude Code that provides comprehensive PocketSmith API integration with AI-powered analysis, transaction categorization, rule management, tax intelligence, and scenario planning. Use when working with PocketSmith data for (1) Transaction categorization and rule management, (2) Financial analysis and reporting, (3) Australian tax compliance (ATO) and deduction tracking, (4) Scenario analysis and forecasting, (5) PocketSmith setup health checks, (6) Budget optimization and spending insights.
How do I install the agent-smith skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the agent-smith skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
by Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
by Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
by Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
by Anthropic