hexo-blog-manager

Installation
SKILL.md

Hexo Blog & OSS Resource Manager Skill

This skill defines the standard operating procedure (SOP) dedicated to managing blog posts in the imHansiy/MyHexo repository and the associated static assets / image hosting in the imHansiy/GitHub_Oss repository.

Workflow

1. Image Preparation & Upload (Image Hosting Flow)

When a Hexo post requires an image (screenshot, diagram, asset):

  • Target Repository: imHansiy/GitHub_Oss
  • Target Path: img/YY-MM-DD/filename.extension (Use the current date to categorize files).
  • Steps:
    1. Read the image file and encode it to Base64.
    2. Write a JSON payload containing {"message": "...", "content": "..."} to a temporary file.
    3. Execute the upload using gh api --method PUT ... --input temp.json.
  • CDN Link Format: https://jsdelivr.007666.xyz/gh/imHansiy/GitHub_Oss@main/img/YY-MM-DD/filename.extension

2. Blog Cover Generation (AI-Powered)

To make the Hexo blog post list look more professional and textured, generate a cover image using Hugging Face Hub:

  • Service: Hugging Face Inference API (depends on the huggingface_hub Python library).
Related skills
Installs
5
First Seen
Mar 3, 2026