scenario-admin-analytics
БесплатноЗапускает вложенные скриптыНе проверенUse when answering Scenario admin analytics questions about Creative Unit consumption, most-used models, usage by user or project, AI adoption observability…
от scenario-labs★ 4 422 звезды на GitHubОб этом скилле
Scenario Admin Analytics
Overview
Turn Scenario MCP usage data into answers, CSV, Markdown, a PDF with charts, or an offline
dashboard. All Scenario data collection stays on MCP. No direct API, SDK, browser scraping, or
credentials in reporting scripts. Use the scenario skill for connection setup. If a sibling skill
named here is missing from your available skills, load it with skill_get (Scenario MCP) or ask the
user to install it (https://github.com/scenario-labs/skills#install); unattended, proceed from tool
schemas and flag the gap.
Resolve the customer through teams_list and, when needed, projects_list({team_id}). Reuse the
user's selected scope. If several names match, ask using the discovered choices; unattended, use the
task's explicit team/project ID pair, otherwise stop and list the choices. Never choose the first
silently. For an organization-wide request, use scope:"team" with an accessible context project.
This covers projects accessible to the credential, not additional access rights. For a project use
scope:"project" (default); project_id supplies authentication context and the default analytics
filter. project_ids selects other projects within that team and cannot accompany scope:"team".
Deduplicate selected IDs. Do not add a team total to its project subtotals or sum project
unique-user counts.
Quick reference
| Question | MCP usage data | Calculation |
|---|---|---|
| Top three models | modelUsages |
Sort by totalCU for CU or totalJobs for frequency; show both. |
| All model CU for three months | Add modelUsages.daily |
Export every model, grouping time buckets by UTC month. |
| Who consumed most CU? | consumption, entities |
Rank value; join userId to entities.users[].id. |
| Top models per user | Repeat scoped usage with one user_ids ID |
Rank each response's models; include CU and jobs. |
| Top five users for ten models | Same per-user queries | Select the top ten models overall, then rank five identities within each. |
| Explain a difference | usages.daily, activity |
Inspect recorded evidence; follow activityPagination.nextOffset to null if complete activity is needed. |
Discover the current schema with scenario_tools_search({query:"usage",limit:1}) when missing or
stale. Normally call visible usage directly. If catalog-only, use
scenario_tool_execute_read({name:"usage",parameters:{...}}), never arguments. A host may retain
an older direct signature after deployment: if the fresh catalog exposes missing fields, use that
same read executor with its schema or reconnect. An old host signature does not establish a missing
capability. Ground calls in the public usage reference
and live catalog.
Always set both dates. Bounds are inclusive: a complete March ends at
2026-03-31T23:59:59.999Z. State UTC buckets. For an undated question assume the last 30 complete
days; for "last three months" assume the last three complete calendar months, stating the window. An
undated API call defaults to 31 days, not lifetime. Current-day figures are provisional. The API
enforces its range limit; do not invent a fixed cap. If it rejects a large range, split into
non-overlapping inclusive windows, retain each source, and combine additive measures without summing
unique-identity counts.
Begin with summary JSON; add include:["modelUsages.daily","entities"] for reports. Time buckets
may be finer than daily for short ranges; aggregate by timestamp then UTC day, rejecting duplicate
timestamps. activity is paginated in batches of at most 100 via activity_offset; follow the
returned next offset, not guessed completeness. Summaries repeat on activity pages: count them once.
Avoid activity for ordinary rankings.
Accounting and confidence
totals.totalCU sums consumption[].value, already after discounts. Raw consumption[].total
equals value + discount, before discounts. Model totalCU sums time-bucket cost, also already
after discounts: never subtract discount again. API-key CU is a subset. Preserve decimals,
zeros, fully discounted rows, and negatives. Jobs measure model executions, not successful assets.
Validate echoed scope and dates; check consumption against overall CU, time bu
Установить scenario-admin-analytics в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл scenario-admin-analytics?
Use when answering Scenario admin analytics questions about Creative Unit consumption, most-used models, usage by user or project, AI adoption observability, cached usage data, CSV exports, enterprise PDF reports with charts, or a local analytics dashboard. Keywords: usage API, CU, analytics, adoption, reporting, consumption, cache.
Как установить скилл scenario-admin-analytics?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл scenario-admin-analytics запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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