Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

evidence

БесплатноБез исполняемых скриптовНе проверен

Evidence is a BI framework that builds interactive data reports and dashboards from SQL and Markdown, developed as code in Git. Use when creating or editing…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub

Об этом скилле

Evidence — Code-Driven BI Reports

Overview

Evidence turns Markdown files with SQL code fences and chart tags into published reports. It has changed completely since early 2026. The older open-source framework (npx degit evidence-dev/template, npm run dev, Svelte tags such as <LineChart data={orders} />, sources/ folders, DuckDB in the browser, npm run build) is now called legacy: the template repository's npm scripts print deprecation messages, and the last @evidence-dev/evidence release (40.1.8) is from February 2026. Current Evidence uses the Evidence CLI (a standalone binary, version 0.11.1 today), Markdoc component syntax, server-side SQL, and live queries with no build step. Do not write legacy syntax for new work. Docs: https://docs.evidence.dev.

Instructions

Install the CLI (verify the checksum)

The official one-liner pipes a script into a shell. Prefer downloading the binary and checking it against the checksum Evidence publishes next to it (Linux x64 shown; use darwin-arm64, darwin-x64, linux-arm64 or windows-x64 as needed):

mkdir -p ~/.local/bin && cd ~/.local/bin || exit 1
curl -fsSL -o version.json https://gaamozau3jchzs3r.public.blob.vercel-storage.com/cli/version.json
URL=$(python3 -c "import json;print(json.load(open('version.json'))['binaries']['linux-x64'])")
SUM=$(python3 -c "import json;print(json.load(open('version.json'))['checksums']['linux-x64'])")
curl -fsSL -o evidence "$URL" && echo "$SUM  evidence" | sha256sum -c - && chmod +x evidence
./evidence version      # 0.11.1

On macOS use shasum -a 256 -c - instead of sha256sum -c -. evidence upgrade updates later. Set EVIDENCE_TELEMETRY_DISABLED=1 to turn off anonymous usage telemetry.

Create a project and the loop

evidence init shop-reports       # writes pages/, evidence.config.yaml, theme.yaml, access.yaml, AGENTS.md
cd shop-reports
evidence login                   # opens a browser; uses your Studio organization's data connection
evidence tables                  # list tables, including the demo.* sample data
evidence describe demo.daily_orders
evidence dev                     # local preview, default port 3000 (--port to change)
evidence validate                # checks Markdown and component syntax; run it before every commit

Pages are Markdown files under pages/. There is no npm install or build step; queries run when the page loads. The generated AGENTS.md/CLAUDE.md tell coding agents the same rules, and evidence docs list, evidence docs component <name> and evidence docs search <query> print current component syntax as JSON, so check them instead of guessing attributes.

Writing a report

SQL code fences are named queries (ClickHouse dialect on the Evidence warehouse, or your warehouse's own dialect on a direct connector). Components are Markdoc tags: {% name attribute="value" /%}, and string attributes are quoted. Charts and tables can query a table by themselves (aggregations go inside y="sum(total_sales)"), or render a named query.

---
title: Sales Overview
---

# Sales Overview

{% dropdown id="category_filter" data="demo.daily_orders" value_column="category" title="Category" /%}

{% big_value data="demo.daily_orders" value="sum(total_sales)" fmt="usd1m" filters=["category_filter"] /%}

{% line_chart
    data="demo.daily_orders"
    x="date"
    y="sum(total_sales)"
    date_grain="month"
    filters=["category_filter"]
/%}

```sql top_categories
select category, sum(total_sales) as revenue
from demo.daily_orders
group by category
order by revenue desc
limit 5
```

{% bar_chart data="top_categories" x="category" y="sum(revenue)" /%}

{% table data="top_categories" /%}

Key points (verified with evidence validate on CLI 0.11.1):

  • A dropdown with an id filters any component that lists that id in filters=[...]; there is no ${inputs.x} interpolation.
  • Reference another query inside SQL with {{query_name}}; it is substituted as a subquery.
  • Other component families: area_chart, scatter_chart, heatmap, pie_chart, combo_chart, funnel_chart, map, tabs, row/stack for layout, repeat and if for logic, date_range={ range="last 12 months" } on data components. Unknown attributes fail validation (Invalid attribute: 'yy').
  • Reusable SQL can live in queries/*.sql files, but {{ }} variables are not resolved inside them; put input-driven SQL in a page SQL block.
  • Models, metrics, partials and custom components are described under Core Concepts in the docs.

Connect your own warehouse

With a Studio account, evidence login is enough and no connection.yaml is needed. Without an account (self-hosting, offline, or different credentials) scaffold one: evidence init shop-reports --warehouse bigquery (or snowflake), which gitignores connection.yaml but not the key file it points to, so add the key file to .gitignore yourself.

# connection.yaml
Полный SKILL.md на GitHub

Установить evidence в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_scores.json

FAQ

Что делает скилл evidence?

Evidence is a BI framework that builds interactive data reports and dashboards from SQL and Markdown, developed as code in Git. Use when creating or editing Evidence reports, writing SQL blocks and charts in Markdown, connecting a warehouse, running the Evidence CLI, self-hosting a project, or migrating an older Evidence project (npm, Svelte-style components) to the current version.

Как установить скилл evidence?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл evidence запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить evidence с