managing-self-driving-spend
БесплатноБез исполняемых скриптовНе проверенExplains and controls what Self-driving (Inbox) costs. Use when the user asks what they spent on Self-driving, which signal sources or scouts drive that…
от PostHog★ 81 звезда на GitHubОб этом скилле
Managing Self-driving spend
Start with posthog:inbox-usage-get for monthly recorded usage, including processing, research, repository selection, scout execution, and automatic report implementation.
Pass month: "YYYY-MM", or omit it for this month.
Receipts expire three calendar months after they are created, so the tool rejects a month that starts before that, and the SQL tables no longer hold those receipts.
Use this month or one of the two months before it.
Show amounts as AI credits, with the USD value next to them: multiply decimal credits by the returned pricing.usd_per_credit.
Recorded usage includes exempt work and is not an invoice; use posthog:billing-limits-get for the billing spend and limit.
On a large project these tools can return more than fits in your context. If yours saves the output to a file, parse the file with a script, and keep the fields you need.
Workflow
- Scope. Use the selected project and requested dates, defaulting to this UTC calendar month.
Read
posthog:inbox-usage-getandposthog:billing-limits-get. Use the returned canonicalproject_idfor SQL reconciliation; child environments resolve to their parent and require access there. - Inventory. List sources with
posthog:inbox-source-configs-listand scouts withposthog:scout-config-list. Explain historical spend even for disabled items; recommend controls only where they still apply. For each scout, readstatusandpause_reason(see "Scout status" in references/controls.md). Readposthog:scout-metadata-getfor the project's run limits andruns_today. - By source and scout. Use the monthly tool's
sourcesandscouts; theirtotal_creditssum to the overall total. Sources include downstream research and implementation; scouts contain execution only, including runs with no reports. - Drill down. Use
posthog:execute-sqlwith references/queries.md for custom dates, individual runs or reports, and finer source breakdowns. If the monthly tool is unavailable, use the SQL ledger subject to its access controls; report credits if no verified USD conversion is available. - By day. Run "Earliest receipt" and "Spend by day" in references/queries-spend.md, and investigate spikes by source, scout, or
kind. For scouts, run "Spend by scout and trigger" to separate scheduled runs from runs a schedule does not control. - Yield. Run "Baselines", "Yield by signal source", and "Yield by scout" in references/queries-yield.md. Yield is the share of settled reports that were resolved. Compare each item with its baseline on both settled rate and cost per resolved.
- Inside each large source. Run "Breakdown inside a source" in references/queries-source-parts.md for every source that holds more than 10% of signal spend. This finds the specific scanners, signal types, evaluations, alerts, or channels behind the spend, which is where most recommendations come from.
- Recommend. Go through every control in references/controls.md and decide whether it applies, using references/recommendations.md. Before you judge a scout, find out what kind of scout it is. A quiet run or an unresolved report is not always waste. Name the specific item to change, give a dollar figure, say what the user loses, and say whether you can apply it.
- Apply. Change nothing without an explicit yes for that specific change. references/controls.md lists the tool for each control, or where to change it in the app when no tool exists. Read the setting back after you change it.
Steps 1 to 8 only read. A caller that must not change settings, such as a scheduled run with nobody to confirm a change, stops after step 8 and lists the recommendations.
Present the result with references/report-template.md.
Rules
- Sum each
system.signal_spendrecord once. Signalmetadata.total_spend, scoutspend_credits, and report detail totals are copies or overlapping views, not additional charges. - Filter finalized usage by
finalized_atwith inclusive start and exclusive end in UTC. Work started earlier can finalize in this period. - Show
exempt_creditsas a subset, not an additional cost. Use receipt exemptions rather than excluding named sources or scouts; non-exempt usage is still not necessarily invoiced usage. Exempt credits include work that PostHog's own systems start and the spend of a Self-driving trial (see "Trials" in references/controls.md). On a project in a trial, most or all of the usage can be exempt. - Report
unsettled_credits,untracked_scout_run_count, and any row withincompletetrue. Unsettled credits cover work created in the requested month, ex
Установить managing-self-driving-spend в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл managing-self-driving-spend?
Explains and controls what Self-driving (Inbox) costs. Use when the user asks what they spent on Self-driving, which signal sources or scouts drive that spend, how spend changes day to day, how many reports a source or scout produced, or how to lower or cap the spend. Breaks spend down by signal source, scout, and day, links it to the reports it produced, recommends changes ranked by savings, and applies them only after the user confirms each one. Trigger terms: inbox spend, self-driving cost, scout cost, why is my bill high, reduce inbox spend, billing limit, daily report limit, turn off a source, pause a scout, scout pre-check, scout schedule, run a scout less often, trigger a scout from a workflow, Self-driving trial spend.
Как установить скилл managing-self-driving-spend?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл managing-self-driving-spend запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic