prompt-evaluation-runn…
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost controls.
Use when reviewing BigQuery spend, query failure patterns, or scan inefficiencies -- identifying which jobs, users, or projects drive cost, or preparing optimization recommendations for a cost review.
$ npx -y skills add yeaight7/agent-powerups --skill bigquery-cost-audit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/bigquery-cost-auditContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when reviewing BigQuery spend, query failure patterns, or scan inefficiencies -- identifying which jobs, users, or projects drive cost, or preparing optimization recommendations for a cost review.
name: bigquery-cost-audit description: Use when reviewing BigQuery spend, query failure patterns, or scan inefficiencies -- identifying which jobs, users, or projects drive cost, or preparing optimization recommendations for a cost review.
-- Top 20 most expensive jobs in the past 7 days SELECT job_id, user_email, query, total_bytes_processed / POW(1024, 4) AS tb_processed, ROUND(total_bytes_processed / POW(1024, 4) * 6.25, 2) AS estimated_cost_usd, creation_time FROM `region-us`.INFORMATION_SCHEMA.JOBS WHERE creation_time > TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 7 DAY) AND job_type = 'QUERY' AND state = 'DONE' ORDER BY total_bytes_processed DESC LIMIT 20;
SELECT error_result.reason, COUNT(*) AS failure_count, user_email, ANY_VALUE(query) AS sample_query FROM `region-us`.INFORMATION_SCHEMA.JOBS WHERE creation_time > TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 7 DAY) AND error_result IS NOT NULL GROUP BY error_result.reason, user_email ORDER BY failure_count DESC;
Look for queries that scan full tables despite available partition columns:
Check high-scan queries that filter on non-clustered columns after partitioning is already in place.
-- Find scheduled queries with high scan volume (via Data Transfer Service run history) -- Note: scheduled query metadata lives in region-specific transfer_run tables. -- Substitute your project and region: SELECT config.display_name, run.state, run.end_time, run.error_status FROM `<project>.<region>.INFORMATION_SCHEMA.SCHEDULED_QUERY_RUNS` AS run JOIN `<project>.<region>.INFORMATION_SCHEMA.SCHEDULED_QUERIES` AS config ON run.scheduled_query_id = config.scheduled_query_id WHERE run.end_time > TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 30 DAY) ORDER BY config.display_name, run.end_time DESC; -- Then cross-reference with JOBS to find per-run bytes_processed.
1. **Top cost hotspots** — job ID, user, bytes scanned, estimated USD, query snippet. 2. **Recurring failure patterns** — error reason, count, user, sample query. 3. **Optimization opportunities**:
4. **Quick wins vs larger refactors** — flag which optimizations are a one-line WHERE clause fix vs a schema change. 5. **Engineering summary** — technical root causes and remediation steps. 6. **Business summary** — cost impact in plain language; approximate monthly savings per opportunity.
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
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost controls.
Use when creating or reviewing red-team eval plugins, attack templates, grader rubrics, safety fixtures, or model-risk test metadata.
Use when designing, running, debugging, or hardening deterministic eval suites for agent skills, prompts, tool workflows, or MCP-backed cases.
Use when designing tool definitions for a new agent or subagent, an agent shows high retry rates, ambiguous tool invocations, or silent failures, or an…
Use when routing a prompt to a local provider CLI for a second opinion, review, or plan -- you are about to call a provider directly, need the response saved…
Use when starting work in an unfamiliar area of a codebase, spawning a subagent that needs targeted file context, a first search pass missed the relevant file,…