data-analyst
Use when the user asks to query a database, analyze data, create charts/visualizations, explore data patterns, or asks business questions about data.
Skill by Leostruka
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/leostruka-data-analyst
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, data, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/data-analyst
What's inside
- Skill name
data-analyst- Description
- Use when the user asks to query a database, analyze data, create charts/visualizations, explore data patterns, or asks business questions about data. Replicates Devin cloud's Data Analyst Agent (DANA) for the CLI — SQL-first exploration, schema-aware querying, and seaborn-style visualizations via MCP data sources.
- License
- MIT
- Instructions
- 169 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Data Analyst (CLI replica of DANA — Data ANAlyst Agent)
## What this replicates
Cloud Devin has a **Data Analyst Agent** (DANA) — a specialized agent
optimized for querying databases, analyzing data, and creating
visualizations. It maintains a "Database Knowledge" note with schema
docs, auto-references it before queries, and outputs formatted tables,
charts, and plain-English interpretations.
The CLI has no "Data" agent mode. This skill fills that gap by
providing the DANA workflow as an invocable procedure using MCP data
sources already configured in `mcp_config.json`.
**Sources:**
- docs.devin.ai/work-with-devin/data-analyst (DANA overview)
- docs.devin.ai/use-cases/gallery/dana-slack-data-analyst (Slack usage)
- docs.devin.ai/release-notes/2025 (DANA release)
- devin.ai/ai-data-analyst-1/ (build-your-own guide)
## When to Use
- "Query the database for X"
- "How many users signed up last week?"
- "Show me a chart of daily revenue"
- "Analyze patterns in the orders table"
- "What's the churn rate by cohort?"
- Any SQL/data analysis task against an MCP-connected data source
## When NOT to Use
- No MCP data source is configured — DANA requires a connected database
- The question is about code, not data — use `research` or `grep`
- The task needs code changes, not analysis — use Normal mode
- Quick file inspection (CSV/JSON on disk) — use `read` + `exec` directly
## Prerequisites
1. At least one MCP data source configured in `mcp_config.json`
(PostgreSQL, Redshift, Snowflake, BigQuery, SQLite, etc.)
2. Verify connectivity: `mcp_list_tools` for the data source server
3. If no data source is configured, say so and stop — do not guess
schema or fabricate data
## Procedure
### Step 1 — Schema discovery (Database Knowledge)
DANA maintains a "Database Knowledge" note. In the CLI, build it
on-the-fly:
1. `mcp_call_tool` to list tables (`SELECT table_name FROM
information_schema.tables` or the MCP's schema tool)
2. For relevant tables, describe columns (`DESCRIBE <table>` or
`SELECT column_name, data_type FROM information_schema.columns
WHERE table_name = '<table>'`)
3. Cache findings in a file: `write` to `.devin/db-schema.md`
4. On subsequent queries, `read` `.devin/db-schema.md` first — only
re-discover if the schema may have changed
Output: schema doc with table names, columns, types, and relationships.
### Step 2 — Query formulation
1. Translate the user's natural-language question into SQL
2. Start with a `SELECT ... LIMIT 10` to validate the query and
preview results
3. Check for:
- Correct table joins (use schema doc from Step 1)
- Date/time handling (timezone awareness — DANA learns from
feedback; here, ask the user if timezone is ambiguous)
- NULL handling (use `COALESCE` or filter explicitly)
- Performance (add `LIMIT` for exploratory queries)
Output: validated SQL query + preview results.
### Step 3 — Full query execution
1. Run the full query via `mcp_call_tool`
2. If the result is large (> 100 rows), write to a file
(`query-results-<timestamp>.csv`) and summarize in chat
3. Format output as a Markdown table for small results (< 20 rows)
Output: result set (table or file reference) + row count.
### Step 4 — Analysis & interpretation
1. Summarize key findings in plain English
2. Identify patterns, anomalies, or trends
3. If the user asked for metrics, compute them explicitly:
- Counts, sums, averages, medians, percentiles
- Rates (conversion, churn, growth) with clear denominators
- Cohort breakdowns if relevant
4. Compare to expectations: "This is X% higher/lower than typical"
Output: numbered findings with the supporting query/row cited.
### Step 5 — Visualization (if requested)
DANA uses seaborn for charts. In the CLI:
1. Write a Python script to generate the chart:
```python
import matplotlib
matplotlib.use('Agg') # headless
import matplotlib.pyplot as plt
import pandas as pd
# ... load data, plot, save
plt.savefig('chart-<name>.png', dpi=150, bbox_inches='tight')
```
2. `exec` the script
3. `read` the PNG to display it inline
4. Report the file path for later reference
Output: chart file path + inline display + 1-sentence caption.
## Output format
```markdownFrom Leostruka/devin-bundle, MIT.
More from Leostruka/devin-bundle
- 0.570score
debugging
Leostruka
Use when the user says 'diagnose', 'debug this', reports something broken/throwing/failing/slow, when encountering a bug/test failure/unexpected behavior and…
SkillAFreshness: AClaude Code +9 - 0.565score
ask-bundle
Leostruka
Use when deciding which skill or flow fits your situation — the meta-router entry point for this bundle (direct specialist skills, multi-skill flows, local…
SkillAFreshness: AClaude Code +9 - 0.565score
code-review
Leostruka
Use when completing a task, reviewing a branch or PR, before merging, when the user asks to 'review since X', when publishing a GitHub PR review with inline…
SkillAFreshness: AClaude Code +9 - 0.565score
cu-realtime
Leostruka
Use when computer-use or terminal automation needs the fastest reaction the runtime allows - event waits instead of screenshot polling, text perception…
SkillAFreshness: AClaude Code +9 - 0.565score
animation-direction
Leostruka
Use when turning narrated video/audio into synced code-rendered motion graphics — narration -> timestamped transcript -> scene plan -> approval gate ->…
SkillAFreshness: AClaude Code +9 - 0.565score
architecture
Leostruka
Use when designing modules, seams, and adapters, when evaluating module depth and identifying deepening opportunities in a codebase, or when modernizing…
SkillAFreshness: AClaude Code +9 - 0.565score
architecture-diagrams
Leostruka
Use when the deliverable is a physical diagram artifact (.svg/.png) — C4 models, dense class diagrams, network topology rendered via PlantUML.
SkillAFreshness: AClaude Code +9 - 0.565score
computer-use
Leostruka
Use when you need to see or control the local screen (screenshots, screen recording with video + contact sheet for catching transient bugs/animations, mouse…
SkillAFreshness: AClaude Code +9 - 0.565score
context-hygiene
Leostruka
Use when context is growing large or the agent forgets earlier instructions, when deciding clear vs compact, when processing documents/logs >50k tokens, when…
SkillAFreshness: AClaude Code +9 - 0.565score
ai-tools
Leostruka
Use when running local, offline-first ML tooling — mechanistic interpretability PoCs like refusal-direction ablation on local safetensors or the HF cache, or…
SkillAFreshness: AClaude Code +9 - 0.560score
ascii-art
Leostruka
Use when generating animated ASCII art for artifacts the agent produces - README banners (SVG), CLI splash screens, loading/404 states or decorative pieces in…
SkillAFreshness: AClaude Code +9 - 0.539score
database
Leostruka
Use when the user wants to design, migrate, query, or optimize a database.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Sep 22, 2026 (1 month ago)
- Last release
- Oct 24, 2026 (4 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Leostruka/devin-bundle
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Leostruka
- 0.570score
debugging
Leostruka
Use when the user says 'diagnose', 'debug this', reports something broken/throwing/failing/slow, when encountering a bug/test failure/unexpected behavior and…
SkillAFreshness: AClaude Code +9 - 0.565score
code-review
Leostruka
Use when completing a task, reviewing a branch or PR, before merging, when the user asks to 'review since X', when publishing a GitHub PR review with inline…
SkillAFreshness: AClaude Code +9 - 0.565score
ask-bundle
Leostruka
Use when deciding which skill or flow fits your situation — the meta-router entry point for this bundle (direct specialist skills, multi-skill flows, local…
SkillAFreshness: AClaude Code +9 - 0.565score
ai-tools
Leostruka
Use when running local, offline-first ML tooling — mechanistic interpretability PoCs like refusal-direction ablation on local safetensors or the HF cache, or…
SkillAFreshness: AClaude Code +9 - 0.565score
animation-direction
Leostruka
Use when turning narrated video/audio into synced code-rendered motion graphics — narration -> timestamped transcript -> scene plan -> approval gate ->…
SkillAFreshness: AClaude Code +9 - 0.565score
architecture
Leostruka
Use when designing modules, seams, and adapters, when evaluating module depth and identifying deepening opportunities in a codebase, or when modernizing…
SkillAFreshness: AClaude Code +9
Cite this page
data-analyst skill. Agent Mart. https://agentmart.dev/skills/leostruka-data-analyst (last updated 2026-10-24)