360 Secure SkillHub
360 安全技能中心

classify-zero-shot

该 Skill 接收待分类文本和一组候选标签,调用 ZeroGPU 的零样本分类命令,并可用阈值过滤低置信度标签;仅当命令输出包含节省提示行时原样追加。未说明固定输出格式或离线运行方式。

zerogpu
zerogpu
热度 8.60
最近更新 2026-07-14 04:18:38
分类:效率依赖:代码执行 / 第三方 API应用场景:数据处理

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add classify-zero-shot
Metadata
name
classify-zero-shot
description
Zero-shot classification against a caller-supplied list of candidate labels via ZeroGPU. Use when the user wants to classify text into a custom set of labels they provide (e.g. "is this positive, negative, or neutral?", "tag this as bug, feature, or question").
argument-hint
<text> (-l <label>... | --labels a,b,c) [-t <0..1>]
allowed-tools
Bash(zerogpu classify_zero_shot *)

Run zero-shot classification:

zerogpu classify_zero_shot $ARGUMENTS

Quoting (required, to survive shell parsing of arbitrary user text): format $ARGUMENTS with the input text wrapped via heredoc command substitution, then flags after. Inside the heredoc, paste the user's text verbatim — do not escape:

"$(cat <<'ZGPU_T'
<the input text, verbatim, multi-line and special chars all OK>
ZGPU_T
)" --labels a,b,c

At least one label is required — either repeat -l <label> or pass --labels a,b,c. Optional -t <threshold> filters labels below a confidence for multi-label output.

Savings note: only if the command output literally contains a line starting with 💰 ZeroGPU savings, append that exact line, unchanged, as the last line of your reply. If no such line is present, say nothing about savings.