360 Secure SkillHub
360 安全技能中心

Content Ingestion Demo

该 Skill 通过 shell 脚本接收输入文件与输出目录,生成包含 SKILL.md、references 副本和 metadata.json(大小、sha256、创建时间、源路径)的 skill 包,用于把文章或笔记转成可复用资产;但 SKILL.md 引用的 assets 与 references 文件并未包含在包内。

分类:效率
terrycarter1985
terrycarter1985
热度 12.79
最近更新 2026-07-23 09:11:27

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add terrycarter1985/content-ingestion-demo
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
content-ingestion-demo
description
Demo skill that turns a raw digital-content file (e.g. a markdown note) into a reusable skill package. Given a source file, it builds a SKILL.md, extracts metadata (title, source path, size, sha256), copies the file under references/, and produces a ready-to-publish .skill package. Used for demonstrating a full ingest-and-publish pipeline.

Content Ingestion Demo

Transform a single raw content file into a skill package suitable for publishing.

Quick start

content-ingest.sh <input-file> <output-skill-dir>

Example:

content-ingest.sh ./article.md ./skills/article-note

What it produces

  • SKILL.md with name/description populated from the input filename and an auto-computed summary.
  • references/article.md copy of the input (kept readable for human consumers).
  • assets/metadata.json with size, sha256, created_at, source_path.

When to use it

  • Turn a downloaded article, spec, or note into a reusable asset.
  • Feed the resulting folder into clawhub publish to land it in the resource center.
  • Demos / pipelines where "file in, skill package out" is the unit of work.

Scripts

scripts/content-ingest.sh — the actual converter. Reads $1, writes a skill tree under $2.