llm-public-opinion-analytics-assistant
llm public opinion analytics assistant
altimate-data-engineering-skills
Claude Code skills for analytics and data engineers working with dbt, Snowflake, and data pipelines
Full skill instructions
Skill by ara.so — Data Skills collection.
Altimate Data Engineering Skills is a collection of Claude Code skills that encode the workflows and best practices of experienced analytics engineers. These skills transform Claude from a code generator into a capable data engineering assistant by teaching how to approach tasks, not just what syntax to use.
The project demonstrates 53% accuracy on ADE-bench (43 real-world dbt tasks), 3x improvement on model creation tasks, and 84% pass rate on Snowflake query optimization.
Data Engineering Skills provides:
Skills are markdown files with YAML frontmatter that define trigger conditions and step-by-step workflows.
# Add the marketplace plugin
/plugin marketplace add AltimateAI/data-engineering-skills
# Install all skills
/plugin install dbt-skills@data-engineering-skills
/plugin install snowflake-skills@data-engineering-skills
/plugin install altimate-code@data-engineering-skills
Kits bundle skills, MCP servers, and instructions:
# Install altimate-code CLI (required for kits)
npm install -g altimate-code
# Install kit system
altimate-code kit install AltimateAI/data-engineering-skills
# Activate the dbt-snowflake kit
altimate-code kit activate dbt-snowflake
# Check status
altimate-code kit status
Clone and reference skills directly:
git clone https://github.com/AltimateAI/data-engineering-skills.git
cd data-engineering-skills
creating-dbt-models: Creates new dbt models following project conventions
dbt build after creation (not just compile)dbt showdebugging-dbt-errors: Troubleshoots dbt compilation and runtime errors
testing-dbt-models: Adds schema tests to models
documenting-dbt-models: Generates dbt model documentation
migrating-sql-to-dbt: Converts legacy SQL to dbt models
refactoring-dbt-models: Safely restructures dbt models
developing-incremental-models: Creates incremental dbt models
finding-expensive-queries: Identifies costly Snowflake queries
optimizing-query-by-id: Optimizes using Snowflake query history ID
optimizing-query-text: Optimizes raw SQL query text
altimate-code: Delegates complex data tasks to altimate-code CLI
altimate-code run --yolo non-interactivelynpm install -g altimate-code (Node 20+)Skills are markdown files with YAML frontmatter:
---
name: creating-dbt-models
description: |
Guide for creating dbt models. ALWAYS use this skill when:
(1) Creating ANY new model (staging, intermediate, mart)
(2) Task mentions "create", "build", "add" with model/table
(3) Modifying model logic or columns
---
Followed by workflow instructions:
# dbt Model Development
**Read before you write. Build after you write. Verify your output.**
## Critical Rules
1. ALWAYS run `dbt build` after creating models - compile is NOT enough
2. ALWAYS verify output after build using `dbt show`
3. If build fails 3+ times, stop and reassess your approach
## Workflow
1. Discover Conventions
- Check existing models in same layer (staging/intermediate/mart)
- Note naming patterns, CTE style, column ordering
2. Write Model
- Follow discovered patterns
- Use proper refs and sources
3. Build and Verify
```bash
dbt build --select model_name
dbt show --select model_name --limit 10
## Usage Examples
### Creating a dbt Model
```yaml
# User request:
"Create a staging model for raw customers data"
# Skill triggers: creating-dbt-models
# AI workflow:
# 1. Checks models/staging/ for naming patterns
# 2. Creates models/staging/stg_customers.sql
# 3. Runs: dbt build --select stg_customers
# 4. Verifies: dbt show --select stg_customers
Example model created:
-- models/staging/stg_customers.sql
with source as (
select * from {{ source('jaffle_shop', 'customers') }}
),
renamed as (
select
id as customer_id,
first_name,
last_name,
email,
created_at
from source
)
select * from renamed
# User request:
"Fix this error: Compilation Error in model customers (models/customers.sql)"
# Skill triggers: debugging-dbt-errors
# AI workflow:
# 1. Reads full error message
# 2. Checks upstream model dependencies
# 3. Identifies issue (e.g., missing ref)
# 4. Applies fix
# 5. Rebuilds: dbt build --select customers
# User request:
"This query is taking 5 minutes, can you optimize it?"
# Skill triggers: optimizing-query-text
# AI workflow:
# 1. Profiles query (EXPLAIN, execution stats)
# 2. Identifies bottlenecks (table scans, inefficient joins)
# 3. Applies optimizations (clustering, filters, join order)
# 4. Tests and measures improvement
Example optimization:
-- Before (slow)
SELECT
o.order_id,
c.customer_name,
SUM(oi.amount) as total
FROM orders o
JOIN customers c ON o.customer_id = c.customer_id
JOIN order_items oi ON o.order_id = oi.order_id
WHERE o.order_date >= '2024-01-01'
GROUP BY 1, 2;
-- After (optimized)
SELECT
o.order_id,
c.customer_name,
SUM(oi.amount) as total
FROM orders o
INNER JOIN order_items oi ON o.order_id = oi.order_id
LEFT JOIN customers c ON o.customer_id = c.customer_id
WHERE o.order_date >= '2024-01-01'
AND o.order_date < '2024-12-31' -- Added upper bound for partition pruning
GROUP BY 1, 2;
-- Assumes orders table is clustered by order_date
# Activate dbt-snowflake kit for a project
cd /path/to/dbt-project
altimate-code kit activate dbt-snowflake
# This configures:
# - All dbt and Snowflake skills
# - MCP server for dbt (live project access)
# - Project-specific instructions
# Deactivate when done
altimate-code kit deactivate
Kit configuration (.altimate/kits/active.yaml):
kit: dbt-snowflake
version: 1.0.0
skills:
- creating-dbt-models
- debugging-dbt-errors
- testing-dbt-models
- documenting-dbt-models
- migrating-sql-to-dbt
- refactoring-dbt-models
- developing-incremental-models
- finding-expensive-queries
- optimizing-query-by-id
- optimizing-query-text
mcp_servers:
- dbt
instructions: |
You are working on a dbt + Snowflake project.
Always check project conventions before creating models.
Run dbt build (not compile) after creating models.
Skills are auto-triggered based on user requests. No explicit configuration needed.
Skills work best with Altimate MCP server for live project access:
// claude_desktop_config.json or similar
{
"mcpServers": {
"altimate-dbt": {
"command": "npx",
"args": ["-y", "@altimate/mcp-server-dbt"],
"env": {
"DBT_PROJECT_DIR": "/path/to/dbt/project",
"DBT_PROFILES_DIR": "/path/to/.dbt"
}
}
}
}
MCP tools available to skills:
dbt_project_info: Project structure, model list, sourcesdbt_model_details: Column types, dependencies, compiled SQLdbt_compile: Compile models without CLIsnowflake_query_history: Recent query executions and statssnowflake_table_stats: Row counts, clustering info# User: "Create a mart model for monthly revenue by customer"
# Skills auto-chains:
# 1. creating-dbt-models: Creates initial model
# 2. testing-dbt-models: Adds schema tests
# 3. documenting-dbt-models: Adds documentation
# User: "My model won't compile"
# Skill: debugging-dbt-errors
# Workflow:
# 1. Read error
# 2. Check dependencies
# 3. Apply fix
# 4. Rebuild
# 5. If still fails, repeat up to 3x
# 6. If 3x fails, stop and reassess approach
# User: "Break this large model into smaller ones"
# Skill: refactoring-dbt-models
# Workflow:
# 1. Map all downstream dependencies
# 2. Create new intermediate models
# 3. Update refs in downstream models
# 4. Run dbt build on entire DAG
# 5. Verify no breakage
-- Pattern: merge strategy with unique_key
{{ config(
materialized='incremental',
unique_key='event_id',
merge_update_columns=['status', 'updated_at']
) }}
select
event_id,
user_id,
event_type,
status,
created_at,
updated_at
from {{ source('events', 'raw_events') }}
{% if is_incremental() %}
where updated_at > (select max(updated_at) from {{ this }})
{% endif %}
# Skill: optimizing-query-text
# Steps encoded:
# 1. Profile query
# 2. Identify bottleneck type:
# - Full table scan → Add filters/clustering
# - Inefficient join → Reorder, change type
# - Large aggregation → Pre-aggregate or partition
# 3. Apply pattern-based fix
# 4. Validate semantics unchanged
# 5. Measure improvement
Problem: Skills don't activate for your request
Solution:
/plugin listProblem: Models fail to build after creation
Solution:
dbt debug for connection issuesProblem: Skills can't access live project data
Solution:
# Check MCP server config
cat claude_desktop_config.json | grep altimate
# Verify dbt project path
export DBT_PROJECT_DIR=/correct/path
export DBT_PROFILES_DIR=/correct/.dbt/path
# Restart Claude Code
Problem: "altimate-code not found" error
Solution:
# Install altimate-code CLI
npm install -g altimate-code
# Verify installation
altimate-code --version
# Check Node version (requires 20+)
node --version
Problem: Optimized query performs the same
Solution:
finding-expensive-queries to compare before/afterProblem: Kit won't activate
Solution:
# Check kit is installed
altimate-code kit list
# Reinstall if needed
altimate-code kit install AltimateAI/data-engineering-skills
# Check for conflicting active kits
altimate-code kit status
# Deactivate others first
altimate-code kit deactivate
Benchmark results (ADE-bench, 43 real-world dbt tasks):
Snowflake optimization (TPC-H SF1000, 62 queries):
llm public opinion analytics assistant
apache airflow orchestration
roblox mm2 analytics toolkit
mm2 analytics roblox tracker
mm2 analytics roblox toolkit
understand anything knowledge graph
mm2 roblox analytics tracker
murder mystery 2 analytics toolkit
mm2 analytics dashboard roblox
mm2 roblox analytics toolkit
agent browser automation
agency agents ai specialists
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience