segment-usage
/segment-usage
Zestawia miesięczne zużycie Segment, czyli MTU i wywołania API, dla całej przestrzeni i poszczególnych źródeł, z listą największych.
- Autor
- csangani ↗
- Repozytorium
- segment-cli ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 06.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 06.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Zestawia miesięczne zużycie Segment, czyli MTU i wywołania API, dla całej przestrzeni i poszczególnych źródeł, z listą największych.
Oryginalny opis (EN)
Report Segment Monthly Tracked Users (MTU) and API call usage for a month, for the whole workspace and per source, with the top contributors. Use when the user asks about Segment MTUs, usage, billing drivers, or which sources send the most.
Jak działa
- Period
- Collect
- Report
Podgląd SKILL.md
--- name: segment-usage description: Report Segment Monthly Tracked Users (MTU) and API call usage for a month, for the whole workspace and per source, with the top contributors. Use when the user asks about Segment MTUs, usage, billing drivers, or which sources send the most. license: MIT compatibility: Requires the segment CLI (npm install -g csangani/segment-cli), logged in. See the segment-setup skill. allowed-tools: Bash(segment read *) Bash(segment describe *) Bash(segment auth status) Bash(segment auth status *) --- # Segment usage report Read-only. Report MTU and API call usage for one usage month with the `segment` CLI. If the user names a workspace profile, add `--profile NAME` to every command. ## Period The API's `period` parameter is the first day of the usage month, for example `2026-11-01`. Use the month the user asked about (`2026-10`, `October 2026`, `last month`). Otherwise use the current month. If the workspace's billing cycle doesn't start on the 1st and the API rejects or returns nothing for the period, say so and ask for the cycle start date. ## Collect Run these with your shell tool (they can run in parallel). Replace `P` with the period: ``` segment read getDailyWorkspaceMTUUsage period=P --all segment read getDailyPerSourceMTUUsage period=P --all segment read getDailyWorkspaceAPICallsUsage period=P --all segment read getDailyPerSourceAPICallsUsage period=P --all segment read listSources --all --fields id,name,slug ``` Count values (`identified`, `anonymous`, `anonymousIdentified`, `neverIdentified`, `apiCalls`) are bigint strings, so convert them before adding. The API describes these rows as daily cumulative counts, so the latest `timestamp` is the month-to-date figure; don't add daily rows together. Per-source responses can be large. If one is saved to a file, process it with a short `node -e` script rather than reading it all. ## Report 1. **Workspace totals:** month-to-date MTU (identified + anonymous, with the breakdown) and API calls, as of the latest snapshot timestamp. 2. **Trend:** how the cumulative figures grew over the month. Weekly checkpoints are enough. 3. **Top sources:** top 10 by MTU and top 10 by API calls, by name, with each source's share of the total. 4. **Notable:** sources with high anonymous-to-identified ratios, sources with API calls but near-zero MTU, and sudden jumps between snapshots. Note that these figures come from the Public API's usage endpoints, and that the Segment app's billing page is authoritative for invoicing.
Wersje
W bazie nie ma innych skilli o nazwie segment-usage.
Migawka bazy z 13.11.2026 · wersja paczki 3367aa911d6a (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100segment-api
Czyta i zmienia przestrzeń roboczą Twilio Segment przez CLI i API: źródła, miejsca docelowe, plany śledzenia i klucze zapisu. - 100segment-setup
Instaluje CLI segment, prowadzi przez logowanie do przestrzeni Segment i sprawdza token, region oraz uprawnienia. - 100segment
Obsługuje Twilio Segment jako źródło zdarzeń przez publiczne API: plany śledzenia, źródła, miejsca docelowe i taksonomię zdarzeń. - 85segment-cdp
Podaje wzorce dla Segment CDP: Analytics.js, śledzenie po stronie serwera, plany śledzenia z Protocols, rozwiązywanie tożsamości, konfiguracja destynacji i zarządzanie danymi. - 90esp32-ble-mtu-throughput-budget
Ustala budżet przepustowości BLE z MTU dla ESP32, z ograniczeniami urządzenia, analizą awarii i pomiarami przed wydaniem. - 100network-mtu-mss-path-discovery
Wykrywa fragmentację pakietów i czarne dziury Path MTU oraz ustawia przycinanie MSS TCP na routerach.