← Back to Skills Marketplace
jeyeshield

素材库管理

by JEyeshield · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
207
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ad-production-material-library
Description
素材库管理技能 - 提供素材的存储、检索、版本管理
README (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 - 素材删除
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ad-production-material-library
  3. After installation, invoke the skill by name or use /ad-production-material-library
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
初始版本发布
Metadata
Slug ad-production-material-library
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 素材库管理?

素材库管理技能 - 提供素材的存储、检索、版本管理. It is an AI Agent Skill for Claude Code / OpenClaw, with 207 downloads so far.

How do I install 素材库管理?

Run "/install ad-production-material-library" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 素材库管理 free?

Yes, 素材库管理 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 素材库管理 support?

素材库管理 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 素材库管理?

It is built and maintained by JEyeshield (@jeyeshield); the current version is v1.0.0.

💬 Comments