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).
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
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/auto-blog-cover/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How auto-blog-cover Compares
| Feature / Agent | auto-blog-cover | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/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"
```