auto-blog-cover

Automates the process of creating and setting blog post covers. Reads a markdown file, generates a cover image based on title/subtitle, uploads it, and updates the file's frontmatter (e.g., banner_img).

11 stars

Best use case

auto-blog-cover is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Automates the process of creating and setting blog post covers. Reads a markdown file, generates a cover image based on title/subtitle, uploads it, and updates the file's frontmatter (e.g., banner_img).

Teams using auto-blog-cover should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/auto-blog-cover/SKILL.md --create-dirs "https://raw.githubusercontent.com/crossoverJie/skills/main/skills/auto-blog-cover/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/auto-blog-cover/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How auto-blog-cover Compares

Feature / Agentauto-blog-coverStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Automates the process of creating and setting blog post covers. Reads a markdown file, generates a cover image based on title/subtitle, uploads it, and updates the file's frontmatter (e.g., banner_img).

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Auto Blog Cover Skill

An end-to-end workflow automation for blog writers. It connects parsing, generation, uploading, and editing into a single command.

## Prerequisites

1.  **Dependencies**:
    ```bash
    pip install -r skills/auto-blog-cover/requirements.txt
    ```
2.  **Related Skills**: Requires `cover-generator` and `image-uploader` to be present and configured.

## Usage

```bash
python3 skills/auto-blog-cover/auto_blog_cover.py <path_to_markdown_file> [options]
```

### Options

*   `filepath`: Path to the markdown post (Required).
*   `--title`: Manually specify title (overrides file content).
*   `--subtitle`: Manually specify subtitle.
*   `--theme`: Color theme (`random`, `dark`, `light`, `blue`).
*   `--fields`: Comma-separated Frontmatter fields to update. Default: `banner_img,index_img`.

### Examples

**Auto-detect everything:**
```bash
python3 skills/auto-blog-cover/auto_blog_cover.py content/posts/my-new-post.md
```

**Override text (AI assisted scenario):**
```bash
python3 skills/auto-blog-cover/auto_blog_cover.py _posts/2024-02-01-ai.md \
  --title "AI Evolution" \
  --subtitle "From Function Call to MCP"
```

**Custom fields for different blog engine:**
```bash
python3 skills/auto-blog-cover/auto_blog_cover.py post.md --fields "cover_image,og_image"
```

Related Skills

We are still matching the closest adjacent skills for this page. In the meantime, continue through the full directory.