cli-commands
What it does
This skill explains the wmill command line tool for Windmill, including its options and the commands for listing, pushing and inspecting resources. It is for developers who work with Windmill from a terminal.
When to use it
- ✓When you need to push, list or inspect scripts, flows or apps from the terminal.
- ✓When you want to debug a failed job or look at run history with the job commands.
- ✓When you need to choose a workspace or an API token for a wmill command.
Skill link
https://github.com/windmill-labs/windmill/blob/main/system_prompts/auto-generated/skills/cli-commands/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Show me how to push my local Windmill app to the workspace from the command line.”
5 new skills a week. 1 minute to read.
How it works
The skill lists the wmill commands and their options, so your agent can pick the right one and run it for you.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Windmill CLI Commands
The Windmill CLI (wmill) provides commands for managing scripts, flows, apps, and other resources.
Global Options
--workspace <workspace:string>- Specify the target workspace. This overrides the default workspace.--debug --verbose- Show debug/verbose logs--show-diffs- Show diff informations when syncing (may show sensitive informations)--token <token:string>- Specify an API token. This will override any stored token.--base-url <baseUrl:string>- Specify the base URL of the API. If used, --token and --workspace are required and no local remote/workspace already set will be used.--config-dir <configDir:string>- Specify a custom config directory. Overrides WMILL_CONFIG_DIR environment variable and default ~/.config location.
Commands
app
app related commands
Options:
--json- Output as JSON (for piping to jq)
Subcommands:
app list- list all apps--json- Output as JSON (for piping to jq)
app get <path:string>- get an app's details--json- Output as JSON (for piping to jq)
app push [file_path:string] [remote_path:string]- push a local app. With no args, infers the app from the current directory and the remote path from its location relative to wmill.yaml.app dev [app_folder:string]- Start a development server for building apps with live reload and hot module replacement--port <port:number>- Port to run the dev server on (will find next available port if occupied)--host <host:string>- Host to bind the dev server to--entry <entry:string>- Entry point file (default: index.ts for Svelte, index.tsx otherwise)--no-open- Don't automatically open the browser--recording- Frame the app in a shell with a Record button, to capture a replayable session recording of the app under development
app lint [app_folder:string]- Lint a raw app folder to validate structure and buildability--fix- Attempt to fix common issues (not implemented yet)
app bundle [app_folder:string]- Bundle a raw app folder to js/css without deploying it--out <dir:string>- Directory to write bundle.js and bundle.css into (default: <app_folder>/dist)--no-minify- Skip minification
app new- create a new raw app from a template--summary <summary:string>- App summary (short description). Skips the prompt when provided. Triggers non-interactive mode.--path <path:string>- App path (e.g., f/folder/my_app or u/username/my_app). Skips the prompt when provided. Triggers non-interactive mode.--framework <framework:string>- Framework template: react19 | react18 | svelte5. Skips the prompt when provided. Triggers non-interactive mode.--datatable <datatable:string>- Datatable to wire up. Without this flag in non-interactive mode, no datatable is configured.--schema <schema:string>- Schema to use with --datatable. If it doesn't exist yet, a sql_to_apply/ migration (CREATE SCHEMA IF NOT EXISTS) is written for it.--overwrite- Overwrite the target directory if it already exists, without prompting.--no-open-in-desktop- Do not prompt to open the new app in Claude Desktop.
app generate-agents [app_folder:string]- regenerate AGENTS.md and DATATABLES.md from remote workspaceapp set-permissioned-as <path:string> <email:string>- Set the on_behalf_of_email for an app (requires admin or wm_deployers group)
audit
View audit logs (requires admin)
Subcommands:
audit list- List audit log entriesaudit get <id:string>- Get a specific audit log entry--json- Output as JSON (for piping to jq)
config
Show all available wmill.yaml configuration options
Options:
--json- Output as JSON for programmatic consumption
Subcommands:
config migrate- Migrate wmill.yaml from gitBranches/environments to workspaces format
datatable
datatable related commands
Subcommands:
datatable list- list all datatables in the workspace--json- Output as JSON (for piping to jq)
datatable run <sql:string>- run a SQL query on a datatable-n --name <name:string>- Datatable name (default: main)-s --silent- Output only the final result as JSON. Useful for scripting.
datatable migrate- manage datatable migrationsdatatable migrate new <name:string>- scaffold a new migration (.up.sql / .down.sql files)-d --datatable <datatable:string>- Target datatabl
FAQ
Do I need to know the command line to use this?
Not much. Your agent picks the right command and explains what it does.
Can it help with a failed job?
Yes. The skill covers the job commands that show run history for debugging.
Can I use a different workspace?
Yes. The workspace option overrides the default workspace for a command.
Details
Original description by the author
MUST use when using the CLI, including debugging job failures and inspecting run history via `wmill job`.
repo: windmill-labs/windmill
Popularity
- GitHub stars
- 18k
- Ranking position
- #10628
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
commit
18kHelps your agent write a clean one-line git commit message in conventional format, staging only the files that changed.
pr
18kHelps your agent open a draft pull request on GitHub with a clear title and description, then follow the review rounds.
agents
18kHelps your agent build a reusable Windmill AI agent with its own model, system prompt, tools and memory.
datatables
18kHelps your agent change a Windmill data table safely, using versioned migrations, undo steps and correct permissions.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.