OpenClaw Skill: Obsidian/Markdown → Cloudflare Pages
name: obsidian-cloudflare-pages
by davidyoh · published 2026-03-22
$ claw add gh:davidyoh/davidyoh-openclaw-skill-obsidian-cloudflare-pages---
name: obsidian-cloudflare-pages
description: Publish selected Obsidian markdown from a vault to a static site and deploy to Cloudflare Pages.
homepage: https://pages.cloudflare.com/
---
# OpenClaw Skill: Obsidian/Markdown → Cloudflare Pages
This is an **OpenClaw Skill** for publishing Markdown to Cloudflare Pages.
- https://obsidian.md/clipper
Automates a safe publishing flow:
1. Select notes from your source folder
2. Sync to a publish workspace
3. Build static HTML with Quartz
4. Deploy to Cloudflare Pages
Commands
- Creates `config/config.json` from example
- Interactive setup wizard for config (vault, folders, site/domain, Cloudflare project)
- Initializes Quartz project in configured workspace if missing
- Validates paths + required binaries
- Syncs selected notes/assets into publish content folder
- Runs Quartz build in project dir
- Deploys to Cloudflare Pages with wrangler
- sync → build → deploy
- previews actions without mutating files or deploying
Config
Copy and edit:
`skills/obsidian-cloudflare-pages/config/config.example.json` → `skills/obsidian-cloudflare-pages/config/config.json`
Safety defaults
Requirements
Cloudflare API token setup (recommended)
Create a Cloudflare API token with at least:
You can either export env vars in your shell profile (`~/.zshrc`) or use the skill-local `.env` file.
Option A: shell profile (`~/.zshrc`)
export CLOUDFLARE_API_TOKEN="<your-token>"
export CLOUDFLARE_ACCOUNT_ID="<your-account-id>"Reload shell:
source ~/.zshrcOption B: skill-local env file (recommended for this skill)
cp skills/obsidian-cloudflare-pages/.env.example skills/obsidian-cloudflare-pages/.env
# then edit .env
# optional auth envs: BASIC_AUTH_USERNAME / BASIC_AUTH_PASSWORDThe CLI auto-loads `skills/obsidian-cloudflare-pages/.env` (without overriding existing shell env vars).
Wizard now asks for:
Notes
OpenClaw usage tips
Example prompts:
Best practices:
Standalone usage (outside OpenClaw)
This works as a plain Node CLI too:
node bin/publishmd-cf.js init
node bin/publishmd-cf.js wizard
cp .env.example .env
# fill .env values
node bin/publishmd-cf.js runSecurity note
Basic auth in this skill is intentionally simple and optional. Do not publish highly sensitive content unless you fully understand your security model and hardening choices.
Safety switches:
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...