liangdabiao/claude-data-analysis
Create a data analysis AI agent with Claude Code. Make data analysis as simple as having a chat! 别忘了!claude code也是agent框架,类似langgraph,crewAI,autogen等等agent框架。我改造claude code搞一个数据分析智能体AI。 让数据分析变得像聊天一样简单!
stack: Python
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
Copy this rig
# review before running: this installs third-party code
$ npx degit liangdabiao/claude-data-analysis/.claude ./rig-claude-data-analysis # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ curl -fsSL --create-dirs -o .claude/agents/code-generator.md https://raw.githubusercontent.com/liangdabiao/claude-data-analysis/main/.claude/agents/code-generator.md $ curl -fsSL --create-dirs -o .claude/agents/data-explorer.md https://raw.githubusercontent.com/liangdabiao/claude-data-analysis/main/.claude/agents/data-explorer.md $ curl -fsSL --create-dirs -o .claude/agents/hypothesis-generator.md https://raw.githubusercontent.com/liangdabiao/claude-data-analysis/main/.claude/agents/hypothesis-generator.md $ curl -fsSL --create-dirs -o .claude/agents/quality-assurance.md https://raw.githubusercontent.com/liangdabiao/claude-data-analysis/main/.claude/agents/quality-assurance.md $ curl -fsSL --create-dirs -o .claude/agents/report-writer.md https://raw.githubusercontent.com/liangdabiao/claude-data-analysis/main/.claude/agents/report-writer.md $ curl -fsSL --create-dirs -o .claude/agents/visualization-specialist.md https://raw.githubusercontent.com/liangdabiao/claude-data-analysis/main/.claude/agents/visualization-specialist.md
This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 17.0k rigs:
{
"permissions": {
"deny": [
"Read(./.env)",
"Read(./.env.*)",
"Read(**/.env)",
"Read(~/.ssh/**)",
"Bash(git push --force:*)",
"Read(**/*.pem)",
"Read(.env)",
"Read(~/.aws/**)",
"Read(**/*.key)",
"Read(**/.env.*)",
"Bash(git push --force*)",
"Bash(rm -rf *)",
"Bash(rm -rf:*)",
"Bash(sudo *)",
"Bash(sudo:*)",
"Bash(rm -rf /)",
"Bash(git push -f:*)",
"Read(.env.*)",
"Read(./secrets/**)",
"Bash(git reset --hard*)"
],
"ask": [
"Bash(git push:*)",
"Bash(git push *)",
"Bash(gh pr merge *)",
"Bash(git commit:*)",
"Bash(rm *)",
"Bash(gh pr merge:*)",
"Bash(npm publish:*)",
"Bash(git reset --hard:*)",
"Bash(git clean *)",
"Bash(git rebase *)"
]
}
} Subagents (6)
| code-generator | Expert code generation specialist for creating high-quality, production-ready analysis code in multiple programming languages. Use proactively for any code generation task requiring clean, efficient, |
| data-explorer | Advanced data exploration and analysis specialist for statistical analysis, pattern discovery, machine learning insights, and actionable business intelligence. Use proactively for any data analysis ta |
| hypothesis-generator | Research hypothesis generation specialist for creating testable hypotheses, experimental designs, and research methodologies. Use proactively when data analysis suggests deeper investigation or when p |
| quality-assurance | Data quality and validation specialist ensuring data integrity, analysis accuracy, and result reliability. Use proactively for any data validation, quality checks, or result verification tasks. |
| report-writer | Expert report writer specializing in comprehensive data analysis documentation, executive summaries, and technical documentation. Use proactively to create polished, professional reports. |
| visualization-specialist | Expert data visualization specialist for creating interactive, insightful, and publication-quality visualizations with advanced analytics integration and storytelling capabilities. Use proactively whe |
Hooks (2)
| event | matcher | runs |
|---|---|---|
| PostToolUse | Write|Edit | $CLAUDE_PROJECT_DIR/.claude/hooks/validate-analysis.py |
| UserPromptSubmit | * | $CLAUDE_PROJECT_DIR/.claude/hooks/context-loader.py |
Slash commands (7)
/analyze/do-all/generate/hypothesis/quality/report/visualize
Similar rigs
joehahn/portfolio-wave-rider
An AI agent reads an unstructured news feed and curates a watchlist, while a mechanical mean-variance optimizer handles the sizing that must be auditable. Research project by JMH DataSciences.
Pragmatist 5.9k tok · · Q18
Mikacr1138/claude-bug-bounty
Enable efficient bug bounty hunting across Web2 and Web3 with a tool that supports full recon to detailed reporting.
Orchestrator 1.7k tok · · Q0
junjiezhou1122/ideascientist-claude-code
A native Claude Code translation of IdeaScientist for automatic, evidence-grounded research ideation.
Orchestrator 528 tok · · Q0
valpere/session-indexer
Per-project semantic search over Claude Code session history. Indexes JSONL transcripts into SQLite; retrieves via bge-m3 embeddings (Ollama) with FTS5 fallback.
Skill Collector 3.5k tok · · Q8