Agent skill

Check Chart Preview

by owid in owid/etl

Check chart or multidim preview on the staging server using a browser.

MITAuto-check passedData & Analytics

Install Check Chart Preview

skills CLI
$ npx skills add owid/etl --skill check-chart-preview -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install owid/etl check-chart-preview --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/owid/etl.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/check-chart-preview .claude/skills/check-chart-preview && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
check-chart-preview
GitHub stars
158
Token cost
~1.2k tokens
SKILL.md length
401 words
Files
3
Skills in repo
35
Repo updated
First seen
Licence
MIT

At a glance

Check chart or multidim preview on the staging server using a browser.

  • Works in 3 steps: Get the git branch: git branch… → Compute container name: replace /._ with… → Determine chart type and URL
  • User wants to visually verify a chart renders correctly on staging
  • SKILL.md covers Prerequisites, Getting the Staging URL, Checking the Preview and Pushing to Staging First
  • Runs Python scripts from its folder; calls python, curl and git

What it does

Check Chart Preview is an agent skill from owid/etl. Check chart or multidim preview on the staging server using a browser. Use when user wants to visually verify a chart renders correctly on staging, take a screenshot of a chart, or QA a chart/mdim preview.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `get_chart_png_url.py` and `get_staging_url.py`).

It sits in Data & Analytics, covering Browser automation. The repository describes itself as: A compute graph for loading and transforming OWID's data. The licence is MIT.

When your agent uses it

  • User wants to visually verify a chart renders correctly on staging
  • Take a screenshot of a chart
  • QA a chart/mdim preview

Example prompts

  • “/check-chart-preview”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Get the git branch: git branch --show-current
  2. Compute container name: replace /._ with - in branch name, strip any staging-site- prefix, prepend staging-site-, truncate the normalized…
  3. Determine chart type and URL

What it can do on your machine

Read from SKILL.md and the folder at commit bf5dc8e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • curl
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use curl and git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Check Chart Preview loads about 1.2k tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 401 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from owid/etl at commit bf5dc8e, republished under its MIT licence (© owid). 401 words, ~1,181 tokens.

Download SKILL.mdSave it as .claude/skills/check-chart-preview/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
check-chart-preview
description
Check chart or multidim preview on the staging server using a browser. Use when user wants to visually verify a chart renders correctly on staging, take a screenshot of a chart, or QA a chart/mdim preview.
metadata.internal
true
metadata.owner
Marigold

Check Chart/Mdim Preview on Staging

Visually verify that a chart or multidimensional indicator page renders correctly on the staging server.

Prerequisites

  • A staging server must be running for the current git branch (check via curl -s -o /dev/null -w "%{http_code}" http://<container>/)
  • The chart/mdim must have been pushed to staging already (either via etlr --watch in VSCode or manually)
  • For non-trivial UI checks (MDIM dropdowns, link/unlink chips, etc.) the agent-browser skill is needed; for plain PNG snapshots it isn't

Getting the Staging URL

bash
.venv/bin/python .claude/skills/check-chart-preview/get_staging_url.py <slug-or-path>

Accepts chart slugs, mdim slugs, or file paths:

bash
# Chart slug (most common)
.venv/bin/python .claude/skills/check-chart-preview/get_staging_url.py life-expectancy

# Mdim slug
.venv/bin/python .claude/skills/check-chart-preview/get_staging_url.py energy/latest/energy_prices#energy_prices

# Export multidim file path
.venv/bin/python .claude/skills/check-chart-preview/get_staging_url.py etl/steps/viz/chart/energy/latest/energy_prices.config.yml

# Chart file path
.venv/bin/python .claude/skills/check-chart-preview/get_staging_url.py etl/steps/graph/covid/latest/covid-cases.chart.yml
Option 2: Construct manually
  1. Get the git branch: git branch --show-current
  2. Compute container name: replace /._ with - in branch name, strip any staging-site- prefix, prepend staging-site-, truncate the normalized part to 28 chars, strip trailing -
  3. Determine chart type and URL:
File typeURL pattern
.chart.yml (simple, no # in slug)http://<container>/grapher/<slug>
.chart.yml (mdim, # in slug)http://<container>/admin/grapher/<catalogPath>
viz/chart/*.config.yml or *.pyhttp://<container>/admin/grapher/<namespace>/<version>/<shortName>%23<shortName>

For .chart.yml: the slug is in the YAML slug: field. For mdim slugs containing #, the catalogPath inserts the version from the file path.

For viz chart steps: derive from path etl/steps/viz/chart/<namespace>/<version>/<shortName>.* → catalogPath is <namespace>/<version>/<shortName>#<shortName>.

Checking the Preview

Show full SKILL.md (208 more words)Show less

The fastest, most reliable way to grab a chart's rendered image — works for drafts as well as published charts, no browser, no auth required. Uses the same render pipeline OWID's public site uses for /grapher/<slug>.png, but addresses the chart by its chart_configs.id UUID, which is published to R2's byUUID/ directory for every chart (whether or not the chart itself is isPublished).

bash
# Resolve slug → by-uuid PNG URL, then fetch
URL=$(.venv/bin/python .claude/skills/check-chart-preview/get_chart_png_url.py <slug-or-id>)
curl -o ai/chart_preview.png "$URL"

Pass extra grapher query params with --<key>=<value>:

bash
.venv/bin/python .claude/skills/check-chart-preview/get_chart_png_url.py <slug> --tab=map
.venv/bin/python .claude/skills/check-chart-preview/get_chart_png_url.py <slug> --tab=chart --time=earliest..2020

The helper queries the staging MySQL via etl.config.OWID_ENV.read_sql (which auto-routes to staging-site-<branch>), so it works as long as the staging server is up and the chart has been pushed.

Use the resulting PNG by reading it directly with the Read tool (Claude can view images).

Fallback: browser preview for mdim pages / interactive UI

The by-uuid PNG route renders a single chart frame. For MDIM data pages with dropdowns, or for verifying interactive UI (controls, link/unlink chips, etc.), use the agent-browser skill to navigate to the staging URL from get_staging_url.py and take an in-browser screenshot.

Quick PNG check (published charts only)

For charts that are already published, the slug-based PNG route also works:

bash
curl -o ai/chart_preview.png "http://<container>/grapher/<slug>.png?nocache"

This 404s for drafts — use the by-uuid route above instead.

Pushing to Staging First

If the chart hasn't been pushed yet:

bash
# For graph step charts
.venv/bin/etlr graph://<namespace>/<version>/<slug> --graph --graph-push

# For viz chart steps (charts and MDIMs)
.venv/bin/etlr viz://chart/<namespace>/<version>/<shortName> --grapher

© owid, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in .claude/skills/check-chart-preview of owid/etl.

  • SKILL.md
  • get_chart_png_url.py
  • get_staging_url.py

Open the folder on GitHubat commit bf5dc8e

Compare with similar skills

Check Chart Preview next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Check Chart Preview compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Check Chart Preview this skillowid/etl158—~1.2kAutomated safety check: PassMIT
Chrome Devtoolseinverne/dotfiles1212 repos~1.6kAutomated safety check: NotesApache-2.0
Web Scrapingplatonai/Browser41.2k—~1.1kAutomated safety check: PassApache-2.0
Web Crawlerbyungjunjang/web-crawler162—~7.2kAutomated safety check: PassMIT
ScraplingTommy-yw/RunbookHermes5464 repos~2.3kAutomated safety check: PassMIT
Brightdata SDKbrightdata/skills264—~5.2kAutomated safety check: PassMIT

Similar skills

  • Chrome Devtools

    einverne/dotfiles

    Browser automation, debugging, and performance analysis using Puppeteer CLI scripts.

    121 GitHub starsUsed in 2 repos~1.6k tokens
    Data & AnalyticsAuto-check: notes
  • Web Scraping

    platonai/Browser4

    Extracts data from web pages using browser automation and CSS/JavaScript selectors.

    1.2k GitHub stars~1.1k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Web Crawler

    byungjunjang/web-crawler

    URL과 수집 항목을 받아 사이트를 정찰하고 데이터를 수집하여 엑셀로 출력하는 범용 웹 크롤링 에이전트. An agent skill from byungjunjang/web-crawler.

    162 GitHub stars~7.2k tokensUpdated 2 days ago
    Data & AnalyticsAuto-check passed
  • Scrapling

    Tommy-yw/RunbookHermes

    Web scraping with Scrapling - HTTP fetching, stealth browser automation, Cloudflare bypass, and spider crawling via CLI and Python.

    546 GitHub starsUsed in 4 repos~2.3k tokens
    Data & AnalyticsAuto-check passed
  • Brightdata SDK

    brightdata/skills

    Web data extraction and discovery using the Bright Data Python SDK.

    264 GitHub stars~5.2k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Scraper Builder

    jwynia/agent-skills

    Guide AI agents to generate complete PageObject pattern web scraper projects using Playwright and TypeScript with Docker deployment.

    166 GitHub stars~4k tokensUpdated 7 mo ago
    Data & AnalyticsAuto-check passed

More from owid/etl

All 35 skills in this repo
  • Find every OWID surface that references a chart, indicator, MDIM, or explorer — articles (links vs embeds), explorers, narrative charts, data insights, static viz, key-chart slots, MDIM views.

    158 GitHub stars~4.9k tokensUpdated today
    Auto-check passed
  • Add a scatter view (with GDP per capita on x) to existing OWID charts via the admin API, mirroring the admin UI's "Add scatter type" defaults, then retire the old standalone "X vs.

    158 GitHub stars~19k tokensUpdated today
    Auto-check passed
  • Add new survey question codes (e.g. An agent skill from owid/etl.

    158 GitHub stars~11k tokensUpdated today
    Auto-check: notes
  • Build or refresh an OWID static visualization end to end — resolve what data it needs from an old static viz image, an indicator, or a grapher chart; check both the ETL catalog and the producer's…

    158 GitHub stars~8.3k tokensUpdated today
    Auto-check passed
  • Propose redirects from (soon-to-sunset) grapher charts to the matching views of published MDIMs.

    158 GitHub stars~9.6k tokensUpdated today
    Auto-check: notes
  • Take (soon-to-sunset) OWID explorers to redirected MDIMs, end to end.

    158 GitHub stars~7.3k tokensUpdated today
    Auto-check: notes

Questions about Check Chart Preview

What does Check Chart Preview do?

Check chart or multidim preview on the staging server using a browser. Check Chart Preview is an agent skill from owid/etl. Check chart or multidim preview on the staging server using a browser.

When should I use Check Chart Preview?

Check Chart Preview fits situations like: user wants to visually verify a chart renders correctly on staging; take a screenshot of a chart; QA a chart/mdim preview.

How do I install Check Chart Preview in Claude Code?

Run `npx skills add owid/etl --skill check-chart-preview -a claude-code`. Or copy the skill folder (.claude/skills/check-chart-preview in owid/etl) into .claude/skills/check-chart-preview in your project. Claude Code loads it when a task matches its description.

How do I install Check Chart Preview in Codex?

Run `npx skills add owid/etl --skill check-chart-preview -a codex`. Or copy the skill folder (.claude/skills/check-chart-preview in owid/etl) into .agents/skills/check-chart-preview in your project. Codex loads it when a task matches its description.

Can I use Check Chart Preview in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add owid/etl --skill check-chart-preview -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/check-chart-preview, .gemini/skills/check-chart-preview, .github/skills/check-chart-preview and .opencode/skills/check-chart-preview in your project.

What does Check Chart Preview need to run?

Going by SKILL.md and its folder, Check Chart Preview needs Python for the scripts in its folder and the command-line tools its instructions call (python, curl and git). Our summary lists: Python 3.

Does Check Chart Preview access the network?

SKILL.md contains no URLs. Its commands use curl and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Check Chart Preview safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Check Chart Preview use?

Check Chart Preview is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Check Chart Preview use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Check Chart Preview?

Skills that share tags, products or a category with Check Chart Preview: Chrome Devtools (einverne/dotfiles, 121 stars), Web Scraping (platonai/Browser4, 1.2k stars), Web Crawler (byungjunjang/web-crawler, 162 stars) and Scrapling (Tommy-yw/RunbookHermes, 546 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Check Chart Preview?

owid (a GitHub organization) maintains it in owid/etl, which has 158 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 8, 2026.

Source: owid/etl on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.