Analytics Agent Agentic Workflow
Description
AI-powered analytics agent that autonomously queries data, runs statistical analysis, and generates executive-ready reports. Built with Claude API + Tool Use. No LangChain dependency.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Analytics Agent — Agentic Workflow for Business Intelligence
An autonomous analytics agent that investigates business questions by deciding what data to query, what statistical analyses to run, and generating executive-ready insight reports — all without human intervention between steps.
Built with **Claude API + Tool Use** (no LangChain dependency).
What This Does
You give the agent a business question like:
"Investigate our business performance over the last 90 days. Are we growing or shrinking? Is there anything concerning? Which channels are most efficient? Give me a report I can present to leadership."
The agent **autonomously**:
- Queries the database to understand what data is available
- Pulls relevant metrics (subscribers, revenue, churn, channel performance)
- Runs statistical analyses (trend detection, t-tests, correlations)
- Identifies anomalies and root causes
- Generates a formatted executive report with findings and recommendations
The key: **the AI decides the steps, not the developer.** The agent reasons through the problem, picks the right tools, and iterates until it has a complete answer.
Architecture
User Question
│
▼
┌─────────────┐
│ Claude AI │ ◄── The "brain" that reasons and decides
│ (Agent) │
└──────┬──────┘
│ decides which tool to use
▼
┌──────────────────────────────────┐
│ Tool Layer │
│ │
│ run_sql_query() ← Query database
│ run_statistical_analysis() ← Trend, t-test, correlation
│ generate_report() ← Executive report
│ │
└──────────────────────────────────┘
│ results sent back to Claude
▼
┌─────────────┐
│ Claude AI │ ◄── Reviews results, decides next step
│ (Agent) │ or generates final report
└─────────────┘
│
▼ (loops until done)
Final Report
The Agentic Loop (Core Concept)
The heart of the workflow is a simple loop:
Related Skills
mcp-server-postgres
Read-only PostgreSQL database access.
Data mcp-server-sqlite
SQLite database interaction and querying.
Data mcp-server-google-maps
Google Maps integration for location data.
Data Bitbucket Data Center
---
Data Csv Data Summarizer
Automatically analyze CSV files and generate comprehensive insights with visualizations
Data OpenViking
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Data