auto-blog-cover

📁 crossoverjie/skills 📅 1 day ago
2
总安装量
2
周安装量
#71610
全站排名
安装命令
npx skills add https://github.com/crossoverjie/skills --skill auto-blog-cover

Agent 安装分布

opencode 2
gemini-cli 2
claude-code 2
github-copilot 2
codex 2
kimi-cli 2

Skill 文档

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:
    pip install -r skills/auto-blog-cover/requirements.txt
    
  2. Related Skills: Requires cover-generator and image-uploader to be present and configured.

Usage

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:

python3 skills/auto-blog-cover/auto_blog_cover.py content/posts/my-new-post.md

Override text (AI assisted scenario):

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:

python3 skills/auto-blog-cover/auto_blog_cover.py post.md --fields "cover_image,og_image"