media-organizer

media-organizer is a skill for Claude Code, Codex from coracoo/zspace_skill. It costs 358 tokens per session (3,287 once invoked), scanned A, original, MIT.

A read-only audit skill for diagnosing how movies and TV shows are classified in a ZSpace NAS media library. It checks classification names, source folders, and sampled title types.

In plain words
What is it for?
Use it to audit classifications, source directories, and collections; run a combined audit; and produce suggestions for moving titles to better categories.
Why use it?
It helps identify duplicate or empty categories, unsuitable source paths, and titles placed in the wrong category before any files are moved.

Skill for Claude CodeCodex

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

Good fit Use it to audit classifications, source directories, and collections; run a combined audit; and produce suggestions for moving titles to better categories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/coracoo/zspace_skill/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 coracoo/zspace_skill --skill media-organizer
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-organizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/coracoo/zspace_skill/media-organizer/github.svg)](https://agentmods.dev/skills/coracoo/zspace_skill/media-organizer)
Your own site
<a href="https://agentmods.dev/skills/coracoo/zspace_skill/media-organizer"><img src="https://agentmods.dev/badge/skills/coracoo/zspace_skill/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/coracoo/zspace_skill/media-organizer"><img src="https://agentmods.dev/badge/skills/coracoo/zspace_skill/media-organizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 358 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,287 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.
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.00358 $0.03287
Opus 5.5 $0.00143 $0.01315
Sonnet 5.5 $0.00072 $0.00657
Haiku 4.5 $0.00036 $0.00329

Measured 2mo ago against content hash 2eb6d2d589be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

media-organizer 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 2mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (lib/migration_rules.py, lib/nas_client.py, media_organizer.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-organizer/SKILL.md · 169 lines

How it starts

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

Media Organizer — NAS 极影视只读诊断

概述

前置:先调 nas-setup skill 验证 NAS 登录(whoami)。如 N001208 自动重登,正常。

通过组合 NAS MCP tool + media_organizer.py 脚本,只读诊断极影视的"分类不规范"问题。 所有写操作都不在 skill 里 — 报告生成后,用户手动决定怎么处理(用 MCP tool 弹 UI 批准)。

只读设计

  • 合并/移动会触发 NAS 重扫(/classification/rescan),可能跑 30+ 分钟
  • 影片路径可能是网络挂载(/zspace/extdev/...,CIFS/SMB),跨挂载点移动由 NAS 后端处理
  • 诊断先看问题,修复单独做

6 个诊断命令

命令 用途 走哪个 MCP / 端点
audit-classifications 分类审计:重名 / 空 / 异常名 list_video_classes → /zvideo/classification/list
audit-sources 源目录审计:不该在影视库的路径 list_video_dirs → /zvideo/classification/dirs
audit-collections 抽样审计:type 分布 + 分类与 type 不匹配 random_movies × N → /zvideo/video/randomlist
suggest-moves per-collection 挪分类建议:哪些影片应该到哪个分类 复用 audit-classifications + randomlist
audit-all 一键全跑 上面四个一起

工作流

场景 1:用户说"看下我的影视库分类有没有问题"

步骤:

  1. exec python skills/media-organizer/media_organizer.py audit-classifications
  2. 读输出,识别 4 类问题:
    • 重名分类(典型:用户自建"电影" + 系统分类"电影")
    • 空分类(series=0 + coll=0)
    • 异常名(全英文缩写 / 含路径分隔符 / 未启用)
    • 用户分类跟系统分类同名(应该合并到系统分类)
  3. exec audit-sources 看源目录
  4. exec audit-collections --sample 8 抽样看 type 分布

场景 2:用户说"某个分类里的影片是不是该挪走"(per-collection 诊断)

步骤:

  1. exec audit-classifications → 看到异常分类(frds / test 之类)
  2. exec suggest-moves --sample 30 → 列出每个疑似错放的 collection
  3. 报告给出:
    • 按当前分类聚合(frds 里 X 部该挪)
    • 按目标分类拆分(其中 Y 部 → 电影,Z 部 → 电视剧)
    • 全量估算(基于抽样率 × classification collection_count)
    • 详情(前 20 部的标题 / 年份 / 评分)
  4. ⚠️ 不做挪动 — NAS 没暴露"挪 collection 分类"API(10 个候选路径都 403),修复走 pcweb UI 或改源目录 + classification/rescan

为什么需要单独命令: audit-collections 只在"分类"级别看分布混不混,suggest-moves 在"collection"级别给具体标题和挪向建议。两者互补。

场景 2:用户说"frds 这个分类是不是太杂了"

步骤:

  1. exec audit-classifications → 确认 frds 是异常名
  2. exec audit-collections --sample 12(更多采样)→ 看 frds 里都有什么 type
  3. 报告里说"frds = 53 电影 + 37 电视剧",建议拆分到 电影/电视剧(系统分类)

Read the full file on GitHub · 169 lines

Files

What ships with it

6 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. 2mo ago First seen · 169 lines · 358 tokens per session scan A 2eb6d2d589be

Subscribe to this mod's changes

media-organizer is a skill published in the GitHub repository coracoo/zspace_skill (36 stars, last pushed 2mo ago), licensed MIT. It adds 358 tokens to every session and 3,287 once invoked, about $0.0014 per session on Opus 5.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

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

systematic-debugging

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

obra/superpowers · 21 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

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

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

component-fixtures

Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.

microsoft/vscode · 53 tokens