Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

cloudgluecloudglue 搜索

Agent Skill

cloudglue 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

196

周安装

8

GitHub Stars

1

下载量

63
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cloudglue(cloudglue 搜索)
来源仓库:https://github.com/cloudglue/skills
仓库路径:skills/cloudglue
安装命令:
npx skills add https://github.com/cloudglue/skills --skill cloudglue
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/cloudglue/skills --skill cloudglue

简介

cloudglue 提供视频处理 SDK 指南,支持上传、描述与语义搜索能力。

  • 适用于在 Codex、Claude、Cursor、Gemini CLI 中构建 AI 驱动的视频应用。
  • 强调始终核对最新文档,因内部知识可能过时或存在错误 API 签名。
  • 需验证 connector token 有效性,确保 POST 请求格式符合当前规范。
  • cloudglue 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Cloudglue SDK Guide

Build AI-powered video applications with Cloudglue. This skill teaches you how to find current documentation, verify API signatures, and use the Cloudglue JS SDK to upload, describe, extract, search, and chat over video content.

Critical: Do not trust internal knowledge

Everything you know about Cloudglue is likely outdated or wrong. Never rely on memory. Always verify against current documentation.

Your training data may contain obsolete APIs, deprecated patterns, and incorrect usage. Cloudglue evolves rapidly — APIs change between versions, method signatures shift, and patterns get refactored. Always check the embedded docs or source code for the installed SDK version before writing any code.

Finding Documentation

Use this 3-tier hierarchy — start with tier 1 and fall back as needed:

Tier 1: Embedded Docs (most reliable, version-locked)

node_modules/@cloudglue/cloudglue-js/docs/

Read these first. They contain exact method signatures, parameters, code snippets, and types for the installed SDK version. See references/embedded-docs.md for a file listing and decision tree.

Tier 2: Source Code

node_modules/@cloudglue/cloudglue-js/src/api/*.api.ts

Each Enhanced*Api class wraps a generated client with user-friendly methods. Read the source when embedded docs lack detail on edge cases or internal behavior.

Tier 3: Remote Docs

https://docs.cloudglue.dev/llms.txt

Use when you need conceptual deep dives, data connector setup, or features not yet in the installed SDK version. See references/remote-docs.md for navigation.

Quick Start

npm install @cloudglue/cloudglue-js
import { Cloudglue } from '@cloudglue/cloudglue-js';

const client = new Cloudglue({
  apiKey: process.env.CLOUDGLUE_API_KEY,  // keys start with 'cg-'
});

Core Mental Model

Files (upload video/audio)
  → Processing (describe, extract, face detection)
    → Collections (group processed files by type)
      → Querying (chat, search, deep search, responses API)

Files

Upload video/audio files or provide URLs. Files go through processing (pending → processing → completed). Use waitForReady() to poll until done.

Describe

Generate multimodal descriptions: speech transcription, visual scene descriptions, scene text (OCR), audio descriptions, summaries. This is the primary way to analyze video content. Note: transcribe is deprecated — use describe instead.

Extract

Pull structured data from videos using custom prompts and JSON schemas. Supports segment-level (default) or video-level extraction.

Collections

Group videos for querying. Each collection has a type that determines what data is generated:

TypeWhat it producesSupports
media-descriptionsFull multimodal descriptions (recommended)Chat, Search, Responses, Deep Search
rich-transcriptsSpeech with visual context (deprecated)Chat, Search, Deep Search
entitiesStructured extracted dataResponses API (entity-backed, nimbus-002-preview)
face-analysisFace detection dataFace queries

See references/collection-types.md for detailed comparison and selection guidance.

Chat

Q&A over collections using nimbus-001. Simple synchronous API. For streaming, background jobs, or function calling, use the Responses API instead.

Responses API

Next-generation query interface (OpenAI Responses-compatible). Supports streaming, background jobs, function calling (tools), and multiple knowledge base sources (collections, files, or default index). Models: nimbus-001 (fast), nimbus-002-preview (reasoning, entity-backed).

Search

Semantic search across collections at segment scope (find specific moments) or file scope (find relevant videos). Supports metadata and property filters.

Deep Search

Agentic retrieval — runs multiple search passes with LLM reasoning to find and synthesize answers. Supports streaming and the same knowledge base sources as the Responses API.

API Quick Reference

NamespaceKey MethodsNotes
client.filesuploadFile, listFiles, getFile, waitForReadyFile param is globalThis.File
client.collectionscreateCollection, addMedia, addMediaByUrl, waitForReadyaddVideo/addVideoByUrl are deprecated
client.describecreateDescribe, waitForReady, getDescribeReplaces transcribe
client.extractcreateExtract, waitForReady, getExtractPrompt + schema for structured data
client.chatcreateCompletionRequires videos in collections
client.responsescreateResponse, createStreamingResponse, waitForReadyPreferred over chat for new projects
client.searchsearchContentSegment or file scope
client.deepSearchcreateDeepSearch, createStreamingDeepSearch, waitForReadyAgentic multi-pass search
client.dataConnectorslist, listFilesS3, Dropbox, Google Drive, Zoom, etc.
client.faceDetectioncreateFaceDetection, waitForReadyDetect faces in video
client.faceMatchcreateFaceMatch, waitForReadyMatch faces with source image

Key Patterns

Async Job Polling

All processing jobs use waitForReady():

const result = await client.describe.waitForReady(jobId, {
  pollingInterval: 5000,  // ms between polls (default)
  maxAttempts: 36,        // max attempts (default, = 3 min)
});

Knowledge Base Sources

The Responses API and Deep Search share three knowledge base types:

{ source: 'collections', collections: ['col_id'] }  // query specific collections
{ source: 'files', files: ['file_id'] }              // query specific files
{ source: 'default' }                                // files with use_in_default_index

Streaming

Responses API and Deep Search support SSE streaming:

const stream = await client.responses.createStreamingResponse({ ... });
for await (const event of stream) {
  if (event.type === 'response.output_text.delta') {
    process.stdout.write(event.delta);
  }
}

Filters

Search and list operations accept metadata/property filters:

import { FilterOperator } from '@cloudglue/cloudglue-js';
filter: {
  metadata: [{ path: 'key', operator: FilterOperator.Equal, valueText: 'value' }],
}

Common Gotchas

  • transcribe is deprecated — use describe for all transcription/description needs
  • rich-transcripts collection type is deprecated — use media-descriptions (the default) instead; it provides full multimodal output including speech
  • Chat requires collections — videos must be added to a collection before querying with chat/search
  • nimbus-002-preview for entity-backed — entity-backed knowledge in Responses API requires this model
  • File uploads use FormData — the SDK handles this internally via axios, not Zodios
  • waitForReady defaults — 5s interval × 36 attempts = 3 min max; increase for large videos
  • Streaming requires Node 18+ — uses ReadableStream / fetch APIs
  • addVideo/addVideoByUrl are deprecated — use addMedia/addMediaByUrl

References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.38%
按下载量换算22

Claude

32.74%
按下载量换算21

Cursor

18.64%
按下载量换算12

Gemini CLI

9.98%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills