bear-blog-publisher
Publish blog posts to Bear Blog platform. Supports user-provided markdown, AI-generated content, and auto-generated diagrams.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/cattalk2/bear-blog-publisherWhat This Skill Does
The bear-blog-publisher skill is an integrated automation tool for the Bear Blog platform. It streamlines the content lifecycle from ideation to publishing. By combining API-driven publishing with integrated AI text generation and automated diagram rendering, it allows users to focus on substance rather than formatting. The skill supports multiple authentication strategies, making it suitable for both individual power users and large-scale CI/CD pipeline deployments. Its architecture allows for intelligent diagram generation using Playwright, which parses markdown into visual architecture diagrams, ensuring that technical posts are as visually engaging as they are informative.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/cattalk2/bear-blog-publisher
Post-installation, ensure you have configured your credentials via the ~/.openclaw/openclaw.json configuration file, environment variables, or via direct runtime parameters depending on your specific infrastructure needs. If you intend to utilize the AI generation features, ensure that your preferred provider (OpenAI or Kimi) has its respective API key exported as an environment variable.
Use Cases
- Automated Technical Blogging: Developers can feed raw concepts or code snippets into the tool, which then generates professional-grade posts with accompanying architecture diagrams.
- CI/CD Documentation: Automatically publish release notes or infrastructure updates to a public-facing blog directly from a deployment pipeline.
- Content Scalability: Teams can batch-generate high-quality content using AI models, ensuring a consistent editorial voice across multiple Bear Blog instances.
- Rapid Prototyping: Quickly draft and preview technical tutorials by skipping manual HTML/Markdown formatting and letting the agent handle the heavy lifting.
Example Prompts
- "Publish a new post titled 'Mastering Python Decorators' using the AI generator with a professional tone and include an architecture diagram showing the decorator flow."
- "Draft a blog post about my recent project deployment steps and publish it to my Bear Blog; use OpenAI to refine the technical explanations."
- "Generate a technical summary from my latest research notes and publish it to the blog using my configured Kimi API settings."
Tips & Limitations
- Security: Always adhere to the principle of least privilege. For CI/CD environments, prefer environment variables or temporary runtime tokens over static files. Ensure local config files are restricted with
chmod 600. - Resource Usage: The skill utilizes Playwright to render diagrams, which necessitates a one-time download of a ~100MB Chromium instance. If disk space is at a premium, you may want to skip the diagram features.
- File Management: Note that intermediate diagram files are stored in
/tmp. While they are overwritten per request, they remain on the file system until manually cleared or the system reboots. Avoid storing sensitive information in your diagram source code.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-cattalk2-bear-blog-publisher": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api