← 返回 Skills 市场
ruibaby

Halo Cli Auth

作者 Ryan Wang · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ✓ 安全检测通过
208
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install 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 cre...
使用说明 (SKILL.md)

Halo CLI Auth

Use this skill for halo auth and halo auth profile.

If authentication is not set up yet, do this first before running post, single-page, plugin, theme, attachment, backup, moment, comment, or notification commands.

Commands

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

Main workflows:

  • halo auth login
  • halo auth current
  • halo auth profile list
  • halo auth profile current
  • halo auth profile get \x3Cname>
  • halo auth profile use \x3Cname>
  • halo auth profile delete \x3Cname>
  • halo auth profile doctor

Common Flows

Login with bearer token:

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

Login with basic auth:

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

Inspect and switch profiles:

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

Diagnose broken credentials:

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

Rules

  • In non-interactive mode, halo auth login requires --profile, --url, and --auth-type.
  • basic auth requires --username and --password.
  • bearer auth requires --token.
  • Use --json when another tool needs structured output.
  • profile delete is destructive; use --force in non-interactive mode.
  • Profile metadata lives in config, but secrets live in the system keyring.

Routing

  • Use halo-cli-content for posts and single pages.
  • Use halo-cli-search for public site search.
  • Use halo-cli-operations for themes, plugins, attachments, backups, and moments.
  • Use halo-cli-moderation-notifications for comments, replies, and notifications.
安全使用建议
This skill is a straightforward helper for the 'halo auth' CLI. Before installing: 1) Ensure the 'halo' binary on your system is the legitimate official CLI. 2) Prefer interactive login or other secret-safe methods rather than passing --password or --token on the command line (CLI args can be visible to other users via process listings and are stored in shell history). 3) Be careful with destructive commands like 'profile delete'—confirm intent before running or allow the agent to prompt. 4) If you plan to let agents invoke skills autonomously, consider restricting autonomous actions or requiring confirmation for destructive steps.
功能分析
Type: OpenClaw Skill Name: halo-cli-auth Version: 0.1.1 The skill bundle consists of documentation (SKILL.md) and metadata for interacting with the Halo CLI's authentication system. It contains no executable code, scripts, or suspicious instructions; it merely provides a reference for the AI agent to use standard 'halo auth' commands for profile management and login workflows.
能力评估
Purpose & Capability
Name/description match the actual requirements and instructions. The only required binary is 'halo', which is exactly what's needed to run the described auth commands.
Instruction Scope
SKILL.md limits itself to running 'halo auth' and related profile commands (login, current, profile list/get/use/delete/doctor). It explicitly mentions that secrets live in the system keyring and profile metadata lives in config. It does not instruct reading unrelated files or sending data externally, but it does show examples that pass tokens/passwords on the command line—this can expose secrets via process listings or shell history.
Install Mechanism
No install spec; this is instruction-only so nothing is downloaded or written by the skill itself.
Credentials
The skill declares no environment or credential requirements (appropriate). However, examples encourage passing --token or --password on the CLI, which can leak secrets to process listings or shell history. The mention of the system keyring is reasonable for this purpose and does not imply additional hidden credential requests.
Persistence & Privilege
always:false and no config paths are requested, so the skill does not demand permanent presence. Autonomous invocation is allowed (platform default); because the skill includes destructive commands (profile delete), an agent invoked without careful prompts could perform destructive actions—this is operational risk but not a coherence problem with the skill itself.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install halo-cli-auth
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /halo-cli-auth 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
- Version bumped from 1.0.0 to 0.1.1. - No file changes detected; functionality and documentation remain unchanged.
v0.1.0
- Initial release of the halo-cli-auth skill, providing CLI authentication workflows for Halo. - Supports bearer token and basic authentication methods via `halo auth login`. - Enables profile setup, profile switching, profile inspection, and credential troubleshooting. - Includes guidance for non-interactive CLI usage and credential storage in the system keyring. - Outlines routing between related Halo CLI skills for expanded functionality.
元数据
Slug halo-cli-auth
版本 0.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

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 cre... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 208 次。

如何安装 Halo Cli Auth?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install halo-cli-auth」即可一键安装,无需额外配置。

Halo Cli Auth 是免费的吗?

是的,Halo Cli Auth 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Halo Cli Auth 支持哪些平台?

Halo Cli Auth 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Halo Cli Auth?

由 Ryan Wang(@ruibaby)开发并维护,当前版本 v0.1.1。

💬 留言讨论