本地媒体编目器:索引与管理创意资产 - Openclaw Skills

作者:互联网

2026-04-20

AI教程

什么是 本地媒体编目器?

本地媒体编目器是一款专为需要在庞大创意资产库中保持秩序的创作者和开发人员设计的复杂自动化工具。作为 Openclaw Skills 生态系统的一部分,该工具扫描本地目录以提取关键元数据(包括尺寸、时间戳和文件大小),将混乱的文件夹转换为结构化、可搜索的清单。

通过利用基于 Python 的脚本,它在原始存储和有序资产管理之间架起了一座桥梁,确保每张照片和视频都得到核算,并准备好在未来的项目中重复使用。此技能强调非破坏性工作流程,在实施任何文件结构更改之前提供预览和模拟。

下载入口:https://github.com/openclaw/skills/tree/main/skills/52yuanchangxing/local-media-cataloger

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install local-media-cataloger

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 /skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 local-media-cataloger。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

本地媒体编目器 应用场景

  • 在拍摄后整理凌乱的摄影和摄像文件夹。
  • 为团队共享生成所有创意资产的可搜索 CSV 或 JSON 清单。
  • 识别近乎重复的文件以回收存储空间。
  • 为专业移交开发结构化的归档和交付文件夹计划。
  • 使用 Openclaw Skills 根据现有媒体库集思广益内容重复使用的机会。
本地媒体编目器 工作原理
  1. 该技能扫描指定的媒体文件夹路径以识别文件扩展名和元数据。
  2. 它使用捆绑的 python 脚本提取技术规格,如尺寸、文件大小和创建时间戳。
  3. 根据用户定义的标记规则和项目元数据对资产进行分类。
  4. 根据提供的架构生成清单文件(CSV 或 JSON)。
  5. 系统标记潜在的重复项,并为存储和交付建议优化的文件夹层级结构。

本地媒体编目器 配置指南

要开始使用此技能,请确保您的系统中安装了 python3,因为它是必需的运行时依赖项。

# Verify python installation
python3 --version

# The skill utilizes the following local assets:
# - scripts/media_manifest.py
# - resources/metadata_schema.json

只需将您的媒体目录路径和任何特定的标记规则提供给这些 Openclaw Skills,即可启动编目过程。

本地媒体编目器 数据架构与分类体系

该技能使用位于 resources 目录中的预定义 JSON 架构来组织数据,以确保清单的一致性。

字段 描述
文件名称 资产的原始名称和扩展名
元数据 尺寸、大小和时间戳
标签 基于项目规则或拍摄信息的分类标签
重复标记 近乎相同文件的启发式标记
复用创意 AI 生成的关于资产在未来交付物中用途的建议
name: local-media-cataloger
description: Index local photos, videos, and creative assets into a searchable manifest
  with tags, dates, shoot info, and reuse ideas.
version: 1.1.0
metadata:
  openclaw:
    requires:
      bins:
      - python3
    emoji: ??

Local Media Cataloger

Purpose

Index local photos, videos, and creative assets into a searchable manifest with tags, dates, shoot info, and reuse ideas.

Trigger phrases

  • 整理素材库
  • catalog my media folder
  • 摄影素材归档
  • 视频素材清单
  • asset manifest

Ask for these inputs

  • media folder path
  • tagging rules
  • project or shoot name
  • deliverable types
  • favorite selection criteria

Workflow

  1. Scan files and extract basic metadata such as extension, size, timestamps, and dimensions when available.
  2. Apply consistent tags and generate a manifest CSV/JSON.
  3. Flag near-duplicates for manual review using filename/date heuristics.
  4. Suggest folder structures for archive, selects, exports, and delivery.
  5. Return a catalog summary and reuse opportunities.

Output contract

  • media manifest
  • folder plan
  • duplicate candidates
  • reuse ideas

Files in this skill

  • Script: {baseDir}/scripts/media_manifest.py
  • Resource: {baseDir}/resources/metadata_schema.json

Operating rules

  • Be concrete and action-oriented.
  • Prefer preview / draft / simulation mode before destructive changes.
  • If information is missing, ask only for the minimum needed to proceed.
  • Never fabricate metrics, legal certainty, receipts, credentials, or evidence.
  • Keep assumptions explicit.

Suggested prompts

  • 整理素材库
  • catalog my media folder
  • 摄影素材归档

Use of script and resources

Use the bundled script when it helps the user produce a structured file, manifest, CSV, or first-pass draft. Use the resource file as the default schema, checklist, or preset when the user does not provide one.

Boundaries

  • This skill supports planning, structuring, and first-pass artifacts.
  • It should not claim that files were modified, messages were sent, or legal/financial decisions were finalized unless the user actually performed those actions.

Compatibility notes

  • Directory-based AgentSkills/OpenClaw skill.
  • Runtime dependency declared through metadata.openclaw.requires.
  • Helper script is local and auditable: scripts/media_manifest.py.
  • Bundled resource is local and referenced by the instructions: resources/metadata_schema.json.