A secure integration enabling automated management and safety-first previewing of Buttondown newsletter drafts.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install buttondown
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install buttondown using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Buttondown integration for Openclaw Skills empowers developers and AI assistants to write, update, and inspect newsletter drafts using the Buttondown API. This tool acts as a secure, local CLI layer that handles everything from parsing content files to configuring newsletter headers.
With strict safety defaults, this skill prevents accidental publication or unauthorized test emails. By utilizing Openclaw Skills, you can offload the manual orchestration of mailing lists, newsletters, and test drafts to intelligent agents while maintaining absolute control over the ultimate sending action.
create-draft, passing the relevant metadata flags such as subject, editor mode, and body file.status: draft and outputs the draft email identifier.send-draft.Ensure you configure your authentication environment variables before initiating the skill script. Store keys in a secure secret store rather than shell history.
# Define the mandatory Buttondown API access token
export BUTTONDOWN_API_KEY="your-api-key-here"
# Optional: Set the context for multi-newsletter environments
export BUTTONDOWN_CONTEXT="your-newsletter-username"
# Optional: Specify an alternative API endpoint base URL
export BUTTONDOWN_API_BASE="https://api.buttondown.com/v1"
Execute command routines directly within the skill workspace:
# Generate a new draft newsletter
python3 scripts/buttondown.py create-draft --subject "Release Updates" --body-file issue.md
# Perform a dry-run check of draft creation
python3 scripts/buttondown.py create-draft --subject "Release Updates" --body-file issue.md --dry-run
# Preview a draft via test email
python3 scripts/buttondown.py send-draft <email_id> --recipient [email protected]
The Buttondown skill structures input parameters and processes local assets using the following structural components:
| Variable / Argument | Source | Description | Required |
|---|---|---|---|
BUTTONDOWN_API_KEY |
Environment | The private API key used to authenticate request payloads. | Yes |
BUTTONDOWN_CONTEXT |
Environment / CLI | Newsletter context identifier for multi-tenant accounts. | No |
--body-file |
CLI Flag | Local filesystem path referencing the markdown or raw HTML body file. | Yes (on writes) |
--editor-mode |
CLI Flag | Specifies plaintext for Markdown or fancy for full HTML editor setups. |
No |
--dry-run |
CLI Flag | Intercepts processing to inspect outbound API payloads without executing. | No |
scripts/buttondown.py: Core CLI integration wrapper logic written in Python.references/api.md: Comprehensive reference describing remote endpoints, errors, and JSON responses.--dry-run flags to test draft properties, payloads, and parameters without initiating live remote updates.BUTTONDOWN_CONTEXT header values.plaintext versus fancy editor modes) by appending official editor settings comments directly onto payload uploads.Loading
A lightweight multi-provider API adapter for Codex that enables seamless switching, failover, and local hosting across multiple LLM providers.

Quality Writer Pro is a comprehensive content creation and quality assurance workflow designed to help AI agents write highly engaging, structured, and fluff-free blogs, novels, technical docs, and marketing copy.

An automated flight award monitor that queries the Seats.aero API, tracks state across multiple watchers, and alerts on newly available inventory.

A terminal-optimized query and schema discovery assistant supporting multiple SQL and NoSQL databases.

A read-only personal finance copilot that provides comprehensive net worth insights, retirement planning, tax comparisons, and portfolio performance analysis.

An automated multi-platform content publishing tool designed to compile, differentiate, and deploy Markdown articles to GitHub Pages and Dev.to with built-in SEO optimization.








































