/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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ghost-writer-sync - After installation, invoke the skill by name or use
/ghost-writer-sync - Provide required inputs per the skill's parameter spec and get structured output
What is Ghost-Writer Sync?
Pulls published blog posts from Substack and Ghost into an Obsidian or Logseq vault for AI-assisted repurposing. It is an AI Agent Skill for Claude Code / OpenClaw, with 72 downloads so far.
How do I install Ghost-Writer Sync?
Run "/install ghost-writer-sync" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Ghost-Writer Sync free?
Yes, Ghost-Writer Sync is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Ghost-Writer Sync support?
Ghost-Writer Sync is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Ghost-Writer Sync?
It is built and maintained by Peter Lum (@liverock); the current version is v1.0.0.