tramy
v3.0.5
Published
DA Toolkit - Data Analyst Toolkit for Claude Code
Maintainers
Readme
DA Toolkit
Data Analyst Toolkit for Claude Code
6 Core Commands | 6 DA Commands | Documentation
Installation
npm install -g tramyQuick Start
Default Setup (Core Commands Only)
cd your-project
tramy setupGenerates:
CLAUDE.md- Project context with 6 core commands.claude/commands/- 6 core command templates
Data Analyst Setup (DA Commands Only)
cd your-project
tramy setup daGenerates:
CLAUDE.md- DA toolkit documentation.claude/commands/da/- 6 DA commands only.claude/agents/- DA agent templatedata/raw/- Raw data filesdata/processed/- Processed data filesanalysis/- Analysis outputsreports/- Generated reportsnotebooks/- Jupyter notebooks
Core Commands (6)
| Command | Description |
|---------|-------------|
| /analyze | Explore and understand data/problems |
| /plan | Create detailed analysis plan |
| /build | Implement SQL, Python, notebooks |
| /test | Validate data quality and results |
| /doc | Generate documentation and reports |
| /commit | Git commit with proper message |
DA Commands (6)
| Command | Description |
|---------|-------------|
| /da:query | Write optimized SQL queries |
| /da:analyze | Exploratory data analysis |
| /da:clean | Clean data (raw → processed) |
| /da:report | Generate analysis reports |
| /da:dashboard | Design BI dashboards |
| /da:notebook | Create Jupyter notebooks |
Workflow
/analyze → /plan → /build → /test → /doc → /commitData Workflow
data/raw/ → (clean/transform) → data/processed/ → (analyze) → reports/Knowledge Management (v3.0)
Commands automatically update CLAUDE.md with learned knowledge. Claude remembers across sessions.
How it works
- Run a command:
/analyze "sales data" - Command completes and delivers results
- Command updates
CLAUDE.mdwith discoveries - Next session, Claude has full context
Knowledge Sections
| Section | Description | Updated by |
|---------|-------------|------------|
| ## Project Knowledge | Insights, patterns learned | /analyze, /da:analyze |
| ## Data Sources | Schemas, relationships | /analyze, /da:query, /doc |
| ## Current Plans | Active plans, status | /plan |
| ## Project Files | Important files | /build |
| ## Data Quality | Validations, issues | /test |
| ## Documentation | Reports, docs links | /doc, /da:report |
Example
After running /analyze "sales_2024.csv":
## Data Sources
- sales_2024.csv: 50,000 rows, 12 columns
- Key fields: date, product_id, revenue, region
## Project Knowledge
- Revenue peaks in Q4 (holiday season)
- Top 3 regions: US, EU, APACExamples
# Analyze data
/analyze monthly revenue trends
/analyze user churn patterns
# Write SQL
/da:query top 10 customers by lifetime value
/da:query monthly active users by cohort
# Create reports
/da:report Q1 sales performance
/da:report customer segmentation analysis
# Build dashboards
/da:dashboard executive KPI overview
/da:dashboard marketing campaign metrics
# Create notebooks
/da:notebook churn prediction model
/da:notebook A/B test analysisCLI Commands
tramy setup # Setup with 6 core commands
tramy setup da # Setup with 6 DA commands only
tramy setup --yes # Quick setup (no prompts)
tramy list # List all commands
tramy doctor # Health check
tramy context # View project context
tramy context update # Update CLAUDE.mdProject Structure
Default Setup (tramy setup)
your-project/
├── CLAUDE.md
├── .tramy/
│ └── config.yaml
└── .claude/
├── commands/
│ ├── analyze.md
│ ├── plan.md
│ ├── build.md
│ ├── test.md
│ ├── doc.md
│ └── commit.md
└── settings.jsonDA Setup (tramy setup da)
your-project/
├── CLAUDE.md
├── data/
│ ├── raw/
│ └── processed/
├── analysis/
├── reports/
├── notebooks/
├── .tramy/
│ └── config.yaml
└── .claude/
├── agents/
│ └── data-analyst.md
├── commands/
│ └── da/
│ ├── query.md
│ ├── analyze.md
│ ├── clean.md
│ ├── report.md
│ ├── dashboard.md
│ └── notebook.md
└── settings.jsonAvailable Roles (25)
25 roles available for future extensions:
| Alias | Role | Alias | Role | |-------|------|-------|------| | pm | Product Manager | mkt | Marketing | | da | Data Analyst | sales | Sales Engineer | | de | Data Engineer | support | Support Engineer | | dev | Developer | proj | Project Manager | | fe | Frontend Developer | scrum | Scrum Master | | be | Backend Developer | dba | Database Admin | | fs | Fullstack Developer | mobile | Mobile Developer | | arch | Architect | game | Game Developer | | test | Tester | web3 | Blockchain Developer | | ops | DevOps Engineer | hr | HR Specialist | | sec | Security Engineer | content | Content Writer | | docs | Technical Writer | ai | AI Engineer | | ux | UX Designer | | |
Currently supported: da (Data Analyst)
Requirements
- Node.js >= 18.0.0
License
MIT
