bear-blog-publisher
by cattalk2
Coding Agents & IDEsBrief
Publish blog posts to Bear Blog platform.
Description
What This Skill Does
Publishes blog posts to Bear Blog (bearblog.dev). Supports user-provided markdown, AI-generated content via OpenAI or Kimi, and auto-generated architecture diagrams using Playwright.
Combines content generation, diagram creation, and publishing into a single step without switching tools or logging into Bear Blog manually.
When to Use It
- Publishing a write-up directly from a chat prompt
- Generating and posting a blog on a given topic with one command
- Attaching an auto-generated architecture diagram to a technical post
- Publishing from a CI/CD pipeline using environment variable credentials
- Running a multi-user publishing bot where each user supplies their own credentials
Example Workflow
User asks: Write and publish a blog post about Python asyncio
- 1
Reads Bear Blog credentials from environment variables or config file
- 2
Calls OpenAI API to generate content on the Python asyncio topic
- 3
Authenticates to Bear Blog using CSRF token session flow
- 4
Publishes the generated post to Bear Blog
- 5
Returns the live URL of the published post
A live Bear Blog URL pointing to the published Python asyncio post
Requirements
- Bear Blog account at bearblog.dev (email and password required)
- OpenAI API key (optional, only needed for AI content generation)
- Kimi API key (optional, alternative to OpenAI for AI content generation)
Installation
clawhub install cattalk2/bear-blog-publisherRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.