Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Ghost-Writer Sync

v1.0.0

Pulls published blog posts from Substack and Ghost into an Obsidian or Logseq vault for AI-assisted repurposing.

1· 73· 1 versions· 0 current· 0 all-time· Updated 12h ago· MIT-0
byPeter Lum@liverock

Install

openclaw skills 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)
  1. Fetch — Pulls published posts from each configured source
  2. Convert — Transforms HTML content to clean Markdown using a stdlib-only converter
  3. Write — Saves each post as a Markdown file with rich frontmatter in your vault

Supported Sources

SourceAuthNotes
SubstackNone (public RSS)Reads the /feed endpoint
GhostContent API key (id:secret)Uses Admin API JWT auth

Output Formats

FormatFrontmatterFilename
ObsidianYAML block (--- delimited){slug}.md
LogseqProperty list (key:: value){date} {slug}.md

Frontmatter Fields

Every synced post includes:

FieldDescription
titlePost title
sourcesubstack or ghost
urlOriginal post URL
publishedPublication date
syncedTimestamp of last sync
post_idStable 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.

Version tags

latestvk977xctjg9se802fqyj6kqwh2584jy05