‹ 首页

inventory-content

@dandye · 收录于 5 天前 · 上游提交 3 个月前

Systematic cataloging of information assets. Creates comprehensive inventories of all content with metadata and characteristics.

适合你,如果你需要全面掌握组织内的所有内容资产及其元数据

/ 通过 npx 安装 校验哈希
npx oh-my-skill add dandye/ai-runbooks/inventory-content
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- dandye/ai-runbooks/inventory-content
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify dandye/ai-runbooks/inventory-content
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
119GitHub stars
~470上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 086cbf6 · 表述以原文为准
它做什么

该技能会扫描你指定的文件夹或路径,找出所有文件,记录它们的名称、大小、类型、创建日期、作者、标签等信息,并生成一份结构化的资产清单(支持 CSV、JSON 或 Markdown 表格)。

什么时候触发

当你要求对某个内容路径进行资产清点、制作目录或生成文件清单时触发。

装好后可以这样说
会输出包含元数据的 JSON 报告。
会生成 CSV 文件,包含文件名、类型、大小等。
技能原文 SKILL.md作者撰写 · Apache-2.0 · 086cbf6

Content Inventory Skill

Create a systematic catalog of information assets within a specified path. This skill builds a comprehensive inventory including metadata, file characteristics, and format analysis to support content governance and strategic planning.

Inputs
  • PATH - The directory or file path to inventory (e.g., "/documentation")
  • OUTPUT_FORMAT - (Optional) The output format for the inventory, e.g., "csv", "json", "markdown" (default: "json")
  • METADATA_EXTRACTION - (Optional) Boolean, whether to extract deep metadata (author, date, tags) (default: true)
  • FORMAT_ANALYSIS - (Optional) Boolean, whether to analyze file formats and types (default: true)
Workflow
Step 1: Asset Discovery

Recursively scan the PATH to identify all files and assets.

  • Record file paths, names, and sizes.
  • Identify file types (Markdown, HTML, PDF, Image, etc.).
Step 2: Metadata Extraction

If METADATA_EXTRACTION is true, extract metadata from each asset:

  • System Metadata: Creation date, modification date, owner.
  • Embedded Metadata: Frontmatter (YAML), title headers, tags, categories.
  • Content Metrics: Word count, reading time estimation.
Step 3: Format & Structure Analysis

If FORMAT_ANALYSIS is true, analyze the structure:

  • Template Usage: Identify if standard templates are used.
  • Hierarchy Depth: Depth in the directory structure.
  • Resource Dependencies: Images or other assets linked.
Step 4: Inventory Report Generation

Compile the data into a structured inventory format (CSV, JSON, or Markdown Table) as specified by OUTPUT_FORMAT.

Required Outputs

A CONTENT_INVENTORY_REPORT in the specified OUTPUT_FORMAT containing:

  • Asset List: Full list of discovered assets.
  • Metadata Table: Columns for Title, URL/Path, Author, Last Modified, Type, Tags.
  • Summary Statistics: Total count by type, average age, volume by category.
Quick Reference
  • Purpose: Establish a baseline understanding of content assets for governance.
  • Use Case: Migration planning, audit preparation, consolidation projects.
按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。