闲社服务运行正常AI智能体自动化平台
h

Halo CLI 认证

技能标识:halo-cli-auth

Use when working with Halo CLI login, bearer token or basic auth, profile setup, profile switching, current profile inspection, or fixing missing keyring credentials.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 0.1.1
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

Halo CLI 认证

Halo CLI 认证

使用此技能处理 halo auth 和 halo auth profile 命令。

如果尚未设置认证,请在运行 post、single-page、plugin、theme、attachment、backup、moment、comment 或 notification 命令之前先完成认证设置。

命令

bash
halo auth --help
halo auth login --help
halo auth profile --help

主要工作流程:

  • - halo auth login
  • halo auth current
  • halo auth profile list
  • halo auth profile current
  • halo auth profile get
  • halo auth profile use
  • halo auth profile delete
  • halo auth profile doctor

常见流程

使用 Bearer Token 登录:

bash
halo auth login \
--profile local \
--url http://127.0.0.1:8090 \
--auth-type bearer \
--token

使用基本认证登录:

bash
halo auth login \
--profile local \
--url http://127.0.0.1:8090 \
--auth-type basic \
--username admin \
--password

查看和切换配置:

bash
halo auth current
halo auth profile list
halo auth profile use production
halo auth profile get production --json

诊断损坏的凭证:

bash
halo auth profile doctor
halo auth profile delete production --force
halo auth login --profile production --url https://halo.example.com --auth-type bearer --token

规则

  • - 在非交互模式下,halo auth login 需要 --profile、--url 和 --auth-type 参数。
  • basic 认证需要 --username 和 --password 参数。
  • bearer 认证需要 --token 参数。
  • 当其他工具需要结构化输出时,使用 --json 参数。
  • profile delete 是破坏性操作;在非交互模式下需要使用 --force 参数。
  • 配置元数据存储在配置文件中,但密钥存储在系统密钥环中。

路由

  • - 使用 halo-cli-content 处理文章和单页。
  • 使用 halo-cli-search 进行公开站点搜索。
  • 使用 halo-cli-operations 处理主题、插件、附件、备份和动态。
  • 使用 halo-cli-moderation-notifications 处理评论、回复和通知。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 halo-cli-auth-1776124562 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 halo-cli-auth-1776124562 技能

通过命令行安装

skillhub install halo-cli-auth-1776124562

下载

⬇ 下载 halo-cli-auth v0.1.1(免费)

文件大小: 1.53 KB | 发布时间: 2026-4-14 13:59

v0.1.1 最新 2026-4-14 13:59
- Version bumped from 1.0.0 to 0.1.1.
- No file changes detected; functionality and documentation remain unchanged.
返回顶部