← 返回 Skills 市场
ruibaby

Halo Cli Content

作者 Ryan Wang · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ✓ 安全检测通过
201
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install halo-cli-content
功能描述
Use when managing Halo posts or single pages from the terminal, including list, get, create, update, delete, open, export-json, import-json, categories, tags...
使用说明 (SKILL.md)

Halo CLI Content

Use this skill for halo post and halo single-page.

If auth may not be ready, check halo auth current first or load halo-cli-auth.

Commands

halo post --help
halo single-page --help

Post workflows:

  • list
  • get \x3Cname>
  • open \x3Cname>
  • create
  • update \x3Cname>
  • delete \x3Cname>
  • export-json \x3Cname>
  • import-json
  • category (subcommand)
  • tag (subcommand)

Single-page workflows:

  • list
  • get \x3Cname>
  • open \x3Cname>
  • create
  • update \x3Cname>
  • delete \x3Cname>
  • export-json \x3Cname>
  • import-json

Posts

List and inspect:

halo post list
halo post list --keyword halo --publish-phase PUBLISHED
halo post get my-post --json

Create or update:

halo post create --title "Hello Halo" --content "# Hello Halo" --publish true
halo post create --title "Hello Halo" --content "\x3Ch1>Hello Halo\x3C/h1>" --raw-type html
halo post update my-post --title "Updated title"
halo post update my-post --content "Updated content" --publish true
halo post update my-post --new-name my-post-renamed

Taxonomy-aware create/update:

halo post create \
  --title "Release Notes" \
  --content "Release notes content" \
  --categories News,CLI \
  --tags Halo,Release

JSON round-trip:

halo post export-json my-post --output ./post.json
halo post import-json --file ./post.json --force

Markdown round-trip:

halo post export-markdown my-post
halo post export-markdown my-post --output ./post.md
halo post import-markdown --file ./post.md --force

Rules:

  • --raw-type defaults to markdown, so --content is rendered as Markdown unless you set --raw-type html.
  • Prefer --content for direct inline updates, or use import-markdown for Markdown files.
  • open only works for published content; with --json it returns the URL.
  • Import payload must contain post.metadata.name.
  • Import payload must contain content.raw or content.content.

Post Categories

Manage post categories:

halo post category list
halo post category list --keyword Technology
halo post category get category-abc123
halo post category create --display-name "Technology" --slug "tech"
halo post category create --display-name "News" --description "Latest news" --priority 100
halo post category update category-abc123 --display-name "Tech News"
halo post category delete category-abc123 --force

Post Tags

Manage post tags:

halo post tag list
halo post tag list --keyword Halo
halo post tag get tag-abc123
halo post tag create --display-name "Halo" --slug "halo" --color "#1890ff"
halo post tag update tag-abc123 --display-name "Halo CMS"
halo post tag delete tag-abc123 --force

Single Pages

List and inspect:

halo single-page list
halo single-page get about --json

Create or update:

halo single-page create --title "About" --content "# About" --publish true
halo single-page create --title "About" --content "\x3Ch1>Hello Halo\x3C/h1>" --raw-type html
halo single-page update about --title "About Halo"
halo single-page update about --new-name about-page

JSON round-trip:

halo single-page export-json about --output ./about.json
halo single-page import-json --file ./about.json --force

Rules:

  • The command name is single-page, not singlePage.
  • Single pages do not use post category/tag flows.
  • There is no --pinned option for single-page.
  • Import payload must contain page.metadata.name.

Safety And Automation

  • Use --profile \x3Cname> when more than one Halo profile exists.
  • Use --json for scripts.
  • Use --force for destructive non-interactive commands like delete or overwrite-style imports.
  • Read current state before mutating when the target resource is uncertain.
安全使用建议
This skill is an instruction-only reference for the Halo CLI and appears coherent. Before installing/using it: ensure the halo CLI on your machine is the official one you trust, back up content before running destructive commands (delete, import --force), use --profile and --json for scripted/automated runs, and confirm authentication (halo auth current) before performing mutations. If you rely on another skill (halo-cli-auth or halo-cli-shared), verify those separately.
功能分析
Type: OpenClaw Skill Name: halo-cli-content Version: 0.1.1 The skill bundle provides standard documentation and instructions for an AI agent to manage content on a Halo CMS using the 'halo' CLI tool. It contains no evidence of malicious intent, data exfiltration, or prompt injection attacks, focusing entirely on legitimate CMS operations like creating, updating, and deleting posts or pages (SKILL.md).
能力评估
Purpose & Capability
The name/description match the SKILL.md: it documents halo post and halo single-page CLI commands and declares the halo binary as a required dependency — nothing extraneous is requested.
Instruction Scope
The instructions are narrowly scoped to running halo CLI commands and reading/writing content files (export/import JSON/Markdown). They do not instruct reading unrelated system files or secrets. Note: several commands are destructive (delete, import --force) — the doc correctly recommends using --force for non-interactive flows and reading state before mutating.
Install Mechanism
No install spec or downloads are included; this is instruction-only and relies on an existing halo binary, which is the lowest-risk install posture.
Credentials
The skill declares no environment variables, no credentials, and no config paths. It briefly suggests checking halo auth current or loading halo-cli-auth (another skill) but does not request secrets itself.
Persistence & Privilege
always is false and model invocation is allowed (platform default). The skill does not request permanent presence or modify other skills' configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install halo-cli-content
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /halo-cli-content 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
- Added documentation for new subcommands: post category and post tag, including list, get, create, update, and delete workflows. - Described post content input enhancements: support for --content (inline) and --raw-type for Markdown or HTML, and new import/export-markdown commands. - Clarified rules for content type handling and recommended usage patterns for --content and file-based imports. - Expanded examples and command references for posts, categories, tags, and single pages. - No changes to underlying code or API, documentation only.
v0.1.0
Initial release of halo-cli-content: manage Halo posts and single pages from the terminal. - Supports list, get, create, update, delete, open, export-json, import-json, categories, tags, and content files for posts and single pages. - Provides clear workflows for both post and single-page content types. - Includes taxonomy-aware creation and update for posts. - Offers automation and scripting guidance, including use of --json, --force, and profile selection. - Details required fields and rules for safe import/export operations. - Emphasizes differences between post and single-page management.
元数据
Slug halo-cli-content
版本 0.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Halo Cli Content 是什么?

Use when managing Halo posts or single pages from the terminal, including list, get, create, update, delete, open, export-json, import-json, categories, tags... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 201 次。

如何安装 Halo Cli Content?

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

Halo Cli Content 是免费的吗?

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

Halo Cli Content 支持哪些平台?

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

谁开发了 Halo Cli Content?

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

💬 留言讨论