Agent Skills › windmill-labs/windmill › workspace-settings

workspace-settings

GitHub

用于读取或修改工作区设置及settings.yaml文件,支持部分更新、干运行测试、敏感信息处理及各类配置项管理。

system_prompts/auto-generated/skills/workspace-settings/SKILL.md windmill-labs/windmill

Trigger Scenarios

需要读取工作区配置时 需要修改工作区设置时

Install

npx skills add windmill-labs/windmill --skill workspace-settings -g -y
More Options

Non-standard path

npx skills add https://github.com/windmill-labs/windmill/tree/main/system_prompts/auto-generated/skills/workspace-settings -g -y

Use without installing

npx skills use windmill-labs/windmill@workspace-settings

指定 Agent (Claude Code)

npx skills add windmill-labs/windmill --skill workspace-settings -a claude-code -g -y

安装 repo 全部 skill

npx skills add windmill-labs/windmill --all -g -y

预览 repo 内 skill

npx skills add windmill-labs/windmill --list

SKILL.md

Frontmatter
{
    "name": "workspace-settings",
    "description": "MUST use when reading or changing workspace settings, or the settings.yaml file `wmill sync` keeps."
}

Workspace settings

Everything an admin sets on the Workspace settings page is one document: a mapping of top-level keys, the same layout as the settings.yaml file wmill sync keeps. Only a workspace admin can read or change it.

Applying a document

  • A partial document changes only the keys it states; every key it omits is left as it is.
  • Each key is replaced whole, so read its current value and send it back edited: a nested object given with one field replaces the stored object with that one field.
  • A key set to null clears that setting; an on/off switch cleared this way reads as false.
  • Each setting is written through the same path the settings page uses, with the same validation and audit log. The writes are not one transaction: when one fails the apply stops, and the error says what was already written.
  • A dry run reports the changes, as before / after per key, without writing anything.
  • name is never applied: rename a workspace on the settings page. color is applied only when set to a value, so null does not clear it.
  • A key the server does not know is ignored and named in the warnings: check them, since a typo otherwise reads as "nothing to change".
  • A setting this edition does not offer (Enterprise only) is refused, by the dry run too.

Secrets

slack_oauth_client_secret is the one secret. A read shows __SENSITIVE_AND_UNCHANGED__ in place of a set secret; sending that placeholder back keeps the stored value. A value starting with $encrypted: is decrypted with the workspace key, and one encrypted with another workspace's key is left unchanged with a warning; any other value is taken as plaintext. Never write a secret you were not given: keep the placeholder.

Keys

Key Value
auto_invite { enabled, mode: invite | add, operator, instance_groups?, instance_groups_roles? }. The instance groups are managed only when instance_groups is stated; clearing a group removes the members it added.
error_handler / success_handler { path, extra_args?, muted_on_cancel?, muted_on_user_path? }, path being script/<path> or flow/<path>.
error_handler_fallback_to_instance_alerts Report failures to the instance critical alert channels when no error handler is set.
webhook URL POSTed a JSON event on every change to the workspace's items.
ai_config Providers, default and completion models, custom prompts, copilot_disabled.
large_file_storage Workspace object storage: { type, s3_resource_path | azure_blob_resource_path | gcs_resource_path, public_resource?, secondary_storage?, advanced_permissions? }.
git_sync { repositories: [...] }, each with git_repo_resource_path, script_path and settings (include/exclude paths and types). Server-owned fields (webhook secrets, sync state, credentials) are never read nor written.
datatable { datatables: { <name>: { database: { resource_type, resource_path? } } } }. Role permissions are datatable_permissions.
datatable_permissions { <data table>: { default_role, roles: { <role>: [tenants] } } }: who may connect to each data table as which role. Tenants are u/<user>, g/<group>, f/<folder> or *; admin is always a role, and default_role: null means no default. A data table the value omits is no longer under roles. Only a data table on a cluster Windmill manages can be.
protection_rules { <rule name>: { rules: [...], bypass_groups: [...], bypass_users: [...] } }, rules among DisableDirectDeployment, DisableWorkspaceForking, RestrictDeployToDeployers, RestrictAnonymousAppDeployment, RestrictPublicRunSharing, RestrictGuestAppDeployment, RequireIsolatedForks. A rule the value omits is deleted. The dev workspace lock is not listed and cannot be set here.
ducklake { ducklakes: { <name>: { catalog, storage, ... } } }.
dbt_warehouses dbt warehouse connections.
default_app Path of the app shown as the workspace home.
default_scripts { order?, hidden?, default_script_content? } for the script language picker.
deploy_ui { include_path?, include_type? }: what the deploy-to-workspace UI offers.
operator_settings What operators see and do: page visibility flags (runs, schedules, resources, variables, assets, audit_logs, groups, folders, workers, triggers) and write rights (manage_schedules, manage_triggers, builder_flows, builder_apps). A write right the value omits keeps its stored value.
mute_critical_alerts Mute the workspace's critical alerts.
slack_team_id, slack_name Read only: set by connecting Slack on the settings page.
slack_command_script / teams_command_script Script or flow handling the Slack / Teams command.
slack_oauth_client_id / slack_oauth_client_secret The workspace's own Slack OAuth app. Clearing either removes both.
public_app_execution_limit_per_minute Rate limit for public apps, null for none.
guest_access_enabled, guest_jwt_public_key, guest_jwt_jwks_url Guest access to public apps and the key that signs guest JWTs.
add_admins_and_developers_to_forks Add the workspace's admins and developers to each fork.
color Workspace color, #rrggbb.

From the command line

wmill workspace get-settings prints the document (--encrypted for secrets encrypted with the workspace key, --json for JSON). wmill workspace apply-settings <file> applies a partial document from a YAML or JSON file: it shows the changes and asks before writing (--dry-run to only show them, -y to skip the question, --replace to clear what the file omits).

In a synced repository

With includeSettings: true in wmill.yaml, wmill sync pull writes the document to settings.yaml, secrets encrypted with the workspace key (plaintext only with plainSecrets), and wmill sync push applies it. Unlike a partial apply, a push treats the file as the whole document: a setting the file omits is cleared, except operator_settings, color, the auto-invite instance groups, and the keys ducklake, dbt_warehouses, deploy_ui, teams_command_script, public_app_execution_limit_per_minute, guest_access_enabled, guest_jwt_public_key, guest_jwt_jwks_url, error_handler_fallback_to_instance_alerts and add_admins_and_developers_to_forks, which are managed only when the file states them. datatable_permissions is pushed only with includeDatatablePermissions: true (or --include-datatable-permissions). A push ignores protection_rules: protection-rules.yaml and wmill protection-rules push sync them.

Version History

  • a3a4fa5 Current 2026-10-20 04:57

Same Skill Collection

.agents/skills/adding-a-trigger/SKILL.md
.agents/skills/ai-chat/SKILL.md
.agents/skills/ai-evals/SKILL.md
.agents/skills/codebase-design/SKILL.md
.agents/skills/commit/SKILL.md
.agents/skills/domain-modeling/SKILL.md
.agents/skills/grilling/SKILL.md
.agents/skills/improve-codebase-architecture/SKILL.md
.agents/skills/local-review-codex/SKILL.md
.agents/skills/local-review/SKILL.md
.agents/skills/native-trigger/SKILL.md
.agents/skills/pr/SKILL.md
.agents/skills/refine/SKILL.md
.agents/skills/rust-backend/SKILL.md
.agents/skills/svelte-frontend/SKILL.md
.agents/skills/update-sqlx/SKILL.md
.claude/skills/adding-a-trigger/SKILL.md
.claude/skills/ai-chat/SKILL.md
.claude/skills/ai-evals/SKILL.md
.claude/skills/codebase-design/SKILL.md
.claude/skills/commit/SKILL.md
.claude/skills/domain-modeling/SKILL.md
.claude/skills/grilling/SKILL.md
.claude/skills/improve-codebase-architecture/SKILL.md
.claude/skills/local-review-codex/SKILL.md
.claude/skills/local-review/SKILL.md
.claude/skills/native-trigger/SKILL.md
.claude/skills/pr/SKILL.md
.claude/skills/refine/SKILL.md
.claude/skills/rust-backend/SKILL.md
.claude/skills/svelte-frontend/SKILL.md
.claude/skills/update-sqlx/SKILL.md
system_prompts/auto-generated/skills/cli-commands/SKILL.md
system_prompts/auto-generated/skills/datatables/SKILL.md
system_prompts/auto-generated/skills/preview/SKILL.md
system_prompts/auto-generated/skills/write-pipeline/SKILL.md
system_prompts/auto-generated/skills/write-script-bun/SKILL.md
system_prompts/auto-generated/skills/write-script-bunnative/SKILL.md
system_prompts/auto-generated/skills/write-script-deno/SKILL.md
system_prompts/auto-generated/skills/write-workflow-as-code/SKILL.md
system_prompts/auto-generated/skills/raw-app/SKILL.md
system_prompts/auto-generated/skills/resources/SKILL.md
system_prompts/auto-generated/skills/schedules/SKILL.md
system_prompts/auto-generated/skills/triggers/SKILL.md
system_prompts/auto-generated/skills/write-flow/SKILL.md
system_prompts/auto-generated/skills/write-script-ansible/SKILL.md
system_prompts/auto-generated/skills/write-script-bash/SKILL.md
system_prompts/auto-generated/skills/write-script-bigquery/SKILL.md
system_prompts/auto-generated/skills/write-script-csharp/SKILL.md

Metadata

Files
0
Version
a3a4fa5
Hash
c8c1a940
Indexed
2026-10-20 04:57

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-20 11:57
浙ICP备14020137号-1