Command Palette

Search for a command to run...

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

windmill

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

Windmill is an open-source platform for turning scripts into internal tools, workflows and webhooks, with auto-generated UIs, a flow editor and an app…

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

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

Windmill

Overview

Windmill is a platform where a script is the unit of work. Write a function in TypeScript, Python, Go, Bash, SQL, Rust and other languages; Windmill reads its signature and builds a form, an API endpoint and a webhook for it, then runs it on workers. Scripts chain into flows (steps, branches, loops, approvals, retries) and flows or scripts back apps built in a drag-and-drop editor. Triggers include schedules, webhooks, HTTP routes, Kafka, WebSockets and email.

The backend is Rust, the state is Postgres, and workers pull jobs from a Postgres queue. The repository is AGPLv3 plus a free "Community Edition" binary and Docker image that includes some proprietary features; internal use is free, but reselling or embedding it needs a commercial licence (see the licence section of the README and the pricing page). Version at the time of writing: 1.822.0.

Instructions

Self-host with Docker Compose

Windmill needs Postgres, so a lone docker run of the image does not work. The repository ships three files that bring up Postgres, server, workers and a Caddy proxy:

mkdir windmill && cd windmill
# Pin to a release tag, not the moving main branch, and read each file before running it
WM=v1.822.0
base=https://raw.githubusercontent.com/windmill-labs/windmill/$WM
curl -fsSL $base/docker-compose.yml -o docker-compose.yml
curl -fsSL $base/Caddyfile -o Caddyfile
curl -fsSL $base/.env -o .env
less docker-compose.yml Caddyfile .env
docker compose up -d

Open http://localhost. The default login is [email protected] with password changeme; change it immediately. Before production, change the Postgres password in .env/docker-compose.yml, put the instance behind HTTPS (set BASE_URL for Caddy), and pin WM_IMAGE to a release tag instead of main. For an external database, set DATABASE_URL in .env and set the db replicas to 0. For Kubernetes use the Helm chart (helm repo add windmill https://windmill-labs.github.io/windmill-helm-charts/). Postgres 18 is now the default in the compose file: an existing Postgres 16 volume will not start and must be migrated with pg_dumpall, as the self-host docs describe.

Write a script

Scripts live in folders like f/<folder>/<name>. The arguments of main become the form; types and defaults drive the widgets, and an object type that matches a resource type (for example postgresql) becomes a resource picker. Secrets live in variables and resources, not in arguments.

import * as wmill from "windmill-client";

type Postgresql = { host: string; port: number; user: string; dbname: string; password: string; sslmode: string };

export async function main(db: Postgresql, table: "orders" | "refunds", days: number = 7) {
  const apiKey = await wmill.getVariable("f/billing/stripe_key"); // permissioned, by path
  console.log(`checking ${table} for the last ${days} days`);
  return { table, days, keyLength: apiKey.length };
}
def main(region: str, since: str = "2026-09-01") -> list[dict]:
    import requests  # imports are resolved and installed automatically
    r = requests.get("https://api.status.internal/v1/incidents", params={"region": region, "since": since}, timeout=30)
    r.raise_for_status()
    return r.json()["incidents"]

Develop locally with the CLI

npm install -g windmill-cli          # or: npx windmill-cli ...; command is `wmill`
wmill workspace add main main http://localhost   # name, workspace id, remote URL (log in when prompted)
mkdir ops && cd ops && wmill init   # writes wmill.yaml, AGENTS.md and agent skills
wmill script new f/ops/disk_report bun --summary "Disk report"
wmill script preview f/ops/disk_report -d '{"threshold": 80}'   # runs the local file, no deploy
wmill generate-metadata              # refresh .script.yaml schema and lock files
wmill sync push --dry-run            # then without --dry-run to deploy

script preview runs local code without deploying; script run runs the deployed version; sync push is the deploy and sync pull fetches remote changes. wmill lint validates flow, schedule and trigger YAML. Other tools: the VS Code extension, Git sync (two-way with a repo), and wmill dev for a live preview page.

Build a flow

wmill flow new f/ops/nightly --summary "Nightly order check" creates f/ops/nightly__flow/flow.yaml. Steps are modules; reference earlier output with results.fetch_orders (the step id) and inputs with flow_input.day. Inline code uses !inline file.ts.

summary: Nightly order check
value:
  modules:
    - id: fetch_orders
      value:
        type: rawscript
        language: bun
        content: '!inline fetch_orders.ts'
        input_transforms:
          day: { type: javascript, expr: flow_input.day }
    - id: check_failures
      value:
        type: branchone
        branches:
          - summary: Too many failures
            expr: results.fetch_orders.failed > 2
            modules:
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

_scores.json

FAQ

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

Windmill is an open-source platform for turning scripts into internal tools, workflows and webhooks, with auto-generated UIs, a flow editor and an app builder. Use when a user asks to build internal tools or admin dashboards, orchestrate scripts and cron jobs, automate DevOps tasks, or self-host a code-first alternative to Retool, Zapier or Airflow.

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

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

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

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

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

Сравнить windmill с