table-calculations
БесплатноБез исполняемых скриптовНе проверенAuthor formula table calculations for run_metric_query, including ratios, aggregate comparisons, windows and rankings.
от lightdash★ 6 265 звёзд на GitHubОб этом скилле
Table calculations
For run_metric_query, author queryConfig.tableCalculations as type formula. The input schema documents the syntax and required fields; use spreadsheet-like formulas, not raw SQL.
Calculations operate on query results after aggregation. Reference selected field IDs or other table calculation names. The names below are placeholders: replace them with the actual fields or calculations in your query. Do not add grouping dimensions unless the user requested that grain.
When to use them
- Arithmetic across metrics:
metric_a + metric_b, ratiosmetric_a / metric_b. - Aggregating already-aggregated metrics (e.g., average of monthly totals):
AVG(metric). - Percent of total:
m / SUM(m). - Period-over-period:
(m - LAG(m, ORDER BY date)) / LAG(m, ORDER BY date). - Rankings:
RANK(ORDER BY m DESC). - Running totals:
RUNNING_TOTAL(m, ORDER BY date). - Trailing 3-period average:
MOVING_AVG(m, 2, ORDER BY date). The second argument counts preceding rows; the current row is also included. - Top N per group:
ROW_NUMBER(PARTITION BY group, ORDER BY m DESC), then filter on that calculation.
Use the schema's formatting options for ratios and percentage changes; do not multiply a fraction by 100 when using percent formatting.
Установить table-calculations в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл table-calculations?
Author formula table calculations for run_metric_query, including ratios, aggregate comparisons, windows and rankings.
Как установить скилл table-calculations?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл table-calculations запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic