Agent skill

Draft Data Update Slack Post

by owid in owid/etl

Draft answers for OWID's draft-data-update-slack-post Slack template using snapshot DVC + garden metadata + staging DB queries.

MITAuto-check passedData & Analytics

Install Draft Data Update Slack Post

skills CLI
$ npx skills add owid/etl --skill draft-data-update-slack-post -a claude-code

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

GitHub CLI
$ gh skill install owid/etl draft-data-update-slack-post --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/draft-data-update-slack-post .claude/skills/draft-data-update-slack-post && 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
draft-data-update-slack-post
GitHub stars
158
Token cost
~7.4k tokens
SKILL.md length
2,946 words
Files
1
Skills in repo
35
Repo updated
First seen
Licence
MIT

At a glance

Draft answers for OWID's draft-data-update-slack-post Slack template using snapshot DVC + garden metadata + staging DB queries.

  • Works in 10 steps: Reuse update context if available. → Resolve the dataset. → Extract mechanical fields. → …
  • The user wants to fill the Message about new data update form
  • SKILL.md covers Why this channel exists (read…, When to use, Inputs and What's mechanical vs. editorial, plus 5 more sections
  • Calls make and git; reaches ourworldindata.org and admin.owid.io

What it does

Draft Data Update Slack Post is an agent skill from owid/etl. Draft answers for OWID's draft-data-update-slack-post Slack template using snapshot DVC + garden metadata + staging DB queries. Use when the user wants to fill the "Message about new data update" form, announce a dataset update to the internal data-updates-comms channel, or generate the FAQ-style Slack post after an ETL update. Mechanical fields (producer, dates, coverage, chart count, search URL) are filled directly; editorial fields (why it matters, caveats, what's interesting about this update) get prompts…

Its SKILL.md is about 7.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Data & Analytics, covering Data pipelines and ETL and Help center and FAQ content. It works with Slack. The repository describes itself as: A compute graph for loading and transforming OWID's data. The licence is MIT.

When your agent uses it

  • The user wants to fill the Message about new data update form
  • Announce a dataset update to the internal data-updates-comms channel
  • Generate the FAQ-style Slack post after an ETL update

Example prompts

  • “Message about new data update”
  • “Data update”
  • “/draft-data-update-slack-post”

Requirements

  • Python 3

Workflow steps

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

  1. Reuse update context if available.
  2. Resolve the dataset.
  3. Extract mechanical fields.
  4. Query staging for affected published charts.
  5. Seed the editorial fields with snippet bullets.
  6. Pick chart views — rank by actual data change, not just our intuitions about which chart is "flagship".
  7. Build the search URL.
  8. Best-effort next-release date.
  9. Write the draft.
  10. Show the user the file path and stop. In a git worktree, give the absolute path: a relative link opens the main checkout's copy, which may…

What it can do on your machine

Read from SKILL.md and the folder at commit 69ab20e. 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

    Shell commands in SKILL.md call:

    • make
    • git

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • ourworldindata.org
    • admin.owid.io

    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

Draft Data Update Slack Post loads about 7.4k tokens when it runs. Until then it costs about 196 tokens; SKILL.md has 2,946 words of instructions outside code blocks.

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

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 69ab20e, republished under its MIT licence (© owid). 2,946 words, ~7,436 tokens.

Download SKILL.mdSave it as .claude/skills/draft-data-update-slack-post/SKILL.md (or your agent's skills folder).
name
draft-data-update-slack-post
description
Draft answers for OWID's draft-data-update-slack-post Slack template using snapshot DVC + garden metadata + staging DB queries. Use when the user wants to fill the "Message about new data update" form, announce a dataset update to the internal #data-updates-comms channel, or generate the FAQ-style Slack post after an ETL update. Mechanical fields (producer, dates, coverage, chart count, search URL) are filled directly; editorial fields (why it matters, caveats, what's interesting about this update) get prompts seeded with extracted context for the user to refine. This is the INTERNAL Slack form only — for the public reader-facing "Data update" post on ourworldindata.org/latest, use /owid-staff:draft-data-update-post (owid/skills-private) instead.
metadata.internal
true
metadata.owner
pabloarosado

Data update communications draft

Generate a draft for the #data-updates-comms Slack form. The skill inspects the current branch of the ETL repo to fill the mechanical fields and seeds the editorial fields with context the user then rewrites in their own voice.

Why this channel exists (read before drafting)

OWID's #data-updates-comms channel is not an internal "FYI I did X" log. It gives information to Charlie (OWID's Communications & Outreach Manager), who turns this input into public-facing posts on social media (Instagram, LinkedIn, X) and in newsletters.

So the form's editorial fields are written for Charlie and indirectly for the general public — not for the data team. A big mistake is writing them in an internal/engineer voice.

The reframing that matters most:

Don't tell Charlie what you'd say to your colleagues ("I updated all the WDI charts"). Tell him what you'd say to a friend who asks what you did this week ("I updated hundreds of our charts to the latest release of the World Bank's largest dataset, called the World Development Indicators. It's a core dataset with hundreds of indicators across global development. This update added new data up to 2025 for dozens of our most-viewed charts…").

What Charlie needs from each field is a reader-centric view: what work was done, what it changes or enables, what's interesting about the source, what it helps people understand about the world, and why anyone should care that it's been updated.

This skill must surface this framing to the user — both at the top of the output draft file and inside each editorial-field prompt block — so the user has it in front of them when they sit down to write. Do not delete or paraphrase the framing.

When to use

  • The user says "draft the data-update comms post for X", "fill out the Slack form for X", or similar.
  • After an update-dataset run finishes (step 9 of that skill should delegate here with workbench/<short_name>/update-context.yml rather than re-implement).
  • After a manual update where the user wants help drafting the announcement.

Inputs

  • Preferred after update-dataset: workbench/<short_name>/update-context.yml — reuse gathered facts first, and only gather missing fields directly.
  • <namespace>/<new_version>/<short_name> — the updated dataset (garden path).
  • Optional: <old_version> — for "what changed since last release".
  • Optional: branch name — defaults to current branch (used for the staging-site hostname).

If the user only gives a branch or no input at all, infer the dataset(s) from git diff master...HEAD --name-only filtered to etl/steps/data/grapher/** or snapshots/**. If multiple new datasets are touched, ask the user which one(s) the announcement covers.

What's mechanical vs. editorial

Slack fieldSourceSkill output
Dataset namemeta.origin.title + meta.origin.producer from snapshot DVCfilled
Release datemeta.origin.date_publishedfilled
Next releaseproducer's page (web fetch of url_main) — best effortcandidate + [verify] tag
Data sourcemeta.origin.producer, attribution_short, citation_fullfilled
Coverage (years + countries)garden table: year.min()..year.max(), distinct country count, presence of regionsfilled
Charts affectedstaging MySQL query on chart_dimensions joined to variables.catalogPath (filter publishedAt IS NOT NULL)filled, with size qualifier (handful/moderate/large/massive)
Why this mattersseeded from meta.origin.description + dataset description + top indicator description_shortprompt with extracted snippets — user rewrites
Caveatsseeded from indicator description_key bullets, sanity-check workarounds (notes_to_check.md from update-dataset workbench), meta.origin.description paragraphs that mention "limitations" / "caution"prompt with extracted snippets — user rewrites
Anything interestingseeded from PR commit messages, notes_to_check.md resolutions, snapshot diff summary if available in workbench/<short_name>/prompt — user rewrites
Chart views (1–3)update-context.yml candidates OR query staging directly using the criteria belowfilled with rationale, user confirms
Search URLhttps://ourworldindata.org/search?datasetProducts=<urlquote(datasets.name)> — value is the grapher datasets.name field (= garden dataset.title override when set, else snapshot meta.origin.title); see step 6filled

The editorial fields are deliberately not auto-prosed. Slack posts in the editorial voice ("Why we have this dataset on OWID") read flat when LLM-written; the value is in the human framing. The skill's job is to surface the relevant snippets so the user doesn't have to grep for them.

Workflow

  1. Reuse update context if available.

    • If workbench/<short_name>/update-context.yml is provided or exists, read it first and use its values for mechanical fields, chart count/views, and editorial snippets.
    • Continue with the steps below only for fields missing from that context. This keeps update-dataset responsible for gathering context during the update while preserving this skill as a standalone fallback.
  2. Resolve the dataset.

    • Parse <namespace>/<new_version>/<short_name> or infer from git diff.
    • Locate snapshot DVC: snapshots/<namespace>/<new_version>/*.dvc.
    • Locate garden step: etl/steps/data/garden/<namespace>/<new_version>/<short_name>.py and .meta.yml.
    • Locate built garden dataset: data/garden/<namespace>/<new_version>/<short_name> (must have been run; if missing, tell the user to run the garden step first).
  3. Extract mechanical fields.

    • Read DVC origin block via etl.files.ruamel_load (preserves comments if we ever write back) or just yaml.safe_load.
    • Load the garden dataset to get coverage:
      python
      from owid.catalog import Dataset
      ds = Dataset("data/garden/<ns>/<ver>/<sn>")
      tb = ds.read("<table>", safe_types=False).reset_index()
      year_min, year_max = int(tb["year"].min()), int(tb["year"].max())
      n_countries = tb["country"].nunique()
      has_regions = tb["country"].isin(REGION_NAMES).any()  # use etl.helpers.regions
    • Year/country coverage: report the range, the distinct-country count, and whether OWID-defined regions are included. Flag if the most recent year has notably fewer countries than the overall median (sparse-recent caveat).
  4. Query staging for affected published charts.

    bash
    make query SQL="
      SELECT COUNT(DISTINCT c.id) FROM charts c
      JOIN chart_configs cc ON cc.id = c.configId
      JOIN chart_dimensions cd ON cd.chartId = c.id
      JOIN variables v ON cd.variableId = v.id
      WHERE v.catalogPath LIKE '%<ns>/<ver>/<sn>%'
        AND c.publishedAt IS NOT NULL"
    • Map the count to a qualifier: 1–9 = "handful", 10–49 = "moderate", 50–199 = "large", 200+ = "massive".
    • Only count published charts. Drafts are excluded by design — the Slack audience cares about user-facing impact.
  5. Seed the editorial fields with snippet bullets. For each of "why it matters", "caveats", "anything interesting": don't write prose, write 2–6 substantive bullets above an empty text fenced block. Bullets are clean reader-facing prose — no Snapshot description: / Garden description: prefixes in the output. Use those as internal source pointers only.

  6. Pick chart views — rank by actual data change, not just our intuitions about which chart is "flagship".

    The picked views show up in the public announcement under "Here's what changed". If the underlying data didn't actually change between the old and new release, the announcement misrepresents the update. So the primary ranking signal is: for each published chart on the new dataset, how many of its y-variables have a different dataChecksum than the matching variable on the old dataset? This is the same signal Chart Diff uses.

    Run on staging (which has both old and new variables side-by-side):

    python
    from etl.config import OWID_ENV
    from sqlalchemy import text
    import pandas as pd
    
    sql = """
    SELECT c.id AS chart_id, cc.slug,
           JSON_UNQUOTE(JSON_EXTRACT(cc.config, '$.title'))       AS title,
           JSON_UNQUOTE(JSON_EXTRACT(cc.config, '$.hasMapTab'))   AS has_map,
           JSON_UNQUOTE(JSON_EXTRACT(cc.config, '$.type'))        AS chart_type,
           SUM(v_new.dataChecksum <> v_old.dataChecksum)        AS n_changed,
           COUNT(*)                                             AS n_vars
    FROM charts c
    JOIN chart_configs cc        ON cc.id = c.configId
    JOIN chart_dimensions cd     ON cd.chartId = c.id
    JOIN variables v_new         ON cd.variableId = v_new.id
    LEFT JOIN variables v_old    ON v_old.shortName = v_new.shortName
                                 AND v_old.datasetId = :old_dataset_id
    WHERE v_new.datasetId = :new_dataset_id
      AND c.publishedAt IS NOT NULL
      AND cd.property = 'y'
    GROUP BY c.id
    HAVING n_changed > 0
    ORDER BY n_changed DESC, has_map DESC
    LIMIT 30
    """
    with OWID_ENV.engine.connect() as conn:
        df = pd.read_sql(text(sql), conn, params={"old_dataset_id": OLD_ID, "new_dataset_id": NEW_ID})

    Resolve OLD_ID / NEW_ID from the datasets table by catalogPath.

    Then rank the data-changed subset by chart views. Among the charts whose data actually changed, prefer the ones readers actually look at — a chart with 246 views/day and 1 changed variable is a far better announcement candidate than a chart with 3 views/day and 18 changed variables:

    python
    from etl.analytics.data import get_chart_views_last_n_days
    views = get_chart_views_last_n_days(chart_ids=df["chart_id"].astype(int).tolist(), n_days=30)
    df = df.merge(views[["chart_id", "views_daily"]], on="chart_id", how="left").fillna({"views_daily": 0})
    df = df.sort_values(["views_daily", "n_changed"], ascending=[False, False])

    Apply secondary tie-breakers within the top of that ranked list:

    • Prefer has_map = true — readers can find their own country.
    • Skip population-weighted variants and country-specific cuts.
    • If two charts tie on views but one has many y-vars changed (e.g. probability-of-dying-by-age with 18/18), that's a slightly stronger signal than "1 of 1 changed".

    A checksum change is not "gained the new year." A base-year rebase or in-place revision marks every chart data-changed, including charts whose series still end at the previous year (recipient/sector tables that only update in the producer's detailed release, series absent from a preliminary file). For releases that add a partial year, additionally verify each picked view's indicators actually reach the new year (metadata.json → dimensions.years), and prefer the chart carrying the release's headline measure — the one where the announcement's own numbers are visible on open — even when its traffic is low (the announcement is how it gets discovered).

    Reuse charts.selected_views from update-context.yml only if it's already been built using this views-then-checksum process (older runs picked views by intuition and produced misleading recommendations like "life expectancy now updated" when the data was effectively unchanged, or "malaria deaths" when the chart gets ~3 views a day).

    Output 1–3 as [<chart title>](<admin URL>) — <rationale that names the change>. Hyperlink each title to the admin editor URL, not the bare admin path:

    • Production: https://admin.owid.io/admin/charts/<id>/edit
    • Staging (new charts only): http://staging-site-<branch>/admin/charts/<id>/edit

    The bare /admin/charts/<id> path takes the reader to a non-existent route on production; /edit opens the chart editor where they can verify the change. If the chart already existed before this PR (published earlier than the branch was cut — c.publishedAt is older than the first branch commit), link to production. If the chart was first published on this branch, link to staging.

  7. Build the search URL.

    The datasetProducts query parameter matches against the grapher datasets.name field (the dataset row's name column in MySQL — same value visible in the OWID admin's dataset list). When garden's gho.meta.yml sets a dataset.title override, that becomes datasets.name on upload. Otherwise it falls through to the snapshot origin's title.

    An update that spans several grapher datasets gets one link covering all of them: join each dataset's datasets.name with ~ (?datasetProducts=<name 1>~<name 2>, each part quote_plus-encoded). Resolve every name the same way as below — companion datasets often carry titles of their own that differ from the main one's.

    So the resolution order is:

    1. Garden .meta.yml → dataset.title (if set as override). This is the most common case — most large datasets carry a curated title like Global Health Observatory - World Health Organization or World Bank Poverty and Inequality Platform (PIP).
    2. Snapshot .dvc → meta.origin.title (fallback).

    Resolve the value programmatically rather than guessing — query the grapher DB or read the garden YAML directly:

    python
    # Most reliable: grab the literal value from the prod-mirror grapher DB
    make query SQL="SELECT name FROM datasets WHERE catalogPath = 'grapher/<ns>/<v>/<short>'"
    
    # Or from the garden YAML
    from etl.files import ruamel_load
    meta = ruamel_load("etl/steps/data/garden/<ns>/<v>/<short>.meta.yml")
    title = (meta.get("dataset") or {}).get("title")  # falls through if missing

    Build the URL with urllib.parse.quote_plus(title) so spaces become + and parens become %28/%29. NOT the bare producer field — that mismatches the index. And don't put the producer's homepage URL here, even as a fallback — the Slack template specifically wants this search URL form.

    Important caveat: the search index bakes asynchronously after a PR merge. A correctly-formed URL can still return zero results for a few hours post-merge while the index re-bakes. If the user reports "no results", double-check the URL value against datasets.name first; if it matches, tell them to retry in a couple of hours.

  8. Best-effort next-release date.

    • Fetch url_main (WebFetch) and extract any phrase like "next release", "annual update", "updated yearly" near the page header. Tag the answer [verify] so the user knows to confirm.
    • If nothing extractable, output [unknown — please confirm with the producer's release schedule].
  9. Write the draft.

    • Output path: ai/data-update-comms.md by default, or workbench/<short_name>/slack-announcement.md when invoked from update-dataset step 9.
    • Use the canonical format in the Output format section below — no example lines, no [filled] / [prompt] tags, no inline instructions. If a field can't be filled mechanically, write [missing — <what's needed>] inside the fenced block and stop.
  10. Show the user the file path and stop. In a git worktree, give the absolute path: a relative link opens the main checkout's copy, which may be a previous update's draft. Do not post to Slack — that's a human action. The user copy-pastes from the Markdown file into the Slack form.

Show full SKILL.md (1,195 more words)Show less

Output format

The output file must use the Slack form's prompt wording verbatim as section headings. The user copy-pastes the answer text into the matching Slack fields, so each prompt is its own ## <verbatim heading>.

Keep the file lean. No "E.g.:" example lines, no [filled] / [prompt — user rewrites] tags, no inline framing instructions, no _Snippets to draw from:_ / _Candidate caveats:_ / _Context from this PR:_ label preambles, no text code fences around the answers. The skill keeps the framing reminders for itself (see "Editorial framing" below); the file is just headings → answer prose (for mechanical fields) or snippet bullets (for editorial fields).

The verbatim Slack prompt headings (do not rephrase, abbreviate, or change punctuation):

#Prompt heading (verbatim)
1What dataset(s) did you update?
2When was this data released? When is the next scheduled release / our plan for next update?
3Who is the data source(s)? Is there anything our users should know about them?
4What's the coverage of the data in terms of years and countries/regions?
5How many charts did this update affect?
6What does this dataset help our users understand about the world, and why is it important they know that?
7Any important caveats or pitfalls in interpretation that users should know about this data? (optional)
8Anything interesting to note about this update, including what you had to do? Anything else you'd like to add? (optional)
9Add 1–3 chart views we might use in the public announcement
10Link to the updated charts as a search result (not a chart collection anymore). Ask Charlie if you need help with this. (optional)

The table above is the single source of truth — if the Slack form's wording changes, update it here and nowhere else.

Basis discipline for every number (check before drafting #6–#8 and the chart views)

Producers headline figures on their basis — often current prices where our charts are constant, or a measure our headline chart doesn't carry. Verify every number and ranking in the snippets against our own charts: a producer claim our charts contradict ("X overtook Y", a total a few percent off ours) must be explicitly attributed to the producer, made basis-robust (rounded so both bases agree), or dropped in favor of chart-native numbers. Rankings especially: enumerate the measure × price-basis combinations first — a "first time in history" headline may hold on exactly one of them. Put the reconciliation (which basis says what, what social copy may safely echo) in the caveats field for Charlie; keep reader-facing framing chart-native.

Editorial framing (internal — do not copy into the output file)

Before drafting fields #6, #7, #8, remember they go to Charlie, who turns them into public-facing posts — not into an internal team log. Snippets should sound like what you'd tell a curious friend, not a colleague: reader-centric, with a concrete number where possible, and what's interesting about the source. The agent uses this framing to select and phrase the snippets; the framing itself is never written into the output.

Snippet selection per editorial field
  • Why does this matter (#6) — pull 3–5 short bullets that, taken together, answer "why do we have this data on OWID at all?". Draw from meta.origin.description, garden dataset description, and top indicator description_short; rephrase into clean prose. Do not prefix each bullet with its source label (e.g. don't write Snapshot description: "…"); just write the substantive content.
  • Caveats (#7) — pull 2–4 bullets surfacing real interpretation pitfalls. Draw from indicator description_key bullets, sanity-check workarounds, and methodology notes. Skip if there are no load-bearing caveats.
  • Interesting (#8) — pull 3–6 bullets describing concrete findings or noteworthy events captured in this update (new policies, reversals, changed countries). Draw from editorial_context.interesting_update_snippets in update-context.yml, commit messages, and resolved workarounds. Phrase them as reader-facing facts, not engineering notes.
Exact draft file structure
markdown
# Data update comms draft — <dataset name>

Source: `<ns>/<new_version>/<short_name>` · Branch: `<branch>` · Generated: <iso datetime>

---

## What dataset(s) did you update?

<Dataset title — Producer>

## When was this data released? When is the next scheduled release / our plan for next update?

Released: <date_published>. Next: <best-effort or "unknown — …">.

## Who is the data source(s)? Is there anything our users should know about them?

<producer>. <citation_full or attribution_short, trimmed>.

## What's the coverage of the data in terms of years and countries/regions?

Covers <year_min>–<year_max>, <n_countries> countries<, plus OWID regions if applicable>. <Sparse-recent-year flag if applicable.>

## How many charts did this update affect?

<N> published charts (<size qualifier>)<; if update-context.yml lists published explorers/MDims, fold them in too — e.g. "10 published charts (moderate), plus 3 explorers and 1 MDim">.

## What does this dataset help our users understand about the world, and why is it important they know that?

- <substantive snippet>
- <substantive snippet>
- <substantive snippet>

## Any important caveats or pitfalls in interpretation that users should know about this data? (optional)

- <caveat snippet>
- <caveat snippet>

## Anything interesting to note about this update, including what you had to do? Anything else you'd like to add? (optional)

- <interesting snippet>
- <interesting snippet>

## Add 1–3 chart views we might use in the public announcement

> Pick chart views that represent the whole dataset, rather than, e.g., something very specific about a single country.

1. **<title>** — `<slug>` — <rationale>
2. **<title>** — `<slug>` — <rationale>

## Link to the updated charts as a search result (not a chart collection anymore). Ask Charlie if you need help with this. (optional)

https://ourworldindata.org/search?datasetProducts=<urlencoded dataset title>

---

## Pending mechanical follow-ups

- <only if any — e.g. "next release date is best-effort", "verify producer's release cadence", source-of-truth caveats>

Strict rules:

  • Do not paraphrase the prompt headings — they must match the Slack form character-for-character.
  • No code fences around answers — they sit as plain prose under each heading.
  • Editorial fields (#6, #7, #8) carry snippet bullets only; the user writes their own answer when filling the Slack form.
  • Snippet bullets must be substantive prose, not labelled quotes. Drop source prefixes like "Snapshot description:" — the user shouldn't see them.
  • Optional sections (#7, #8, #10) keep their (optional) suffix.
  • Notes about scope corrections, source-of-truth caveats, or branch-version mismatches go below the form under a ## Pending mechanical follow-ups section — never inside the verbatim Slack fields.

Critical rules

  • Never invent dates, producer names, or chart counts. If the source is missing or stale, mark [missing] and stop on that line — don't paper over a gap.
  • Published charts only for the chart count. Same rule as update-dataset step 8 — and the same for the other surfaces it records: only explorers with isPublished=1 and MDims with published=1 (from charts.explorers / charts.mdims in update-context.yml) count toward the announcement. Note unpublished/draft ones under ## Pending mechanical follow-ups, not in the answer.
  • Don't write the editorial fields as prose. The user explicitly does not want LLM-voiced "Why we have this data" text — that's exactly the part the human wants to write themselves. Output snippets, not prose.
  • Don't post to Slack from the skill. Output a Markdown file and stop. Posting is a human action.
  • Use urllib.parse.quote_plus (not quote) for the search URL — Slack's input expects + for spaces in datasetProducts.
  • Always run from a green garden build. If data/garden/<ns>/<ver>/<sn> doesn't exist, tell the user to run the garden step before retrying. Don't fabricate coverage from the snapshot alone — the garden output is what matters for the Slack post.

Things to avoid

  • Don't auto-write the optional caveats / interesting-notes fields with generic prose ("This dataset offers important insights into…"). Leave them as prompts.
  • Don't query the staging DB without the publishedAt IS NOT NULL filter — drafts in the count would mislead.
  • Don't use the producer's homepage URL as the search link. The Slack template specifically wants ourworldindata.org/search?datasetProducts=….
  • Don't tout the dataset's full indicator count when OWID publishes only one or a few of its indicators. Size claims to what we actually chart — "302 indicators" reads as overselling when the update affects one published chart (user feedback, WWBI 2026-07). Mentioning the count in internal-facing fields is fine only when it's genuinely load-bearing for Charlie.
  • Don't fold this skill into update-dataset — keep it standalone so users can invoke it after manual updates too. update-dataset should gather reusable facts in update-context.yml and step 9 should delegate here, not duplicate the Slack rendering logic.
  • .claude/skills/update-dataset/SKILL.md step 9 — the orchestrator entry point that should call this skill.
  • /owid-staff:draft-data-update-post (owid/skills-private, auto-installed here) — what happens next. This skill's Slack post is the input to the public "Data update" post on ourworldindata.org/latest; that skill either reads the Slack message directly or, inside /update-dataset (step 9b), reads update-context.yml plus the slack-announcement.md this skill produced. Two different artifacts: a 10-field internal form here, a reader-facing mini-post there. Don't draft the /latest post from this skill. Note that the /latest skill declines to post when OWID covered the same data publicly less than six months ago — that cooldown does not apply here. This Slack form runs on every update regardless, because its audience is internal and its job is to tell Charlie what changed.
  • .claude/skills/edit-faust-metadata/SKILL.md — reuses the same grapher-channel metadata patterns for chart-view selection.

© 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

Just SKILL.md in .claude/skills/draft-data-update-slack-post of owid/etl.

Open the folder on GitHubat commit 69ab20e

Compare with similar skills

Draft Data Update Slack Post 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.

Draft Data Update Slack Post compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Draft Data Update Slack Post this skillowid/etl158—~7.4kAutomated safety check: PassMIT
Channel Plugin Duplicate SocketSzotasz/marveen115—~1.3kAutomated safety check: NotesMIT
Dag Orchestration Patternsrevfactory/harness-1001.3k—~1.3kAutomated safety check: PassApache-2.0
Dag Orchestration Patternsrevfactory/harness-1001.3k—~1.1kAutomated safety check: PassApache-2.0
Crawl4AI Web Scrapingsmallnest/goclaw5981 repos~2.5kAutomated safety check: PassMIT
Glue 09 10 Migrationaws-samples/aws-glue-samples1.5k—~2.4kAutomated safety check: PassMIT-0

Similar skills

  • Marveen flottában új channel plugin (slack-channel, telegram, stb.) telepítésekor a user-szintű ~/.claude/settings.json enabledPlugins minden agent-nek loadolja a plugin server-t, és ha az egy…

    115 GitHub stars~1.3k tokensUpdated yesterday
    Data & AnalyticsAuto-check: notes
  • Dag Orchestration Patterns

    revfactory/harness-100

    Airflow DAG pattern, of , retry strategy, etc. An agent skill from revfactory/harness-100.

    1.3k GitHub stars~1.3k tokensUpdated 6 mo ago
    Data & AnalyticsAuto-check passed
  • Dag Orchestration Patterns

    revfactory/harness-100

    Airflow DAG 설계 패턴, 의존관계 관리, 재시도 전략, 멱등성 보장, 백필 전략 등 데이터 파이프라인 오케스트레이션 가이드.

    1.3k GitHub stars~1.1k tokensUpdated 6 mo ago
    Data & AnalyticsAuto-check passed
  • Crawl4AI Web Scraping

    smallnest/goclaw

    Scrapes sites, handles JavaScript-heavy pages and extracts structured data with Crawl4AI, through its crwl CLI or Python SDK, including schema-based extraction without an LLM.

    598 GitHub starsUsed in 1 repo~2.5k tokens
    Data & AnalyticsAuto-check passed
  • Glue 09 10 Migration

    aws-samples/aws-glue-samples

    Official

    Upgrade an AWS Glue ETL job from Glue version 0.9 or 1.0 to Glue 4.0.

    1.5k GitHub stars~2.4k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Official

    Migrate a legacy AWS Glue development endpoint to a Glue interactive session, following the official AWS migration checklist.

    1.5k GitHub stars~3.6k tokensUpdated 1 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

Works with

Questions about Draft Data Update Slack Post

What does Draft Data Update Slack Post do?

Draft answers for OWID's draft-data-update-slack-post Slack template using snapshot DVC + garden metadata + staging DB queries. Draft Data Update Slack Post is an agent skill from owid/etl. Draft answers for OWID's draft-data-update-slack-post Slack template using snapshot DVC + garden metadata + staging DB queries.

When should I use Draft Data Update Slack Post?

Draft Data Update Slack Post fits situations like: the user wants to fill the Message about new data update form; announce a dataset update to the internal data-updates-comms channel; generate the FAQ-style Slack post after an ETL update.

How do I install Draft Data Update Slack Post in Claude Code?

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

How do I install Draft Data Update Slack Post in Codex?

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

Can I use Draft Data Update Slack Post 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 draft-data-update-slack-post -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/draft-data-update-slack-post, .gemini/skills/draft-data-update-slack-post, .github/skills/draft-data-update-slack-post and .opencode/skills/draft-data-update-slack-post in your project.

What does Draft Data Update Slack Post need to run?

Going by SKILL.md and its folder, Draft Data Update Slack Post needs the command-line tools its instructions call (make and git). Our summary lists: Python 3.

Does Draft Data Update Slack Post access the network?

SKILL.md names 2 domains. In commands or code: ourworldindata.org and admin.owid.io; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Draft Data Update Slack Post 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 Draft Data Update Slack Post use?

Draft Data Update Slack Post 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 Draft Data Update Slack Post use?

About 7.4k tokens (SKILL.md is roughly 30k 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 Draft Data Update Slack Post?

Skills that share tags, products or a category with Draft Data Update Slack Post: Channel Plugin Duplicate Socket (Szotasz/marveen, 115 stars), Dag Orchestration Patterns (revfactory/harness-100, 1.3k stars), Dag Orchestration Patterns (revfactory/harness-100, 1.3k stars) and Crawl4AI Web Scraping (smallnest/goclaw, 598 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Draft Data Update Slack Post?

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 7, 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.