← Back to Skills Marketplace
208
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install halo-manager
Description
通过官方API发布Halo博客文章,支持Markdown自动转换为HTML富文本,同时可查看和删除文章。
README (SKILL.md)
Halo Manager
Halo博客文章管理技能
功能
- ✅ 创建并发布文章
- ✅ Markdown转HTML富文本(加粗、斜体、列表、代码等)
- ✅ 查看文章列表
- ✅ 删除文章
安装
cd halo-manager
npm install
配置
设置环境变量:
export HALO_URL=https://你的博客地址
export HALO_TOKEN=你的PersonalAccessToken
获取Token:Halo后台 → 设置 → Token → 创建个人令牌
使用
# 发布文章
halo publish "标题" "内容"
# 查看列表
halo list
# 删除文章
halo delete "关键词"
Markdown语法
**加粗**→ 加粗*斜体*→ 斜体# 标题→ 大标题`代码`→代码- 列表→ 列表项- 换行用空行分隔段落
示例
halo publish "我的第一篇文章" "这是**加粗**和*斜体*测试
- 列表项1
- 列表项2
代码: `echo hello`"
技术说明
- 使用官方 @halo-dev/api-client
- 内容自动转换为HTML富文本格式
- 正确处理headSnapshot参数发布
Usage Guidance
This skill appears to implement Halo publish/list/delete correctly, but do not install or run it until you verify a few things: 1) The package metadata should declare HALO_TOKEN (and optionally HALO_URL) as required — treat HALO_TOKEN as a secret. 2) Edit halo.js (or ensure you set HALO_URL) so it does NOT default to 'https://yingdong.top' — that default will cause any HALO_TOKEN you export to be sent to that domain. 3) Install from a trusted registry (the package-lock uses an http Tencent mirror; prefer official npm registry) and run npm audit. 4) Inspect @halo-dev/api-client source/package (verify its integrity and that it points to the real Halo client). 5) When testing, use a limited-scope or throwaway token first. If the author updates metadata to declare required env vars and removes or changes the unsafe default HALO_URL, this would reduce the main concerns.
Capability Assessment
Purpose & Capability
The name/description match the code (uses @halo-dev/api-client and axios to create, update, publish, list, delete posts). However the registry metadata lists no required environment variables or primary credential, while both SKILL.md and the code require HALO_TOKEN (and recommend HALO_URL). Metadata should declare HALO_TOKEN as a required credential.
Instruction Scope
SKILL.md instructs the user to set HALO_URL and HALO_TOKEN and to run npm install and the CLI — that matches the code. But the code has a hardcoded default HALO_URL = 'https://yingdong.top'. If a user sets HALO_TOKEN but forgets to set HALO_URL, the token will be sent to that default host. SKILL.md does not warn about this risky default.
Install Mechanism
There is no automated install spec; installation is manual via npm install (documented in SKILL.md). Dependencies come from npm (package-lock.json). Resolved URLs in package-lock use a Tencent mirror over http which is unusual and could be a security concern (integrity fields exist, but http mirrors can be risky). No arbitrary remote archive/extract steps are present in the skill itself.
Credentials
The skill legitimately requires a Halo Personal Access Token (HALO_TOKEN) and the blog URL (HALO_URL). Those are proportionate to the stated purpose — but they are not declared in the skill metadata. The hardcoded default HALO_URL pointing to a third-party domain means a user-supplied HALO_TOKEN could be accidentally sent to that domain, which is a high-risk mismatch between declared requirements and actual behavior.
Persistence & Privilege
The skill does not request persistent 'always' inclusion and does not modify other skills or system-wide settings. It runs as a CLI when invoked; normal autonomous invocation flags are default and not excessive here.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install halo-manager - After installation, invoke the skill by name or use
/halo-manager - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of halo-manager – a Halo博客管理技能.
- 支持创建并发布文章,自动将Markdown语法转为HTML富文本(加粗、斜体、列表、代码等)。
- 支持查看博客文章列表。
- 支持通过关键词删除文章。
- 简单命令行界面,易于集成和配置。
- 基于官方@halo-dev/api-client实现。
Metadata
Frequently Asked Questions
What is Halo博客管理,文章发布?
通过官方API发布Halo博客文章,支持Markdown自动转换为HTML富文本,同时可查看和删除文章。 It is an AI Agent Skill for Claude Code / OpenClaw, with 208 downloads so far.
How do I install Halo博客管理,文章发布?
Run "/install halo-manager" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Halo博客管理,文章发布 free?
Yes, Halo博客管理,文章发布 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Halo博客管理,文章发布 support?
Halo博客管理,文章发布 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Halo博客管理,文章发布?
It is built and maintained by binsonHao (@binsonhao); the current version is v1.0.0.
More Skills