Skip to content

sunbos/sunbo-skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sunbo Skills Collection

A collection of powerful AI Agent skills to enhance your workflow.

English | 中文说明

📦 Available Skills

1. GCP Factory Reset

automates the "Factory Reset" process for Google Cloud Platform accounts.

  • Location: skills/gcp_factory_reset
  • Features:
    • Wipes all cloud projects
    • Checks billing status
    • Cleans local credentials
  • Usage: Load the SKILL.md file or install via marketplace:
    /plugin install gcp-factory-reset@sunbo-agent-skills

2. html2md Plugin

Convert HTML files to clean Markdown format with intelligent preprocessing.

  • Location: skills/html2md

html2md Plugin Details

Convert HTML files to clean Markdown format with intelligent preprocessing.

Features

  • Dual Engine Support: Uses markdownify or html2text (auto-fallback)
  • Incremental Conversion: Only converts files that have changed
  • Batch Processing: Recursively process entire directories
  • HTML Cleaning: Removes scripts, styles, comments automatically
  • Auto Title Extraction: Extracts <title> as H1 heading
  • Encoding Detection: Handles CJK and other encodings
  • Multiple Presets: default, compact, strict modes
  • Dry Run Mode: Preview conversions before executing

Installation

# Add plugin marketplace
/plugin marketplace add sunbos/sunbo-skills

# Install plugin
/plugin install html2md@sunbo-agent-skills

Then restart Claude Code.

Dependencies

Install at least one conversion engine before using:

macOS (Homebrew)

pip3.13 install markdownify html2text --break-system-packages

macOS (Xcode)

xcrun python3 -m pip install markdownify html2text --user

Linux / Windows

pip install markdownify html2text

Usage

After installation, ask Claude Code to convert HTML files:

  • "Convert the HTML files in ./docs to Markdown"
  • "Batch convert this website folder to Markdown"
  • "Convert my SingleFile saved pages to Markdown"

Or use the script directly:

# Basic usage
python3 "${PLUGIN_DIR}/skills/html2md/scripts/html2md.py" ./docs

# With options
python3 "${PLUGIN_DIR}/skills/html2md/scripts/html2md.py" ./website -r -o ./output --preset compact

Options

Option Description
-o, --output Output directory
-r, --recursive Process subdirectories
-f, --force Force reconversion
--engine auto, markdownify, or html2text
--preset default, compact, or strict
--aggressive Remove more HTML elements
--dry-run Preview only

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages