visionik

Ecto

开发编程v0.1.0
作者:visionik更新于 2026-05-11ecto@clawhub_visionik/ecto
后端开发脚本工具

据 AlphaMoat 统计,截至 2026-09,Ecto 累计下载 2,920 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 3,789 位,在「开发编程」分类(577 个)中排名第 480 位。

累计安装
136
累计下载
2,920
星标
1
全站排名
#3,789
全站前 75% · 「开发编程」前 84%
平台累计安装累计下载星标评论
ClawHub ↗892,8741-
SkillHub ↗1362,9201—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

它支持多站点配置、Markdown 转换及 JSON 输出,也提供创建、编辑、发布、排期或删除内容的命令。用户信息为只读,且文档指出图片和 webhook 的列表查询不受支持。发布、编辑或删除会影响线上博客,执行前需确认站点和内容。

资料发布于 2026-10-29

可以用来做什么

  • 查询 Ghost 站点内容并查看文章或页面

什么时候用

  • 需要通过 CLI 管理博客文章、页面或标签时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

概述 ecto 的博客管理范围、只读或不支持的功能,以及发布前的确认事项。

月度数据趋势

累计下载2,920
1,7782,3923,0052026-03 · 累计下载 1,8632026-05 · 累计下载 2,2372026-06 · 累计下载 2,3772026-07 · 累计下载 2,6122026-08 · 累计下载 2,7642026-09 · 累计下载 2,92026-0326-09
星标1
0122026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-092,920—1
2026-082,764+5.8%1
2026-072,612+9.9%1
2026-062,377+6.3%1
2026-052,237—1
2026-031,863—1

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.9 KB · ClawHub v0.1.0
---
name: ecto
description: Ghost.io Admin API CLI for managing blog posts, pages, tags, and content.
---

# ecto - Ghost.io Admin API CLI

Manage Ghost.io blogs via the Admin API. Supports multi-site configuration, markdown-to-HTML conversion, and JSON output for scripting.

## Quick Reference
展开全部(共 113 行)

### Authentication
```bash
ecto auth add <name> --url <ghost-url> --key <admin-api-key>
ecto auth list
ecto auth default <name>
ecto auth remove <name>
```

Environment overrides: `GHOST_URL`, `GHOST_ADMIN_KEY`, `GHOST_SITE`

### Posts
```bash
ecto posts [--status draft|published|scheduled|all] [--limit N] [--json]
ecto post <id|slug> [--json] [--body]
ecto post create --title "Title" [--markdown-file file.md] [--stdin-format markdown] [--tag tag1,tag2] [--status draft|published]
ecto post edit <id|slug> [--title "New Title"] [--markdown-file file.md] [--status draft|published]
ecto post delete <id|slug> [--force]
ecto post publish <id|slug>
ecto post unpublish <id|slug>
ecto post schedule <id|slug> --at "2025-01-25T10:00:00Z"
```

### Pages
```bash
ecto pages [--status draft|published|all] [--limit N] [--json]
ecto page <id|slug> [--json] [--body]
ecto page create --title "Title" [--markdown-file file.md] [--status draft|published]
ecto page edit <id|slug> [--title "New Title"] [--markdown-file file.md]
ecto page delete <id|slug> [--force]
ecto page publish <id|slug>
```

### Tags
```bash
ecto tags [--json]
ecto tag <id|slug> [--json]
ecto tag create --name "Tag Name" [--description "desc"]
ecto tag edit <id|slug> [--name "New Name"] [--description "desc"]
ecto tag delete <id|slug> [--force]
```

### Images
```bash
ecto image upload <path> [--json]
```

### Site Info
```bash
ecto site [--json]
ecto settings [--json]
ecto users [--json]
ecto user <id|slug> [--json]
ecto newsletters [--json]
ecto newsletter <id> [--json]
```

### Webhooks
```bash
ecto webhook create --event <event> --target-url <url> [--name "Hook Name"]
ecto webhook delete <id> [--force]
```

Events: `post.published`, `post.unpublished`, `post.added`, `post.deleted`, `page.published`, etc.

## Multi-Site
Use `--site <name>` to target a specific configured site:
```bash
ecto posts --site blog2
```

## Common Workflows

Create and publish from markdown:
```bash
ecto post create --title "My Post" --markdown-file post.md --tag blog --status published
```

Pipe content from stdin:
```bash
echo "# Hello World" | ecto post create --title "Quick Post" --stdin-format markdown
```

Schedule a post:
```bash
ecto post schedule future-post --at "2025-02-01T09:00:00Z"
```

Batch publish drafts:
```bash
for id in $(ecto posts --status draft --json | jq -r '.posts[].id'); do
  ecto post publish "$id"
done
```

## Limitations
- Ghost API does not support listing images or webhooks
- Member/subscription management not available via Admin API
- Read-only access to users

## Full Docs
Run `ecto --ai-help` for comprehensive documentation.

「开发编程」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。