Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    quick commerce analytics etl

    1

    Production ETL and Star Schema generator for quick-commerce delivery analytics and Power BI dashboards.

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    quick commerce analytics etl

    quick commerce analytics etl

    Example session with this skill installed

    Process the raw orders in sample_data/sample_orders.csv with a 15-minute SLA and generate the analytics tables and DAX measures.

    • Read your context and instructions
    • Compiled the quick commerce analytics

    I have executed the quick-commerce ETL pipeline on the provided dataset. The raw order logs were validated for integrity, features like peak-hour flags and SLA breaches were engineered, and the data was partitioned into a Star Schema.

    Analytics Pipeline Deliverables

    1. Data Quality & Feature Engineering Summary
    The pipeline processed the orders with a 15-minute SLA. Missing timestamps were imputed and currency values were normalized.

    MetricValue
    Total Orders Processed20
    SLA Breach Count4
    Peak Hour Orders12
    Data Quality StatusPassed

    2. SQL Star Schema DDL

    CREATE TABLE fact_orders (
        order_id VARCHAR(50) PRIMARY KEY,
        customer_id VARCHAR(50),
        store_id VARCHAR(50),
        order_timestamp TIMESTAMP,
        delivery_duration_mins FLOAT,
        is_sla_breached INT,
        net_revenue DECIMAL(18,2),
        is_peak_hour INT
    );
    
    CREATE TABLE dim_customers (
        customer_id VARCHAR(50) PRIMARY KEY,
        customer_name VARCHAR(100),
        customer_segment VARCHAR(50)
    );
    

    3. Power BI DAX Measures

    SLA Breach Rate = 
    DIVIDE(
        CALCULATE(COUNTROWS(fact_orders), fact_orders[is_sla_breached] = 1),
        [Total Orders],
        0
    )
    
    Net Revenue = SUM(fact_orders[net_revenue])
    
    On-Time Delivery % = 
    DIVIDE(
        CALCULATE(COUNTROWS(fact_orders), fact_orders[delivery_status] = "On Time"),
        [Total Orders],
        0
    )
    

    Next steps

    1. Run sql/star_schema.sql against your target database (PostgreSQL/Snowflake).
    2. Import the generated CSV files from output_data into your warehouse.
    3. Copy the DAX measures into your Power BI report to visualize fulfillment performance.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Raw grocery delivery logs are often messy, containing missing timestamps and inconsistent SLA data that break downstream dashboards. This skill provides a production-grade ETL pipeline and analytics engineering framework specifically designed for the high-velocity requirements of 10-15 minute delivery platforms.

    What it does

    • Automated Data Validation cleans raw order streams by normalizing strings and enforcing monetary integrity for revenue and fees.
    • Smart Timestamp Imputation handles missing delivery times by calculating expected values based on SLA windows.
    • Advanced Feature Engineering calculates delivery durations, detects SLA breaches, and flags peak-hour demand windows automatically.
    • Dimensional Modeling transforms flat order logs into an optimized Star Schema with dedicated fact and dimension tables.
    • Dashboard Readiness generates production-grade DAX measures for core KPIs like GMV, Net Revenue, and SLA Breach Rate.

    How it works

    1. Prepare Data by placing raw grocery order CSV files into the input directory.
    2. Execute ETL using the Python CLI script to run validation, feature engineering, and schema partitioning.
    3. Load Warehouse by applying the generated SQL DDL to create the Star Schema in your database.
    4. Build Dashboards by importing the processed tables and applying the provided DAX measures in Power BI.

    Frameworks & tools

    Python 3.9+ with pandas, SQL for warehouse DDL, and DAX for Power BI analytics.

    Why this beats prompting it yourself

    Writing ETL logic for time-sensitive delivery SLAs requires complex window logic and edge-case handling for missing timestamps. This skill provides a tested architecture that ensures data integrity and high-performance analytical queries without manual prompt engineering.

    Use cases

    • Analyzing dark-store fulfillment performance across different cities.
    • Calculating real-time SLA breach rates during morning and evening peak hours.
    • Building executive dashboards to track customer retention and Net Revenue.
    • Modeling delivery partner efficiency using specific duration metrics.

    Known limitations

    The script requires order_timestamp to be present. It assumes a localized timezone for peak-hour flagging. Data export is currently optimized for CSV and SQL formats.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.

    Requires order_timestamp to be present. Peak-hour flagging assumes consistent local timezones. Primary export formats are CSV and SQL.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    Accounts
    Google AIGroqOpenAIAnthropic
    Software
    Pythonpandas =2.0.0

    Runs completely locally and offline. Requires no third-party cloud API keys, root permissions, or global system packages.

    Permissions

    Terminal / Shell
    Write Files
    Environment Variables
    Read Files

    Allowed Hosts

    generativelanguage.googleapis.com
    api.groq.com
    api.openai.com
    api.anthropic.com
    Listed1 day ago

    What's inside

    Frequently Asked Questions

    This skill handles the complex cleaning and modeling required for high-frequency delivery data, specifically addressing inconsistent SLA metrics and missing timestamps that typically break standard BI dashboards.

    You will receive the production-grade Python ETL scripts, the SQL DDL for star schema generation, and a library of pre-calculated DAX measures for immediate Power BI integration.

    The skill is designed as a standalone Python-based engineering framework that integrates with any AI agent capable of executing Python 3.9+ scripts or managing SQL-based data workflows.

    Yes, the skill is optimized for high-velocity environments; it partitions data into a Star Schema, allowing your Power BI dashboards to handle millions of delivery records with high query performance.

    Setting up requires placing your raw CSV order logs in the input folder and running the Python CLI; the system then automatically generates the validated tables and SQL schema for your warehouse.

    Yes. Pass --sla-mins <minutes> (e.g., --sla-mins 10 for 10-minute grocery delivery, or --sla-mins 30 for food delivery).

    No. The pipeline runs entirely in-memory using Python and exports pure CSV star-schema tables. The included sql/star_schema.sql is provided for teams that want to load the tables into a data warehouse.

    New in Data & Databases