Agent skill

Create Example

by godatadriven in godatadriven/whirl

Create a new Whirl example project in the examples/ directory.

Apache-2.0Auto-check passedData & Analytics

Install Create Example

skills CLI
$ npx skills add godatadriven/whirl --skill create-example -a claude-code

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

GitHub CLI
$ gh skill install godatadriven/whirl create-example --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/godatadriven/whirl.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/create-example .claude/skills/create-example && 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
create-example
GitHub stars
205
Token cost
~1.1k tokens
SKILL.md length
342 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
Apache-2.0

At a glance

Create a new Whirl example project in the examples/ directory.

  • Works in 3 steps: Gather Requirements → Create Files → Verify
  • The user wants to scaffold
  • Calls aws, airflow and pip
  • Create a new Airflow DAG example for the Whirl local development tool

What it does

Create Example is an agent skill from godatadriven/whirl. Create a new Whirl example project in the examples/ directory. Use when the user wants to scaffold, add, or create a new Airflow DAG example for the Whirl local development tool. Triggers on requests like "create a new example", "add an example", "scaffold an example for X".

Its SKILL.md is about 1.1k 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. It works with Apache Airflow, PostgreSQL and MySQL. The repository describes itself as: Fast iterative local development and testing of Apache Airflow workflows. The licence is Apache-2.0.

When your agent uses it

  • The user wants to scaffold
  • Create a new Airflow DAG example for the Whirl local development tool
  • Requests like create a new example
  • Scaffold an example for X

Example prompts

  • “create a new example”
  • “add an example”
  • “scaffold an example for X”
  • “/create-example”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Gather Requirements
  2. Create Files
  3. Verify

What it can do on your machine

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

    • aws
    • airflow
    • pip
    • python

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

  • Network

    No URLs in SKILL.md. Its commands use aws and pip, 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

Create Example loads about 1.1k tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 342 words of instructions outside code blocks.

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

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 godatadriven/whirl at commit f085d57, republished under its Apache-2.0 licence (© godatadriven). 342 words, ~1,115 tokens.

Download SKILL.mdSave it as .claude/skills/create-example/SKILL.md (or your agent's skills folder).
name
create-example
description
Create a new Whirl example project in the examples/ directory. Use when the user wants to scaffold, add, or create a new Airflow DAG example for the Whirl local development tool. Triggers on requests like "create a new example", "add an example", "scaffold an example for X".

Create Whirl Example

Scaffold a new Whirl example in examples/. Gather requirements interactively, then generate all files.

Workflow

1. Gather Requirements

Ask the user for:

  1. Example name - short kebab-case name (e.g. api-to-s3, sftp-mysql-example)
  2. Use case - what the example demonstrates (1-2 sentences)
  3. Environment - which environment from envs/ to use. Present the available options:
    • just-airflow - Minimal Airflow only
    • api-python-s3 - Airflow + S3 (LocalStack) + MockServer
    • api-s3-dataset - Airflow + S3 + PostgreSQL + MockServer
    • postgres-s3-spark - Airflow + PostgreSQL + S3 + Spark cluster
    • dbt-example - DBT + PostgreSQL + S3 + Spark
    • sftp-mysql-example - Airflow + MySQL + SFTP server
    • local-ssh - Airflow + SSH
    • external-airflow-db - Airflow with external PostgreSQL
    • external-smtp-config - Airflow + MailDev SMTP
    • airflow-s3-logging - Airflow with S3-based logging
    • ha-scheduler - High availability scheduler setup
    • s3-spark-delta-sharing - Spark + Delta Sharing + S3
    • Custom environment - if none of the above fit, use the create-environment skill to create a new environment first
  4. Optional extras - whether the example needs:
    • Setup scripts (whirl.setup.d/) for installing providers, adding connections, loading mock data
    • Mock data directory (mock-data/)
    • Additional Python dependencies
2. Create Files

Create examples/<name>/ with these files:

.whirl.env (required)

Minimum content:

WHIRL_ENVIRONMENT=<environment-name>

Add extra variables only when needed:

MOCK_DATA_FOLDER=${DAG_FOLDER}/mock-data
README.md (required)

Follow this structure:

markdown
#### <Descriptive Title> Example

<1-2 paragraphs describing what this example demonstrates.>

The default environment (`<env>`) includes containers for:

 - <list services from the chosen environment>

## Setup scripts

The environment contains setup scripts in the `whirl.setup.d/` folder:

 - `<script>` which <description>

## Running

\`\`\`bash
$ cd ./examples/<name>
$ whirl
\`\`\`

Open your browser to [http://localhost:5000](http://localhost:5000) to access the Airflow UI. Manually enable the DAG and watch the pipeline run.
dag.py (required)

Create a DAG file demonstrating the use case. Follow these conventions:

  • Use os.environ.get() for connection details and configuration
  • Use Airflow templating ({{ ds_nodash }}, {{ logical_date }}) where appropriate
  • Use providers matching the chosen environment's services
  • Set schedule=None unless a specific schedule is needed
  • Include a descriptive dag_id and description
whirl.setup.d/ scripts (optional)

Numbered shell scripts executed inside the container at startup. Naming convention:

  • 01_add_connection_<name>.sh - add Airflow connections
  • 01_add_mockdata_to_<service>.sh - load mock data
  • 02_install_<packages>.sh - install extra Python packages

Scripts use #!/usr/bin/env bash and run after environment setup scripts.

Common patterns:

bash
# Add a connection
airflow connections add <conn_id> --conn-type <type> --conn-host <host> --conn-port <port>

# Install providers
pip install apache-airflow-providers-<name>

# Create S3 bucket and upload mock data
aws s3 mb s3://<bucket> --endpoint-url http://localstack:4566
aws s3 cp /mock-data/<file> s3://<bucket>/ --endpoint-url http://localstack:4566
mock-data/ (optional)

Test data files (JSON, CSV, etc.) referenced by setup scripts or DAGs. Set MOCK_DATA_FOLDER=${DAG_FOLDER}/mock-data in .whirl.env when using this.

.airflowignore (optional)

Add when the example directory contains Python files that are not DAGs (e.g. include/ or src/ directories):

include/
src/
3. Verify

After creating files, verify:

  • The example directory exists in examples/
  • .whirl.env references a valid environment from envs/
  • The DAG file has no syntax errors: python -c "import ast; ast.parse(open('examples/<name>/dag.py').read())"
  • Setup scripts (if any) are executable

© godatadriven, Apache-2.0. 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/create-example of godatadriven/whirl.

Open the folder on GitHubat commit f085d57

Compare with similar skills

Create Example 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.

Create Example compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create Example this skillgodatadriven/whirl205—~1.1kAutomated safety check: PassApache-2.0
Mz Dbt ReleaseMaterializeInc/materialize6.4k—~1.2kAutomated safety check: PassCustom licence
Git PR Flowwgzhao/Addax1.4k—~216Automated safety check: PassApache-2.0
Chart Testsastronomer/airflow-chart297—~2.8kAutomated safety check: PassCustom licence
Airflowastronomer/agents4511 repos~3.8kAutomated safety check: PassApache-2.0
Migrating Dagster To Airflowastronomer/agents451—~3.8kAutomated safety check: PassApache-2.0

Similar skills

  • Mz Dbt Release

    MaterializeInc/materialize

    Cut a dbt-materialize PyPI release: bump the version in version.py and setup.py, date the Unreleased CHANGELOG entry, and open the release PR with a Ship: <url body.

    6.4k GitHub stars~1.2k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Git PR Flow

    wgzhao/Addax

    Standard branch, commit, and pull-request workflow for this repo.

    1.4k GitHub stars~216 tokensUpdated today
    DevelopmentAuto-check passed
  • Chart Tests

    astronomer/airflow-chart

    A skill your agent uses when writing, editing, reviewing, or running Helm chart tests for the Astronomer airflow-chart repository.

    297 GitHub stars~2.8k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Airflow

    astronomer/agents

    Queries, manages, and troubleshoots Apache Airflow using the af CLI.

    451 GitHub starsUsed in 1 repo~3.8k tokens
    Data & AnalyticsAuto-check passed
  • Guide for migrating Dagster projects to Apache Airflow 3 on Astro.

    451 GitHub stars~3.8k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context…

    241 GitHub starsUsed in 2 repos~2.9k tokens
    DatabasesAuto-check passed

More from godatadriven/whirl

  • Verify CI Impact

    godatadriven/whirl

    Before committing, work out which Whirl examples need a CI run to verify changes still work, then run them after confirming with the user.

    205 GitHub stars~1.3k tokensUpdated 6 days ago
    Auto-check passed
  • Create Environment

    godatadriven/whirl

    Create a new Whirl environment in the envs/ directory. An agent skill from godatadriven/whirl.

    205 GitHub stars~1.9k tokensUpdated 6 days ago
    Auto-check passed
  • Version Bumper

    godatadriven/whirl

    Bump the Airflow or Python version across all project files.

    205 GitHub stars~1.2k tokensUpdated 6 days ago
    Auto-check passed

Questions about Create Example

What does Create Example do?

Create a new Whirl example project in the examples/ directory. Create Example is an agent skill from godatadriven/whirl. Create a new Whirl example project in the examples/ directory.

When should I use Create Example?

Create Example fits situations like: the user wants to scaffold; create a new Airflow DAG example for the Whirl local development tool; requests like create a new example; scaffold an example for X.

How do I install Create Example in Claude Code?

Run `npx skills add godatadriven/whirl --skill create-example -a claude-code`. Or copy the skill folder (.claude/skills/create-example in godatadriven/whirl) into .claude/skills/create-example in your project. Claude Code loads it when a task matches its description.

How do I install Create Example in Codex?

Run `npx skills add godatadriven/whirl --skill create-example -a codex`. Or copy the skill folder (.claude/skills/create-example in godatadriven/whirl) into .agents/skills/create-example in your project. Codex loads it when a task matches its description.

Can I use Create Example 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 godatadriven/whirl --skill create-example -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-example, .gemini/skills/create-example, .github/skills/create-example and .opencode/skills/create-example in your project.

What does Create Example need to run?

Going by SKILL.md and its folder, Create Example needs the command-line tools its instructions call (aws, airflow, pip and python). Our summary lists: Python 3.

Does Create Example access the network?

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

Is Create Example 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 Create Example use?

Create Example is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Create Example use?

About 1.1k tokens (SKILL.md is roughly 4.5k 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 Create Example?

Skills that share tags, products or a category with Create Example: Mz Dbt Release (MaterializeInc/materialize, 6.4k stars), Git PR Flow (wgzhao/Addax, 1.4k stars), Chart Tests (astronomer/airflow-chart, 297 stars) and Airflow (astronomer/agents, 451 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create Example?

godatadriven (a GitHub organization) maintains it in godatadriven/whirl, which has 205 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 1, 2026.

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