media-organizer

media-organizer is a skill for Claude Code, Codex from cafe3310/public-agent-skills. It costs 24 tokens per session (870 once invoked), scanned C, original, Apache-2.0.

A workflow for sorting a messy folder of media files into agreed categories and naming them consistently. It uses file details and project conventions to propose a new folder structure before moving anything.

In plain words
What is it for?
It helps classify videos, images, logos, demonstrations, and downloaded content; create a move plan; rename files; move approved items; and add README files to the new folders.
Why use it?
Unclear filenames and mixed content make media difficult to find and archive. A review step prevents uncertain files from being classified or moved without the user’s approval.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Gemini CLI.

Good fit It helps classify videos, images, logos, demonstrations, and downloaded content; create a move plan; rename files; move approved items; and add README files to the new folders.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cafe3310/public-agent-skills/media-organizer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cafe3310/public-agent-skills --skill media-organizer
Clone the repo
git clone --depth 1 https://github.com/cafe3310/public-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for media-organizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/media-organizer/github.svg)](https://agentmods.dev/skills/cafe3310/public-agent-skills/media-organizer)
Your own site
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/media-organizer"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/media-organizer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for media-organizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/media-organizer"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/media-organizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 870 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.00870
Opus 5 $0.00012 $0.00435
Sonnet 5 $0.00005 $0.00174
Haiku 4.5 $0.00002 $0.00087

Measured 13d ago against content hash faaaa7db4242, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade C, and why

media-organizer scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

3. 所有文件移动完毕后,清理源目录。这可能包括删除已变为空的子目录和任何系统垃圾文件(如 `.DS_Store`)。在执行 `rm -rf` 之前,请与用户确认此清理操作。
skills/media-organizer/SKILL.md · 55 lines

What it actually says

媒体文件整理工作流

本 Skill 指导将一个包含杂乱媒体文件的目录整理成本项目内的标准化结构。此工作流强调与用户协作,以确保最终的组织方式符合用户需求。

步骤 1: 确定源目录

  1. 请用户提供包含待整理媒体文件的目录的绝对或相对路径。
  2. 确认用户提供的路径有效且可访问。如果无效,请通知用户并请求正确的路径。

步骤 2: 提出整理计划

  1. 使用 ls -R <source_directory> 命令列出源目录中的文件,以了解其内容。
  2. 澄清文件内容:
    • 对于文件名含义不明确,无法直接判断其内容或归类的文件,主动询问用户以获取准确信息。
    • 如果文件名中包含数字,应向用户确认其含义,例如是“版本号”(_v...)还是“示例编号”(_no...)。
  3. 根据文件名和类型,提出一组子分类。默认分类如下:
    • community-content: 用于存放来自外部来源的内容(如 YouTube 评测、文章等)。
    • internal-demos: 用于存放内部团队创建的演示和用例。
    • generated-examples: 用于存放由模型自动生成的内容。
    • assets: 用于存放辅助性材料(如 Logo、封面、倒计时视频等)。
  4. 根据项目的 GEMINI.md 文件提出文件命名规范。默认为:{YYYYMMDD}_{分类}_{描述}_{编号}.{后缀}
    • 重要: {YYYYMMDD} 必须使用文件的最后修改时间 (stat 命令) 确定,而不是文件名中自带的日期。
  5. 生成一个完整的文件迁移计划,将每个旧文件路径映射到一个建议的新文件路径。以清晰的格式(如 Markdown 表格或列表)呈现给用户。
  6. 暂停并请求用户确认。 请用户审查建议的分类、命名规范和完整的迁移计划。在获得用户明确批准之前,不要继续。允许用户对计划提出修改意见。

步骤 3: 执行迁移

一旦用户批准计划:

  1. 创建新的子分类目录(例如,使用 mkdir -p ...)。
  2. 为已批准计划中的每个项目运行 mv 命令,执行文件迁移。最安全的方式是逐个或按小的逻辑批次执行。
  3. 所有文件移动完毕后,清理源目录。这可能包括删除已变为空的子目录和任何系统垃圾文件(如 .DS_Store)。在执行 rm -rf 之前,请与用户确认此清理操作。

步骤 4: 生成文档

  1. 为每个创建的新分类目录生成一个 README.md 文件。
  2. 使用位于 skills/media-organizer/assets/readme.md.template 的模板来创建内容。
  3. README.md 应简要描述该分类,并可以包含指向几个关键文件的链接作为示例。
  4. 更新父目录的 README.md 以反映新的、有组织的结构,使新内容易于发现。

步骤 5: 最终审查

  1. 通知用户整理、清理和文档化过程已完成。
  2. 使用 ls 命令显示新的目录结构。
  3. 询问用户是否对结果满意。
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 55 lines · 24 tokens per session scan C faaaa7db4242

Subscribe to this mod's changes

media-organizer is a skill published in the GitHub repository cafe3310/public-agent-skills (253 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 24 tokens to every session and 870 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.