Agent Smith
An intelligent financial management skill for Claude Code
Agent Smith provides comprehensive PocketSmith API integration with advanced AI-powered analysis, rule management, tax intelligence, and scenario planning.
Project Status
โ
Implementation Complete - All 8 phases implemented and tested
๐ฆ Version: 1.3.8
๐ Design Document: docs/design/2025-11-20-agent-smith-design.md
๐ฅ Contributing: CONTRIBUTING.md
Distribution
Agent Smith is distributed as a Claude Code plugin/skill via the marketplace system:
- Plugin Configuration:
.claude-plugin/marketplace.json and .claude-plugin/plugin.json
- Skill Source:
agent-smith-plugin/skills/agent-smith/ - Complete skill definition
- Installation: Users install via Claude Code marketplace or plugin commands
The skill includes all Python scripts, documentation, rule templates, and configuration files needed to run Agent Smith within Claude Code.
For Contributors
Development Setup: See CONTRIBUTING.md for complete development setup instructions.
Key Points:
- Main source code is in
scripts/ directory
- Skill source is in
agent-smith-plugin/skills/agent-smith/
- Scripts are synced from
scripts/ to skill location (gitignored copy)
- Use marketplace.json/plugin.json for distribution (not packaged .skill files)
What is Agent Smith?
Agent Smith transforms PocketSmith from a passive tracking tool into an active financial intelligence system. Named after the Matrix AI agent, it serves as your intelligent assistant for managing your financial matrix.
Key Features
- Hybrid Rule Engine - Platform-native + enhanced local rules with performance tracking
- 3-Tier Tax Intelligence - Reference, Smart, and Full compliance modes (Australian ATO)
- Scenario Analysis - Historical analysis, projections, optimization, tax planning
- Multi-Format Reports - Markdown, CSV/JSON, HTML dashboards, Excel
- Smart Orchestration - Context-preserving subagent architecture
- Proactive Insights - Automated alerts, optimization recommendations
- Health Checks - Comprehensive PocketSmith setup evaluation
Repository Structure
agent-smith/
โโโ README.md # This file
โโโ CONTRIBUTING.md # Development setup and contribution guide
โโโ CHANGELOG.md # Version history
โโโ .gitignore # Git ignore rules
โโโ .env # API configuration (not committed)
โโโ pyproject.toml # Python dependencies (uv)
โโโ uv.lock # Dependency lock file
โโโ pytest.ini # Test configuration
โ
โโโ .claude-plugin/ # Claude Code plugin configuration
โ โโโ marketplace.json # Marketplace metadata
โ โโโ plugin.json # Plugin definition
โ
โโโ agent-smith-plugin/ # Marketplace distribution
โ โโโ .claude-plugin/ # Plugin configuration
โ โ โโโ plugin.json # Plugin definition
โ โโโ commands/ # Slash command definitions
โ โโโ skills/agent-smith/ # Skill source
โ โโโ SKILL.md # Skill definition
โ โโโ README.md # Skill documentation
โ โโโ scripts/ # Python code (synced from ../../../scripts/)
โ โโโ references/ # Documentation (loaded on-demand)
โ โโโ assets/ # Templates and seed data
โ โโโ .env.sample # Configuration template
โ
โโโ backups/ # Timestamped backups (30-day retention)
โ โโโ INDEX.md
โ
โโโ data/ # Working data and state
โ โโโ INDEX.md
โ โโโ config.json # User preferences
โ โโโ templates/ # Rule templates
โ
โโโ docs/ # Documentation
โ โโโ INDEX.md
โ โโโ design/ # Design specifications
โ โโโ guides/ # User guides
โ โโโ operations/ # Operation logs
โ
โโโ ai_docs/ # AI agent documentation
โ โโโ INDEX.md
โ โโโ pocketsmith-api-documentation.md
โ
โโโ logs/ # Execution logs (14-day retention)
โ โโโ INDEX.md
โ
โโโ reports/ # Generated reports (90-day retention)
โ โโโ INDEX.md
โ
โโโ scripts/ # Python code (source)
โ โโโ INDEX.md
โ โโโ core/ # Core libraries
โ โ โโโ api_client.py # PocketSmith API wrapper โ
โ โ โโโ rule_engine.py # Hybrid rule engine โ
โ โ โโโ index_updater.py # INDEX.md manager โ
โ โโโ analysis/ # Analysis modules
โ โ โโโ spending.py # Spending analysis โ
โ โ โโโ trends.py # Trend detection โ
โ โโโ reporting/ # Reporting modules
โ โ โโโ formatters.py # Multi-format reports โ