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.
图片压缩/转换 - 批量压缩、改尺寸、转格式(jpg/png/webp),本地处理不失隐私. An agent skill from dongsheng123132/u-claw.
$ npx skills add dongsheng123132/u-claw --skill image-compress -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dongsheng123132/u-claw image-compress --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/dongsheng123132/u-claw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/portable/skills-cn/image-compress .claude/skills/image-compress && 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 "image-compress" agent skill from https://github.com/dongsheng123132/u-claw/tree/main/portable/skills-cn/image-compress into .claude/skills/image-compress/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-compress", 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/dongsheng123132/u-claw/tree/main/portable/skills-cn/image-compressType 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 dongsheng123132/u-claw --skill image-compress -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dongsheng123132/u-claw image-compress --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dongsheng123132/u-claw.git skills-src && mkdir -p .agents/skills && cp -r skills-src/portable/skills-cn/image-compress .agents/skills/image-compress && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "image-compress" agent skill from https://github.com/dongsheng123132/u-claw/tree/main/portable/skills-cn/image-compress into .agents/skills/image-compress/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-compress", 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 dongsheng123132/u-claw --skill image-compress -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dongsheng123132/u-claw image-compress --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dongsheng123132/u-claw.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/portable/skills-cn/image-compress .cursor/skills/image-compress && 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 "image-compress" agent skill from https://github.com/dongsheng123132/u-claw/tree/main/portable/skills-cn/image-compress into .cursor/skills/image-compress/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-compress", 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/dongsheng123132/u-claw.git --path portable/skills-cn/image-compress--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 dongsheng123132/u-claw --skill image-compress -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dongsheng123132/u-claw image-compress --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dongsheng123132/u-claw.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/portable/skills-cn/image-compress .gemini/skills/image-compress && 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 "image-compress" agent skill from https://github.com/dongsheng123132/u-claw/tree/main/portable/skills-cn/image-compress into .gemini/skills/image-compress/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-compress", 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 dongsheng123132/u-claw image-compressInstalls 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 dongsheng123132/u-claw --skill image-compress -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dongsheng123132/u-claw.git skills-src && mkdir -p .github/skills && cp -r skills-src/portable/skills-cn/image-compress .github/skills/image-compress && 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 "image-compress" agent skill from https://github.com/dongsheng123132/u-claw/tree/main/portable/skills-cn/image-compress into .github/skills/image-compress/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-compress", 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 dongsheng123132/u-claw --skill image-compress -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dongsheng123132/u-claw image-compress --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dongsheng123132/u-claw.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/portable/skills-cn/image-compress .opencode/skills/image-compress && 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 "image-compress" agent skill from https://github.com/dongsheng123132/u-claw/tree/main/portable/skills-cn/image-compress into .opencode/skills/image-compress/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-compress", 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.
image-compress图片压缩/转换 - 批量压缩、改尺寸、转格式(jpg/png/webp),本地处理不失隐私. An agent skill from dongsheng123132/u-claw.
Image Compress is an agent skill from dongsheng123132/u-claw. 图片压缩/转换 - 批量压缩、改尺寸、转格式(jpg/png/webp),本地处理不失隐私
Its SKILL.md is about 270 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Documents & Office. The repository describes itself as: U-Claw 虾盘 — OpenClaw AI 助手离线安装 U 盘:一键装好 Claude Code/Codex/OpenClaw,无需联网即插即用;新品 U-King AI 装机管家详见 u-king.org,另有远程支持与定制 AI 开发。 The licence is MIT.
Read from SKILL.md and the folder at commit 9e769e6. 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:
pythonpipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
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.
Image Compress loads about 274 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 35 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 found no risky patterns in SKILL.md.
Automated 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 dongsheng123132/u-claw at commit 9e769e6, republished under its MIT licence (© dongsheng123132). 35 words, ~274 tokens.
.claude/skills/image-compress/SKILL.md (or your agent's skills folder).帮用户压缩图片体积、调整尺寸、转换格式,全部本地处理,照片不外传。
用 Bash 工具,Python 的 Pillow 库(跨平台、纯本地):
python -c "import PIL" 2>/dev/null || pip install -q Pillow
# 单张压缩(质量 75,宽度限制 1600px 等比缩放)
python - <<'PY'
from PIL import Image
im = Image.open("input.jpg")
if im.width > 1600:
im = im.resize((1600, int(im.height*1600/im.width)))
im.convert("RGB").save("output.jpg", "JPEG", quality=75, optimize=True)
print("已压缩 -> output.jpg")
PY
# 批量:当前目录所有 jpg/png -> webp(体积更小)
python - <<'PY'
from PIL import Image
import glob, os
for f in glob.glob("*.jpg") + glob.glob("*.png"):
out = os.path.splitext(f)[0] + ".webp"
Image.open(f).save(out, "WEBP", quality=80)
print(f"{f} -> {out}")
PYls -lh 看原图体积,处理后再 ls -lh 对比,告诉用户压缩了多少© dongsheng123132, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in portable/skills-cn/image-compress of dongsheng123132/u-claw.
Open the folder on GitHubat commit 9e769e6
Image Compress 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 |
|---|---|---|---|---|---|---|
| Image Compress this skilldongsheng123132/u-claw | 1.8k | — | ~274 | Automated safety check: Pass | 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 | |
| DOCXrvdbreemen/OTGW-firmware | 207 | 33 repos | ~4.3k | Automated safety check: Pass | Proprietary | |
| Word Document Reader and WriterHKUDS/DeepTutor | 41k | — | ~2.5k | Automated safety check: Pass | Apache-2.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.
rvdbreemen/OTGW-firmware
A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).
HKUDS/DeepTutor
Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.
wasp-lang/wasp
Crosspost Wasp blog articles (MDX) to DEV.to and Medium. An agent skill from wasp-lang/wasp.
dongsheng123132/u-claw
DeepSeek API 助手 - 编程辅助、模型选择、API调用指南、定价信息. An agent skill from dongsheng123132/u-claw.
dongsheng123132/u-claw
网页转 Markdown - 抓取任意网页正文并转成干净的 Markdown,便于阅读/收藏/二次创作. An agent skill from dongsheng123132/u-claw.
dongsheng123132/u-claw
中英互译 + 本地化 - 技术翻译、UI本地化、文化适配、避免机翻腔
dongsheng123132/u-claw
PPT 演示助手 - 幻灯片设计、内容结构、视觉优化、动画建议、演讲稿
dongsheng123132/u-claw
B站内容助手 - 视频标题描述优化、标签策略、封面设计建议、分区选择、评论互动
dongsheng123132/u-claw
国内搜索引擎 - 百度、搜狗、Bing中国搜索,绕过GFW限制
Categories
图片压缩/转换 - 批量压缩、改尺寸、转格式(jpg/png/webp),本地处理不失隐私. An agent skill from dongsheng123132/u-claw. Image Compress is an agent skill from dongsheng123132/u-claw.
Image Compress fits situations like: documents & Office work in your project.
Run `npx skills add dongsheng123132/u-claw --skill image-compress -a claude-code`. Or copy the skill folder (portable/skills-cn/image-compress in dongsheng123132/u-claw) into .claude/skills/image-compress in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dongsheng123132/u-claw --skill image-compress -a codex`. Or copy the skill folder (portable/skills-cn/image-compress in dongsheng123132/u-claw) into .agents/skills/image-compress 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 dongsheng123132/u-claw --skill image-compress -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/image-compress, .gemini/skills/image-compress, .github/skills/image-compress and .opencode/skills/image-compress in your project.
Going by SKILL.md and its folder, Image Compress needs the command-line tools its instructions call (python and pip). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Image Compress is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 274 tokens (SKILL.md is roughly 1.1k 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 Image Compress: Markdown Article Formatter (JimLiu/baoyu-skills, 27k stars), Markitdown (ImCa0/just-laws, 781 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and DOCX (rvdbreemen/OTGW-firmware, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dongsheng123132 (a GitHub user) maintains it in dongsheng123132/u-claw, which has 1,759 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 6, 2026.
Source: dongsheng123132/u-claw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.