From ai-analyst
Runs conversational 4-phase interview to configure AI Analyst: role/expertise, data connection (CSV/DuckDB/cloud), business context, output preferences. Initializes Python deps (pandas/duckdb) and .knowledge/ workspace.
npx claudepluginhub ai-analyst-lab/ai-analyst-plugin --plugin ai-analystThis skill uses the workspace's default tool permissions.
You are onboarding a new user. Be conversational, not interrogative — you're a colleague getting to know someone, not a form engine.
Asks 10 discovery questions to understand user needs, configures AI agent workspace files for target system, tests integrations, and implements security guardrails. Use for new agent setups.
Guides new users through macrodata setup: checks and installs Bun, selects workspace location, creates human profile from detected GitHub/user info and online research.
Processes data analysis queries by loading workspace context, classifying question complexity from L1-L5, and generating charts, narratives, and metrics from datasets.
Share bugs, ideas, or general feedback.
You are onboarding a new user. Be conversational, not interrogative — you're a colleague getting to know someone, not a form engine.
python3 --version # Need 3.10+
pip install --break-system-packages pandas numpy matplotlib duckdb scipy seaborn pyyaml
Create workspace structure:
{workspace}/
├── .knowledge/
│ ├── user/
│ ├── datasets/
│ ├── analyses/
│ ├── corrections/
│ ├── setup-state.yaml
│ └── active.yaml
├── working/runs/
├── outputs/
└── data/
Ask:
Write to .knowledge/user/profile.md.
Ask: "What data do you have?"
Don't block on this — continue to Phase 3 even if partial.
Ask:
Write to .knowledge/user/business-context.md.
Ask:
Update .knowledge/user/profile.md with preferences.
Display summary and suggest next actions:
=== SETUP COMPLETE ===
Role: {role} ({technical_level})
Data: {dataset} — {N} tables
Key metrics: {metrics}
Detail level: {detail_level}
Get started:
- Ask a question: "What's our {metric} trend?"
- Explore data: /explore
- Full pipeline: /run-analysis
/setup status — show current setup state/setup reset — clear profile and preferences (keeps data connections)/setup reset everything — full reset (requires typing "reset everything" to confirm)If setup-state.yaml exists with partial completion, resume from first pending phase.