360 Secure SkillHub
360 安全技能中心

Halo Cli Search

该技能用于通过Halo CLI搜索Halo站点公开内容,核心功能为必填关键词搜索,可指定目标站点URL(无需控制台认证)、调用配置文件、限制结果数量,还能输出JSON格式供其他工具解析。典型场景:无需登录检索公开内容,或生成结构化结果供其他工具处理。需认证可搭配halo-cli-auth,搜索后编辑内容可用halo-cli-content。

ruibaby
ruibaby
热度 53.96
最近更新 2026-05-11 17:34:40
分类:搜索依赖:代码执行应用场景:研究

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add halo-cli-search
Metadata
name
halo-cli-search
version
1.0.0
description
Use when searching public content on a Halo site with Halo CLI, especially for keyword search, site URL based search, result limits, or search without authenticated console access.
references
["../halo-cli-shared"]
metadata
{"openclaw":{"category":"developer-tools","requires":{"bins":["halo"]},"cliHelp":"halo search --help"}}

Halo CLI Search

Use this skill for halo search.

This is the main Halo CLI workflow that can run without authenticated console access when --url is provided.

Command

halo search --help

Common Flows

Search with a direct public site URL:

halo search --keyword "halo" --url https://www.halo.run

Search with the active or selected profile:

halo search --keyword "release notes"
halo search --keyword "release notes" --profile production

Limit results and emit JSON:

halo search --keyword "plugin" --limit 5 --json

Rules

  • --keyword is required.
  • --limit must be a positive number.
  • --url targets a public Halo site directly and avoids authenticated console access.
  • If --url is omitted, Halo CLI resolves the base URL from the active or selected profile.
  • Use --json when another tool needs to parse search results.

Related Skills

  • Use halo-cli-auth if the task first needs a profile.
  • Use halo-cli-content after search when the goal shifts to editing posts or pages.