executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
serpapi-cost-tuningReduce SerpAPI search consumption through measured demand, exact-query caching, admission budgets, and current account pricing evidence. Use when forecasting or controlling search spend. Trigger with "optimize SerpAPI cost".
Independent GitHub snapshot · Automated classification · Original documentation governs
Forecast from observed search demand and the account's current contract, then reduce waste without inventing static plan economics.
Use Read, Glob, and Grep to inventory callers, cache behavior, and retry amplification, WebFetch to verify current public pricing and cache rules, and Write or Edit for forecasts, budgets, dashboards, and safe optimizations.
Plans, prices, included searches, and hourly throughput can change. Account API exposes the subscribed plan, searches left, usage, renewal date, and throughput. Exactly matching cached searches can be served from SerpAPI's one-hour cache for free; no_cache=true opts out and can increase consumption.
Read account facts with the server-side SERPAPI_KEY, but do not expose the key, account identity, or commercial details in public dashboards or receipts.
Return dated account/pricing evidence, producer ledger, demand forecast, waste analysis, prioritized controls, scenario assumptions, approval decisions, and forecast-versus-actual owner.
| Condition | Response |
|---|---|
| Pricing differs from the model | Refresh evidence and invalidate the stale scenario. |
| Usage exceeds events recorded | Audit retries, pagination, hidden producers, and no_cache. |
| Cache lowers search quality | Restore the freshness contract and evaluate narrower reuse. |
| Renewal date is absent | Confirm whether the account uses a non-monthly or cancelled arrangement. |
window=to-renewal; demand=observed; waste=duplicate-plus-retry; pricing=evidence-dated; scenarios=base/expected/peak; headroom=approved; action=normalize-cache-keys
Reconcile the forecast weekly and reopen the plan decision before renewal or a material demand change.