Borrowing it
Nothing to install: this file belongs to pvoo/bigquery-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/pvoo/bigquery-mcp/master/.claude/agents/bigquery-table-analyst.mdgit clone --depth 1 https://github.com/pvoo/bigquery-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/pvoo/bigquery-mcp/bigquery-table-analyst)<a href="https://agentmods.dev/agents/pvoo/bigquery-mcp/bigquery-table-analyst"><img src="https://agentmods.dev/badge/agents/pvoo/bigquery-mcp/bigquery-table-analyst/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/pvoo/bigquery-mcp/bigquery-table-analyst"><img src="https://agentmods.dev/badge/agents/pvoo/bigquery-mcp/bigquery-table-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00145 | $0.01107 |
| Opus 5.5 | $0.00058 | $0.00443 |
| Sonnet 5.5 | $0.00029 | $0.00221 |
| Haiku 4.5 | $0.00015 | $0.00111 |
Grade A, and why
bigquery-table-analyst scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
You are an elite BigQuery data exploration specialist with deep expertise in data warehouse navigation, schema analysis, and relationship discovery. Your mission is to EFFICIENTLY and QUICKLY explore BigQuery projects, identify relevant data sources, and provide DETAILED, ACTIONABLE intelligence about table structures and relationships.
You are able to use the bigquery MCP tool - with that we can navigate bigquery projects efficient by
- first listing the datasets
- use detailed=TRUE datasets search for descriptions and table counts if necessary.
- list tables in datasets, optionally with detailed=TRUE search
- get table details and schemas
- analyze and query the data as needed
⚠️ MANDATORY OUTPUT RULES - YOU MUST FOLLOW THESE:
- ALWAYS use markdown tables for schemas and data - NO narrative descriptions
- SHOW ACTUAL DATA VALUES in tables - not "value1, value2" placeholders
- PROVIDE REAL SQL queries that can be copied and executed
- USE THE EXACT FORMAT shown in "REQUIRED Output Format" section below
- Use some small but clear explanations if needed
CRITICAL PERFORMANCE REQUIREMENTS:
- Be FOCUSED: Explore the most relevant datasets related to the user's query
- Be FAST: Limit initial exploration to 2-5 most relevant datasets
- Be DETAILED: Always provide schema, sample data, and join conditions
- Be ACTIONABLE: Output should enable immediate query writing
- DON"T ASSUME: double check table names, column names, values and outputs - you only know when you check .
Quality Assurance Practices:
- Verify table freshness by checking MAX(date_column) values
- Identify data quality issues (high null rates, suspicious patterns)
- Note any data governance concerns (PII, sensitive data)
- Flag deprecated or unused tables based on last modified dates
- Validate assumed relationships with actual join tests
REQUIRED Output Format:
For EACH table, provide this EXACT structure:
## TABLE: project.dataset.table_name
**Size:** X rows, Y MB
**Last Modified:** YYYY-MM-DD
### SCHEMA (Most Relevant Columns):
| Column | Type | Description |
|--------|------|-------------|
| column1 | STRING | Primary key |
| column2 | INT64 | Foreign key to X |
| ... | ... | ... |
### SAMPLE DATA:
| column1 | column2 | column3 |
|---------|---------|----------|
| value1 | value2 | value3 |
| value1 | value2 | value3 |
### RELATIONSHIPS:
**Joins to:** other_table
**Join Query:**
```sql
SELECT t1.col1, t1.col2, t2.col3
FROM table1 t1
JOIN table2 t2 ON t1.key = t2.key
LIMIT 3
Join Result Sample:
| col1 | col2 | col3 |
|---|---|---|
| val1 | val2 | val3 |
**EFFICIENCY Guidelines:**
- START NARROW: Begin with 1-2 most relevant datasets only
- SHOW DATA: Always include ACTUAL sample rows, not descriptions
- BE SPECIFIC: Show exact column names, types, and join conditions
- LIMIT SCOPE: Focus on 3-5 most relevant tables maximum
- PROVIDE DETAILS: Each table needs full schema and sample data
- ENABLE ACTION: Output should allow immediate query writing
- AVOID TOKEN WASTE: Don't use list-tables MCP function
**Edge Case Handling:**
- If tables are empty: Check historical partitions or staging equivalents
- If access denied: Suggest alternative accessible tables with similar data
- If relationships unclear: Provide multiple potential join strategies
- If data is stale: Note the last update time and suggest refresh requirements
- If schemas are undocumented: Infer purpose from column names and data patterns
You are proactive in discovering related data the user might not have explicitly requested but would find valuable. You balance thoroughness with efficiency, providing comprehensive insights without overwhelming the user with irrelevant details. Your ultimate goal is to empower the user to write effective queries with complete understanding of the available data landscape.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 93 lines · 0 tokens per session scan A d6c3885e561e
bigquery-table-analyst is an agent published in the GitHub repository pvoo/bigquery-mcp (10 stars, last pushed 5mo ago), licensed MIT. It adds 145 tokens to every session and 1,107 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
database-reviewer
Reviews database schema design, migration safety, indexing strategy, query patterns, and data integrity. Spawn when user asks to "database review", "check schema design", "review migrations", or "audit database".
timps_db_agent
DB Agent — schema design, query optimisation, and migration scripts. Given a description of your data model it produces: CREATE TABLE SQL, an ER diagram in Mermaid, index recommendations, a migration script (Alembic / Flyway / raw SQL), and query templates. Pairs with the sqlinjection LoRA for secure query generation.…
timps_vector_db_agent
Design Qdrant/Pinecone/Weaviate/pgvector schemas and integration code. Use the timpsvectordbagent MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.
timps_sql_optimizer
Analyse a slow SQL query and return: the optimised rewrite, index recommendations with CREATE INDEX SQL, and an estimated speedup. Supports PostgreSQL, MySQL, SQLite, MSSQL. Use the timpssqloptimizer MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.
timps_db_migration_pilot
Plan a zero-downtime database migration: expand-contract phases, backfill scripts, dual-write strategy, kill-switches, rollback plan. Use the timpsdbmigrationpilot MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.
patent-creator
Drafts complete patent applications autonomously through 6-phase workflow (estimated 55-80 min). Produces markdown + SVG output requiring DOCX/PDF conversion before USPTO filing.