360 Secure SkillHub
360 安全技能中心

Array Url Extractor

该 Skill 接收用户提供的 Array[String] 结构(如 JSON 数组或代码片段),识别其中以 http:// 或 https:// 开头的有效地址,过滤非 URL 字符串,清理编码与特殊字符并统一格式,最终每行一个 URL 直接输出,不附加其他文本。

openlark
openlark
热度 16.02
最近更新 2026-06-07 06:55:19
分类:效率依赖:纯提示词应用场景:数据处理

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add array-url-extractor
Metadata
name
array-url-extractor
description
Extract valid downloadable URLs from Array[String] structures, clean and standardize them, then output directly.

Array URL Extractor

Extract valid URLs from Array[String] structures, output directly without any additional text.

Use Cases

Use when users need to "extract URLs from array", "extract download links", or "parse URLs in array".

Workflow

1. Parse Array

Receive user-provided Array[String] structures (JSON arrays, code snippets, etc.).

2. Extract URLs

  • Identify all valid URL addresses in the array (starting with https:// or http://)
  • Filter out invalid or non-URL strings
  • Clean up encoding issues and special characters
  • Standardize URL format

3. Output

Output URLs directly, one per line, without any additional text:

https://example.com/file1.jpg
https://example.com/file2.png

Constraints

  • Return URL addresses directly; do not add any other text
  • Output should be concise and clear, ready for direct use
  • Do not ask the user questions; process directly
  • Only output valid, downloadable URLs