wallpaper-auto-switch-pro-executable

在 macOS 本机从本地壁纸文件夹中立即换壁纸,或安装 launchd 定时轮换任务的可执行技能。

3,891 stars

Best use case

wallpaper-auto-switch-pro-executable is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

在 macOS 本机从本地壁纸文件夹中立即换壁纸,或安装 launchd 定时轮换任务的可执行技能。

Teams using wallpaper-auto-switch-pro-executable should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/wallpaper-auto-switch-pro-executable/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/52yuanchangxing/wallpaper-auto-switch-pro-executable/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/wallpaper-auto-switch-pro-executable/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How wallpaper-auto-switch-pro-executable Compares

Feature / Agentwallpaper-auto-switch-pro-executableStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

在 macOS 本机从本地壁纸文件夹中立即换壁纸,或安装 launchd 定时轮换任务的可执行技能。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Wallpaper Auto Switch Pro Executable

这是一个 **可执行版** 的 macOS 壁纸轮换技能。

它与“说明型 skill”不同:
- 自带本地脚本
- 能立即切换壁纸
- 能安装 launchd 定时任务
- 能卸载定时任务
- 不假装联网搜索或自动下载图片

## 适用范围

仅适用于 **macOS**,并且要求用户已经准备好了一个本地壁纸文件夹。

支持这些任务:
- 立刻从某个文件夹随机换一张壁纸
- 检查某个文件夹里有多少可用图片
- 安装每 N 分钟自动轮换一次的 launchd 任务
- 卸载已经安装的自动轮换任务
- 查看当前 launchd 任务配置路径

## 不做的事情

- 不自动联网下载壁纸
- 不伪造“已换成功”
- 不支持 Windows 或 Linux
- 不支持 WeChat / QQ / 手机壁纸
- 不依赖虚构的 OpenClaw 壁纸 UI 页面

## 依赖

本 skill 依赖以下 macOS 本机能力:
- `bash`
- `osascript`
- `find`
- `shuf`

## 默认图片后缀

会识别以下图片格式:
- jpg
- jpeg
- png
- heic
- webp

## 使用方式

### 1. 立即随机换壁纸

当用户说:
- 立刻从某个文件夹换一张壁纸
- 帮我随机切换桌面背景
- 用本地壁纸目录马上换一张

你应运行:

```bash
bash {baseDir}/scripts/rotate_once.sh "/Users/用户名/Pictures/WallpaperAuto"
```

如果用户没有给目录,优先建议这些常用目录:
- `~/Pictures/WallpaperAuto`
- `~/Pictures/Wallpapers`
- `~/Desktop/wallpapers`

### 2. 检查文件夹中可用壁纸数量

当用户说:
- 检查这个文件夹能不能用
- 看看这个目录里有多少张壁纸
- 帮我列出可用图片

你应运行:

```bash
bash {baseDir}/scripts/list_images.sh "/Users/用户名/Pictures/WallpaperAuto"
```

### 3. 安装自动轮换任务

当用户说:
- 帮我安装自动换壁纸
- 每 60 分钟自动切换一次
- 用 launchd 定时轮换壁纸

你应运行:

```bash
bash {baseDir}/scripts/install_launchagent.sh "/Users/用户名/Pictures/WallpaperAuto" 60
```

第二个参数是分钟数。

### 4. 卸载自动轮换任务

当用户说:
- 关闭自动换壁纸
- 卸载壁纸轮换任务
- 停止定时换壁纸

你应运行:

```bash
bash {baseDir}/scripts/uninstall_launchagent.sh
```

## 输出要求

### 如果是“立即换壁纸”
输出:
1. 使用的文件夹
2. 是否成功
3. 实际设置的文件路径
4. 如果失败,明确失败原因

### 如果是“安装自动轮换”
输出:
1. 壁纸目录
2. 轮换间隔(分钟)
3. launchd plist 路径
4. 是否安装成功
5. 如何卸载

### 如果是“检查文件夹”
输出:
1. 目录是否存在
2. 可识别图片数量
3. 前几个文件名示例
4. 是否建议继续安装自动轮换

## 真实性要求

- 只有脚本命令真实成功后,才能说“已安装”或“已切换”
- 如果目录不存在、图片数量为 0、launchd 加载失败、osascript 执行失败,必须明确报错
- 不要假装已创建 schedule
- 不要假装已成功切换桌面

## 安全与兼容性要求

- 只操作用户明确提供的目录
- 不删除用户图片
- 不移动用户文件
- launchd 仅写入当前用户的 `~/Library/LaunchAgents`
- 默认 label:`com.openclaw.wallpaperrotator`

## 推荐回答策略

### A. 用户只说“帮我自动换壁纸”
先问或建议:
- 你的壁纸文件夹在哪里?
- 如果没有,建议使用 `~/Pictures/WallpaperAuto`
- 你想每隔多少分钟/小时切换?

### B. 用户已经有目录
优先先检查目录:

```bash
bash {baseDir}/scripts/list_images.sh "目录"
```

如果目录可用,再继续:
- 立刻切换一次
- 或安装定时任务

### C. 用户要求“马上执行”
优先执行 `rotate_once.sh`。

## 常用目录建议

- `~/Pictures/WallpaperAuto`
- `~/Pictures/Wallpapers`

## 示例

用户:帮我把 `~/Pictures/WallpaperAuto` 设成随机壁纸并马上切换。  
你应运行:

```bash
bash {baseDir}/scripts/rotate_once.sh "$HOME/Pictures/WallpaperAuto"
```

用户:帮我每 120 分钟自动换一次壁纸,目录是 `~/Pictures/WallpaperAuto`。  
你应运行:

```bash
bash {baseDir}/scripts/install_launchagent.sh "$HOME/Pictures/WallpaperAuto" 120
```

Related Skills

agent-autonomy-kit

3891
from openclaw/skills

Stop waiting for prompts. Keep working.

Workflow & Productivity

n8n Workflow Mastery — Complete Automation Engineering System

3891
from openclaw/skills

You are an expert n8n workflow architect. You design, build, debug, optimize, and scale n8n automations following production-grade methodology. Every workflow you create is complete, functional, and follows the patterns in this guide.

Workflow & Productivity

Insurance Operations Automation

3891
from openclaw/skills

Comprehensive insurance operations framework for AI agents. Covers the full insurance lifecycle — underwriting, claims, policy management, renewals, compliance, and broker operations.

Workflow & Productivity

afrexai-business-automation

3891
from openclaw/skills

Turn your AI agent into a business automation architect. Design, document, implement, and monitor automated workflows across sales, ops, finance, HR, and support — no n8n or Zapier required.

Workflow & Productivity

Business Automation Strategy — AfrexAI

3891
from openclaw/skills

> The complete methodology for identifying, designing, building, and scaling business automations. Platform-agnostic — works with n8n, Zapier, Make, Power Automate, custom code, or any combination.

Auto Repair Shop Operations

3891
from openclaw/skills

Complete operational reference for independent auto repair shops. Covers labor rates, parts markup, ASE certification, EPA compliance, diagnostic workflows, flat rate times, KPIs, technician compensation, equipment costs, and growth playbook from solo shop to multi-location.

AI Automation Agency Blueprint

3891
from openclaw/skills

You are an AI Automation Agency strategist. Help the user build, price, sell, and scale an AI agent services business — from solo consultant to 7-figure agency. Every recommendation must be specific, actionable, and backed by real economics.

Business Strategy & Growth

Accounts Payable Automation Framework

3891
from openclaw/skills

You are an AP process optimizer. When the user describes their payable workflows, vendor relationships, or payment processes, generate a complete accounts payable management framework.

Workflow & Productivity

agent-autopilot

3891
from openclaw/skills

Self-driving agent workflow with heartbeat-driven task execution, day/night progress reports, and long-term memory consolidation. Integrates with todo-management for task tracking.

Workflow & Productivity

n8n-workflow-automation

3891
from openclaw/skills

Designs and outputs n8n workflow JSON with robust triggers, idempotency, error handling, logging, retries, and human-in-the-loop review queues. Use when you need an auditable automation that won’t silently fail.

Workflow & Productivity

autoresearch-pro

3891
from openclaw/skills

Automatically improve OpenClaw skills, prompts, or articles through iterative mutation-testing loops. Inspired by Karpathy's autoresearch. Use when user says 'optimize [skill]', 'autoresearch [skill]', 'improve my skill', 'optimize this prompt', 'improve my prompt', 'polish this article', 'improve this article', or explicitly requests quality improvement for any text-based content. Supports three modes: skill (SKILL.md files), prompt (any prompt text), and article (any document).

Workflow & Productivity

auto-respawn

3891
from openclaw/skills

Your agent always comes back. Anchor identity and memory on-chain so any new instance can resurrect from just an address — no local state, no single point of failure. Permanent identity and recovery on the Autonomys Network.

Agent Orchestration & Management