Skip to content
Skillpedia
Databases33k · #8714

bigquery-basics

What it does

This skill helps your AI agent use Google BigQuery, a serverless data platform for analyzing large data with SQL. It is for analysts and developers who work with large datasets on Google Cloud.

When to use it

  • ✓When you need to run an SQL query on a large dataset in BigQuery.
  • ✓When you want to create a dataset or table for your data in Google Cloud.
  • ✓When you want to use BigQuery ML or AI features for analysis.

Skill link

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/database/bigquery-basics/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/database/bigquery-basics/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Create a BigQuery table from my sales CSV and show me the total by region.”

5 new skills a week. 1 minute to read.

How it works

The agent uses the bq command line tool and SQL queries to create datasets and tables and to run analysis. It follows the skill's guidance on schemas and query formats.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

BigQuery Basics

BigQuery is a serverless, AI-ready data platform that enables high-speed analysis of large datasets using SQL and Python. Its disaggregated architecture separates compute and storage, allowing them to scale independently while providing built-in machine learning, geospatial analysis, and business intelligence capabilities.

Setup and Basic Usage

  1. Enable the BigQuery API:

    gcloud services enable bigquery.googleapis.com --quiet
    
  2. Create a Dataset:

    bq mk --dataset --location=US my_dataset
    
  3. Create a Table:

    Create a file named schema.json with your table schema:

    [
      {
        "name": "name",
        "type": "STRING",
        "mode": "REQUIRED"
      },
      {
        "name": "post_abbr",
        "type": "STRING",
        "mode": "NULLABLE"
      }
    ]
    

    Then create the table with the bq tool:

    bq mk --table my_dataset.mytable schema.json
    
  4. Run a Query:

    bq query --use_legacy_sql=false \
    'SELECT name FROM `bigquery-public-data.usa_names.usa_1910_2013` \
    WHERE state = "TX" LIMIT 10'
    

Reference Directory

  • Core Concepts: Storage types, analytics workflows, and BigQuery Studio features.

  • CLI Usage: Essential bq command-line tool operations for managing data and jobs.

  • Client Libraries: Using Google Cloud client libraries for Python, Java, Node.js, and Go.

  • MCP Usage: Using the BigQuery remote MCP server and Gemini CLI extension.

  • Infrastructure as Code: Terraform examples for datasets, tables, and reservations.

  • IAM & Security: Roles, permissions, and data governance best practices.

If you need product information not found in these references, use the Developer Knowledge MCP server search_documents tool.

Related Skills

FAQ

How do I start with BigQuery?

First enable the BigQuery API in your Google Cloud project, then create a dataset with the bq tool.

Do I need to know SQL?

Some SQL helps, but the agent can write the queries for you based on your question.

Can it work with Python too?

Yes, the skill notes that BigQuery works with both SQL and Python.

Details

Original description by the author

Manages datasets, tables, and jobs in BigQuery, and integrates with BigQuery ML and Gemini for advanced data analytics and AI-driven insights. Use for SQL queries, resource management, data ingestion, or AI applications on BigQuery.

repo: davila7/claude-code-templates

Popularity

GitHub stars
33k
Ranking position
#8714
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills