media-naming

media-naming is a skill for Claude Code, Codex from coracoo/zspace_skill. It costs 204 tokens per session (1,780 once invoked), scanned A, original, MIT.

A skill for checking whether movie and TV filenames and folders follow a chosen naming standard. It scans a media library and produces rename or move suggestions for review.

In plain words
What is it for?
Use it to scan movie and series folders, report naming problems, and prepare an old-name-to-new-name repair plan after the scan.
Why use it?
It helps find inconsistent names, watermarks, unwanted upload-group names, and collections that should be split without renaming files automatically.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to scan movie and series folders, report naming problems, and prepare an old-name-to-new-name repair plan after the scan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/coracoo/zspace_skill/media-naming
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 coracoo/zspace_skill --skill media-naming
Clone the repo
git clone --depth 1 https://github.com/coracoo/zspace_skill

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-naming

README.md
[![agentmods](https://agentmods.dev/badge/skills/coracoo/zspace_skill/media-naming.svg)](https://agentmods.dev/skills/coracoo/zspace_skill/media-naming)
Your own site
<a href="https://agentmods.dev/skills/coracoo/zspace_skill/media-naming"><img src="https://agentmods.dev/badge/skills/coracoo/zspace_skill/media-naming.svg" alt="Measured on agentmods" height="20"></a>
Per session 204 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,780 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00204 $0.01780
Opus 5 $0.00102 $0.00890
Sonnet 5 $0.00041 $0.00356
Haiku 4.5 $0.00020 $0.00178

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

Security

Grade A, and why

media-naming scanned grade A with 0 findings 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 7d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (lib/__init__.py, lib/nas_client.py, media_naming.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/media-naming/SKILL.md · 164 lines

How it starts

The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Media Naming — 影视文件命名正向校验

概述

前置:先调 nas-setup skill 验证 NAS 登录。

对物理目录做正向合规扫描:定义合规格式 → 不匹配即报问题。 写操作不在脚本里 — 扫描出问题后,LLM 生成 old → new 映射,经用户确认后调 MCP tool。

通用命名方法论见 media-naming-guide。 本 skill 只覆盖极空间落地(分页 list、MCP 编排、踩坑)。

与 media-organizer 分工

skill 管什么
media-organizer 极影视 分类/元数据 审计(frds 混放、源目录)
media-naming(本 skill) 文件系统 命名规范(文件夹/视频文件名)

命令

命令 用途
scan --root PATH 正向合规扫描(只读)
scan --root PATH --json stdout JSON
scan --root PATH --output /tmp/issues.json 写 JSON 文件
python skills/media-naming/media_naming.py scan --root /sata14/my/data/影视
python skills/media-naming/media_naming.py scan --root /sata14/my/data/影视 --json --output /tmp/issues.json

期望目录结构:

影视/
  电影/
    中文名 English Name (年份) [分辨率]/
      中文名 English Name (年份) [分辨率].mkv
  剧集/
    中文名 English Name S01/
      中文名 English Name S01 E01.mp4

工作流

场景 1:用户说"帮我扫一下影视库命名"

步骤:

  1. exec python skills/media-naming/media_naming.py scan --root <用户路径> --output /tmp/issues.json
  2. 读输出 / JSON,按问题类型分组汇报(前若干条 + 总数)
  3. 不做 rename — 问用户要不要按规范出修复计划

场景 2:用户说"按规范修"

步骤:

  1. 先跑 scan(或复用上一轮 /tmp/issues.json)
  2. 按下方「整理顺序」生成 old → new 映射表,先预览给用户
  3. 用户确认后,逐条调 MCP:
    • 垃圾文件 → remove(paths=...)
    • 错分类 → move(paths=..., to=...)
    • 改名 → rename(path=..., newname=...)(newname 是纯文件名,不含路径)
    • 缺目录 → mkdir(parent=..., name=...)
  4. 再跑一遍 scan,问题数=0 才算完成

场景 3:用户说"这个审查规避名怎么还原"

步骤:

  1. 不要凭正则脑补。按 media-naming-guide 的解码铁则:搜索验证后再定中文名
  2. 确认后走 rename MCP tool

整理顺序(严格)

  1. 删除垃圾文件(torrent / nfo / td / jpg / htm)
  2. 移错分类(电影 ↔ 剧集)
  3. 解码审查规避(人工映射 + 搜索验证)
  4. 修复目录名(补英文名/年份、去水印/PT 后缀)
  5. 拆分合集文件夹(1-3 结尾)
  6. 对齐内部文件名(电影=文件夹名;剧集=剧名 SXX EYY)
  7. 重新 scan 验证

每一步都先出映射表预览,确认后再批量执行。


命名速查

电影

中文名 English Name (年份) [分辨率 来源]/
  中文名 English Name (年份) [分辨率 来源].mkv
  花絮/
    花絮 - 视觉之旅.mkv

Read the full file on GitHub · 164 lines

Files

What ships with it

5 files 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. 7d ago First seen · 164 lines · 204 tokens per session scan A cf1276db6a2b

Subscribe to this mod's changes

media-naming is a skill published in the GitHub repository coracoo/zspace_skill (21 stars, last pushed 1mo ago), licensed MIT. It adds 204 tokens to every session and 1,780 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens