← 返回 Skills 市场
jeyeshield

素材库管理

作者 JEyeshield · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
207
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ad-production-material-library
功能描述
素材库管理技能 - 提供素材的存储、检索、版本管理
使用说明 (SKILL.md)

Material Library - 素材库管理

负责广告素材的存储、检索和版本管理。

Setup

无需额外依赖,TypeScript编译后使用。

When to Use

  • 存储生成的广告素材
  • 检索历史素材
  • 管理素材版本
  • 素材分类和标签

Architecture

material-library/
├── index.ts          # 主入口,素材管理
├── package.json      # 依赖配置
└── README.md         # 详细文档

Core Commands

存储素材

await api.executeAction('material-library.store', {
  file: Buffer,           // 文件内容
  metadata: {            // 元数据
    name: string,
    type: string,
    tags?: string[],
    campaignId?: string
  }
});

检索素材

await api.executeAction('material-library.search', {
  query?: string,        // 搜索关键词
  filters?: {            // 筛选条件
    type?: string,
    tags?: string[],
    dateRange?: { start: string, end: string }
  },
  limit?: number
});

获取素材

await api.executeAction('material-library.get', {
  materialId: string     // 素材ID
});

更新版本

await api.executeAction('material-library.update-version', {
  materialId: string,    // 素材ID
  file: Buffer,          // 新版本文件
  changelog?: string    // 版本说明
});

响应事件

  • material-library.stored - 素材存储完成
  • material-library.updated - 素材更新完成
  • material-library.deleted - 素材删除
安全使用建议
This skill appears to implement an in-memory material library and does not request credentials, which is good. However: (1) the package contains TypeScript source but no install/build spec or required runtime (tsc/node) — ask the author how you should build and run it or expect runtime errors; (2) the index.ts listing is truncated in the manifest (ends with a stray 'a …[truncated]'), which could mean the source is incomplete or corrupted — do not deploy until you get the full file; (3) the code contains stubbed comments about integrating external storage (feishu_drive_file) but currently uses a mock token — if you want real storage you will need to confirm what storage service is used and what credentials it requires; (4) request the project homepage / source repo and an install guide or a signed release artifact so you can review the complete code. If you cannot obtain the full source and a clear build/install process, treat this skill as untrusted and test in an isolated sandbox only.
功能分析
Type: OpenClaw Skill Name: ad-production-material-library Version: 1.0.0 The Material Library skill is a standard implementation for managing digital assets (images, videos, etc.) using an in-memory store. The code in index.ts provides typical CRUD operations, versioning, and basic similarity searching without any evidence of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
Name, description, SKILL.md, and the TypeScript code all implement an asset/material library (upload, search, versioning, tagging). The functionality requested by the skill aligns with its stated purpose. There are no unrelated requested credentials, binaries, or config paths.
Instruction Scope
The SKILL.md instructions and API usage (api.executeAction, events) stay within the scope of material management. The code uses api.config?.autoTagging and api.log — expected for a skill. No instructions ask the agent to read unrelated system files or exfiltrate environment variables. However, the SKILL.md says TypeScript must be compiled but the package provides no install/build automation or runtime binary requirements, which is an operational inconsistency to resolve.
Install Mechanism
There is no install spec even though the package contains TypeScript source (index.ts) and a package.json. Running this skill would realistically require a TypeScript build step and a Node runtime (or an explicit install flow). The absence of any install/build instructions or declared required binaries (tsc/node) is inconsistent and could lead to runtime errors. Also the index.ts file appears truncated in the listing (trailing 'a …[truncated]'), which may indicate the source is incomplete or corrupted.
Credentials
The skill declares no required environment variables, no primary credential, and no config paths. The code does not access secrets or external credentials; storeFile currently returns a mock token and there are comments about integrating with external storage but no actual external calls. The requested environment access is proportionate to the stated functionality.
Persistence & Privilege
The skill is not flagged always:true and is user-invocable. It does not request persistent system privileges or attempt to modify other skills' configuration. No suspicious persistence behavior is present.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ad-production-material-library
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ad-production-material-library 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
初始版本发布
元数据
Slug ad-production-material-library
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

素材库管理 是什么?

素材库管理技能 - 提供素材的存储、检索、版本管理. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 207 次。

如何安装 素材库管理?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ad-production-material-library」即可一键安装,无需额外配置。

素材库管理 是免费的吗?

是的,素材库管理 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

素材库管理 支持哪些平台?

素材库管理 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 素材库管理?

由 JEyeshield(@jeyeshield)开发并维护,当前版本 v1.0.0。

💬 留言讨论