搜索

PythonReactSEOPDF
OpenClaw

bear-blog-publisher

Publish blog posts to Bear Blog platform. Supports user-provided markdown, AI-generated content, and auto-generated diagrams.

cattalk20 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install cattalk2/bear-blog-publisher

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Bear Blog Publisher

Publish blog posts to Bear Blog (https://bearblog.dev/).

Overview

This skill provides automated publishing capabilities for Bear Blog, including optional AI content generation and diagram generation.

Authentication Methods (Choose One)

Method 1: OpenClaw Config (Recommended for Personal Use)

Add to your ~/.openclaw/openclaw.json:

{
  "skills": {
    "bear-blog-publisher": {
      "email": "your@email.com",
      "password": "yourpassword"
    }
  }
}

Security: File permissions should be set to 600 (readable only by owner).

Method 2: Environment Variables (Recommended for CI/CD)
export BEAR_BLOG_EMAIL="your@email.com"
export BEAR_BLOG_PASSWORD="yourpassword"

Security: Credentials exist only in memory, not written to disk.

Method 3: Runtime Parameters (Recommended for Multi-User)

Provide credentials when calling the skill:

publisher = BearBlogPublisher(email="user@example.com", password="secret")

Security: Caller (chat bot, web app, etc.) manages credential lifecycle.

AI Content Generation (Optional)

To use AI content generation, configure one of the following:

OpenAI
export OPENAI_API_KEY="sk-..."
Kimi
export KIMI_API_KEY="your-kimi-api-key"
Usage
publisher = BearBlogPublisher()
content = publisher.generate_content(
    topic="Python best practices",
    provider="openai",  # or "kimi"
    tone="professional",
    length="medium"
)
result = publisher.publish(title="My Post", content=content)

Priority Order

  1. Runtime parameters (highest priority)
  2. Environment variables
  3. OpenClaw config (lowest priority)

Capabilities

1. Publish Blog Post

Input:

  • title (string): Blog post title
  • content (string): Markdown content
  • email (string, optional): Bear Blog email
  • password (string, optional): Bear Blog password

Output:

  • Published URL or error message
2. AI Content Ge...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/cattalk2/bear-blog-publisher
Version
—
Commit
33728ab02beceae53dbf3550a2eaea584954e290
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Bear Blog Publisher

Publish blog posts to Bear Blog - supports user-provided markdown, AI-generated content, and auto-generated diagrams.

Features

  • Triple Auth Methods: Config file, environment variables, or runtime parameters
  • AI Content Generation: Optional auto-generation using OpenAI or Kimi
  • Auto Diagrams: Generates architecture diagrams for technical posts

Installation

clawhub install bear-blog-publisher

Authentication (Choose One)

Method 1: OpenClaw Config File

Edit ~/.openclaw/openclaw.json:

{
  "skills": {
    "bear-blog-publisher": {
      "email": "your@email.com",
      "password": "yourpassword"
    }
  }
}

Set secure permissions:

chmod 600 ~/.openclaw/openclaw.json
Method 2: Environment Variables
export BEAR_BLOG_EMAIL="your@email.com"
export BEAR_BLOG_PASSWORD="yourpassword"
Method 3: Runtime Parameters
from bear_blog_publisher import BearBlogPublisher

publisher = BearBlogPublisher(
    email="your@email.com",
    password="yourpassword"
)

AI Content Generation (Optional)

To use AI content generation, configure one of the following API keys:

OpenAI
export OPENAI_API_KEY="sk-..."
Kimi
export KIMI_API_KEY="your-kimi-api-key"
Usage
publisher = BearBlogPublisher()
content = publisher.generate_content(
    topic="Python best practices",
    provider="openai",  # or "kimi"
    tone="professional",
    length="medium"
)
result = publisher.publish(title="My Post", content=content)

Usage Examples

AI-Generated Content
You: "Write and publish a blog about remote work tips"
AI: [Generates content with OpenAI/Kimi, publishes]
     ✅ Published: https://bearblog.dev/yourname/remote-work-tips/
User-Provided Content
You: "Publish this as a blog: [paste your markdown]"
AI: [Publishes your exact content]
     ✅ Published: https://bearblog.dev/yourname/your-post/

##...

来源内容

SKILL.md
# Bear Blog Publisher

Publish blog posts to Bear Blog (https://bearblog.dev/).

## Overview

This skill provides automated publishing capabilities for Bear Blog, including optional AI content generation and diagram generation.

## Authentication Methods (Choose One)

### Method 1: OpenClaw Config (Recommended for Personal Use)

Add to your `~/.openclaw/openclaw.json`:

```json
{
  "skills": {
    "bear-blog-publisher": {
      "email": "your@email.com",
      "password": "yourpassword"
    }
  }
}
```

**Security**: File permissions should be set to 600 (readable only by owner).

### Method 2: Environment Variables (Recommended for CI/CD)

```bash
export BEAR_BLOG_EMAIL="your@email.com"
export BEAR_BLOG_PASSWORD="yourpassword"
```

**Security**: Credentials exist only in memory, not written to disk.

### Method 3: Runtime Parameters (Recommended for Multi-User)

Provide credentials when calling the skill:

```python
publisher = BearBlogPublisher(email="user@example.com", password="secret")
```

**Security**: Caller (chat bot, web app, etc.) manages credential lifecycle.

## AI Content Generation (Optional)

To use AI content generation, configure one of the following:

### OpenAI

```bash
export OPENAI_API_KEY="sk-..."
```

### Kimi

```bash
export KIMI_API_KEY="your-kimi-api-key"
```

### Usage

```python
publisher = BearBlogPublisher()
content = publisher.generate_content(
    topic="Python best practices",
    provider="openai",  # or "kimi"
    tone="professional",
    length="medium"
)
result = publisher.publish(title="My Post", content=content)
```

## Priority Order

1. Runtime parameters (highest priority)
2. Environment variables
3. OpenClaw config (lowest priority)

## Capabilities

### 1. Publish Blog Post

**Input:**
- `title` (string): Blog post title
- `content` (string): Markdown content
- `email` (string, optional): Bear Blog email
- `password` (string, optional): Bear Blog password

**Output:**
- Published URL or error message

### 2. AI Content Ge...
README
# Bear Blog Publisher

Publish blog posts to Bear Blog - supports user-provided markdown, AI-generated content, and auto-generated diagrams.

## Features

- **Triple Auth Methods**: Config file, environment variables, or runtime parameters
- **AI Content Generation**: Optional auto-generation using OpenAI or Kimi
- **Auto Diagrams**: Generates architecture diagrams for technical posts

## Installation

```bash
clawhub install bear-blog-publisher
```

## Authentication (Choose One)

### Method 1: OpenClaw Config File

Edit `~/.openclaw/openclaw.json`:

```json
{
  "skills": {
    "bear-blog-publisher": {
      "email": "your@email.com",
      "password": "yourpassword"
    }
  }
}
```

Set secure permissions:
```bash
chmod 600 ~/.openclaw/openclaw.json
```

### Method 2: Environment Variables

```bash
export BEAR_BLOG_EMAIL="your@email.com"
export BEAR_BLOG_PASSWORD="yourpassword"
```

### Method 3: Runtime Parameters

```python
from bear_blog_publisher import BearBlogPublisher

publisher = BearBlogPublisher(
    email="your@email.com",
    password="yourpassword"
)
```

## AI Content Generation (Optional)

To use AI content generation, configure one of the following API keys:

### OpenAI
```bash
export OPENAI_API_KEY="sk-..."
```

### Kimi
```bash
export KIMI_API_KEY="your-kimi-api-key"
```

### Usage
```python
publisher = BearBlogPublisher()
content = publisher.generate_content(
    topic="Python best practices",
    provider="openai",  # or "kimi"
    tone="professional",
    length="medium"
)
result = publisher.publish(title="My Post", content=content)
```

## Usage Examples

### AI-Generated Content
```
You: "Write and publish a blog about remote work tips"
AI: [Generates content with OpenAI/Kimi, publishes]
     ✅ Published: https://bearblog.dev/yourname/remote-work-tips/
```

### User-Provided Content
```
You: "Publish this as a blog: [paste your markdown]"
AI: [Publishes your exact content]
     ✅ Published: https://bearblog.dev/yourname/your-post/
```

##...

相关技能

OpenClaw

agent-pack-n-go

aicodelion

🚀 Clone your OpenClaw AI Agent to a new device in ~25 minutes — configs, memory, skills, everything.

OpenClaw

cacheforge-skills

cacheforge-ai

⚡ SOTA agent skills for OpenClaw — observability, security, code quality, incident response, and more. Built by Anvil AI.

OpenClaw

restart-guard

zjianru

OpenClaw Skill: Safely restart the Gateway with context preservation, guardian watchdog, and multi-channel notification