Markdown Article Formatter
JimLiu/baoyu-skills
Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.
OpenClaw workspace 核心 markdown 文件快速压缩备份与还原工具,只备份 .md 文件并保持文件夹结构 | Fast backup & restore tool for OpenClaw workspace core markdown files, preserves directory structure
$ npx skills add LeoYeAI/openclaw-master-skills --skill workspace-zip-backup -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills workspace-zip-backup --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/workspace-zip-backup .claude/skills/workspace-zip-backup && rm -rf skills-srcUse ~/.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/
Install the "workspace-zip-backup" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/workspace-zip-backup into .claude/skills/workspace-zip-backup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "workspace-zip-backup", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/workspace-zip-backupType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LeoYeAI/openclaw-master-skills --skill workspace-zip-backup -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills workspace-zip-backup --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/workspace-zip-backup .agents/skills/workspace-zip-backup && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "workspace-zip-backup" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/workspace-zip-backup into .agents/skills/workspace-zip-backup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "workspace-zip-backup", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill workspace-zip-backup -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills workspace-zip-backup --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/workspace-zip-backup .cursor/skills/workspace-zip-backup && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "workspace-zip-backup" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/workspace-zip-backup into .cursor/skills/workspace-zip-backup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "workspace-zip-backup", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LeoYeAI/openclaw-master-skills.git --path skills/workspace-zip-backup--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LeoYeAI/openclaw-master-skills --skill workspace-zip-backup -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills workspace-zip-backup --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/workspace-zip-backup .gemini/skills/workspace-zip-backup && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "workspace-zip-backup" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/workspace-zip-backup into .gemini/skills/workspace-zip-backup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "workspace-zip-backup", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LeoYeAI/openclaw-master-skills workspace-zip-backupInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LeoYeAI/openclaw-master-skills --skill workspace-zip-backup -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/workspace-zip-backup .github/skills/workspace-zip-backup && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "workspace-zip-backup" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/workspace-zip-backup into .github/skills/workspace-zip-backup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "workspace-zip-backup", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill workspace-zip-backup -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills workspace-zip-backup --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/workspace-zip-backup .opencode/skills/workspace-zip-backup && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "workspace-zip-backup" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/workspace-zip-backup into .opencode/skills/workspace-zip-backup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "workspace-zip-backup", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
workspace-zip-backupOpenClaw workspace 核心 markdown 文件快速压缩备份与还原工具,只备份 .md 文件并保持文件夹结构 | Fast backup & restore tool for OpenClaw workspace core markdown files, preserves directory structure
Workspace Zip Backup is an agent skill from LeoYeAI/openclaw-master-skills. OpenClaw workspace 核心 markdown 文件快速压缩备份与还原工具,只备份 .md 文件并保持文件夹结构 | Fast backup & restore tool for OpenClaw workspace core markdown files, preserves directory structure
Its SKILL.md is about 4.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `README.md` and `_meta.json`).
It sits in Documents & Office, covering Markdown. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
aptFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Workspace Zip Backup loads about 4.3k tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 1,042 words of instructions outside code blocks.
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.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
ies requires appropriate permissions, no sudo needed for restoring to user home directoryAutomated 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.
The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 1,042 words, ~4,276 tokens.
.claude/skills/workspace-zip-backup/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.OpenClaw workspace 核心文件快速备份技能。只压缩备份所有 markdown 文件(核心笔记、技能文档、记忆文件等),保持原始文件夹结构,便于迁移和还原。
Fast backup tool for OpenClaw workspace core files. Only compress markdown files (notes, skill docs, memory files) while preserving original directory structure for migration and restore.
.md files are included, ignores binaries, node_modules, build outputs
仅搜索并压缩所有 .md 文件,忽略二进制文件、node_modules、构建输出等zip command, high performance
基于 zip 命令,压缩速度快backup-workspace.sh | 备份脚本#!/bin/bash
# workspace-backup - Backup all markdown files from OpenClaw workspace keeping directory structure
# workspace-backup - 备份 OpenClaw workspace 中所有 markdown 文件,保持目录结构
set -euo pipefail
# Default configuration | 默认配置
SOURCE_DIR="${1:-$HOME/.openclaw/workspace}" # Source directory | 源文件夹,默认: ~/.openclaw/workspace
OUTPUT_ZIP="${2:-workspace-backup-$(date +%Y%m%d).zip}" # Output zip file | 输出zip文件,默认按日期命名
show_help() {
echo "Usage | 用法: ./backup-workspace.sh [source_dir] [output_zip]"
echo ""
echo "Parameters | 参数:"
echo " source_dir Directory to backup (default: ~/.openclaw/workspace)"
echo " 要备份的文件夹 (默认: ~/.openclaw/workspace)"
echo " output_zip Output zip file path (default: workspace-backup-YYYYMMDD.zip)"
echo " 输出压缩包路径 (默认: workspace-backup-YYYYMMDD.zip)"
echo ""
echo "Examples | 示例:"
echo " ./backup-workspace.sh"
echo " Backup default workspace to date-named zip"
echo " 备份默认workspace到当前日期压缩包"
echo " ./backup-workspace.sh ~/my-notes my-notes-backup.zip"
echo " Backup specified directory"
echo " 备份指定文件夹"
exit 1
}
# Check for help | 检查帮助参数
if [ "$#" -ge 1 ] && [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
show_help
fi
# Check source directory exists | 检查源文件夹是否存在
if [ ! -d "$SOURCE_DIR" ]; then
echo "Error | 错误: Source directory '$SOURCE_DIR' does not exist or is not a directory"
echo " 源文件夹 '$SOURCE_DIR' 不存在或不是目录"
exit 1
fi
echo "====== Workspace Markdown Backup ======"
echo "Source Directory | 源文件夹: $SOURCE_DIR"
echo "Output File | 输出文件: $OUTPUT_ZIP"
echo ""
echo "Searching for all .md files... | 正在搜索所有 .md 文件..."
# Count markdown files | 统计markdown文件数量
MD_COUNT=$(find "$SOURCE_DIR" -type f -name "*.md" | wc -l)
if [ "$MD_COUNT" -eq 0 ]; then
echo "No .md files found, exiting. | 未找到任何 .md 文件,退出"
exit 0
fi
echo "Found $MD_COUNT .md files, starting compression... | 找到 $MD_COUNT 个 .md 文件,开始压缩..."
echo ""
# Compress using zip, keep directory structure | 使用zip压缩,保持目录结构
find "$SOURCE_DIR" -type f -name "*.md" | xargs zip -r "$OUTPUT_ZIP"
echo ""
echo "✅ Backup completed! | 备份完成!"
echo "Archive | 压缩包: $OUTPUT_ZIP"
echo "Contains $MD_COUNT .md files, original directory structure preserved. | 包含 $MD_COUNT 个 .md 文件,保持原始文件夹结构"
# Show compressed size | 显示压缩后大小
SIZE=$(du -h "$OUTPUT_ZIP" | cut -f1)
echo "Compressed size | 压缩后大小: $SIZE"When needed, copy the script code above to a file: 需要使用时,复制上面的脚本代码保存为文件即可:
# Copy script code from this SKILL.md | 复制本文件中备份脚本代码块内容
cat > backup-workspace << 'EOF'
[paste script code here | 在这里粘贴脚本代码]
EOF
chmod +x backup-workspace
mv backup-workspace ~/.local/bin/restore-workspace.sh | 还原脚本#!/bin/bash
# workspace-restore - Restore markdown files from backup zip
# workspace-restore - 从备份压缩包还原 markdown 文件
set -euo pipefail
# Default configuration | 默认配置
BACKUP_ZIP="${1:-}" # Backup zip file | 备份zip文件,必填
TARGET_DIR="${2:-$HOME/.openclaw/workspace}" # Target directory | 目标文件夹,默认: ~/.openclaw/workspace
show_help() {
echo "Usage | 用法: ./restore-workspace.sh <backup_zip> [target_dir]"
echo ""
echo "Parameters | 参数:"
echo " backup_zip Backup zip file to restore (required)"
echo " 要还原的压缩包 (必填)"
echo " target_dir Directory to restore to (default: ~/.openclaw/workspace)"
echo " 还原到哪个文件夹 (默认: ~/.openclaw/workspace)"
echo ""
echo "Examples | 示例:"
echo " ./restore-workspace.sh workspace-backup-20260316.zip"
echo " Restore to default workspace"
echo " 还原到默认workspace"
echo " ./restore-workspace.sh my-notes-backup.zip ~/new-workspace"
echo " Restore to specified location"
echo " 还原到指定位置"
exit 1
}
# Check for help | 检查帮助参数
if [ "$#" -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
show_help
fi
# Check backup file exists | 检查备份文件是否存在
if [ ! -f "$BACKUP_ZIP" ]; then
echo "Error | 错误: Backup file '$BACKUP_ZIP' does not exist"
echo " 备份文件 '$BACKUP_ZIP' 不存在"
exit 1
fi
# Check target directory | 检查目标文件夹
if [ ! -d "$TARGET_DIR" ]; then
echo "Target directory '$TARGET_DIR' does not exist, creating... | 目标文件夹 '$TARGET_DIR' 不存在,创建它..."
mkdir -p "$TARGET_DIR"
fi
echo "====== Workspace Markdown Restore ======"
echo "Backup File | 备份文件: $BACKUP_ZIP"
echo "Target Directory | 目标文件夹: $TARGET_DIR"
echo ""
echo "Listing archive contents... | 正在列出压缩包内容..."
echo ""
# List contents before restoring | 还原前列出内容供用户确认
unzip -l "$BACKUP_ZIP"
echo ""
echo "Continue restore? (y/N) | 是否继续还原? (y/N)"
read -r CONFIRM || CONFIRM="N"
if [ "$CONFIRM" != "y" ] && [ "$CONFIRM" != "Y" ]; then
echo "Cancelled. | 已取消"
exit 0
fi
echo ""
echo "Starting restore... | 开始还原..."
echo ""
# Restore with unzip - extracts to correct directory structure automatically
# 使用unzip还原 - 自动解压到正确的目录结构
unzip -o "$BACKUP_ZIP"
echo ""
echo "✅ Restore completed! | 还原完成!"
echo "All files restored with original directory structure. | 所有文件已还原,保持原始文件夹结构"
# Count restored files | 统计还原文件数量
RESTORED_COUNT=$(unzip -l "$BACKUP_ZIP" | grep -c "\.md$")
echo "Total $RESTORED_COUNT .md files restored. | 共还原 $RESTORED_COUNT 个 .md 文件"When needed, copy the script code above to a file: 需要使用时,复制上面的脚本代码保存为文件即可:
# Copy script code from this SKILL.md | 复制本文件中还原脚本代码块内容
cat > restore-workspace << 'EOF'
[paste script code here | 在这里粘贴脚本代码]
EOF
chmod +x restore-workspace
mv restore-workspace ~/.local/bin/find <dir> -type f -name "*.md"
使用 find <dir> -type f -name "*.md" 递归搜索所有 markdown 文件zip -r via xargs, zip automatically preserves directory structure
通过 xargs 将找到的文件传给 zip -r,zip 自动保持相对路径结构unzip -l for user confirmation
还原前用 unzip -l 列出压缩包内容,让用户确认y confirmation before restoring to prevent accidental operation
需要用户输入 y 确认才开始还原,避免误操作unzip -o to extract, since full paths are already stored in archive, it automatically restores directory structure
使用 unzip -o 解压,因为压缩包里已经保存了完整路径,自动还原目录结构When multiple agents are running in the same environment, each agent may have its own independent workspace. This tool supports backing up any of them. 当多个 agent 在同一环境运行时,每个 agent 可能有独立的 workspace。本工具支持备份任意一个。
Explicitly specify source directory | 显式指定源文件夹 Always specify the source directory parameter when backing up non-default workspaces: 备份非默认 workspace 时,始终显式指定源文件夹参数:
backup-workspace /path/to/your/workspace backup-$(whoami)-workspace.zipBackup multiple workspaces separately | 分别备份多个 workspace For multiple workspaces, backup one by one with different output names: 对于多个 workspace,使用不同输出名称分别备份:
backup-workspace ~/workspace-agent1 backup-agent1.zip
backup-workspace ~/workspace-agent2 backup-agent2.zipInclude workspace name in backup filename | 在备份文件名中包含 workspace 标识
Recommend naming format: workspace-backup-[username|agentname]-YYYYMMDD.zip
推荐命名格式:workspace-backup-[用户名|agent名]-YYYYMMDD.zip
Restore to correct target directory | 还原到正确目标目录 When restoring a backup from a specific workspace, explicitly specify the target directory: 还原特定 workspace 的备份时,显式指定目标目录:
restore-workspace backup-agent1.zip /path/to/new/agent1/workspaceCross-agent migration | 跨 agent 迁移 If you want to move a workspace from one agent to another: 如果要将 workspace 从一个 agent 迁移到另一个 agent:
# On source agent | 在源 agent 上备份
backup-workspace /path/to/source/workspace migration.zip
# Transfer migration.zip to target machine, then on target agent | 传输到目标机器后,在目标 agent 上还原
restore-workspace migration.zip /path/to/target/workspacebackup-workspaceExample output | 输出示例:
====== Workspace Markdown Backup ======
Source Directory | 源文件夹: /root/.openclaw/workspace
Output File | 输出文件: workspace-backup-20260316.zip
Searching for all .md files... | 正在搜索所有 .md 文件...
Found 42 .md files, starting compression... | 找到 42 个 .md 文件,开始压缩...
adding: ... (stored 0%)
...
✅ Backup completed! | 备份完成!
Archive | 压缩包: workspace-backup-20260316.zip
Contains 42 .md files, original directory structure preserved. | 包含 42 个 .md 文件,保持原始文件夹结构
Compressed size | 压缩后大小: 1.2Mbackup-workspace ~/my-notes my-notes-backup.ziprestore-workspace workspace-backup-20260316.zipIt will list contents first then ask for confirmation | 会先列出压缩包内容,然后询问确认:
... (list of files)
Continue restore? (y/N) | 是否继续还原? (y/N)
y
Starting restore... | 开始还原...
✅ Restore completed! | 还原完成!mkdir -p ~/new-workspace
unzip workspace-backup-20260316.zip -d ~/new-workspacefind, zip, unzipfind、zip、unzip 即可运行zip not installed: Ubuntu/Debian apt install zip unzipapt install zip unzipRunning in Windows Subsystem for Linux is fully compatible, same as Linux usage: 在 Windows 子系统 for Linux (WSL) 中运行完全兼容,使用方法和 Linux 相同。
find, zip, unzip commands are available in Git Bash, scripts work with minor adjustments:
Git Bash / MinGW 环境通常包含 find、zip、unzip 命令,脚本只需微调路径即可工作:
C:\ to /c/ formatC:\ 转换为 /c/ 格式Reference the logic above and port to PowerShell: 参考上述逻辑移植为 PowerShell:
# PowerShell equivalent logic:
# PowerShell 等价逻辑:
# 1. Find all .md files | 查找所有 .md 文件
$mdFiles = Get-ChildItem -Path $sourceDir -Recurse -Filter "*.md"
# 2. Compress with Compress-Archive | 使用 Compress-Archive 压缩
$mdFiles | Compress-Archive -DestinationPath $outputZip
# 3. For restore | 还原时
# Expand-Archive -Path $backupZip -DestinationPath $targetDirKey differences | 主要区别:
Get-ChildItem -Recurse instead of findGet-ChildItem -Recurse 替代 findCompress-Archive/Expand-Archive instead of zip/unzipCompress-Archive/Expand-Archive 替代 zip/unzipzip - Compression | 压缩 (Ubuntu/Debian: apt install zip)unzip - Extraction | 解压 (Ubuntu/Debian: apt install unzip)skills/workspace-backup/
└── SKILL.md # Skill document (this file, contains all logic and code)
# 技能文档(本文件,包含全部逻辑描述和脚本代码)This skill contains only this single markdown file. All backup and restore logic is described in this document, code is provided as code blocks. Copy code blocks to executable files when needed. 本技能仅包含这一个 markdown 文件,所有备份和还原逻辑都在此文档中描述,代码以代码块形式提供。使用时复制代码块保存为可执行文件即可。
.md files, automatically ignores images, videos, node_modules, git data etc.
脚本只备份 .md,会自动忽略图片、视频、node_modules、git 数据等workspace-backup-YYYYMMDD.zip format for easy identification
使用 workspace-backup-YYYYMMDD.zip 格式便于识别Here are common prompt examples when using this skill in AI agents: 以下是在 AI agent 中使用此技能时的常见提示词示例:
使用 workspace-backup 技能帮我备份当前 OpenClaw workspace 所有 markdown 文件
Use the workspace-backup skill to backup all markdown files in current OpenClaw workspace帮我备份 ~/my-notes 目录下所有 markdown 文件,保存为 my-notes-backup.zip
Help me backup all markdown files under ~/my-notes directory, save as my-notes-backup.zip使用 workspace-backup 技能帮我还原 backup-20260316.zip 到当前 workspace
Use the workspace-backup skill to restore backup-20260316.zip to current workspace我要将这个 workspace 的所有 markdown 文件迁移到另一个机器的新 workspace,请帮我创建备份
I need to migrate all markdown files from this workspace to a new workspace on another machine, help me create the backup我这里有三个不同的 workspace,帮我分别备份它们,每个使用不同的文件名
I have three different workspaces here, help me backup them separately with different filenames在 Windows WSL 环境下,帮我备份 /home/user/workspace 所有 markdown 文件
In Windows WSL environment, help me backup all markdown files in /home/user/workspaceWhen user asks for backup/restore, agent should follow these steps: 当用户请求备份/还原时,agent 应遵循以下步骤:
chmod +x <script-file>© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files in skills/workspace-zip-backup of LeoYeAI/openclaw-master-skills.
Open the folder on GitHubat commit e5199b5
Workspace Zip Backup 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Workspace Zip Backup this skillLeoYeAI/openclaw-master-skills | 2.2k | — | ~4.3k | Automated safety check: Notes | MIT | |
| Markdown Article FormatterJimLiu/baoyu-skills | 27k | 6 repos | ~3.5k | Automated safety check: Pass | MIT | |
| MarkitdownImCa0/just-laws | 781 | 14 repos | ~3.2k | Automated safety check: Notes | MIT | |
| Obsidian MarkdownAtmosphere/atmosphere | 3.8k | 20 repos | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Crosspostingwasp-lang/wasp | 19k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Gzh Designisjiamu/gzh-design-skill | 4k | — | ~2.2k | Automated safety check: Pass | AGPL-3.0 |
JimLiu/baoyu-skills
Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.
ImCa0/just-laws
Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.
Atmosphere/atmosphere
Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.
wasp-lang/wasp
Crosspost Wasp blog articles (MDX) to DEV.to and Medium. An agent skill from wasp-lang/wasp.
isjiamu/gzh-design-skill
微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…
supabase/supabase
Review Supabase docs changes locally in your supabase/supabase checkout — either an open PR (triage, classify, verify) or your own branch before opening a PR (local self-review).
LeoYeAI/openclaw-master-skills
Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.
LeoYeAI/openclaw-master-skills
Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.
LeoYeAI/openclaw-master-skills
Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.
LeoYeAI/openclaw-master-skills
Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.
LeoYeAI/openclaw-master-skills
Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.
LeoYeAI/openclaw-master-skills
Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.
Categories
OpenClaw workspace 核心 markdown 文件快速压缩备份与还原工具,只备份 .md 文件并保持文件夹结构 | Fast backup & restore tool for OpenClaw workspace core markdown files, preserves directory structure. Workspace Zip Backup is an agent skill from LeoYeAI/openclaw-master-skills.
Workspace Zip Backup fits situations like: tasks that involve Markdown.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill workspace-zip-backup -a claude-code`. Or copy the skill folder (skills/workspace-zip-backup in LeoYeAI/openclaw-master-skills) into .claude/skills/workspace-zip-backup in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill workspace-zip-backup -a codex`. Or copy the skill folder (skills/workspace-zip-backup in LeoYeAI/openclaw-master-skills) into .agents/skills/workspace-zip-backup in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill workspace-zip-backup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/workspace-zip-backup, .gemini/skills/workspace-zip-backup, .github/skills/workspace-zip-backup and .opencode/skills/workspace-zip-backup in your project.
Going by SKILL.md and its folder, Workspace Zip Backup needs the command-line tools its instructions call (apt).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Workspace Zip Backup is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.3k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Workspace Zip Backup: Markdown Article Formatter (JimLiu/baoyu-skills, 27k stars), Markitdown (ImCa0/just-laws, 781 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and Crossposting (wasp-lang/wasp, 19k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,161 GitHub stars. The repository holds 1,235 skills in this directory. The repository was last updated on July 20, 2026.
Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.