Token导航 LogoToken导航

Agent Skill · 研究检索

ghst(ghst 命令行)

ghst 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

ghst 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 27,592。

总安装 3,363周安装 143GitHub Stars 1下载 1,178核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ghst(ghst 命令行)
来源仓库:https://github.com/nickludlam/ghst
安装命令:
openclaw skills install ghst
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ghst

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

ghst 是 CLI 工具,用于管理 Ghost 博客平台,支持帖子、成员、标签等完整 API 操作。适用于 OpenClaw 中需要自动化博客管理的场景,如发布、统计与社交集成。安装命令为 openclaw skills install ghst,需确认权限与维护状态。

使用前请核实是否会触发联网、命令执行或文件读写操作。建议结合来源仓库与原始 README 核验具体用法。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install ghst;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ghst 怎么安装?

在终端执行 openclaw skills install ghst。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ghst 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ghst 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

ghst 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

ghst 用的人多吗?

公开数据是累计安装 3,363 次,近一周安装 143 次,下载 1,178 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ghst 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
ghst

ghst 命令行 · 本页

3,3631接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
ghst
description
Work with Ghost blogs using the ghst CLI tool. Supports full Ghost Admin API access including posts, pages, members, tags, newsletters, themes, stats, social web (ActivityPub), and more.
homepage
https://github.com/TryGhost/ghst
metadata
openclaw
emoji
👻
homepage
https://github.com/TryGhost/ghst
requires
bins
["ghst"]
env
["GHOST_URL", "GHOST_STAFF_ACCESS_TOKEN"]
primaryEnv
GHOST_URL
install
kind
node
package
@tryghost/ghst
bins
["ghst"]
label
Install ghst (npm)
kind
node
command
npx @tryghost/ghst
label
Run via npx

ghst CLI Skill

This skill wraps the ghst CLI tool, which allows the agent to interact directly with any Ghost instance via the Ghost Admin API.

Prerequisites & Installation

For this skill to function, the ghst binary must be available in the system's $PATH.

Local Installation

Install the CLI globally using npm:

npm install -g @tryghost/ghst

Alternatively, you can run it via npx without a permanent installation (though this is slower for repeated agent tasks):

npx @tryghost/ghst --help

Docker / Containerized Environments

If you are running OpenClaw in Docker, ensure the ghst binary is included in your container image by adding the installation command to your Dockerfile:

RUN npm install -g @tryghost/ghst

Configuration & Authentication

To interact with a Ghost instance, the agent requires a Ghost API URL and a Ghost Staff Access Token. There are two main ways to achieve this within the ghst skill:

  1. Explicit flags: --url and --staff-token
  2. Environment variables: GHOST_URL and GHOST_STAFF_ACCESS_TOKEN

Instructions for Bot Owners

  1. Navigate to your Ghost Admin panel.
  2. Go to Settings -> Staff (or Users) -> Edit your User Profile.
  3. At the bottom, generate or copy a Staff Access Token.

Option 1 — ~/.openclaw/.env (recommended for personal use)

Add the variables directly to your ~/.openclaw/.env file:

GHOST_URL="https://your-blog-url.ghost.io"
GHOST_STAFF_ACCESS_TOKEN="your-staff-access-token-id:secret"

Option 2: openclaw.json skill entry (per-skill injection)

In ~/.openclaw/openclaw.json, add an env block under your skill's entry:

{
  "skills": {
    "entries": {
      "ghst": {
        "enabled": true,
        "env": {
          "GHOST_URL": "https://your-blog-url.ghost.io",
          "GHOST_STAFF_ACCESS_TOKEN": "your-staff-access-token-id:secret"
        }
      }
    }
  }
}

Once configured, restart your agent or wait for the config to be picked up.

Advanced Environment Variables

For complex setups, the following environment variables are supported:

VariableDescription
GHOST_URLCanonical URL of the Ghost instance.
GHOST_STAFF_ACCESS_TOKEN{id}:{secret} for Admin API access.
GHOST_CONTENT_API_KEYHex key for Content API access (via ghst api --content-api).
GHOST_API_VERSIONTarget API version (e.g., v5.0). Defaults to latest.
GHOST_SITEDefault site alias/profile to use.
GHST_CONFIG_DIRCustom path for CLI configuration.
GHST_OUTPUTSet to json to force JSON output globally.
NO_COLORDisable ANSI color sequences.

Agent Guidelines & Usage

When operating the ghst skill, the agent must adhere to the following rules to ensure robust and safe usage.

1. Robust Scripting

  • Always use --json or --jq: Ensure your commands produce machine-readable JSON output rather than human-readable text.
  ghst post list --json
  ghst post list --json --jq '.posts[].title'
  • Use --non-interactive: Since you are running in an automated environment, never issue commands that prompt for user input unexpectedly. Use --yes in combination with --non-interactive for any required destructive operations that you have received user approval for.
  ghst comment delete <comment-id> --yes --non-interactive
  • Non-Interactive Auth: If you need to authenticate a new site programmatically:
  ghst auth login --non-interactive --url "https://blog.com" --staff-token "..."

2. Editing Posts and Pages

For detailed instructions on the "Read-Edit-Write" workflow to edit post or page lexical content (including minor rewording and URL changes), see the editing.md reference.

3. Searching and Filtering Posts and Pages

When you need to find specific posts or pages (e.g., by title, status, or tag), refer to the advanced filtering and NQL query examples documented in post.md and page.md.

Command Reference

Detailed documentation for each resource can be found in the references/ directory:

ResourceDescription
ghst postPublish, schedule, and manage posts.
ghst pageManage pages and static content.
ghst tagCreate and manage site tags.
ghst memberManage members, imports, exports, and bulk operations.
ghst socialwebActivityPub feeds, profile management, and social interactions.
ghst commentModerate, hide, show, and delete comments.
ghst newsletterCreate and manage newsletters and bulk settings.
ghst tierManage membership tiers.
ghst offerCreate and manage subscription offers.
ghst statsSite analytics, growth reporting, and post traffic.
ghst settingRetrieve and update site-level settings.
ghst imageUpload media assets to Ghost.
ghst themeUpload, activate, and validate site themes.
ghst labelLabel management for members and content.
ghst userManage staff users and retrieve profile info.
ghst siteGeneral site information.
ghst webhookConfigure and listen for Ghost webhooks.
ghst migrateImport tools for WordPress, Medium, Substack, and CSV.
ghst authCLI authentication, site switching, and token management.
ghst configCLI tool configuration and defaults.
ghst apiDirect raw API explorer for Admin and Content APIs.

Example Workflows:

  • Bulk Post Tagging: ghst post bulk --filter "status:draft" --update --add-tag "Release"
  • Member Cleanup: ghst member bulk --filter "status:free" --action delete --yes --non-interactive
  • Analytics Export: ghst stats posts --range 30d --csv --output ./report.csv
  • Social Interaction: ghst socialweb note --content "Hello from the CLI"

4. Safe Operation & Protections

  • Approvals & Notices: You must explicitly ask the user before performing destructive commands or bulk updates. Note: The CLI emits GHST_AGENT_NOTICE: lines on stderr when a manual confirmation is interrupted. If you see this, you must stop and ask the user for explicit approval.
  • Destructive Commands: Always use --yes --non-interactive for the following once approved:

- ghst member bulk --action delete - ghst label bulk --action delete - ghst socialweb delete - ghst auth logout - ghst auth link (when replacing active link)

  • File Safety: CLI tools like member export and migrate export will refuse to overwrite existing files. Check for file existence before exporting if necessary.
  • Security Check: Never print or output sensitive tokens (e.g., values coming from ghst auth token or config --show-secrets) into the chat unprompted. Treat them as privileged credentials.

平台分布

OpenClaw

78.12%
按下载量换算920

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills