Agent skill

Media Ops Skill

by OpenLoaf in OpenLoaf/OpenLoaf

处理本地已有的图片 / 视频 / 音频文件,或下载网络视频。图片:缩放、裁剪、旋转、格式转换(→webp/png/jpeg)、滤镜、查看尺寸;视频:格式转换、提取音频、查看元信息;下载:YouTube / B 站等公开视频。也用于 AI 生成图片后的二次处理(转格式、缩放)。不用于:AI…

AGPL-3.0Auto-check passedMedia & Creative

Install Media Ops Skill

skills CLI
$ npx skills add OpenLoaf/OpenLoaf --skill media-ops-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OpenLoaf/OpenLoaf media-ops-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OpenLoaf/OpenLoaf.git skills-src && mkdir -p .claude/skills && cp -r skills-src/apps/server/src/ai/builtin-skills/media-ops .claude/skills/media-ops-skill && rm -rf skills-src

Use ~/.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/

Facts

Skill name
media-ops-skill
GitHub stars
108
Token cost
~792 tokens
SKILL.md length
155 words
Files
1
Skills in repo
33
Repo updated
First seen
Licence
AGPL-3.0

At a glance

处理本地已有的图片 / 视频 / 音频文件,或下载网络视频。图片:缩放、裁剪、旋转、格式转换(→webp/png/jpeg)、滤镜、查看尺寸;视频:格式转换、提取音频、查看元信息;下载:YouTube / B 站等公开视频。也用于 AI 生成图片后的二次处理(转格式、缩放)。不用于:AI…

  • Media & Creative work in your project
  • SKILL.md covers 工具清单, 决策树, ImageProcess — 图片处理 and VideoConvert — 视频/音频转换, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Media Ops Skill is an agent skill from OpenLoaf/OpenLoaf. 处理本地已有的图片 / 视频 / 音频文件,或下载网络视频。图片:缩放、裁剪、旋转、格式转换(→webp/png/jpeg)、滤镜、查看尺寸;视频:格式转换、提取音频、查看元信息;下载:YouTube / B 站等公开视频。也用于 AI 生成图片后的二次处理(转格式、缩放)。不用于:AI 从零生成图片/视频/语音(→cloud-media-skill)、在对话里渲染图表(→visualization-ops-skill)。

Its SKILL.md is about 790 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 Media & Creative. It works with YouTube. The repository describes itself as: 🍞Open-source, local-first AI workspace with Agents, multi-model chat (GPT/Claude/Gemini/DeepSeek), Notion-like docs, AI image & video generation, email, calendar & terminal…. The licence is AGPL-3.0.

When your agent uses it

  • Media & Creative work in your project

Example prompts

  • “/media-ops-skill”

What it can do on your machine

Read from SKILL.md and the folder at commit f7eccf6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Media Ops Skill loads about 792 tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 155 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~792

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from OpenLoaf/OpenLoaf at commit f7eccf6, republished under its AGPL-3.0 licence (© OpenLoaf). 155 words, ~792 tokens.

Download SKILL.mdSave it as .claude/skills/media-ops-skill/SKILL.md (or your agent's skills folder).
name
media-ops-skill
description
处理本地已有的图片 / 视频 / 音频文件,或下载网络视频。图片:缩放、裁剪、旋转、格式转换(→webp/png/jpeg)、滤镜、查看尺寸;视频:格式转换、提取音频、查看元信息;下载:YouTube / B 站等公开视频。也用于 AI 生成图片后的二次处理(转格式、缩放)。**不用于**:AI 从零生成图片/视频/语音(→cloud-media-skill)、在对话里渲染图表(→visualization-ops-skill)。
tools
ImageProcess, VideoConvert, VideoDownload

图片 / 视频 / 音频处理

本 skill 覆盖三个本地媒体工具,图片处理是核心能力。

⚡ 读到此处立刻行动 — 不要停下来回复用户。紧接着执行 ToolSearch(names: "ImageProcess") 激活工具 schema,然后调用 ImageProcess 完成操作。这三步必须在同一个 response 内完成。

工具清单

工具职责
ImageProcess图片处理:缩放 / 裁剪 / 旋转 / 翻转 / 格式转换 / 灰度 / 模糊 / 锐化 / 着色 / 查看元信息
VideoConvert视频格式转换 / 提取音频 / 查看元信息
VideoDownload从 YouTube / B 站等公开网址下载视频

加载:全部为 deferred 工具,调用前须先 ToolSearch(names: "ImageProcess,VideoConvert,VideoDownload") 激活 schema。

决策树

text
用户需要媒体操作
├── 处理图片?(缩放 / 裁剪 / 旋转 / 转格式 / 滤镜 / 查看尺寸)
│   └── ImageProcess
├── 处理视频?
│   ├── 格式转换 / 调整分辨率 → VideoConvert (action: convert)
│   └── 提取音频 → VideoConvert (action: extract-audio)
├── 查看文件信息?
│   ├── 图片(宽高 / 格式 / DPI) → ImageProcess (action: get-info)
│   └── 视频(时长 / 分辨率 / 编码) → VideoConvert (action: get-info)
└── 下载网络视频?
    └── VideoDownload

ImageProcess — 图片处理

基于 sharp,对已有图片进行变换。AI 生成的图片同样适用。

action用途关键参数
get-info读取宽高、格式、DPI、文件大小仅 filePath
resize缩放width/height/fit
crop矩形裁剪left/top/width/height
rotate旋转angle
flip翻转direction
convert格式转换format(png/jpeg/webp/avif/tiff)
grayscale/blur/sharpen/tint滤镜效果各有专属参数

处理前先 get-info:了解原始尺寸和格式,避免盲目操作——比如用户说"缩小一半",你需要知道原始宽高才能计算目标值。

输出路径决策:默认追加后缀(如 photo_resized.jpg)。直接覆盖原文件有风险——用户可能需要原图作对比或回退。用户明确要求覆盖时除外。

VideoConvert — 视频/音频转换

基于 FFmpeg,处理已有文件的格式转换和音频提取。

action用途关键参数
get-info读取时长、分辨率、编解码器、流信息仅 filePath
convert视频格式转换format、resolution
extract-audio从视频提取音频audioFormat(mp3/wav/aac/flac)

格式选择建议:

  • 通用兼容:MP4(H.264)——几乎所有设备都能播放
  • 高质量压缩:WebM(VP9)——文件更小但兼容性略差
  • 音频提取:MP3(通用)、FLAC(无损)

大文件注意:视频转码耗时与文件大小成正比。超过 500MB 的文件转换可能需要较长时间,提前告知用户预期等待。

VideoDownload — 视频下载

通过 yt-dlp 下载公开视频 URL。

适用:用户给出公开视频链接,需要下载到本地继续处理(编辑、提取音频、转码)。

不适用:

  • 生成新视频 → cloud-media-skill
  • 转换本地已有视频 → VideoConvert
  • 私有/需登录的视频 → 告知用户 yt-dlp 只能下载公开内容

下载后常见后续:下载完成后用户通常需要进一步处理——提取音频、转换格式、裁剪。主动询问是否需要后续操作。

常见工作流

AI 生成图片后转格式 / 缩放
CloudImageGenerate(…) → 拿到 absolutePath
ImageProcess(action: "get-info", filePath: "…")   # 先确认原始尺寸
ImageProcess(action: "convert", filePath: "…", format: "webp", outputPath: "…")
视频下载 → 提取音频
VideoDownload(url: "...") → 拿到 filePath
VideoConvert(action: "extract-audio", filePath: "...", outputPath: "output.mp3")
批量图片格式转换

对每张图片调用 ImageProcess(action: "convert", format: "webp")。WebP 格式在保持画质的同时文件体积约为 JPEG 的 70%,适合 Web 使用场景。

常见错误

格式不支持 → 检查文件扩展名和实际编码是否匹配。用户可能把 .mp4 文件命名为 .avi,先用 get-info 确认真实格式。

输出文件与输入同路径 → 部分操作不支持原地覆盖。用不同的 outputPath,完成后如需替换再通知用户。

用户说"压缩图片"含义模糊 → 可能指:缩小尺寸(resize)、降低质量(convert 时调 quality)、或换格式(jpeg→webp)。主动澄清意图。

© OpenLoaf, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in apps/server/src/ai/builtin-skills/media-ops of OpenLoaf/OpenLoaf.

Open the folder on GitHubat commit f7eccf6

Compare with similar skills

Media Ops Skill 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.

Media Ops Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Media Ops Skill this skillOpenLoaf/OpenLoaf108—~792Automated safety check: PassAGPL-3.0
Native Subtitle Quote Imagechengyi-ai/native-subtitle-quote-image2.2k2 repos~1.8kAutomated safety check: PassMIT
Video Spec Builderfeicaiclub/video-spec-builder1k—~2.9kAutomated safety check: PassMIT
Wjs Uploading Videojianshuo/claude-skills1301 repos~2.1kAutomated safety check: PassMIT
Video Dataoxylabs/agent-skills875—~1.4kAutomated safety check: PassMIT
Motion Video in Remotionooiyeefei/ccc494—~2.9kAutomated safety check: PassMIT

Similar skills

  • Native Subtitle Quote Image

    chengyi-ai/native-subtitle-quote-image

    将本地视频或用户有权处理的在线视频,经过来源获取、文字稿定位、选题选句、精确取帧、紧凑裁切、拼图和逐张质检,制作成 3:4 或保留画面原比例的视频字幕长图。支持两种明确分开的输出:保留画面内已烧录字幕的原生字幕模式,以及把已审核的时间点与台词绘制到真实视频帧上的脚本字幕模式。用户要求原生字幕截图、字幕帧拼图、YouTube…

    2.2k GitHub starsUsed in 2 repos~1.8k tokens
    Media & CreativeAuto-check passed
  • Video Spec Builder

    feicaiclub/video-spec-builder

    当用户说想做一个视频、宣传片、产品演示、动画短片、抖音/YouTube 内容,或者说要改分镜、调节奏、换镜头、调字幕、加配音、改转场时使用。通过苏格拉底式追问收集视频需求,主动激发渲染层的全部能力(TTS / 字幕 / 3D / shader / 音频反应等),输出标准化的 video-spec.md 用于渲染。

    1k GitHub stars~2.9k tokensUpdated 4 mo ago
    Media & CreativeAuto-check passed
  • Wjs Uploading Video

    jianshuo/claude-skills

    Upload one or many videos to YouTube. An agent skill from jianshuo/claude-skills.

    130 GitHub starsUsed in 1 repo~2.1k tokens
    Media & CreativeAuto-check passed
  • Video Data

    oxylabs/agent-skills

    YouTube data extraction API and high-bandwidth proxy downloads.

    875 GitHub stars~1.4k tokensUpdated 8 days ago
    Media & CreativeAuto-check passed
  • Builds marketing and explainer videos in Remotion from rendered scenes, with one real product capture as proof, and cuts them for each platform's formats.

    494 GitHub stars~2.9k tokensUpdated 2 mo ago
    Media & CreativeAuto-check passed
  • Packaging Youtube Thumbnails

    ericosiu/ai-marketing-skills

    A skill your agent uses when a user supplies new video content or a channel and wants on-brand YouTube titles, thumbnail concepts, rendered variants, A/B packaging, identity profiling, precise…

    3.6k GitHub stars~3.8k tokensUpdated 16 days ago
    Media & CreativeAuto-check passed

More from OpenLoaf/OpenLoaf

All 33 skills in this repo
  • Agent Orchestration Skill

    OpenLoaf/OpenLoaf

    Triggers when the master Agent faces a multi-step complex task and is deciding whether / how to outsource sub-tasks to built-in subagents (browser / doc-editor / data-analyst / extractor /…

    108 GitHub stars~1.9k tokensUpdated 4 mo ago
    Auto-check passed
  • Browser Ops Skill

    OpenLoaf/OpenLoaf

    Triggered when the user asks for page-level interaction with a specific webpage: login, form filling, button clicks, pagination scraping, screenshots, downloading page images, handling CAPTCHAs or…

    108 GitHub stars~1.5k tokensUpdated 4 mo ago
    Auto-check passed
  • Canvas Ops Skill

    OpenLoaf/OpenLoaf

    Triggered when the user wants lifecycle management of OpenLoaf canvases / whiteboards: create, open, filter, duplicate, delete, rename, or change ownership.

    108 GitHub stars~1.4k tokensUpdated 4 mo ago
    Auto-check passed
  • Reads, edits, converts and reviews Word documents through three dedicated tools, covering tracked changes, comments, tables, images and format conversion.

    108 GitHub stars~1.9k tokensUpdated 4 mo ago
    Auto-check passed
  • Email Operations

    OpenLoaf/OpenLoaf

    Handles a real email account through query and mutate tools: check the inbox, read, search, reply, forward, compose and organize, with sending always confirmed first.

    108 GitHub stars~1.8k tokensUpdated 4 mo ago
    Auto-check passed
  • macOS Desktop Control

    OpenLoaf/OpenLoaf

    Guides an agent to operate native macOS apps by surveying an app first, acting through intents, menus or keystrokes, and verifying each step, in OpenLoaf Desktop only.

    108 GitHub stars~2.4k tokensUpdated 4 mo ago
    Auto-check passed

Works with

Questions about Media Ops Skill

What does Media Ops Skill do?

处理本地已有的图片 / 视频 / 音频文件,或下载网络视频。图片:缩放、裁剪、旋转、格式转换(→webp/png/jpeg)、滤镜、查看尺寸;视频:格式转换、提取音频、查看元信息;下载:YouTube / B 站等公开视频。也用于 AI 生成图片后的二次处理(转格式、缩放)。不用于:AI…. Media Ops Skill is an agent skill from OpenLoaf/OpenLoaf.

When should I use Media Ops Skill?

Media Ops Skill fits situations like: media & Creative work in your project.

How do I install Media Ops Skill in Claude Code?

Run `npx skills add OpenLoaf/OpenLoaf --skill media-ops-skill -a claude-code`. Or copy the skill folder (apps/server/src/ai/builtin-skills/media-ops in OpenLoaf/OpenLoaf) into .claude/skills/media-ops-skill in your project. Claude Code loads it when a task matches its description.

How do I install Media Ops Skill in Codex?

Run `npx skills add OpenLoaf/OpenLoaf --skill media-ops-skill -a codex`. Or copy the skill folder (apps/server/src/ai/builtin-skills/media-ops in OpenLoaf/OpenLoaf) into .agents/skills/media-ops-skill in your project. Codex loads it when a task matches its description.

Can I use Media Ops Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenLoaf/OpenLoaf --skill media-ops-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/media-ops-skill, .gemini/skills/media-ops-skill, .github/skills/media-ops-skill and .opencode/skills/media-ops-skill in your project.

What does Media Ops Skill need to run?

SKILL.md names no scripts, command-line tools or credentials: Media Ops Skill is instructions for the agent only.

Does Media Ops Skill access the network?

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.

Is Media Ops Skill safe to install?

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.

What licence does Media Ops Skill use?

Media Ops Skill is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Media Ops Skill use?

About 792 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Media Ops Skill?

Skills that share tags, products or a category with Media Ops Skill: Native Subtitle Quote Image (chengyi-ai/native-subtitle-quote-image, 2.2k stars), Video Spec Builder (feicaiclub/video-spec-builder, 1k stars), Wjs Uploading Video (jianshuo/claude-skills, 130 stars) and Video Data (oxylabs/agent-skills, 875 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Media Ops Skill?

OpenLoaf (a GitHub organization) maintains it in OpenLoaf/OpenLoaf, which has 108 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on May 14, 2026.

Source: OpenLoaf/OpenLoaf on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.