/bigquery-cost-check
Audit a BigQuery SQL query or dbt model for potential cost traps before it hits production.
$ npx -y skills add yeaight7/agent-powerups --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/bigquery-cost-check
Context preview
What this command does when you run it.
Audit a BigQuery SQL query or dbt model for potential cost traps before it hits production.
Command definition
bigquery-cost-check.mddescription: "Audit a BigQuery SQL query or dbt model for potential cost traps before it hits production." argument-hint: "<sql_file_or_dbt_model>"
BigQuery Cost Check Command
CRITICAL BEHAVIORAL RULES
1. **Analyze Static SQL**: You cannot run the query to see the bytes billed. You must statically analyze the SQL syntax and dbt `config()` blocks. 2. **Focus on Bytes Billed**: In BigQuery, cost is driven by data scanned, not compute time. Focus entirely on reducing data scanned.
Execution Steps
1. Read the provided SQL or dbt model file. 2. Look for the target table's schema (if available in the repo) to identify partitioned columns. 3. Evaluate the `WHERE` clauses. Are partition keys used? If not, flag a full table scan. 4. Evaluate the `SELECT` clauses. Are there unnecessary columns? 5. For dbt models, check the `config` block. Is this a table, view, or incremental model? If it's a massive daily table rebuild, recommend an incremental strategy. 6. Provide a concise report:
- **Risk Level**: (Low, Medium, High)
- **Cost Drivers**: (The specific lines or patterns driving cost)
- **Recommendations**: (Specific SQL or config changes to implement)
Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more
Repo: yeaight7/agent-powerups
Other commands on agent-powerups.
- /bug-check
Run automated tests and build checks first, then agent code review. For each bug found, propose or document a regression test.
Open command - /build-fix
Use when a build, type check, or test suite is failing and needs to be unblocked with a minimal change.
Open command - /debug
Use when a bug needs systematic diagnosis before a fix is attempted.
Open command - /doctor
Use to diagnose environment, tooling, and Agent Powerups setup problems.
Open command - /implement
Use to turn a spec or user request into working, tested code.
Open command - /mcp-check
Use to check MCP server prerequisites before activating or using a server.
Open command

