360 Secure SkillHub
360 安全技能中心

image-collect

接收图片 URL、base64 data URI 或本地路径,下载并保存图片,提取文字与含义、生成摘要和关键词,并把知识追加到本地 JSON 数据库;通过 node dist/index.js 单次调用完成。

bondli
bondli
热度 44.99
最近更新 2026-05-11 17:35:54
分类:知识依赖:代码执行 / 读写文件 / 第三方 API应用场景:笔记整理 / 摘要总结 / 数据处理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add image-collect
Metadata
name
image-collect
description
This skill extracts knowledge from an image and saves it locally.

Image Collect Skill

This skill extracts knowledge from an image and saves it locally.

When to use

Use this skill when:

  • User sends an image
  • User asks to save image as knowledge
  • Image needs OCR or content understanding

What it does

  1. Download image
  2. Extract text and meaning
  3. Generate summary
  4. Save image locally
  5. Append knowledge to JSON database

Command

Run:

node dist/index.js "<image_url>"

Example:

node dist/index.js "https://example.com/image.png" node dist/index.js "data:image/png;base64,xxxx" node dist/index.js "/tmp/image.png"

Output

Returns extracted knowledge including:

  • summary
  • keywords
  • text
  • saved image path