md-weblisted
Install: claude install-skill rockbenben/aishort-skills
# MD Web - Markdown to Web Page
Upload raw `.md` files to an S3-compatible storage bucket, where a pre-deployed Docsify server automatically renders them as web pages. This avoids sending long text in the conversation.
## When to use this skill
**Uploaded content is publicly accessible.** Only use this skill when the user explicitly requests it:
- User wants to **show or preview content as a web page** in a browser
- User wants to **generate, export, or publish** content as a web page
- User wants a **shareable link** to content
- User wants output **delivered as a web page** rather than as long text in chat
- User wants to **compile or organize content and present it as a web page**
- User invokes this skill by name (e.g., `/md-web`)
## How to use this skill
### Step 1: Check configuration
Check if `~/.md-web/config.json` exists (cross-platform: use the user's home directory). If it does NOT exist or has empty fields, follow the **Configuration** section below first.
### Step 2: Prepare the markdown file
Either use an existing `.md` file, or write the content to a temporary file. Choose the temp path based on the current platform (e.g., `/tmp/` on Linux/macOS, system temp dir on Windows). Use whichever path works in the current shell environment.
### Step 3: Upload via upload.js
```bash
node {SKILL_DIR}/upload.js <local-file> <remote-key>
```
- `{SKILL_DIR}`: the base directory of this skill (shown at the top when skill is loaded)
- `<remote-key>`: a descriptive