swapnildahiphale/opensre/database-bigquery

Claude Code and agent skill by swapnildahiphale/opensre

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Google BigQuery data warehouse queries and schema inspection. Use when running SQL queries, listing datasets/tables, or inspecting table schemas in BigQuery.

Install

npx vskill@latest install swapnildahiphale/opensre/database-bigquery

SKILL.md

The same SKILL.md was published earlier as swapnildahiphale/opensre/database-bigquery.

BigQuery Data Warehouse

Authentication

IMPORTANT: Credentials are injected automatically by a proxy layer. Do NOT check for BIGQUERY_SERVICE_ACCOUNT_KEY in environment variables - it won't be visible to you. Just run the scripts directly; authentication is handled transparently.

Configuration environment variables you CAN check (non-secret):

  • BIGQUERY_PROJECT_ID - GCP project ID
  • BIGQUERY_DATASET - Default dataset

MANDATORY: Schema-First Investigation

List datasets and tables before writing queries.

LIST DATASETS → LIST TABLES → GET TABLE SCHEMA → QUERY

Available Scripts

All scripts are in .claude/skills/database-bigquery/scripts/

list_datasets.py - List Datasets (START HERE)
bash
python .claude/skills/database-bigquery/scripts/list_datasets.py
list_tables.py - List Tables in Dataset
bash
python .claude/skills/database-bigquery/scripts/list_tables.py --dataset DATASET_ID
get_table_schema.py - Table Schema Details
bash
python .claude/skills/database-bigquery/scripts/get_table_schema.py --dataset DATASET_ID --table TABLE_ID
query.py - Run SQL Queries
bash
python .claude/skills/database-bigquery/scripts/query.py --query "SELECT * FROM dataset.table LIMIT 10" [--dataset DEFAULT_DATASET] [--max-results 1000]

BigQuery SQL Reference

sql
-- Standard SQL (default)
SELECT * FROM `project.dataset.table` LIMIT 10
-- Aggregate with time
SELECT DATE(timestamp), COUNT(*) as events
FROM `dataset.events`
WHERE timestamp > TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 24 HOUR)
GROUP BY 1 ORDER BY 1 DESC
-- Partitioned table query (cost-efficient)
SELECT * FROM `dataset.events`
WHERE _PARTITIONTIME >= TIMESTAMP('2026-01-01')

Investigation Workflow

Data Analysis
1. list_datasets.py (find available datasets)
2. list_tables.py --dataset <dataset> (find tables)
3. get_table_schema.py --dataset <dataset> --table <table>
4. query.py --query "SELECT ..."

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
70
Repository forks
18
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/swapnildahiphale/opensre/database-bigquery/badge)](https://verified-skill.com/skills/swapnildahiphale/opensre/database-bigquery)

Something wrong with this skill or its page? Tell us.