DuckDB is a high-performance, in-process analytical database management system (often called "SQLite for analytics"). Execute complex SQL queries directly on CSV, Parquet, JSON files, and Python DataFrames (pandas, Polars) without importing data or running a separate database server.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionduckdbExecute the skills CLI command in your project's root directory to begin installation:
Fetches duckdb from silvainfm/claude-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate duckdb. Access via /duckdb in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
0
total installs
0
this week
2
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
2
stars
DuckDB is a high-performance, in-process analytical database management system (often called "SQLite for analytics"). Execute complex SQL queries directly on CSV, Parquet, JSON files, and Python DataFrames (pandas, Polars) without importing data or running a separate database server.
Activate when the user:
Check if DuckDB is installed:
python3 -c "import duckdb; print(duckdb.__version__)"
If not installed:
pip3 install duckdb
For Polars integration:
pip3 install duckdb 'polars[pyarrow]'
DuckDB can query files without loading them into memory:
import duckdb
# Query CSV file
result = duckdb.sql("SELECT * FROM 'data.csv' WHERE age > 25")
print(result.df()) # Convert to pandas DataFrame
# Query Parquet file
result = duckdb.sql("""
SELECT category, SUM(amount) as total
FROM 'sales.parquet'
GROUP BY category
ORDER BY total DESC
""")
# Query JSON file
result = duckdb.sql("SELECT * FROM 'users.json' LIMIT 10")
# Query multiple files with wildcards
result = duckdb.sql("SELECT * FROM 'data/*.parquet'")
DuckDB can directly query pandas DataFrames:
import duckdb
import pandas as pd
# Create or load a DataFrame
df = pd.read_csv('data.csv')
# Query the DataFrame using SQL
result = duckdb.sql("""
SELECT
category,
AVG(price) as avg_price,
COUNT(*) as count
FROM df
WHERE price > 100
GROUP BY category
HAVING count > 5
""")
# Convert result to pandas DataFrame
result_df = result.df()
print(result_df)
DuckDB integrates seamlessly with Polars using Apache Arrow:
import duckdb
import polars as pl
# Create or load a Polars DataFrame
df = pl.read_csv('data.csv')
# Query Polars DataFrame with DuckDB
result = duckdb.sql("""
SELECT
date_trunc('month', date) as month,
SUM(revenue) as monthly_revenue
FROM df
GROUP BY month
ORDER BY month
""")
# Convert result to Polars DataFrame
result_df = result.pl()
# For lazy evaluation, use lazy=True
lazy_result = result.pl(lazy=True)
Create database files for persistent storage:
import duckdb
# Connect to a persistent database (creates file if doesn't exist)
con = duckdb.connect('my_database.duckdb')
# Create table and insert data
con.execute("""
CREATE TABLE users AS
SELECT * FROM 'users.csv'
""")
# Query the database
result = con.execute("SELECT * FROM users WHERE age > 30").fetchdf()
# Close connection
con.close()
DuckDB excels at analytical queries:
import duckdb
# Window functions
result = duckdb.sql("""
SELECT
name,
department,
salary,
AVG(salary) OVER (PARTITION BY department) as dept_avg,
RANK() OVER (PARTITION BY department ORDER BY salary DESC) as dept_rank
FROM 'employees.csv'
""")
# CTEs and subqueries
result = duckdb.sql("""
WITH monthly_sales AS (
SELECT
date_trunc('month', sale_date) as month,
product_id,
SUM(amount) as total_sales
FROM 'sales.parquet'
GROUP BY month, product_id
)
SELECT
m.month,
p.product_name,
m.total_sales,
LAG(m.total_sales) OVER (
PARTITION BY m.product_id
ORDER BY m.month
) as prev_month_sales
FROM monthly_sales m
JOIN 'products.csv' p ON m.product_id = p.id
ORDER BY m.month DESC, m.total_sales DESC
""")
Join data from multiple files and DataFrames:
import duckdb
import pandas as pd
# Load DataFrame
customers_df = pd.read_csv('customers.csv')
# Join DataFrame with Parquet file
result = duckdb.sql("""
SELECT
c.customer_name,
c.email,
o.order_date,
o.total_amount
FROM customers_df c
JOIN 'orders.parquet' o ON c.customer_id = o.customer_id
WHERE o.order_date >= '2024-01-01'
ORDER BY o.order_date DESC
""")
import duckdb
# Get table schema
duckdb.sql("DESCRIBE SELECT * FROM 'data.parquet'").show()
# Quick statistics
duckdb.sql("""
SELECT
COUNT(*) as rows,
COUNT(DISTINCT user_id) as unique_users,
MIN(created_at) as earliest_date,
MAX(created_at) as latest_date
FROM 'data.csv'
""").show()
# Sample data
duckdb.sql("SELECT * FROM 'large_file.parquet' USING SAMPLE 1000").show()
import duckdb
# ETL pipeline using DuckDB
con = duckdb.connect('analytics.duckdb')
# Extract and transform
con.execute("""
CREATE TABLE clean_sales AS
SELECT
date_trunc('day', timestamp) as sale_date,
UPPER(TRIM(product_name)) as product_name,
quantity,
price,
quantity * price as total_amount,
CASE
WHEN quantity > 10 THEN 'bulk'
ELSE 'retail'
END as sale_type
FROM 'raw_sales.csv'
WHERE price > 0 AND quantity > 0
""")
# Create aggregated view
con.execute("""
CREATE VIEW daily_summary AS
SELECT
sale_date,
saleMake data-driven prioritization decisions faster
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Prerequisites
Time Estimate
30-60 minutes to see productivity improvements
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
mattpocock/skills
parcadei/continuous-claude-v3
cursor/plugins
ailabs-393/ai-labs-claude-skills
pproenca/dot-skills
ailabs-393/ai-labs-claude-skills
I recommend duckdb for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Useful defaults in duckdb — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
duckdb is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
duckdb has been reliable in day-to-day use. Documentation quality is above average for community skills.
Keeps context tight: duckdb is the kind of skill you can hand to a new teammate without a long onboarding doc.
duckdb is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Useful defaults in duckdb — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
I recommend duckdb for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Solid pick for teams standardizing on skills: duckdb is focused, and the summary matches what you get after install.
duckdb is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 37