/install ghost-writer-sync
Ghost-Writer Sync
Automatically pulls your published blog posts (Substack / Ghost) into your local Obsidian or Logseq vault for AI-assisted repurposing.
How It Works
Blog Source → Fetch Posts → HTML → Markdown → Write to Vault
(Substack RSS / Ghost API) (stdlib) (frontmatter + body)
- Fetch — Pulls published posts from each configured source
- Convert — Transforms HTML content to clean Markdown using a stdlib-only converter
- Write — Saves each post as a Markdown file with rich frontmatter in your vault
Supported Sources
| Source | Auth | Notes |
|---|---|---|
| Substack | None (public RSS) | Reads the /feed endpoint |
| Ghost | Content API key (id:secret) |
Uses Admin API JWT auth |
Output Formats
| Format | Frontmatter | Filename |
|---|---|---|
| Obsidian | YAML block (--- delimited) |
{slug}.md |
| Logseq | Property list (key:: value) |
{date} {slug}.md |
Frontmatter Fields
Every synced post includes:
| Field | Description |
|---|---|
title |
Post title |
source |
substack or ghost |
url |
Original post URL |
published |
Publication date |
synced |
Timestamp of last sync |
post_id |
Stable hash-based ID for dedup |
tags |
(Ghost only) Tag names |
excerpt |
(Ghost only) Post excerpt |
feature_image |
(Ghost only) Hero image URL |
Usage
Add a source
# Substack — just the URL
python3 sync.py add-substack --url https://example.substack.com
# Ghost — URL + API key
python3 sync.py add-ghost --url https://myblog.ghost.io --api-key abc123:def456...
Run a sync
python3 sync.py sync --vault /path/to/obsidian-vault
Check config
python3 sync.py list
python3 sync.py config
Repurposing Workflow
Once posts are in your vault, use your AI assistant to:
- Rewrite posts as Twitter/X threads
- Generate LinkedIn summaries
- Create newsletter compilations
- Extract key quotes and talking points
- Draft follow-up posts based on themes
Posts land as standard Markdown files, so they work with any Obsidian plugin, Logseq graph, or AI tool that reads .md files.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ghost-writer-sync - 安装完成后,直接呼叫该 Skill 的名称或使用
/ghost-writer-sync触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Ghost-Writer Sync 是什么?
Pulls published blog posts from Substack and Ghost into an Obsidian or Logseq vault for AI-assisted repurposing. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 72 次。
如何安装 Ghost-Writer Sync?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ghost-writer-sync」即可一键安装,无需额外配置。
Ghost-Writer Sync 是免费的吗?
是的,Ghost-Writer Sync 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Ghost-Writer Sync 支持哪些平台?
Ghost-Writer Sync 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Ghost-Writer Sync?
由 Peter Lum(@liverock)开发并维护,当前版本 v1.0.0。