Skip to content

The agent that grows with you

docs(website): prune the 25 per-skill pages whose skill no longer ships

treatux785d6ffbac81
diff --git a/tests/skills/test_skill_pages_match_shipped_skills.py b/tests/skills/test_skill_pages_match_shipped_skills.py
new file mode 100644
index 00000000000..7eefc3cdfd8
--- /dev/null
+++ b/tests/skills/test_skill_pages_match_shipped_skills.py
@@ -0,0 +1,51 @@
+"""Contract: a generated per-skill page exists only while its skill ships.
+
+``website/scripts/generate-skill-docs.py`` writes a page per discovered skill but never *prunes*
+pages for skills that were moved or merged. Once the catalogs and the sidebar are regenerated
+they stop pointing at the leftovers, so an orphan page stays reachable only through cross-links
+from other pages — and it still advertises ``Source | Bundled (installed by default)`` for a
+skill that is no longer installed by default (or is not there under that name at all).
+
+#98539 ("shipped-set slim") is what left the current drift behind: 15 skills moved to
+``optional-skills/``, the six ``github-*`` skills were merged into one, and ``pdf`` absorbed
+``ocr-and-documents``. 25 bundled pages survived that refactor.
+
+Every generated page states the skill path it documents in its ``| Path |`` row, so a page can be
+checked against the tree without re-implementing the generator. Reads the shipped ``.md``
+artifacts and the skill tree only — never source text.
+"""
+
+from __future__ import annotations
+
+import re
+from pathlib import Path
+
+REPO_ROOT = Path(__file__).resolve().parents[2]
+SKILL_PAGES = REPO_ROOT / "website" / "docs" / "user-guide" / "skills"
+_PATH_ROW_RE = re.compile(r"^\|\s*Path\s*\|\s*`([^`]+)`", re.MULTILINE)
+
+
+def _page_targets():
+ """(page, skill path it claims) for every generated page that carries a Path row."""
+ for page in sorted(SKILL_PAGES.rglob("*.md")):
+ match = _PATH_ROW_RE.search(page.read_text(encoding="utf-8"))
+ if match:
+ yield page, match.group(1).replace("\\", "/")
+
+
+def test_every_generated_page_documents_a_shipped_skill():
+ """No page outlives the skill it documents.
+
+ A deleted or moved skill must take its page with it (or the page must be repointed), otherwise
+ the docs keep describing a skill the reader cannot install under that name.
+ """
+ orphans = [
+ f"{page.relative_to(REPO_ROOT)} -> {target}"
+ for page, target in _page_targets()
+ if not (REPO_ROOT / target / "SKILL.md").exists()
+ ]
+ assert not orphans, (
+ "per-skill pages document skills that no longer ship at that path "
+ "(a moved/merged skill leaves these behind — prune or repoint the page):\n"
+ + "\n".join(orphans)
+ )
diff --git a/website/docs/user-guide/skills/bundled/creative/creative-ascii-art.md b/website/docs/user-guide/skills/bundled/creative/creative-ascii-art.md
deleted file mode 100644
index 32feeecd8a0..00000000000
--- a/website/docs/user-guide/skills/bundled/creative/creative-ascii-art.md
+++ /dev/null
@@ -1,338 +0,0 @@
----
-title: "Ascii Art — ASCII art: pyfiglet, cowsay, boxes, image-to-ascii"
-sidebar_label: "Ascii Art"
-description: "ASCII art: pyfiglet, cowsay, boxes, image-to-ascii"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Ascii Art
-
-ASCII art: pyfiglet, cowsay, boxes, image-to-ascii.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/creative/ascii-art` |
-| Version | `4.0.0` |
-| Author | 0xbyt4, Hermes Agent |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `ASCII`, `Art`, `Banners`, `Creative`, `Unicode`, `Text-Art`, `pyfiglet`, `figlet`, `cowsay`, `boxes` |
-| Related skills | [`excalidraw`](./creative-excalidraw.md) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# ASCII Art Skill
-
-Multiple tools for different ASCII art needs. All tools are local CLI programs or free REST APIs — no API keys required.
-
-## Tool 1: Text Banners (pyfiglet — local)
-
-Render text as large ASCII art banners. 571 built-in fonts.
-
-### Setup
-
-```bash
-pip install pyfiglet --break-system-packages -q
-```
-
-### Usage
-
-```bash
-python3 -m pyfiglet "YOUR TEXT" -f slant
-python3 -m pyfiglet "TEXT" -f doom -w 80 # Set width
-python3 -m pyfiglet --list_fonts # List all 571 fonts
-```
-
-### Recommended fonts
-
-| Style | Font | Best for |
-|-------|------|----------|
-| Clean & modern | `slant` | Project names, headers |
-| Bold & blocky | `doom` | Titles, logos |
-| Big & readable | `big` | Banners |
-| Classic banner | `banner3` | Wide displays |
-| Compact | `small` | Subtitles |
-| Cyberpunk | `cyberlarge` | Tech themes |
-| 3D effect | `3-d` | Splash screens |
-| Gothic | `gothic` | Dramatic text |
-
-### Tips
-
-- Preview 2-3 fonts and let the user pick their favorite
-- Short text (1-8 chars) works best with detailed fonts like `doom` or `block`
-- Long text works better with compact fonts like `small` or `mini`
-
-## Tool 2: Text Banners (asciified API — remote, no install)
-
-Free REST API that converts text to ASCII art. 250+ FIGlet fonts. Returns plain text directly — no parsing needed. Use this when pyfiglet is not installed or as a quick alternative.
-
-### Usage (via terminal curl)
-
-```bash
-# Basic text banner (default font)
-curl -s "https://asciified.thelicato.io/api/v2/ascii?text=Hello+World"
-
-# With a specific font
-curl -s "https://asciified.thelicato.io/api/v2/ascii?text=Hello&font=Slant"
-curl -s "https://asciified.thelicato.io/api/v2/ascii?text=Hello&font=Doom"
-curl -s "https://asciified.thelicato.io/api/v2/ascii?text=Hello&font=Star+Wars"
-curl -s "https://asciified.thelicato.io/api/v2/ascii?text=Hello&font=3-D"
-curl -s "https://asciified.thelicato.io/api/v2/ascii?text=Hello&font=Banner3"
-
-# List all available fonts (returns JSON array)
-curl -s "https://asciified.thelicato.io/api/v2/fonts"
-```
-
-### Tips
-
-- URL-encode spaces as `+` in the text parameter
-- The response is plain text ASCII art — no JSON wrapping, ready to display
-- Font names are case-sensitive; use the fonts endpoint to get exact names
-- Works from any terminal with curl — no Python or pip needed
-
-## Tool 3: Cowsay (Message Art)
-
-Classic tool that wraps text in a speech bubble with an ASCII character.
-
-### Setup
-
-```bash
-sudo apt install cowsay -y # Debian/Ubuntu
-# brew install cowsay # macOS
-```
-
-### Usage
-
-```bash
-cowsay "Hello World"
-cowsay -f tux "Linux rules" # Tux the penguin
-cowsay -f dragon "Rawr!" # Dragon
-cowsay -f stegosaurus "Roar!" # Stegosaurus
-cowthink "Hmm..." # Thought bubble
-cowsay -l # List all characters
-```
-
-### Available characters (50+)
-
-`beavis.zen`, `bong`, `bunny`, `cheese`, `daemon`, `default`, `dragon`,
-`dragon-and-cow`, `elephant`, `eyes`, `flaming-skull`, `ghostbusters`,
-`hellokitty`, `kiss`, `kitty`, `koala`, `luke-koala`, `mech-and-cow`,
-`meow`, `moofasa`, `moose`, `ren`, `sheep`, `skeleton`, `small`,
-`stegosaurus`, `stimpy`, `supermilker`, `surgery`, `three-eyes`,
-`turkey`, `turtle`, `tux`, `udder`, `vader`, `vader-koala`, `www`
-
-### Eye/tongue modifiers
-
-```bash
-cowsay -b "Borg" # =_= eyes
-cowsay -d "Dead" # x_x eyes
-cowsay -g "Greedy" # $_$ eyes
-cowsay -p "Paranoid" # @_@ eyes
-cowsay -s "Stoned" # *_* eyes
-cowsay -w "Wired" # O_O eyes
-cowsay -e "OO" "Msg" # Custom eyes
-cowsay -T "U " "Msg" # Custom tongue
-```
-
-## Tool 4: Boxes (Decorative Borders)
-
-Draw decorative ASCII art borders/frames around any text. 70+ built-in designs.
-
-### Setup
-
-```bash
-sudo apt install boxes -y # Debian/Ubuntu
-# brew install boxes # macOS
-```
-
-### Usage
-
-```bash
-echo "Hello World" | boxes # Default box
-echo "Hello World" | boxes -d stone # Stone border
-echo "Hello World" | boxes -d parchment # Parchment scroll
-echo "Hello World" | boxes -d cat # Cat border
-echo "Hello World" | boxes -d dog # Dog border
-echo "Hello World" | boxes -d unicornsay # Unicorn
-echo "Hello World" | boxes -d diamonds # Diamond pattern
-echo "Hello World" | boxes -d c-cmt # C-style comment
-echo "Hello World" | boxes -d html-cmt # HTML comment
-echo "Hello World" | boxes -a c # Center text
-boxes -l # List all 70+ designs
-```
-
-### Combine with pyfiglet or asciified
-
-```bash
-python3 -m pyfiglet "HERMES" -f slant | boxes -d stone
-# Or without pyfiglet installed:
-curl -s "https://asciified.thelicato.io/api/v2/ascii?text=HERMES&font=Slant" | boxes -d stone
-```
-
-## Tool 5: TOIlet (Colored Text Art)
-
-Like pyfiglet but with ANSI color effects and visual filters. Great for terminal eye candy.
-
-### Setup
-
-```bash
-sudo apt install toilet toilet-fonts -y # Debian/Ubuntu
-# brew install toilet # macOS
-```
-
-### Usage
-
-```bash
-toilet "Hello World" # Basic text art
-toilet -f bigmono12 "Hello" # Specific font
-toilet --gay "Rainbow!" # Rainbow coloring
-toilet --metal "Metal!" # Metallic effect
-toilet -F border "Bordered" # Add border
-toilet -F border --gay "Fancy!" # Combined effects
-toilet -f pagga "Block" # Block-style font (unique to toilet)
-toilet -F list # List available filters
-```
-
-### Filters
-
-`crop`, `gay` (rainbow), `metal`, `flip`, `flop`, `180`, `left`, `right`, `border`
-
-**Note**: toilet outputs ANSI escape codes for colors — works in terminals but may not render in all contexts (e.g., plain text files, some chat platforms).
-
-## Tool 6: Image to ASCII Art
-
-Convert images (PNG, JPEG, GIF, WEBP) to ASCII art.
-
-### Option A: ascii-image-converter (recommended, modern)
-
-```bash
-# Install
-sudo snap install ascii-image-converter
-# OR: go install github.com/TheZoraiz/ascii-image-converter@latest
-```
-
-```bash
-ascii-image-converter image.png # Basic
-ascii-image-converter image.png -C # Color output
-ascii-image-converter image.png -d 60,30 # Set dimensions
-ascii-image-converter image.png -b # Braille characters
-ascii-image-converter image.png -n # Negative/inverted
-ascii-image-converter https://url/image.jpg # Direct URL
-ascii-image-converter image.png --save-txt out # Save as text
-```
-
-### Option B: jp2a (lightweight, JPEG only)
-
-```bash
-sudo apt install jp2a -y
-jp2a --width=80 image.jpg
-jp2a --colors image.jpg # Colorized
-```
-
-## Tool 7: Search Pre-Made ASCII Art
-
-Search curated ASCII art from the web. Use `terminal` with `curl`.
-
-### Source A: ascii.co.uk (recommended for pre-made art)
-
-Large collection of classic ASCII art organized by subject. Art is inside HTML `<pre>` tags. Fetch the page with curl, then extract art with a small Python snippet.
-
-**URL pattern:** `https://ascii.co.uk/art/{subject}`
-
-**Step 1 — Fetch the page:**
-
-```bash
-curl -s 'https://ascii.co.uk/art/cat' -o ~/.hermes/cache/scratch/ascii_art.html
-```
-
-**Step 2 — Extract art from pre tags:**
-
-```python
-import os, re, html
-with open(os.path.expanduser('~/.hermes/cache/scratch/ascii_art.html')) as f:
- text = f.read()
-arts = re.findall(r'<pre[^>]*>(.*?)</pre>', text, re.DOTALL)
-for art in arts:
- clean = re.sub(r'<[^>]+>', '', art)
- clean = html.unescape(clean).strip()
- if len(clean) > 30:
- print(clean)
- print('\n---\n')
-```
-
-**Available subjects** (use as URL path):
-- Animals: `cat`, `dog`, `horse`, `bird`, `fish`, `dragon`, `snake`, `rabbit`, `elephant`, `dolphin`, `butterfly`, `owl`, `wolf`, `bear`, `penguin`, `turtle`
-- Objects: `car`, `ship`, `airplane`, `rocket`, `guitar`, `computer`, `coffee`, `beer`, `cake`, `house`, `castle`, `sword`, `crown`, `key`
-- Nature: `tree`, `flower`, `sun`, `moon`, `star`, `mountain`, `ocean`, `rainbow`
-- Characters: `skull`, `robot`, `angel`, `wizard`, `pirate`, `ninja`, `alien`
-- Holidays: `christmas`, `halloween`, `valentine`
-
-**Tips:**
-- Preserve artist signatures/initials — important etiquette
-- Multiple art pieces per page — pick the best one for the user
-- Works reliably via curl, no JavaScript needed
-
-### Source B: GitHub Octocat API (fun easter egg)
-
-Returns a random GitHub Octocat with a wise quote. No auth needed.
-
-```bash
-curl -s https://api.github.com/octocat
-```
-
-## Tool 8: Fun ASCII Utilities (via curl)
-
-These free services return ASCII art directly — great for fun extras.
-
-### QR Codes as ASCII Art
-
-```bash
-curl -s "qrenco.de/Hello+World"
-curl -s "qrenco.de/https://example.com"
-```
-
-### Weather as ASCII Art
-
-```bash
-curl -s "wttr.in/London" # Full weather report with ASCII graphics
-curl -s "wttr.in/Moon" # Moon phase in ASCII art
-curl -s "v2.wttr.in/London" # Detailed version
-```
-
-## Tool 9: LLM-Generated Custom Art (Fallback)
-
-When tools above don't have what's needed, generate ASCII art directly using these Unicode characters:
-
-### Character Palette
-
-**Box Drawing:** `╔ ╗ ╚ ╝ ║ ═ ╠ ╣ ╦ ╩ ╬ ┌ ┐ └ ┘ │ ─ ├ ┤ ┬ ┴ ┼ ╭ ╮ ╰ ╯`
-
-**Block Elements:** `░ ▒ ▓ █ ▄ ▀ ▌ ▐ ▖ ▗ ▘ ▝ ▚ ▞`
-
-**Geometric & Symbols:** `◆ ◇ ◈ ● ○ ◉ ■ □ ▲ △ ▼ ▽ ★ ☆ ✦ ✧ ◀ ▶ ◁ ▷ ⬡ ⬢ ⌂`
-
-### Rules
-
-- Max width: 60 characters per line (terminal-safe)
-- Max height: 15 lines for banners, 25 for scenes
-- Monospace only: output must render correctly in fixed-width fonts
-
-## Decision Flow
-
-1. **Text as a banner** → pyfiglet if installed, otherwise asciified API via curl
-2. **Wrap a message in fun character art** → cowsay
-3. **Add decorative border/frame** → boxes (can combine with pyfiglet/asciified)
-4. **Art of a specific thing** (cat, rocket, dragon) → ascii.co.uk via curl + parsing
-5. **Convert an image to ASCII** → ascii-image-converter or jp2a
-6. **QR code** → qrenco.de via curl
-7. **Weather/moon art** → wttr.in via curl
-8. **Something custom/creative** → LLM generation with Unicode palette
-9. **Any tool not installed** → install it, or fall back to next option
diff --git a/website/docs/user-guide/skills/bundled/creative/creative-comfyui.md b/website/docs/user-guide/skills/bundled/creative/creative-comfyui.md
deleted file mode 100644
index 4c8d4dcc7d7..00000000000
--- a/website/docs/user-guide/skills/bundled/creative/creative-comfyui.md
+++ /dev/null
@@ -1,616 +0,0 @@
----
-title: "Comfyui — Generate images, video, and audio via diffusion workflows"
-sidebar_label: "Comfyui"
-description: "Generate images, video, and audio via diffusion workflows"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Comfyui
-
-Generate images, video, and audio via diffusion workflows.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/creative/comfyui` |
-| Version | `5.1.0` |
-| Author | ['kshitijk4poor', 'alt-glitch', 'purzbeats'] |
-| License | MIT |
-| Platforms | macos, linux, windows |
-| Tags | `comfyui`, `image-generation`, `stable-diffusion`, `flux`, `sd3`, `wan-video`, `hunyuan-video`, `creative`, `generative-ai`, `video-generation` |
-| Related skills | [`stable-diffusion`](../../optional/mlops/mlops-stable-diffusion.md) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# ComfyUI
-
-Generate images, video, audio, and 3D content through ComfyUI using the
-official `comfy-cli` for setup/lifecycle and direct REST/WebSocket API
-for workflow execution.
-
-## What's in this skill
-
-**Reference docs (`references/`):**
-
-- `official-cli.md` — every `comfy ...` command, with flags
-- `rest-api.md` — REST + WebSocket endpoints (local + cloud), payload schemas
-- `workflow-format.md` — API-format JSON, common node types, param mapping
-- `template-integrity.md` — converting `comfyui-workflow-templates` from
- editor format to API format: Reroute bypass, dotted dynamic-input keys
- (`values.a`, `resize_type.width`), Cloud quirks (302 redirect, 1 concurrent
- free-tier job, 1080p VRAM ceiling), Discord-compatible ffmpeg stitch.
- Authored by [@purzbeats](https://github.com/purzbeats). Load this whenever
- you're starting from an official template.
-
-**Scripts (`scripts/`):**
-
-| Script | Purpose |
-|--------|---------|
-| `_common.py` | Shared HTTP, cloud routing, node catalogs (don't run directly) |
-| `hardware_check.py` | Probe GPU/VRAM/disk → recommend local vs Comfy Cloud |
-| `comfyui_setup.sh` | Hardware check + comfy-cli + ComfyUI install + launch + verify |
-| `extract_schema.py` | Read a workflow → list controllable params + model deps |
-| `check_deps.py` | Check workflow against running server → list missing nodes/models |
-| `auto_fix_deps.py` | Run check_deps then `comfy node install` / `comfy model download` |
-| `run_workflow.py` | Inject params, submit, monitor, download outputs (HTTP or WS) |
-| `run_batch.py` | Submit a workflow N times with sweeps, parallel up to your tier |
-| `ws_monitor.py` | Real-time WebSocket viewer for executing jobs (live progress) |
-| `health_check.py` | Verification checklist runner — comfy-cli + server + models + smoke test |
-| `fetch_logs.py` | Pull traceback / status messages for a given prompt_id |
-
-**Example workflows (`workflows/`):** SD 1.5, SDXL, Flux Dev, SDXL img2img,
-SDXL inpaint, ESRGAN upscale, AnimateDiff video, Wan T2V. See
-`workflows/README.md`.
-
-## When to Use
-
-- User asks to generate images with Stable Diffusion, SDXL, Flux, SD3, etc.
-- User wants to run a specific ComfyUI workflow file
-- User wants to chain generative steps (txt2img → upscale → face restore)
-- User needs ControlNet, inpainting, img2img, or other advanced pipelines
-- User asks to manage ComfyUI queue, check models, or install custom nodes
-- User wants video/audio/3D generation via AnimateDiff, Hunyuan, Wan, AudioCraft, etc.
-
-## Architecture: Two Layers
-
-<!-- ascii-guard-ignore -->
-```
-┌─────────────────────────────────────────────────────┐
-│ Layer 1: comfy-cli (official lifecycle tool) │
-│ Setup, server lifecycle, custom nodes, models │
-│ → comfy install / launch / stop / node / model │
-└─────────────────────────┬───────────────────────────┘
- │
-┌─────────────────────────▼───────────────────────────┐
-│ Layer 2: REST/WebSocket API + skill scripts │
-│ Workflow execution, param injection, monitoring │
-│ POST /api/prompt, GET /api/view, WS /ws │
-│ → run_workflow.py, run_batch.py, ws_monitor.py │
-└─────────────────────────────────────────────────────┘
-```
-<!-- ascii-guard-ignore-end -->
-
-**Why two layers?** The official CLI is excellent for installation and server
-management but has minimal workflow execution support. The REST/WS API fills
-that gap — the scripts handle param injection, execution monitoring, and
-output download that the CLI doesn't do.
-
-## Quick Start
-
-### Detect environment
-
-```bash
-# What's available?
-command -v comfy >/dev/null 2>&1 && echo "comfy-cli: installed"
-curl -s http://127.0.0.1:8188/system_stats 2>/dev/null && echo "server: running"
-
-# Can this machine run ComfyUI locally? (GPU/VRAM/disk check)
-python3 scripts/hardware_check.py
-```
-
-If nothing is installed, see **Setup & Onboarding** below — but always run the
-hardware check first.
-
-### One-line health check
-
-```bash
-python3 scripts/health_check.py
-# → JSON: comfy_cli on PATH? server reachable? at least one checkpoint? smoke-test passes?
-```
-
-## Core Workflow
-
-### Step 1: Get a workflow JSON in API format
-
-Workflows must be in API format (each node has `class_type`). They come from:
-
-- ComfyUI web UI → **Workflow → Export (API)** (newer UI) or
- the legacy "Save (API Format)" button (older UI)
-- This skill's `workflows/` directory (ready-to-run examples)
-- Community downloads (civitai, Reddit, Discord) — usually editor format,
- must be loaded into ComfyUI then re-exported
-
-Editor format (top-level `nodes` and `links` arrays) is **not directly
-executable**. The scripts detect this and tell you to re-export.
-
-### Step 2: See what's controllable
-
-```bash
-python3 scripts/extract_schema.py workflow_api.json --summary-only
-# → {"parameter_count": 12, "has_negative_prompt": true, "has_seed": true, ...}
-
-python3 scripts/extract_schema.py workflow_api.json
-# → full schema with parameters, model deps, embedding refs
-```
-
-### Step 3: Run with parameters
-
-```bash
-# Local (defaults to http://127.0.0.1:8188)
-python3 scripts/run_workflow.py \
- --workflow workflow_api.json \
- --args '{"prompt": "a beautiful sunset over mountains", "seed": -1, "steps": 30}' \
- --output-dir ./outputs
-
-# Cloud (export API key once; uses correct /api routing automatically)
-export COMFY_CLOUD_API_KEY="comfyui-..."
-python3 scripts/run_workflow.py \
- --workflow workflow_api.json \
- --args '{"prompt": "..."}' \
- --host https://cloud.comfy.org \
- --output-dir ./outputs
-
-# Real-time progress via WebSocket (requires `pip install websocket-client`)
-python3 scripts/run_workflow.py \
- --workflow flux_dev.json \
- --args '{"prompt": "..."}' \
- --ws
-
-# img2img / inpaint: pass --input-image to upload + reference automatically
-python3 scripts/run_workflow.py \
- --workflow sdxl_img2img.json \
- --input-image image=./photo.png \
- --args '{"prompt": "make it watercolor", "denoise": 0.6}'
-
-# Batch / sweep: 8 random seeds, parallel up to cloud tier limit
-python3 scripts/run_batch.py \
- --workflow sdxl.json \
- --args '{"prompt": "abstract"}' \
- --count 8 --randomize-seed --parallel 3 \
- --output-dir ./outputs/batch
-```
-
-`-1` for `seed` (or omitting it with `--randomize-seed`) generates a fresh
-random seed per run.
-
-### Step 4: Present results
-
-The scripts emit JSON to stdout describing every output file:
-
-```json
-{
- "status": "success",
- "prompt_id": "abc-123",
- "outputs": [
- {"file": "./outputs/sdxl_00001_.png", "node_id": "9",
- "type": "image", "filename": "sdxl_00001_.png"}
- ]
-}
-```
-
-## Decision Tree
-
-| User says | Tool | Command |
-|-----------|------|---------|
-| **Lifecycle (use comfy-cli)** | | |
-| "install ComfyUI" | comfy-cli | `bash scripts/comfyui_setup.sh` |
-| "start ComfyUI" | comfy-cli | `comfy launch --background` |
-| "stop ComfyUI" | comfy-cli | `comfy stop` |
-| "install X node" | comfy-cli | `comfy node install <name>` |
-| "download X model" | comfy-cli | `comfy model download --url <url> --relative-path models/checkpoints` |
-| "list installed models" | comfy-cli | `comfy model list` |
-| "list installed nodes" | comfy-cli | `comfy node show installed` |
-| **Execution (use scripts)** | | |
-| "is everything ready?" | script | `health_check.py` (optionally with `--workflow X --smoke-test`) |
-| "what can I change in this workflow?" | script | `extract_schema.py W.json` |
-| "check if W's deps are met" | script | `check_deps.py W.json` |
-| "fix missing deps" | script | `auto_fix_deps.py W.json` |
-| "generate an image" | script | `run_workflow.py --workflow W --args '{...}'` |
-| "use this image" (img2img) | script | `run_workflow.py --input-image image=./x.png ...` |
-| "8 variations with random seeds" | script | `run_batch.py --count 8 --randomize-seed ...` |
-| "show me live progress" | script | `ws_monitor.py --prompt-id <id>` |
-| "fetch the error from job X" | script | `fetch_logs.py <prompt_id>` |
-| **Direct REST** | | |
-| "what's in the queue?" | REST | `curl http://HOST:8188/queue` (local) or `--host https://cloud.comfy.org` |
-| "cancel that" | REST | `curl -X POST http://HOST:8188/interrupt` |
-| "free GPU memory" | REST | `curl -X POST http://HOST:8188/free` |
-
-## Setup & Onboarding
-
-When a user asks to set up ComfyUI, **the FIRST thing to do is ask whether
-they want Comfy Cloud (hosted, zero install, API key) or Local (install
-ComfyUI on their machine)**. Don't start running install commands or hardware
-checks until they've answered.
-
-**Official docs:** https://docs.comfy.org/installation
-**CLI docs:** https://docs.comfy.org/comfy-cli/getting-started
-**Cloud docs:** https://docs.comfy.org/get_started/cloud
-**Cloud API:** https://docs.comfy.org/development/cloud/overview
-
-### Step 0: Ask Local vs Cloud (ALWAYS FIRST)
-
-Suggested script:
-
-> "Do you want to run ComfyUI locally on your machine, or use Comfy Cloud?
->
-> - **Comfy Cloud** — hosted on RTX 6000 Pro GPUs, all common models pre-installed,
-> zero setup. Requires an API key (paid subscription required to actually run
-> workflows; free tier is read-only). Best if you don't have a capable GPU.
-> - **Local** — free, but your machine MUST meet the hardware requirements:
-> - NVIDIA GPU with **≥6 GB VRAM** (≥8 GB for SDXL, ≥12 GB for Flux/video), OR
-> - AMD GPU with ROCm support (Linux), OR
-> - Apple Silicon Mac (M1+) with **≥16 GB unified memory** (≥32 GB recommended).
-> - Intel Macs and machines with no GPU will NOT work — use Cloud instead.
->
-> Which would you like?"
-
-Routing:
-
-- **Cloud** → skip to **Path A**.
-- **Local** → run hardware check first, then pick a path from Paths B–E based on the verdict.
-- **Unsure** → run the hardware check and let the verdict decide.
-
-### Step 1: Verify Hardware (ONLY if user chose local)
-
-```bash
-python3 scripts/hardware_check.py --json
-# Optional: also probe `torch` for actual CUDA/MPS:
-python3 scripts/hardware_check.py --json --check-pytorch
-```
-
-| Verdict | Meaning | Action |
-|------------|---------------------------------------------------------------|--------|
-| `ok` | ≥8 GB VRAM (discrete) OR ≥32 GB unified (Apple Silicon) | Local install — use `comfy_cli_flag` from report |
-| `marginal` | SD1.5 works; SDXL tight; Flux/video unlikely | Local OK for light workflows, else **Path A (Cloud)** |
-| `cloud` | No usable GPU, &lt;6 GB VRAM, &lt;16 GB Apple unified, Intel Mac, Rosetta Python | **Switch to Cloud** unless user explicitly forces local |
-
-The script also surfaces `wsl: true` (WSL2 with NVIDIA passthrough) and
-`rosetta: true` (x86_64 Python on Apple Silicon — must reinstall as ARM64).
-
-If verdict is `cloud` but the user wants local, do not proceed silently.
-Show the `notes` array verbatim and ask whether they want to (a) switch to
-Cloud or (b) force a local install (will OOM or be unusably slow on modern models).
-
-### Choosing an Installation Path
-
-Use the hardware check first. The table below is the fallback for when the
-user has already told you their hardware:
-
-| Situation | Recommended Path |
-|-----------|------------------|
-| `verdict: cloud` from hardware check | **Path A: Comfy Cloud** |
-| No GPU / want to try without commitment | **Path A: Comfy Cloud** |
-| Windows + NVIDIA + non-technical | **Path B: ComfyUI Desktop** |
-| Windows + NVIDIA + technical | **Path C: Portable** or **Path D: comfy-cli** |
-| Linux + any GPU | **Path D: comfy-cli** (easiest) |
-| macOS + Apple Silicon | **Path B: Desktop** or **Path D: comfy-cli** |
-| Headless / server / CI / agents | **Path D: comfy-cli** |
-
-For the fully automated path (hardware check → install → launch → verify):
-
-```bash
-bash scripts/comfyui_setup.sh
-# Or with overrides:
-bash scripts/comfyui_setup.sh --m-series --port=8190 --workspace=/data/comfy
-```
-
-It runs `hardware_check.py` internally, refuses to install locally when the
-verdict is `cloud` (unless `--force-cloud-override`), picks the right
-`comfy-cli` flag, and prefers `pipx`/`uvx` over global `pip` to avoid polluting
-system Python.
-
----
-
-### Path A: Comfy Cloud (No Local Install)
-
-For users without a capable GPU or who want zero setup. Hosted on RTX 6000 Pro.
-
-**Docs:** https://docs.comfy.org/get_started/cloud
-
-1. Sign up at https://comfy.org/cloud
-2. Generate an API key at https://platform.comfy.org/login
-3. Set the key:
- ```bash
- export COMFY_CLOUD_API_KEY="your-comfyui-key"
- ```
-4. Run workflows:
- ```bash
- python3 scripts/run_workflow.py \
- --workflow workflows/flux_dev_txt2img.json \
- --args '{"prompt": "..."}' \
- --host https://cloud.comfy.org \
- --output-dir ./outputs
- ```
-
-**Pricing:** https://www.comfy.org/cloud/pricing
-**Concurrent jobs:** Free/Standard 1, Creator 3, Pro 5. Free tier
-**cannot run workflows via API** — only browse models. Paid subscription
-required for `/api/prompt`, `/api/upload/*`, `/api/view`, etc.
-
----
-
-### Path B: ComfyUI Desktop (Windows / macOS)
-
-One-click installer for non-technical users. Currently Beta.
-
-**Docs:** https://docs.comfy.org/installation/desktop
-- **Windows (NVIDIA):** https://download.comfy.org/windows/nsis/x64
-- **macOS (Apple Silicon):** https://comfy.org
-
-Linux is **not supported** for Desktop — use Path D.
-
----
-
-### Path C: ComfyUI Portable (Windows Only)
-
-**Docs:** https://docs.comfy.org/installation/comfyui_portable_windows
-
-Download from https://github.com/comfyanonymous/ComfyUI/releases, extract,
-run `run_nvidia_gpu.bat`. Update via `update/update_comfyui_stable.bat`.
-
----
-
-### Path D: comfy-cli (All Platforms — Recommended for Agents)
-
-The official CLI is the best path for headless/automated setups.
-
-**Docs:** https://docs.comfy.org/comfy-cli/getting-started
-
-#### Install comfy-cli
-
-```bash
-# Recommended:
-pipx install comfy-cli
-# Or use uvx without installing:
-uvx --from comfy-cli comfy --help
-# Or (if pipx/uvx unavailable):
-pip install --user comfy-cli
-```
-
-Disable analytics non-interactively:
-```bash
-comfy --skip-prompt tracking disable
-```
-
-#### Install ComfyUI
-
-```bash
-comfy --skip-prompt install --nvidia # NVIDIA (CUDA)
-comfy --skip-prompt install --amd # AMD (ROCm, Linux)
-comfy --skip-prompt install --m-series # Apple Silicon (MPS)
-comfy --skip-prompt install --cpu # CPU only (slow)
-comfy --skip-prompt install --nvidia --fast-deps # uv-based dep resolution
-```
-
-Default location: `~/comfy/ComfyUI` (Linux), `~/Documents/comfy/ComfyUI`
-(macOS/Win). Override with `comfy --workspace /custom/path install`.
-
-#### Launch / verify
-
-```bash
-comfy launch --background # background daemon on :8188
-comfy launch -- --listen 0.0.0.0 --port 8190 # LAN-accessible custom port
-curl -s http://127.0.0.1:8188/system_stats # health check
-```
-
----
-
-### Path E: Manual Install (Advanced / Unsupported Hardware)
-
-For Ascend NPU, Cambricon MLU, Intel Arc, or other unsupported hardware.
-
-**Docs:** https://docs.comfy.org/installation/manual_install
-
-```bash
-git clone https://github.com/comfyanonymous/ComfyUI.git
-cd ComfyUI
-pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu130
-pip install -r requirements.txt
-python main.py
-```
-
----
-
-### Post-Install: Download Models
-
-```bash
-# SDXL (general purpose, ~6.5 GB)
-comfy model download \
- --url "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors" \
- --relative-path models/checkpoints
-
-# SD 1.5 (lighter, ~4 GB, good for 6 GB cards)
-comfy model download \
- --url "https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors" \
- --relative-path models/checkpoints
-
-# Flux Dev fp8 (smaller variant, ~12 GB)
-comfy model download \
- --url "https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/flux1-dev-fp8.safetensors" \
- --relative-path models/checkpoints
-
-# CivitAI (set token first):
-comfy model download \
- --url "https://civitai.com/api/download/models/128713" \
- --relative-path models/checkpoints \
- --set-civitai-api-token "YOUR_TOKEN"
-```
-
-List installed: `comfy model list`.
-
-### Post-Install: Install Custom Nodes
-
-```bash
-comfy node install comfyui-impact-pack # popular utility pack
-comfy node install comfyui-animatediff-evolved # video generation
-comfy node install comfyui-controlnet-aux # ControlNet preprocessors
-comfy node install comfyui-essentials # common helpers
-comfy node update all
-comfy node install-deps --workflow=workflow.json # install everything a workflow needs
-```
-
-### Post-Install: Verify
-
-```bash
-python3 scripts/health_check.py
-# → comfy_cli on PATH? server reachable? checkpoints? smoke test?
-
-python3 scripts/check_deps.py my_workflow.json
-# → are this workflow's nodes/models/embeddings installed?
-
-python3 scripts/run_workflow.py \
- --workflow workflows/sd15_txt2img.json \
- --args '{"prompt": "test", "steps": 4}' \
- --output-dir ./test-outputs
-```
-
-## Image Upload (img2img / Inpainting)
-
-The simplest way is to use `--input-image` with `run_workflow.py`:
-
-```bash
-python3 scripts/run_workflow.py \
- --workflow workflows/sdxl_img2img.json \
- --input-image image=./photo.png \
- --args '{"prompt": "make it cyberpunk", "denoise": 0.6}'
-```
-
-The flag uploads `photo.png`, then injects its server-side filename into
-whatever schema parameter is named `image`. For inpainting, pass both:
-
-```bash
-python3 scripts/run_workflow.py \
- --workflow workflows/sdxl_inpaint.json \
- --input-image image=./photo.png \
- --input-image mask_image=./mask.png \
- --args '{"prompt": "fill with flowers"}'
-```
-
-Manual upload via REST:
-```bash
-curl -X POST "http://127.0.0.1:8188/upload/image" \
- -F "[email protected]" -F "type=input" -F "overwrite=true"
-# Returns: {"name": "photo.png", "subfolder": "", "type": "input"}
-
-# Cloud equivalent:
-curl -X POST "https://cloud.comfy.org/api/upload/image" \
- -H "X-API-Key: $COMFY_CLOUD_API_KEY" \
- -F "[email protected]" -F "type=input" -F "overwrite=true"
-```
-
-## Cloud Specifics
-
-- **Base URL:** `https://cloud.comfy.org`
-- **Auth:** `X-API-Key` header (or `?token=KEY` for WebSocket)
-- **API key:** set `$COMFY_CLOUD_API_KEY` once and the scripts pick it up automatically
-- **Output download:** `/api/view` returns a 302 to a signed URL; the scripts
- follow it and strip `X-API-Key` before fetching from the storage backend
- (don't leak the API key to S3/CloudFront).
-- **Endpoint differences from local ComfyUI:**
- - `/api/object_info`, `/api/queue`, `/api/userdata` — **403 on free tier**;
- paid only.
- - `/history` is renamed to `/history_v2` on cloud (the scripts route
- automatically).
- - `/models/<folder>` is renamed to `/experiment/models/<folder>` on cloud
- (the scripts route automatically).
- - `clientId` in WebSocket is currently ignored — all connections for a
- user receive the same broadcast. Filter by `prompt_id` client-side.
- - `subfolder` is accepted on uploads but ignored — cloud has a flat namespace.
-- **Concurrent jobs:** Free/Standard: 1, Creator: 3, Pro: 5. Extras queue
- automatically. Use `run_batch.py --parallel N` to saturate your tier.
-
-## Queue & System Management
-
-```bash
-# Local
-curl -s http://127.0.0.1:8188/queue | python3 -m json.tool
-curl -X POST http://127.0.0.1:8188/queue -d '{"clear": true}' # cancel pending
-curl -X POST http://127.0.0.1:8188/interrupt # cancel running
-curl -X POST http://127.0.0.1:8188/free \
- -H "Content-Type: application/json" \
- -d '{"unload_models": true, "free_memory": true}'
-
-# Cloud — same paths under /api/, plus:
-python3 scripts/fetch_logs.py --tail-queue --host https://cloud.comfy.org
-```
-
-## Pitfalls
-
-1. **API format required** — every script and the `/api/prompt` endpoint expect
- API-format workflow JSON. The scripts detect editor format (top-level
- `nodes` and `links` arrays) and tell you to re-export via
- "Workflow → Export (API)" (newer UI) or "Save (API Format)" (older UI).
-
-2. **Server must be running** — all execution requires a live server.
- `comfy launch --background` starts one. Verify with
- `curl http://127.0.0.1:8188/system_stats`.
-
-3. **Model names are exact** — case-sensitive, includes file extension.
- `check_deps.py` does fuzzy matching (with/without extension and folder
- prefix), but the workflow itself must use the canonical name. Use
- `comfy model list` to discover what's installed.
-
-4. **Missing custom nodes** — "class_type not found" means a required node
- isn't installed. `check_deps.py` reports which package to install;
- `auto_fix_deps.py` runs the install for you.
-
-5. **Working directory** — `comfy-cli` auto-detects the ComfyUI workspace.
- If commands fail with "no workspace found", use
- `comfy --workspace /path/to/ComfyUI <command>` or
- `comfy set-default /path/to/ComfyUI`.
-
-6. **Cloud free-tier API limits** — `/api/prompt`, `/api/view`, `/api/upload/*`,
- `/api/object_info` all return 403 on free accounts. `health_check.py` and
- `check_deps.py` handle this gracefully and surface a clear message.
-
-7. **Timeout for video/audio workflows** — auto-detected when an output node
- is `VHS_VideoCombine`, `SaveVideo`, etc.; the default jumps from 300 s to
- 900 s. Override explicitly with `--timeout 1800`.
-
-8. **Path traversal in output filenames** — server-supplied filenames are
- passed through `safe_path_join` to refuse anything escaping `--output-dir`.
- Keep this protection on — workflows with custom save nodes can produce
- arbitrary paths.
-
-9. **Workflow JSON is arbitrary code** — custom nodes run Python, so
- submitting an unknown workflow has the same trust profile as `eval`.
- Inspect workflows from untrusted sources before running.
-
-10. **Auto-randomized seed** — pass `seed: -1` in `--args` (or use
- `--randomize-seed` and omit the seed) to get a fresh seed per run.
- The actual seed is logged to stderr.
-
-11. **`tracking` prompt** — first run of `comfy` may prompt for analytics.
- Use `comfy --skip-prompt tracking disable` to skip non-interactively.
- `comfyui_setup.sh` does this for you.
-
-## Verification Checklist
-
-Use `python3 scripts/health_check.py` to run the whole list at once. Manual:
-
-- [ ] `hardware_check.py` verdict is `ok` OR the user explicitly chose Comfy Cloud
-- [ ] `comfy --version` works (or `uvx --from comfy-cli comfy --help`)
-- [ ] `curl http://HOST:PORT/system_stats` returns JSON
-- [ ] `comfy model list` shows at least one checkpoint (local) OR
- `/api/experiment/models/checkpoints` returns models (cloud)
-- [ ] Workflow JSON is in API format
-- [ ] `check_deps.py` reports `is_ready: true` (or only `node_check_skipped`
- on cloud free tier)
-- [ ] Test run with a small workflow completes; outputs land in `--output-dir`
diff --git a/website/docs/user-guide/skills/bundled/creative/creative-excalidraw.md b/website/docs/user-guide/skills/bundled/creative/creative-excalidraw.md
deleted file mode 100644
index 682c75d2cf1..00000000000
--- a/website/docs/user-guide/skills/bundled/creative/creative-excalidraw.md
+++ /dev/null
@@ -1,212 +0,0 @@
----
-title: "Excalidraw — Hand-drawn Excalidraw JSON diagrams (arch, flow, seq)"
-sidebar_label: "Excalidraw"
-description: "Hand-drawn Excalidraw JSON diagrams (arch, flow, seq)"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Excalidraw
-
-Hand-drawn Excalidraw JSON diagrams (arch, flow, seq).
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/creative/excalidraw` |
-| Version | `1.0.1` |
-| Author | Hermes Agent |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `Excalidraw`, `Diagrams`, `Flowcharts`, `Architecture`, `Visualization`, `JSON` |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# Excalidraw Diagram Skill
-
-Create diagrams by writing standard Excalidraw element JSON and saving as `.excalidraw` files. These files can be drag-and-dropped onto [excalidraw.com](https://excalidraw.com) for viewing and editing. No accounts, no API keys, no rendering libraries -- just JSON.
-
-## When to use
-
-Generate `.excalidraw` files for architecture diagrams, flowcharts, sequence diagrams, concept maps, and more. Files can be opened at excalidraw.com or uploaded for shareable links.
-
-## Workflow
-
-1. **Load this skill** (you already did)
-2. **Write the elements JSON** -- an array of Excalidraw element objects
-3. **Save the file** using `write_file` to create a `.excalidraw` file
-4. **Optionally upload** for a shareable link using `scripts/upload.py` via `terminal`
-
-### Saving a Diagram
-
-Wrap your elements array in the standard `.excalidraw` envelope and save with `write_file`:
-
-```json
-{
- "type": "excalidraw",
- "version": 2,
- "source": "hermes-agent",
- "elements": [ ...your elements array here... ],
- "appState": {
- "viewBackgroundColor": "#ffffff"
- }
-}
-```
-
-Save to any path, e.g. `~/diagrams/my_diagram.excalidraw`.
-
-### Uploading for a Shareable Link
-
-Run the upload script (located in this skill's `scripts/` directory) via terminal:
-
-```bash
-python skills/creative/excalidraw/scripts/upload.py ~/diagrams/my_diagram.excalidraw
-```
-
-This uploads to excalidraw.com (no account needed) and prints a shareable URL. Requires the `cryptography` pip package (`pip install cryptography`).
-
----
-
-## Element Format Reference
-
-### Required Fields (all elements)
-`type`, `id` (unique string), `x`, `y`, `width`, `height`
-
-### Defaults (skip these -- they're applied automatically)
-- `strokeColor`: `"#1e1e1e"`
-- `backgroundColor`: `"transparent"`
-- `fillStyle`: `"solid"`
-- `strokeWidth`: `2`
-- `roughness`: `1` (hand-drawn look)
-- `opacity`: `100`
-
-Canvas background is white.
-
-### Element Types
-
-**Rectangle**:
-```json
-{ "type": "rectangle", "id": "r1", "x": 100, "y": 100, "width": 200, "height": 100 }
-```
-- `roundness: { "type": 3 }` for rounded corners
-- `backgroundColor: "#a5d8ff"`, `fillStyle: "solid"` for filled
-
-**Ellipse**:
-```json
-{ "type": "ellipse", "id": "e1", "x": 100, "y": 100, "width": 150, "height": 150 }
-```
-
-**Diamond**:
-```json
-{ "type": "diamond", "id": "d1", "x": 100, "y": 100, "width": 150, "height": 150 }
-```
-
-**Labeled shape (container binding)** -- create a text element bound to the shape:
-
-> **WARNING:** Do NOT use `"label": { "text": "..." }` on shapes. This is NOT a valid
-> Excalidraw property and will be silently ignored, producing blank shapes. You MUST
-> use the container binding approach below.
-
-The shape needs `boundElements` listing the text, and the text needs `containerId` pointing back:
-```json
-{ "type": "rectangle", "id": "r1", "x": 100, "y": 100, "width": 200, "height": 80,
- "roundness": { "type": 3 }, "backgroundColor": "#a5d8ff", "fillStyle": "solid",
- "boundElements": [{ "id": "t_r1", "type": "text" }] },
-{ "type": "text", "id": "t_r1", "x": 105, "y": 110, "width": 190, "height": 25,
- "text": "Hello", "fontSize": 20, "fontFamily": 1, "strokeColor": "#1e1e1e",
- "textAlign": "center", "verticalAlign": "middle",
- "containerId": "r1", "originalText": "Hello", "autoResize": true }
-```
-- Works on rectangle, ellipse, diamond
-- Text is auto-centered by Excalidraw when `containerId` is set
-- The text `x`/`y`/`width`/`height` are approximate -- Excalidraw recalculates them on load
-- `originalText` should match `text`
-- Always include `fontFamily: 1` (Virgil/hand-drawn font)
-
-**Labeled arrow** -- same container binding approach:
-```json
-{ "type": "arrow", "id": "a1", "x": 300, "y": 150, "width": 200, "height": 0,
- "points": [[0,0],[200,0]], "endArrowhead": "arrow",
- "boundElements": [{ "id": "t_a1", "type": "text" }] },
-{ "type": "text", "id": "t_a1", "x": 370, "y": 130, "width": 60, "height": 20,
- "text": "connects", "fontSize": 16, "fontFamily": 1, "strokeColor": "#1e1e1e",
- "textAlign": "center", "verticalAlign": "middle",
- "containerId": "a1", "originalText": "connects", "autoResize": true }
-```
-
-**Standalone text** (titles and annotations only -- no container):
-```json
-{ "type": "text", "id": "t1", "x": 150, "y": 138, "text": "Hello", "fontSize": 20,
- "fontFamily": 1, "strokeColor": "#1e1e1e", "originalText": "Hello", "autoResize": true }
-```
-- `x` is the LEFT edge. To center at position `cx`: `x = cx - (text.length * fontSize * 0.5) / 2`
-- Do NOT rely on `textAlign` or `width` for positioning
-
-**Arrow**:
-```json
-{ "type": "arrow", "id": "a1", "x": 300, "y": 150, "width": 200, "height": 0,
- "points": [[0,0],[200,0]], "endArrowhead": "arrow" }
-```
-- `points`: `[dx, dy]` offsets from element `x`, `y`
-- `endArrowhead`: `null` | `"arrow"` | `"bar"` | `"dot"` | `"triangle"`
-- `strokeStyle`: `"solid"` (default) | `"dashed"` | `"dotted"`
-
-### Arrow Bindings (connect arrows to shapes)
-
-```json
-{
- "type": "arrow", "id": "a1", "x": 300, "y": 150, "width": 150, "height": 0,
- "points": [[0,0],[150,0]], "endArrowhead": "arrow",
- "startBinding": { "elementId": "r1", "fixedPoint": [1, 0.5] },
- "endBinding": { "elementId": "r2", "fixedPoint": [0, 0.5] }
-}
-```
-
-`fixedPoint` coordinates: `top=[0.5,0]`, `bottom=[0.5,1]`, `left=[0,0.5]`, `right=[1,0.5]`
-
-### Drawing Order (z-order)
-- Array order = z-order (first = back, last = front)
-- Emit progressively: background zones → shape → its bound text → its arrows → next shape
-- BAD: all rectangles, then all texts, then all arrows
-- GOOD: bg_zone → shape1 → text_for_shape1 → arrow1 → arrow_label_text → shape2 → text_for_shape2 → ...
-- Always place the bound text element immediately after its container shape
-
-### Sizing Guidelines
-
-**Font sizes:**
-- Minimum `fontSize`: **16** for body text, labels, descriptions
-- Minimum `fontSize`: **20** for titles and headings
-- Minimum `fontSize`: **14** for secondary annotations only (sparingly)
-- NEVER use `fontSize` below 14
-
-**Element sizes:**
-- Minimum shape size: 120x60 for labeled rectangles/ellipses
-- Leave 20-30px gaps between elements minimum
-- Prefer fewer, larger elements over many tiny ones
-
-### Color Palette
-
-See `references/colors.md` for full color tables. Quick reference:
-
-| Use | Fill Color | Hex |
-|-----|-----------|-----|
-| Primary / Input | Light Blue | `#a5d8ff` |
-| Success / Output | Light Green | `#b2f2bb` |
-| Warning / External | Light Orange | `#ffd8a8` |
-| Processing / Special | Light Purple | `#d0bfff` |
-| Error / Critical | Light Red | `#ffc9c9` |
-| Notes / Decisions | Light Yellow | `#fff3bf` |
-| Storage / Data | Light Teal | `#c3fae8` |
-
-### Tips
-- Use the color palette consistently across the diagram
-- **Text contrast is CRITICAL** -- never use light gray on white backgrounds. Minimum text color on white: `#757575`
-- Do NOT use emoji in text -- they don't render in Excalidraw's font
-- For dark mode diagrams, see `references/dark-mode.md`
-- For larger examples, see `references/examples.md`
diff --git a/website/docs/user-guide/skills/bundled/creative/creative-pretext.md b/website/docs/user-guide/skills/bundled/creative/creative-pretext.md
deleted file mode 100644
index f94cd035ebc..00000000000
--- a/website/docs/user-guide/skills/bundled/creative/creative-pretext.md
+++ /dev/null
@@ -1,238 +0,0 @@
----
-title: "Pretext — Build creative browser demos with DOM-free text layout"
-sidebar_label: "Pretext"
-description: "Build creative browser demos with DOM-free text layout"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Pretext
-
-Build creative browser demos with DOM-free text layout.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/creative/pretext` |
-| Version | `1.0.0` |
-| Author | Hermes Agent |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `creative-coding`, `typography`, `pretext`, `ascii-art`, `canvas`, `generative`, `text-layout`, `kinetic-typography` |
-| Related skills | [`p5js`](./creative-p5js.md), [`claude-design`](./creative-claude-design.md), [`excalidraw`](./creative-excalidraw.md), [`architecture-diagram`](./creative-architecture-diagram.md) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# Pretext Creative Demos
-
-## Overview
-
-[`@chenglou/pretext`](https://github.com/chenglou/pretext) is a 15KB zero-dependency TypeScript library by Cheng Lou (React core, ReasonML, Midjourney) for **DOM-free multiline text measurement and layout**. It does one thing: given `(text, font, width)`, return the line breaks, per-line widths, per-grapheme positions, and total height — all via canvas measurement, no reflow.
-
-That sounds like plumbing. It is not. Because it is fast and geometric, it is a **creative primitive**: you can reflow paragraphs around a moving sprite at 60fps, build games whose level geometry is made of real words, drive ASCII logos through prose, shatter text into particles with exact per-grapheme starting positions, or pack shrink-wrapped multiline UI without any `getBoundingClientRect` thrash.
-
-This skill exists so Hermes can make **cool demos** with it — the kind people post to X. See `pretext.cool` and `chenglou.me/pretext` for the community demo corpus.
-
-## When to Use
-
-Use when the user asks for:
-- A "pretext demo" / "cool pretext thing" / "text-as-X"
-- Text flowing around a moving shape (hero sections, editorial layouts, animated long-form pages)
-- ASCII-art effects using **real words or prose**, not monospace rasters
-- Games where the playfield / obstacles / bricks are made of text (Tetris-from-letters, Breakout-of-prose)
-- Kinetic typography with per-glyph physics (shatter, scatter, flock, flow)
-- Typographic generative art, especially with non-Latin scripts or mixed scripts
-- Multiline "shrink-wrap" UI (smallest container width that still fits the text)
-- Anything that would require knowing line breaks *before* rendering
-
-Don't use for:
-- Static SVG/HTML pages where CSS already solves layout — just use CSS
-- Rich text editors, general inline formatting engines (pretext is intentionally narrow)
-- Image → text (use `ascii-art` / `ascii-video` skills)
-- Pure canvas generative art with no text role — use `p5js`
-
-## Creative Standard
-
-This is visual art rendered in a browser. Pretext returns numbers; **you** draw the thing.
-
-- **Don't ship a "hello world" demo.** The `hello-orb-flow.html` template is the *starting* point. Every delivered demo must add intentional color, motion, composition, and one visual detail the user didn't ask for but will appreciate.
-- **Dark backgrounds, warm cores, considered palette.** Classic amber-on-black (CRT / terminal) works, but so do cold-white-on-charcoal (editorial) and desaturated pastels (risograph). Pick one and commit.
-- **Proportional fonts are the point.** Pretext's whole vibe is "not monospaced" — lean into it. Use Iowan Old Style, Inter, JetBrains Mono, Helvetica Neue, or a variable font. Never default sans.
-- **Real source/text, not lorem ipsum.** The corpus should mean something. Short manifestos, poetry, real source code, a found text, the library's own README — never `lorem ipsum`.
-- **First-paint excellence.** No loading states, no blank frames. The demo must look shippable the instant it opens.
-
-## Stack
-
-Single self-contained HTML file per demo. No build step.
-
-| Layer | Tool | Purpose |
-|-------|------|---------|
-| Core | `@chenglou/pretext` via `esm.sh` CDN | Text measurement + line layout |
-| Render | HTML5 Canvas 2D | Glyph rendering, per-frame composition |
-| Segmentation | `Intl.Segmenter` (built-in) | Grapheme splitting for emoji / CJK / combining marks |
-| Interaction | Raw DOM events | Mouse / touch / wheel — no framework |
-
-```html
-<script type="module">
-import {
- prepare, layout, // use-case 1: simple height
- prepareWithSegments, layoutWithLines, // use-case 2a: fixed-width lines
- layoutNextLineRange, materializeLineRange, // use-case 2b: streaming / variable width
- measureLineStats, walkLineRanges, // stats without string allocation
-} from "https://esm.sh/@chenglou/[email protected]";
-</script>
-```
-
-Pin the version. `@0.0.6` at time of writing — check [npm](https://www.npmjs.com/package/@chenglou/pretext) for the latest if demo behavior is off.
-
-## The Two Use Cases
-
-Almost everything reduces to one of these two shapes. Learn both.
-
-### Use-case 1 — measure, then render with CSS/DOM
-
-```js
-const prepared = prepare(text, "16px Inter");
-const { height, lineCount } = layout(prepared, 320, 20);
-```
-
-You still let the browser draw the text. Pretext just tells you how tall the box will be at a given width, **without** a DOM read. Use for:
-- Virtualized lists where rows contain wrapping text
-- Masonry with precise card heights
-- "Does this label fit?" dev-time checks
-- Preventing layout shift when remote text loads
-
-**Keep `font` and `letterSpacing` exactly in sync with your CSS.** The canvas `ctx.font` format (e.g. `"16px Inter"`, `"500 17px 'JetBrains Mono'"`) must match the rendered CSS, or measurements drift.
-
-### Use-case 2 — measure *and* render yourself
-
-```js
-const prepared = prepareWithSegments(text, FONT);
-const { lines } = layoutWithLines(prepared, 320, 26);
-for (let i = 0; i < lines.length; i++) {
- ctx.fillText(lines[i].text, 0, i * 26);
-}
-```
-
-This is where the creative work lives. You own the drawing, so you can:
-- Render to canvas, SVG, WebGL, or any coordinate system
-- Substitute per-glyph transforms (rotation, jitter, scale, opacity)
-- Use line metadata (width, grapheme positions) as geometry
-
-For **variable-width-per-line** flow (text around a shape, text in a donut band, text in a non-rectangular column):
-
-```js
-let cursor = { segmentIndex: 0, graphemeIndex: 0 };
-let y = 0;
-while (true) {
- const lineWidth = widthAtY(y); // your function: how wide is the corridor at this y?
- const range = layoutNextLineRange(prepared, cursor, lineWidth);
- if (!range) break;
- const line = materializeLineRange(prepared, range);
- ctx.fillText(line.text, leftEdgeAtY(y), y);
- cursor = range.end;
- y += lineHeight;
-}
-```
-
-This is the most important pattern in the whole library. It's what unlocks "text flowing around a dragged sprite" — the demo that went viral on X.
-
-### Helpers worth knowing
-
-- `measureLineStats(prepared, maxWidth)` → `{ lineCount, maxLineWidth }` — the widest line, i.e. multiline shrink-wrap width.
-- `walkLineRanges(prepared, maxWidth, callback)` — iterate lines without allocating strings. Use for stats/physics over graphemes when you don't need the characters.
-- `@chenglou/pretext/rich-inline` — the same system but for paragraphs mixing fonts / chips / mentions. Import from the subpath.
-
-## Demo Recipe Patterns
-
-The community corpus (see `references/patterns.md`) clusters into a handful of strong patterns. Pick one and riff — don't invent a new category unless asked.
-
-| Pattern | Key API | Example idea |
-|---|---|---|
-| **Reflow around obstacle** | `layoutNextLineRange` + per-row width function | Editorial paragraph that parts around a dragged cursor sprite |
-| **Text-as-geometry game** | `layoutWithLines` + per-line collision rects | Breakout where each brick is a measured word |
-| **Shatter / particles** | `walkLineRanges` → per-grapheme (x,y) → physics | Sentence that explodes into letters on click |
-| **ASCII obstacle typography** | `layoutNextLineRange` + measured per-row obstacle spans | Bitmap ASCII logo, shape morphs, and draggable wire objects that make text open around their actual geometry |
-| **Editorial multi-column** | `layoutNextLineRange` per column + shared cursor | Animated magazine spread with pull quotes |
-| **Kinetic type** | `layoutWithLines` + per-line transform over time | Star Wars crawl, wave, bounce, glitch |
-| **Multiline shrink-wrap** | `measureLineStats` | Quote card that auto-sizes to its tightest container |
-
-See `templates/donut-orbit.html` and `templates/hello-orb-flow.html` for working single-file starters.
-
-## Workflow
-
-1. **Pick a pattern** from the table above based on the user's brief.
-2. **Start from a template**:
- - `templates/hello-orb-flow.html` — text reflowing around a moving orb (reflow-around-obstacle pattern)
- - `templates/donut-orbit.html` — advanced example: measured ASCII logo obstacles, draggable wire sphere/cube, morphing shape fields, selectable DOM text, and dev-only controls
- - `write_file` to a new `.html` in `~/.hermes/cache/scratch/` or the user's workspace.
-3. **Swap the corpus** for something intentional to the brief. Real prose, 10-100 sentences, no lorem.
-4. **Tune the aesthetic** — font, palette, composition, interaction. This is the work; don't skip it.
-5. **Verify locally**:
- ```sh
- cd <dir-with-html> && python3 -m http.server 8765
- # then open http://localhost:8765/<file>.html
- ```
-6. **Check the console** — pretext will throw if `prepareWithSegments` is called with a bad font string; `Intl.Segmenter` is available in every modern browser.
-7. **Show the user the file path**, not just the code — they want to open it.
-
-## Performance Notes
-
-- `prepare()` / `prepareWithSegments()` is the expensive call. Do it **once** per text+font pair. Cache the handle.
-- On resize, only rerun `layout()` / `layoutWithLines()` — never re-prepare.
-- For per-frame animations where text doesn't change but geometry does, `layoutNextLineRange` in a tight loop is cheap enough to do every frame at 60fps for normal-length paragraphs.
-- When rendering ASCII masks per frame, keep a cell buffer (`Uint8Array`/typed arrays), derive measured per-row obstacle spans from the cells or projected geometry, merge spans, then feed those spans into `layoutNextLineRange` before drawing text.
-- Keep visual animation and layout animation coupled. If a sphere morphs into a cube, tween both the rendered cell buffer and the obstacle spans with the same value; otherwise the demo looks painted-on instead of physically reflowed.
-- For fades, prefer layer opacity over changing glyph intensity or obstacle scale. Put transient ASCII sprites on their own canvas and fade the canvas with CSS/GSAP opacity so geometry does not appear to shrink.
-- Canvas `ctx.font` setting is surprisingly slow; set it **once** per frame if font doesn't vary, not per `fillText` call.
-
-## Common Pitfalls
-
-1. **Drifting CSS/canvas font strings.** `ctx.font = "16px Inter"` measured, but CSS says `font-family: Inter, sans-serif; font-size: 16px`. Fine *if* Inter loads. If Inter 404s, CSS falls back to sans-serif and measurements drift by 5-20%. Always `preload` the font or use a web-safe family.
-
-2. **Re-preparing inside the animation loop.** Only `layout*` is cheap. Re-calling `prepare` every frame will tank perf. Keep the prepared handle in module scope.
-
-3. **Forgetting `Intl.Segmenter` for grapheme splits.** Emoji, combining marks, CJK — `"é".split("")` gives you two chars. Use `new Intl.Segmenter(undefined, { granularity: "grapheme" })` when sampling individual visible glyphs.
-
-4. **`break: 'never'` chips without `extraWidth`.** In `rich-inline`, if you use `break: 'never'` for an atomic chip/mention, you must also supply `extraWidth` for the pill padding — otherwise chip chrome overflows the container.
-
-5. **Using `@chenglou/pretext` from `unpkg` with TypeScript-only entry.** Use `esm.sh` — it compiles the TS exports to browser-ready ESM automatically. `unpkg` will 404 or serve raw TS.
-
-6. **Monospace fallbacks silently erasing the whole point.** Users seeing monospace-looking output often have a CSS `font-family` that fell through to `monospace`. Verify the actual rendered font via DevTools.
-
-7. **Skipping rows vs adjusting width** when flowing around a shape. If the corridor on this row is too narrow to fit a line, *skip the row* (`y += lineHeight; continue;`) rather than passing a tiny maxWidth to `layoutNextLineRange` — pretext will return one-grapheme lines that look broken.
-
-8. **Shipping a cold demo.** The default first-paint looks tutorial-grade. Add: vignette, subtle scanline, idle auto-motion, one carefully chosen interactive response (drag, hover, scroll, click). Without these, "cool pretext demo" lands as "intern repro of the README."
-
-## Verification Checklist
-
-- [ ] Demo is a single self-contained `.html` file — opens by double-click or `python3 -m http.server`
-- [ ] `@chenglou/pretext` imported via `esm.sh` with pinned version
-- [ ] Corpus is real prose, not lorem ipsum, and matches the demo's concept
-- [ ] Font string passed to `prepare` matches the CSS font exactly
-- [ ] `prepare()` / `prepareWithSegments()` called once, not per frame
-- [ ] Dark background + considered palette — not the default white canvas
-- [ ] At least one interactive response (drag / hover / scroll / click) or idle auto-motion
-- [ ] Tested locally with `python3 -m http.server` and confirmed no console errors
-- [ ] 60fps on a mid-tier laptop (or graceful degradation documented)
-- [ ] One "extra mile" detail the user didn't ask for
-
-## Reference: Community Demos
-
-Clone these for inspiration / patterns (all MIT-ish, linked from [pretext.cool](https://www.pretext.cool/)):
-
-- **Pretext Breaker** — breakout with word-bricks — `github.com/rinesh/pretext-breaker`
-- **Tetris × Pretext** — `github.com/shinichimochizuki/tetris-pretext`
-- **Dragon animation** — `github.com/qtakmalay/PreTextExperiments`
-- **Somnai editorial engine** — `github.com/somnai-dreams/pretext-demos`
-- **Bad Apple!! ASCII** — `github.com/frmlinn/bad-apple-pretext`
-- **Drag-sprite reflow** — `github.com/dokobot/pretext-demo`
-- **Alarmy editorial clock** — `github.com/SmisLee/alarmy-pretext-demo`
-
-Official playground: [chenglou.me/pretext](https://chenglou.me/pretext/) — accordion, bubbles, dynamic-layout, editorial-engine, justification-comparison, masonry, markdown-chat, rich-note.
diff --git a/website/docs/user-guide/skills/bundled/creative/creative-sketch.md b/website/docs/user-guide/skills/bundled/creative/creative-sketch.md
deleted file mode 100644
index 95afee5513a..00000000000
--- a/website/docs/user-guide/skills/bundled/creative/creative-sketch.md
+++ /dev/null
@@ -1,240 +0,0 @@
----
-title: "Sketch — Throwaway HTML mockups: 2-3 design variants to compare"
-sidebar_label: "Sketch"
-description: "Throwaway HTML mockups: 2-3 design variants to compare"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Sketch
-
-Throwaway HTML mockups: 2-3 design variants to compare.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/creative/sketch` |
-| Version | `1.0.1` |
-| Author | Hermes Agent (adapted from gsd-build/get-shit-done) |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `sketch`, `mockup`, `design`, `ui`, `prototype`, `html`, `variants`, `exploration`, `wireframe`, `comparison` |
-| Related skills | [`spike`](../software-development/software-development-spike.md), [`claude-design`](./creative-claude-design.md), [`popular-web-designs`](./creative-popular-web-designs.md), [`excalidraw`](./creative-excalidraw.md) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# Sketch
-
-Use this skill when the user wants to **see a design direction before committing** to one — exploring a UI/UX idea as disposable HTML mockups. The point is to generate 2-3 interactive variants so the user can compare visual directions side-by-side, not to produce shippable code.
-
-Load this when the user says things like "sketch this screen", "show me what X could look like", "compare layout A vs B", "give me 2-3 takes on this UI", "let me see some variants", "mockup this before I build".
-
-## When NOT to use this
-
-- User wants a production component — use `claude-design` or build it properly
-- User wants a polished one-off HTML artifact (landing page, deck) — `claude-design`
-- User wants a diagram — `excalidraw`, `architecture-diagram`
-- The design is already locked — just build it
-
-## If the user has the full GSD system installed
-
-If `gsd-sketch` shows up as a sibling skill (installed via `npx get-shit-done-cc --hermes`), you can use **`gsd-sketch`** for the fuller workflow: persistent `.planning/sketches/` with MANIFEST, frontier mode analysis, consistency audits across past sketches, and integration with the rest of GSD. This skill is the lightweight standalone version — one-off sketching without the state machinery.
-
-> **Note:** The upstream GSD project ([gsd-build/get-shit-done](https://github.com/gsd-build/get-shit-done)) is **archived / no longer maintained** on GitHub. The npm package (`get-shit-done-cc`) still installs, but treat it as an archived community project — this standalone `sketch` skill is the maintained path and needs nothing extra.
-
-## Core method
-
-```
-intake → variants → head-to-head → pick winner (or iterate)
-```
-
-### 1. Intake (skip if the user already gave you enough)
-
-Before generating variants, get three things — one question at a time, not all at once:
-
-1. **Feel.** "What should this feel like? Adjectives, emotions, a vibe." — *"calm, editorial, like Linear"* tells you more than *"minimal"*.
-2. **References.** "What apps, sites, or products capture the feel you're imagining?" — actual references beat abstract descriptions.
-3. **Core action.** "What's the single most important thing a user does on this screen?" — the variants should all serve this well; if they don't, they're just decoration.
-
-Reflect each answer briefly before the next question. If the user already gave you all three upfront, skip straight to variants.
-
-### 2. Variants (2-3, never 1, rarely 4+)
-
-Produce **2-3 variants** in one go. Each variant is a complete, standalone HTML file. Don't describe variants — build them. The point is comparison.
-
-Each variant should take a **different design stance**, not different pixel values. Three good variant axes:
-
-- **Density:** compact / airy / ultra-dense (pick two contrasting poles)
-- **Emphasis:** content-first / action-first / tool-first
-- **Aesthetic:** editorial / utilitarian / playful
-- **Layout:** single-column / sidebar / split-pane
-- **Grounding:** card-based / bare-content / document-style
-
-Pick one axis and pull apart from it. Two variants that differ only in accent color are wasted effort — the user can't distinguish them.
-
-**Variant naming:** describe the stance, not the number.
-
-<!-- ascii-guard-ignore -->
-```
-sketches/
-├── 001-calm-editorial/
-│ ├── index.html
-│ └── README.md
-├── 001-utilitarian-dense/
-│ ├── index.html
-│ └── README.md
-└── 001-playful-split/
- ├── index.html
- └── README.md
-```
-<!-- ascii-guard-ignore-end -->
-
-### 3. Make them real HTML
-
-Each variant is a **single self-contained HTML file**:
-
-- Inline `<style>` — no build step, no external CSS
-- System fonts or one Google Font via `<link>`
-- Tailwind via CDN (`<script src="https://cdn.tailwindcss.com"></script>`) is fine
-- Realistic fake content — actual sentences, actual names, not "Lorem ipsum"
-- **Interactive**: links clickable, hovers real, at least one state transition (open/close, filter, toggle). A frozen static image is a worse spike than a sloppy animated one.
-
-Open it in a browser. If it looks broken, fix it before showing the user.
-
-**Verify variants visually — use Hermes' browser tools.** Don't just write HTML and hope it renders; load each variant and look at it:
-
-```
-browser_navigate(url="file:///absolute/path/to/sketches/001-calm-editorial/index.html")
-browser_vision(question="Does this layout look clean and readable? Any visible bugs (overlapping text, unstyled elements, broken images)?")
-```
-
-`browser_vision` returns an AI description of what's actually on the page plus a screenshot path — catches layout bugs that pure source inspection misses (e.g. a font import that silently failed, a flex container that collapsed). Fix and re-navigate until each variant looks right.
-
-**Default CSS reset + system font stack** for fast starts:
-
-```html
-<style>
- * { box-sizing: border-box; margin: 0; padding: 0; }
- body {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
- "Helvetica Neue", Arial, sans-serif;
- -webkit-font-smoothing: antialiased;
- color: #1a1a1a;
- background: #fafafa;
- line-height: 1.5;
- }
-</style>
-```
-
-### 4. Variant README
-
-Each variant's `README.md` answers:
-
-```markdown
-## Variant: {stance name}
-
-### Design stance
-One sentence on the principle driving this variant.
-
-### Key choices
-- Layout: ...
-- Typography: ...
-- Color: ...
-- Interaction: ...
-
-### Trade-offs
-- Strong at: ...
-- Weak at: ...
-
-### Best for
-- The kind of user or use case this variant actually serves
-```
-
-### 5. Head-to-head
-
-After all variants are built, present them as a comparison. Don't just list — **opinionate**:
-
-```markdown
-## Three takes on the home screen
-
-| Dimension | Calm editorial | Utilitarian dense | Playful split |
-|-----------|----------------|-------------------|---------------|
-| Density | Low | High | Medium |
-| Primary action visibility | Low | High | Medium |
-| Scan-ability | High | Medium | Low |
-| Feel | Calm, trusted | Sharp, tool-like | Inviting, energetic |
-
-**My take:** Utilitarian dense for power users, calm editorial for content-forward audiences. Playful split is weakest — tries to do both and commits to neither.
-```
-
-Let the user pick a winner, or combine two into a hybrid, or ask for another round.
-
-## Theming (when the project has a visual identity)
-
-If the user has an existing theme (colors, fonts, tokens), put shared tokens in `sketches/themes/tokens.css` and `@import` them in each variant. Keep tokens minimal:
-
-```css
-/* sketches/themes/tokens.css */
-:root {
- --color-bg: #fafafa;
- --color-fg: #1a1a1a;
- --color-accent: #0066ff;
- --color-muted: #666;
- --radius: 8px;
- --font-display: "Inter", sans-serif;
- --font-body: -apple-system, BlinkMacSystemFont, sans-serif;
-}
-```
-
-Don't over-tokenize a throwaway sketch — three colors and one font is usually enough.
-
-## Interactivity bar
-
-A sketch is interactive enough when the user can:
-
-1. **Click a primary action** and something visible happens (state change, modal, toast, navigation feint)
-2. **See one meaningful state transition** (filter a list, toggle a mode, open/close a panel)
-3. **Hover recognizable affordances** (buttons, rows, tabs)
-
-More than that is over-engineering a throwaway. Less than that is a screenshot.
-
-## Frontier mode (picking what to sketch next)
-
-If sketches already exist and the user says "what should I sketch next?":
-
-- **Consistency gaps** — two winning variants from different sketches made independent choices that haven't been composed together yet
-- **Unsketched screens** — referenced but never explored
-- **State coverage** — happy path sketched, but not empty / loading / error / 1000-items
-- **Responsive gaps** — validated at one viewport; does it hold at mobile / ultrawide?
-- **Interaction patterns** — static layouts exist; transitions, drag, scroll behavior don't
-
-Propose 2-4 named candidates. Let the user pick.
-
-## Output
-
-- Create `sketches/` (or `.planning/sketches/` if the user is using GSD conventions) in the repo root
-- One subdir per variant: `NNN-stance-name/index.html` + `README.md`
-- Tell the user how to open them: `open sketches/001-calm-editorial/index.html` on macOS, `xdg-open` on Linux, `start` on Windows
-- Keep variants disposable — a sketch that you felt the need to preserve should be promoted into real project code, not curated as an asset
-
-**Typical tool sequence for one variant:**
-
-```
-terminal("mkdir -p sketches/001-calm-editorial")
-write_file("sketches/001-calm-editorial/index.html", "<!doctype html>...")
-write_file("sketches/001-calm-editorial/README.md", "## Variant: Calm editorial\n...")
-browser_navigate(url="file://$(pwd)/sketches/001-calm-editorial/index.html")
-browser_vision(question="How does this look? Any obvious layout issues?")
-```
-
-Repeat for each variant, then present the comparison table.
-
-## Attribution
-
-Adapted from the GSD (Get Shit Done) project's `/gsd-sketch` workflow — MIT © 2025 Lex Christopherson ([gsd-build/get-shit-done](https://github.com/gsd-build/get-shit-done)). The upstream GSD repo is now **archived/unmaintained** on GitHub; the `get-shit-done-cc` npm package still installs (`npx get-shit-done-cc --hermes --global`) and ships persistent sketch state, theme/variant pattern references, and consistency-audit workflows, but treat it as an archived community project.
diff --git a/website/docs/user-guide/skills/bundled/github/github-codebase-inspection.md b/website/docs/user-guide/skills/bundled/github/github-codebase-inspection.md
deleted file mode 100644
index a9c23ab89b9..00000000000
--- a/website/docs/user-guide/skills/bundled/github/github-codebase-inspection.md
+++ /dev/null
@@ -1,132 +0,0 @@
----
-title: "Codebase Inspection — Inspect codebases w/ pygount: LOC, languages, ratios"
-sidebar_label: "Codebase Inspection"
-description: "Inspect codebases w/ pygount: LOC, languages, ratios"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Codebase Inspection
-
-Inspect codebases w/ pygount: LOC, languages, ratios.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/github/codebase-inspection` |
-| Version | `1.0.0` |
-| Author | Hermes Agent |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `LOC`, `Code Analysis`, `pygount`, `Codebase`, `Metrics`, `Repository` |
-| Related skills | [`github-repo-management`](./github-github-repo-management.md) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# Codebase Inspection with pygount
-
-Analyze repositories for lines of code, language breakdown, file counts, and code-vs-comment ratios using `pygount`.
-
-## When to Use
-
-- User asks for LOC (lines of code) count
-- User wants a language breakdown of a repo
-- User asks about codebase size or composition
-- User wants code-vs-comment ratios
-- General "how big is this repo" questions
-
-## Prerequisites
-
-```bash
-pip install --break-system-packages pygount 2>/dev/null || pip install pygount
-```
-
-## 1. Basic Summary (Most Common)
-
-Get a full language breakdown with file counts, code lines, and comment lines:
-
-```bash
-cd /path/to/repo
-pygount --format=summary \
- --folders-to-skip=".git,node_modules,venv,.venv,__pycache__,.cache,dist,build,.next,.tox,.eggs,*.egg-info" \
- .
-```
-
-**IMPORTANT:** Always use `--folders-to-skip` to exclude dependency/build directories, otherwise pygount will crawl them and take a very long time or hang.
-
-## 2. Common Folder Exclusions
-
-Adjust based on the project type:
-
-```bash
-# Python projects
---folders-to-skip=".git,venv,.venv,__pycache__,.cache,dist,build,.tox,.eggs,.mypy_cache"
-
-# JavaScript/TypeScript projects
---folders-to-skip=".git,node_modules,dist,build,.next,.cache,.turbo,coverage"
-
-# General catch-all
---folders-to-skip=".git,node_modules,venv,.venv,__pycache__,.cache,dist,build,.next,.tox,vendor,third_party"
-```
-
-## 3. Filter by Specific Language
-
-```bash
-# Only count Python files
-pygount --suffix=py --format=summary .
-
-# Only count Python and YAML
-pygount --suffix=py,yaml,yml --format=summary .
-```
-
-## 4. Detailed File-by-File Output
-
-```bash
-# Default format shows per-file breakdown
-pygount --folders-to-skip=".git,node_modules,venv" .
-
-# Sort by code lines (pipe through sort)
-pygount --folders-to-skip=".git,node_modules,venv" . | sort -t$'\t' -k1 -nr | head -20
-```
-
-## 5. Output Formats
-
-```bash
-# Summary table (default recommendation)
-pygount --format=summary .
-
-# JSON output for programmatic use
-pygount --format=json .
-
-# Pipe-friendly: Language, file count, code, docs, empty, string
-pygount --format=summary . 2>/dev/null
-```
-
-## 6. Interpreting Results
-
-The summary table columns:
-- **Language** — detected programming language
-- **Files** — number of files of that language
-- **Code** — lines of actual code (executable/declarative)
-- **Comment** — lines that are comments or documentation
-- **%** — percentage of total
-
-Special pseudo-languages:
-- `__empty__` — empty files
-- `__binary__` — binary files (images, compiled, etc.)
-- `__generated__` — auto-generated files (detected heuristically)
-- `__duplicate__` — files with identical content
-- `__unknown__` — unrecognized file types
-
-## Pitfalls
-
-1. **Always exclude .git, node_modules, venv** — without `--folders-to-skip`, pygount will crawl everything and may take minutes or hang on large dependency trees.
-2. **Markdown shows 0 code lines** — pygount classifies all Markdown content as comments, not code. This is expected behavior.
-3. **JSON files show low code counts** — pygount may count JSON lines conservatively. For accurate JSON line counts, use `wc -l` directly.
-4. **Large monorepos** — for very large repos, consider using `--suffix` to target specific languages rather than scanning everything.
diff --git a/website/docs/user-guide/skills/bundled/github/github-github-auth.md b/website/docs/user-guide/skills/bundled/github/github-github-auth.md
deleted file mode 100644
index 8b38d02d298..00000000000
--- a/website/docs/user-guide/skills/bundled/github/github-github-auth.md
+++ /dev/null
@@ -1,265 +0,0 @@
----
-title: "Github Auth — GitHub auth setup: HTTPS tokens, SSH keys, gh CLI login"
-sidebar_label: "Github Auth"
-description: "GitHub auth setup: HTTPS tokens, SSH keys, gh CLI login"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Github Auth
-
-GitHub auth setup: HTTPS tokens, SSH keys, gh CLI login.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/github/github-auth` |
-| Version | `1.1.0` |
-| Author | Hermes Agent |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `GitHub`, `Authentication`, `Git`, `gh-cli`, `SSH`, `Setup` |
-| Related skills | [`github-pr-workflow`](./github-github-pr-workflow.md), [`github-code-review`](./github-github-code-review.md), [`github-issues`](./github-github-issues.md), [`github-repo-management`](./github-github-repo-management.md) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# GitHub Authentication Setup
-
-This skill sets up authentication so the agent can work with GitHub repositories, PRs, issues, and CI. It covers two paths:
-
-- **`git` (always available)** — uses HTTPS personal access tokens or SSH keys
-- **`gh` CLI (if installed)** — richer GitHub API access with a simpler auth flow
-
-## Detection Flow
-
-When a user asks you to work with GitHub, run this check first:
-
-```bash
-# Check what's available
-git --version
-gh --version 2>/dev/null || echo "gh not installed"
-
-# Check if already authenticated
-gh auth status 2>/dev/null || echo "gh not authenticated"
-git config --global credential.helper 2>/dev/null || echo "no git credential helper"
-```
-
-**Decision tree:**
-1. If `gh auth status` shows authenticated → you're good, use `gh` for everything
-2. If `gh` is installed but not authenticated → use "gh auth" method below
-3. If `gh` is not installed → use "git-only" method below (no sudo needed)
-
----
-
-## Method 1: Git-Only Authentication (No gh, No sudo)
-
-This works on any machine with `git` installed. No root access needed.
-
-### Option A: HTTPS with Personal Access Token (Recommended)
-
-This is the most portable method — works everywhere, no SSH config needed.
-
-**Step 1: Create a personal access token**
-
-Tell the user to go to: **https://github.com/settings/tokens**
-
-- Click "Generate new token (classic)"
-- Give it a name like "hermes-agent"
-- Select scopes:
- - `repo` (full repository access — read, write, push, PRs)
- - `workflow` (trigger and manage GitHub Actions)
- - `read:org` (if working with organization repos)
-- Set expiration (90 days is a good default)
-- Copy the token — it won't be shown again
-
-**Step 2: Configure git to store the token**
-
-```bash
-# Set up the credential helper to cache credentials
-# "store" saves to ~/.git-credentials in plaintext (simple, persistent)
-git config --global credential.helper store
-
-# Now do a test operation that triggers auth — git will prompt for credentials
-# Username: <their-github-username>
-# Password: <paste the personal access token, NOT their GitHub password>
-git ls-remote https://github.com/<their-username>/<any-repo>.git
-```
-
-After entering credentials once, they're saved and reused for all future operations.
-
-**Alternative: cache helper (credentials expire from memory)**
-
-```bash
-# Cache in memory for 8 hours (28800 seconds) instead of saving to disk
-git config --global credential.helper 'cache --timeout=28800'
-```
-
-**Alternative: set the token directly in the remote URL (per-repo)**
-
-```bash
-# Embed token in the remote URL (avoids credential prompts entirely)
-git remote set-url origin https://<username>:<token>@github.com/<owner>/<repo>.git
-```
-
-**Step 3: Configure git identity**
-
-```bash
-# Required for commits — set name and email
-git config --global user.name "Their Name"
-git config --global user.email "[email protected]"
-```
-
-**Step 4: Verify**
-
-```bash
-# Test push access (this should work without any prompts now)
-git ls-remote https://github.com/<their-username>/<any-repo>.git
-
-# Verify identity
-git config --global user.name
-git config --global user.email
-```
-
-### Option B: SSH Key Authentication
-
-Good for users who prefer SSH or already have keys set up.
-
-**Step 1: Check for existing SSH keys**
-
-```bash
-ls -la ~/.ssh/id_*.pub 2>/dev/null || echo "No SSH keys found"
-```
-
-**Step 2: Generate a key if needed**
-
-```bash
-# Generate an ed25519 key (modern, secure, fast)
-ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/id_ed25519 -N ""
-
-# Display the public key for them to add to GitHub
-cat ~/.ssh/id_ed25519.pub
-```
-
-Tell the user to add the public key at: **https://github.com/settings/keys**
-- Click "New SSH key"
-- Paste the public key content
-- Give it a title like "hermes-agent-&lt;machine-name>"
-
-**Step 3: Test the connection**
-
-```bash
-# Expected: "Hi <username>! You've successfully authenticated..."
-```
-
-**Step 4: Configure git to use SSH for GitHub**
-
-```bash
-# Rewrite HTTPS GitHub URLs to SSH automatically
-git config --global url."[email protected]:".insteadOf "https://github.com/"
-```
-
-**Step 5: Configure git identity**
-
-```bash
-git config --global user.name "Their Name"
-git config --global user.email "[email protected]"
-```
-
----
-
-## Method 2: gh CLI Authentication
-
-If `gh` is installed, it handles both API access and git credentials in one step.
-
-### Interactive Browser Login (Desktop)
-
-```bash
-gh auth login
-# Select: GitHub.com
-# Select: HTTPS
-# Authenticate via browser
-```
-
-### Token-Based Login (Headless / SSH Servers)
-
-```bash
-echo "<THEIR_TOKEN>" | gh auth login --with-token
-
-# Set up git credentials through gh
-gh auth setup-git
-```
-
-### Verify
-
-```bash
-gh auth status
-```
-
----
-
-## Using the GitHub API Without gh
-
-When `gh` is not available, you can still access the full GitHub API using `curl` with a personal access token. This is how the other GitHub skills implement their fallbacks.
-
-### Setting the Token for API Calls
-
-```bash
-# Option 1: Export as env var (preferred — keeps it out of commands)
-export GITHUB_TOKEN="<token>"
-
-# Then use in curl calls:
-curl -s -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/user
-```
-
-### Extracting the Token from Git Credentials
-
-If git credentials are already configured (via credential.helper store), the token can be extracted:
-
-```bash
-# Read from git credential store
-uv run python3 "${HERMES_HOME:-$HOME/.hermes}/skills/github/github-auth/scripts/git-credential-token.py"
-```
-
-### Helper: Detect Auth Method
-
-Use this pattern at the start of any GitHub workflow:
-
-```bash
-# Try gh first, fall back to git + curl
-if command -v gh &>/dev/null && gh auth status &>/dev/null; then
- echo "AUTH_METHOD=gh"
-elif [ -n "$GITHUB_TOKEN" ]; then
- echo "AUTH_METHOD=curl"
-elif _hermes_env="${HERMES_HOME:-$HOME/.hermes}/.env"; [ -f "$_hermes_env" ] && grep -q "^GITHUB_TOKEN=" "$_hermes_env"; then
- export GITHUB_TOKEN=$(grep "^GITHUB_TOKEN=" "$_hermes_env" | head -1 | cut -d= -f2 | tr -d '\n\r')
- echo "AUTH_METHOD=curl"
-elif grep -q "github.com" ~/.git-credentials 2>/dev/null; then
- export GITHUB_TOKEN=$(uv run python3 "${HERMES_HOME:-$HOME/.hermes}/skills/github/github-auth/scripts/git-credential-token.py")
- echo "AUTH_METHOD=curl"
-else
- echo "AUTH_METHOD=none"
- echo "Need to set up authentication first"
-fi
-```
-
----
-
-## Troubleshooting
-
-| Problem | Solution |
-|---------|----------|
-| `git push` asks for password | GitHub disabled password auth. Use a personal access token as the password, or switch to SSH |
-| `remote: Permission to X denied` | Token may lack `repo` scope — regenerate with correct scopes |
-| `fatal: Authentication failed` | Cached credentials may be stale — run `git credential reject` then re-authenticate |
-| `ssh: connect to host github.com port 22: Connection refused` | Try SSH over HTTPS port: add `Host github.com` with `Port 443` and `Hostname ssh.github.com` to `~/.ssh/config` |
-| Credentials not persisting | Check `git config --global credential.helper` — must be `store` or `cache` |
-| Multiple GitHub accounts | Use SSH with different keys per host alias in `~/.ssh/config`, or per-repo credential URLs |
-| `gh: command not found` + no sudo | Use git-only Method 1 above — no installation needed |
diff --git a/website/docs/user-guide/skills/bundled/github/github-github-code-review.md b/website/docs/user-guide/skills/bundled/github/github-github-code-review.md
deleted file mode 100644
index 86d33180dab..00000000000
--- a/website/docs/user-guide/skills/bundled/github/github-github-code-review.md
+++ /dev/null
@@ -1,499 +0,0 @@
----
-title: "Github Code Review — Review PRs: diffs, inline comments via gh or REST"
-sidebar_label: "Github Code Review"
-description: "Review PRs: diffs, inline comments via gh or REST"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Github Code Review
-
-Review PRs: diffs, inline comments via gh or REST.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/github/github-code-review` |
-| Version | `1.1.0` |
-| Author | Hermes Agent |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `GitHub`, `Code-Review`, `Pull-Requests`, `Git`, `Quality` |
-| Related skills | [`github-auth`](./github-github-auth.md), [`github-pr-workflow`](./github-github-pr-workflow.md) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# GitHub Code Review
-
-Perform code reviews on local changes before pushing, or review open PRs on GitHub. Most of this skill uses plain `git` — the `gh`/`curl` split only matters for PR-level interactions.
-
-## Prerequisites
-
-- Authenticated with GitHub (see `github-auth` skill)
-- Inside a git repository
-
-### Setup (for PR interactions)
-
-```bash
-if command -v gh &>/dev/null && gh auth status &>/dev/null; then
- AUTH="gh"
-else
- AUTH="git"
- if [ -z "$GITHUB_TOKEN" ]; then
- if _hermes_env="${HERMES_HOME:-$HOME/.hermes}/.env"; [ -f "$_hermes_env" ] && grep -q "^GITHUB_TOKEN=" "$_hermes_env"; then
- GITHUB_TOKEN=$(grep "^GITHUB_TOKEN=" "$_hermes_env" | head -1 | cut -d= -f2 | tr -d '\n\r')
- elif grep -q "github.com" ~/.git-credentials 2>/dev/null; then
- GITHUB_TOKEN=$(uv run python3 "${HERMES_HOME:-$HOME/.hermes}/skills/github/github-auth/scripts/git-credential-token.py")
- fi
- fi
-fi
-
-REMOTE_URL=$(git remote get-url origin)
-OWNER_REPO=$(echo "$REMOTE_URL" | sed -E 's|.*github\.com[:/]||; s|\.git$||')
-OWNER=$(echo "$OWNER_REPO" | cut -d/ -f1)
-REPO=$(echo "$OWNER_REPO" | cut -d/ -f2)
-```
-
----
-
-## 1. Reviewing Local Changes (Pre-Push)
-
-This is pure `git` — works everywhere, no API needed.
-
-### Get the Diff
-
-```bash
-# Staged changes (what would be committed)
-git diff --staged
-
-# All changes vs main (what a PR would contain)
-git diff main...HEAD
-
-# File names only
-git diff main...HEAD --name-only
-
-# Stat summary (insertions/deletions per file)
-git diff main...HEAD --stat
-```
-
-### Review Strategy
-
-1. **Get the big picture first:**
-
-```bash
-git diff main...HEAD --stat
-git log main..HEAD --oneline
-```
-
-2. **Review file by file** — use `read_file` on changed files for full context, and the diff to see what changed:
-
-```bash
-git diff main...HEAD -- src/auth/login.py
-```
-
-3. **Check for common issues:**
-
-```bash
-# Debug statements, TODOs, console.logs left behind
-git diff main...HEAD | grep -n "print(\|console\.log\|TODO\|FIXME\|HACK\|XXX\|debugger"
-
-# Large files accidentally staged
-git diff main...HEAD --stat | sort -t'|' -k2 -rn | head -10
-
-# Secrets or credential patterns
-git diff main...HEAD | grep -in "password\|secret\|api_key\|token.*=\|private_key"
-
-# Merge conflict markers
-git diff main...HEAD | grep -n "<<<<<<\|>>>>>>\|======="
-```
-
-4. **Present structured feedback** to the user.
-
-### Review Output Format
-
-When reviewing local changes, present findings in this structure:
-
-```
-## Code Review Summary
-
-### Critical
-- **src/auth.py:45** — SQL injection: user input passed directly to query.
- Suggestion: Use parameterized queries.
-
-### Warnings
-- **src/models/user.py:23** — Password stored in plaintext. Use bcrypt or argon2.
-- **src/api/routes.py:112** — No rate limiting on login endpoint.
-
-### Suggestions
-- **src/utils/helpers.py:8** — Duplicates logic in `src/core/utils.py:34`. Consolidate.
-- **tests/test_auth.py** — Missing edge case: expired token test.
-
-### Looks Good
-- Clean separation of concerns in the middleware layer
-- Good test coverage for the happy path
-```
-
----
-
-## 2. Reviewing a Pull Request on GitHub
-
-### View PR Details
-
-**With gh:**
-
-```bash
-gh pr view 123
-gh pr diff 123
-gh pr diff 123 --name-only
-```
-
-**With git + curl:**
-
-```bash
-PR_NUMBER=123
-
-# Get PR details
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/pulls/$PR_NUMBER \
- | python3 -c "
-import sys, json
-pr = json.load(sys.stdin)
-print(f\"Title: {pr['title']}\")
-print(f\"Author: {pr['user']['login']}\")
-print(f\"Branch: {pr['head']['ref']} -> {pr['base']['ref']}\")
-print(f\"State: {pr['state']}\")
-print(f\"Body:\n{pr['body']}\")"
-
-# List changed files
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/pulls/$PR_NUMBER/files \
- | python3 -c "
-import sys, json
-for f in json.load(sys.stdin):
- print(f\"{f['status']:10} +{f['additions']:-4} -{f['deletions']:-4} {f['filename']}\")"
-```
-
-### Check Out PR Locally for Full Review
-
-This works with plain `git` — no `gh` needed:
-
-```bash
-# Fetch the PR branch and check it out
-git fetch origin pull/123/head:pr-123
-git checkout pr-123
-
-# Now you can use read_file, search_files, run tests, etc.
-
-# View diff against the base branch
-git diff main...pr-123
-```
-
-**With gh (shortcut):**
-
-```bash
-gh pr checkout 123
-```
-
-### Leave Comments on a PR
-
-**General PR comment — with gh:**
-
-```bash
-gh pr comment 123 --body "Overall looks good, a few suggestions below."
-```
-
-**General PR comment — with curl:**
-
-```bash
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/issues/$PR_NUMBER/comments \
- -d '{"body": "Overall looks good, a few suggestions below."}'
-```
-
-### Leave Inline Review Comments
-
-**Single inline comment — with gh (via API):**
-
-```bash
-HEAD_SHA=$(gh pr view 123 --json headRefOid --jq '.headRefOid')
-
-gh api repos/$OWNER/$REPO/pulls/123/comments \
- --method POST \
- -f body="This could be simplified with a list comprehension." \
- -f path="src/auth/login.py" \
- -f commit_id="$HEAD_SHA" \
- -f line=45 \
- -f side="RIGHT"
-```
-
-**Single inline comment — with curl:**
-
-```bash
-# Get the head commit SHA
-HEAD_SHA=$(curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/pulls/$PR_NUMBER \
- | python3 -c "import sys,json; print(json.load(sys.stdin)['head']['sha'])")
-
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/pulls/$PR_NUMBER/comments \
- -d "{
- \"body\": \"This could be simplified with a list comprehension.\",
- \"path\": \"src/auth/login.py\",
- \"commit_id\": \"$HEAD_SHA\",
- \"line\": 45,
- \"side\": \"RIGHT\"
- }"
-```
-
-### Submit a Formal Review (Approve / Request Changes)
-
-**With gh:**
-
-```bash
-gh pr review 123 --approve --body "LGTM!"
-gh pr review 123 --request-changes --body "See inline comments."
-gh pr review 123 --comment --body "Some suggestions, nothing blocking."
-```
-
-**With curl — multi-comment review submitted atomically:**
-
-```bash
-HEAD_SHA=$(curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/pulls/$PR_NUMBER \
- | python3 -c "import sys,json; print(json.load(sys.stdin)['head']['sha'])")
-
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/pulls/$PR_NUMBER/reviews \
- -d "{
- \"commit_id\": \"$HEAD_SHA\",
- \"event\": \"COMMENT\",
- \"body\": \"Code review from Hermes Agent\",
- \"comments\": [
- {\"path\": \"src/auth.py\", \"line\": 45, \"body\": \"Use parameterized queries to prevent SQL injection.\"},
- {\"path\": \"src/models/user.py\", \"line\": 23, \"body\": \"Hash passwords with bcrypt before storing.\"},
- {\"path\": \"tests/test_auth.py\", \"line\": 1, \"body\": \"Add test for expired token edge case.\"}
- ]
- }"
-```
-
-Event values: `"APPROVE"`, `"REQUEST_CHANGES"`, `"COMMENT"`
-
-The `line` field refers to the line number in the *new* version of the file. For deleted lines, use `"side": "LEFT"`.
-
----
-
-## 3. Review Checklist
-
-When performing a code review (local or PR), systematically check:
-
-### Correctness
-- Does the code do what it claims?
-- Edge cases handled (empty inputs, nulls, large data, concurrent access)?
-- Error paths handled gracefully?
-
-### Security
-- No hardcoded secrets, credentials, or API keys
-- Input validation on user-facing inputs
-- No SQL injection, XSS, or path traversal
-- Auth/authz checks where needed
-
-### Code Quality
-- Clear naming (variables, functions, classes)
-- No unnecessary complexity or premature abstraction
-- DRY — no duplicated logic that should be extracted
-- Functions are focused (single responsibility)
-
-### Testing
-- New code paths tested?
-- Happy path and error cases covered?
-- Tests readable and maintainable?
-
-### Performance
-- No N+1 queries or unnecessary loops
-- Appropriate caching where beneficial
-- No blocking operations in async code paths
-
-### Documentation
-- Public APIs documented
-- Non-obvious logic has comments explaining "why"
-- README updated if behavior changed
-
----
-
-## 4. Pre-Push Review Workflow
-
-When the user asks you to "review the code" or "check before pushing":
-
-1. `git diff main...HEAD --stat` — see scope of changes
-2. `git diff main...HEAD` — read the full diff
-3. For each changed file, use `read_file` if you need more context
-4. Apply the checklist above
-5. Present findings in the structured format (Critical / Warnings / Suggestions / Looks Good)
-6. If critical issues found, offer to fix them before the user pushes
-
----
-
-## 5. PR Review Workflow (End-to-End)
-
-When the user asks you to "review PR #N", "look at this PR", or gives you a PR URL, follow this recipe:
-
-### Step 1: Set up environment
-
-```bash
-source "${HERMES_HOME:-$HOME/.hermes}/skills/github/github-auth/scripts/gh-env.sh"
-# Or run the inline setup block from the top of this skill
-```
-
-### Step 2: Gather PR context
-
-Get the PR metadata, description, and list of changed files to understand scope before diving into code.
-
-**With gh:**
-```bash
-gh pr view 123
-gh pr diff 123 --name-only
-gh pr checks 123
-```
-
-**With curl:**
-```bash
-PR_NUMBER=123
-
-# PR details (title, author, description, branch)
-curl -s -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$GH_OWNER/$GH_REPO/pulls/$PR_NUMBER
-
-# Changed files with line counts
-curl -s -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$GH_OWNER/$GH_REPO/pulls/$PR_NUMBER/files
-```
-
-### Step 3: Check out the PR locally
-
-This gives you full access to `read_file`, `search_files`, and the ability to run tests.
-
-```bash
-git fetch origin pull/$PR_NUMBER/head:pr-$PR_NUMBER
-git checkout pr-$PR_NUMBER
-```
-
-### Step 4: Read the diff and understand changes
-
-```bash
-# Full diff against the base branch
-git diff main...HEAD
-
-# Or file-by-file for large PRs
-git diff main...HEAD --name-only
-# Then for each file:
-git diff main...HEAD -- path/to/file.py
-```
-
-For each changed file, use `read_file` to see full context around the changes — diffs alone can miss issues visible only with surrounding code.
-
-### Step 5: Run automated checks locally (if applicable)
-
-```bash
-# Run tests if there's a test suite
-python -m pytest 2>&1 | tail -20
-# or: npm test, cargo test, go test ./..., etc.
-
-# Run linter if configured
-ruff check . 2>&1 | head -30
-# or: eslint, clippy, etc.
-```
-
-### Step 6: Apply the review checklist (Section 3)
-
-Go through each category: Correctness, Security, Code Quality, Testing, Performance, Documentation.
-
-### Step 7: Post the review to GitHub
-
-Collect your findings and submit them as a formal review with inline comments.
-
-**With gh:**
-```bash
-# If no issues — approve
-gh pr review $PR_NUMBER --approve --body "Reviewed by Hermes Agent. Code looks clean — good test coverage, no security concerns."
-
-# If issues found — request changes with inline comments
-gh pr review $PR_NUMBER --request-changes --body "Found a few issues — see inline comments."
-```
-
-**With curl — atomic review with multiple inline comments:**
-```bash
-HEAD_SHA=$(curl -s -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$GH_OWNER/$GH_REPO/pulls/$PR_NUMBER \
- | python3 -c "import sys,json; print(json.load(sys.stdin)['head']['sha'])")
-
-# Build the review JSON — event is APPROVE, REQUEST_CHANGES, or COMMENT
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$GH_OWNER/$GH_REPO/pulls/$PR_NUMBER/reviews \
- -d "{
- \"commit_id\": \"$HEAD_SHA\",
- \"event\": \"REQUEST_CHANGES\",
- \"body\": \"## Hermes Agent Review\n\nFound 2 issues, 1 suggestion. See inline comments.\",
- \"comments\": [
- {\"path\": \"src/auth.py\", \"line\": 45, \"body\": \"🔴 **Critical:** User input passed directly to SQL query — use parameterized queries.\"},
- {\"path\": \"src/models.py\", \"line\": 23, \"body\": \"⚠️ **Warning:** Password stored without hashing.\"},
- {\"path\": \"src/utils.py\", \"line\": 8, \"body\": \"💡 **Suggestion:** This duplicates logic in core/utils.py:34.\"}
- ]
- }"
-```
-
-### Step 8: Also post a summary comment
-
-In addition to inline comments, leave a top-level summary so the PR author gets the full picture at a glance. Use the review output format from `references/review-output-template.md`.
-
-**With gh:**
-```bash
-gh pr comment $PR_NUMBER --body "$(cat <<'EOF'
-## Code Review Summary
-
-**Verdict: Changes Requested** (2 issues, 1 suggestion)
-
-### 🔴 Critical
-- **src/auth.py:45** — SQL injection vulnerability
-
-### ⚠️ Warnings
-- **src/models.py:23** — Plaintext password storage
-
-### 💡 Suggestions
-- **src/utils.py:8** — Duplicated logic, consider consolidating
-
-### ✅ Looks Good
-- Clean API design
-- Good error handling in the middleware layer
-
----
-*Reviewed by Hermes Agent*
-EOF
-)"
-```
-
-### Step 9: Clean up
-
-```bash
-git checkout main
-git branch -D pr-$PR_NUMBER
-```
-
-### Decision: Approve vs Request Changes vs Comment
-
-- **Approve** — no critical or warning-level issues, only minor suggestions or all clear
-- **Request Changes** — any critical or warning-level issue that should be fixed before merge
-- **Comment** — observations and suggestions, but nothing blocking (use when you're unsure or the PR is a draft)
diff --git a/website/docs/user-guide/skills/bundled/github/github-github-issue-to-pr.md b/website/docs/user-guide/skills/bundled/github/github-github-issue-to-pr.md
deleted file mode 100644
index dd60127115d..00000000000
--- a/website/docs/user-guide/skills/bundled/github/github-github-issue-to-pr.md
+++ /dev/null
@@ -1,95 +0,0 @@
----
-title: "Github Issue To Pr — Carry a GitHub issue to a verified PR with honest CI state"
-sidebar_label: "Github Issue To Pr"
-description: "Carry a GitHub issue to a verified PR with honest CI state"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Github Issue To Pr
-
-Carry a GitHub issue to a verified PR with honest CI state.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/github/github-issue-to-pr` |
-| Version | `0.1.0` |
-| Author | Ben Barclay (benbarclay), Hermes Agent |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `GitHub`, `Issues`, `Coding`, `Pull-Requests`, `CI` |
-| Related skills | [`github-issues`](./github-github-issues.md), [`github-pr-workflow`](./github-github-pr-workflow.md), [`systematic-debugging`](../software-development/software-development-systematic-debugging.md), [`test-driven-development`](../software-development/software-development-test-driven-development.md), [`requesting-code-review`](../software-development/software-development-requesting-code-review.md) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# GitHub Issue to Pull Request
-
-Turn a GitHub issue into a tested, verified PR. This skill owns the end-to-end discipline — premise validation, duplicate sweeps, class-level fixes, and honest CI reporting; the sibling GitHub and development skills own their own mechanics.
-
-## When to Use
-
-- "Fix issue #123 and open a PR."
-- "Implement this GitHub feature request."
-- "Take this bug from issue to green CI."
-
-Don't use for: reviewing an existing PR, or answering a code question with no requested change.
-
-## Procedure
-
-### 1. Read the live issue — body AND full thread
-
-Use `terminal` to run `gh issue view <N> --comments`. The body is a snapshot from filing time; the newest comments carry the live state: partial fixes already merged, new root-cause analyses, maintainer decisions, or questions directed at you that change the task. Also read repository instructions (`AGENTS.md`, contribution docs) with `read_file`. Done when the currently requested behavior, non-goals, and any unanswered thread questions are known.
-
-### 2. Sweep for existing and duplicate work
-
-Before writing anything, run `gh pr list --search "#<N>" --state all` plus at least two keyword/synonym variants of the symptom (`gh pr list --search "<subsystem> <symptom>" --state open`). Popular issues attract multiple independent fixes; building a duplicate wastes the work and the credit. Also check whether a recent commit already fixed it: `git log --oneline -20 -- <relevant files>`. Done when you know every open PR and recent commit touching this issue, or that none exist.
-
-### 3. Validate the premise against current code — and against design intent
-
-Reproduce the bug or demonstrate the missing behavior on the current default branch with a failing test or fixture, using `search_files` and `read_file` to trace the reported path. Then check the second question: is the "bug" actually deliberate design? Run `git log -p -S "<symbol>"` on the code the issue wants changed and read the original commit's intent — a missing link or restriction is often the feature. Challenge stale or flawed issue prose instead of implementing it blindly. Done when the root cause or feature gap is demonstrated in current code AND the change doesn't fight an intentional design.
-
-### 4. Define acceptance and risk
-
-List acceptance criteria, interfaces, migrations/state changes, compatibility, security/privacy, rollout, and rollback. Map every criterion to a test or explicit verification. Done when review has a finite contract.
-
-### 5. Implement the smallest complete change — and fix the class
-
-Work on an isolated branch or worktree, loading `systematic-debugging` or `test-driven-development` when the bug class calls for them. Add regression tests first, then implement. When the fix is in hand, `search_files` for the same bug shape at sibling call sites and fix the whole class in this PR — an incomplete fix that leaves known siblings broken is worse than none. Every changed line must trace to the issue; no drive-by cleanup. Done when targeted tests pass, the original failure no longer reproduces, and sibling sites are fixed or explicitly ruled out.
-
-### 6. Prove the regression test bites (sabotage run)
-
-Temporarily restore the old behavior of the exact function under test, run the new test, and confirm it FAILS; then restore the fix and confirm it passes. A regression test that passes with and without the fix proves nothing. Done when the test demonstrably fails on pre-fix code.
-
-### 7. Run repository quality gates, then open the PR immediately
-
-Run the formatter, lint, typecheck, and the repo's canonical test entrypoint on affected areas; use `requesting-code-review` on the diff. Then push and open the PR right away — the PR is what dispatches CI, and CI latency is the long pole; do not sit on finished work. Load `github-pr-workflow` for PR mechanics: conventional branch/commit, body linking the issue with problem, approach, tests, risk, and exclusions. Read the PR back and verify head SHA, base, title, and files. Done when the PR exists with the intended diff and CI is running.
-
-### 8. Shepherd CI honestly and close the loop
-
-Inspect live checks and failure logs via `gh pr checks` / `gh run view --log-failed`. Distinguish failures introduced by your diff from pre-existing baseline or infrastructure failures — reproduce on the default branch when unsure, and rerun once only for genuine infra flakes. Never say "green," "merged," or "released" without live evidence of that exact state. When the PR lands, comment on the issue with the PR link and a one-line explanation so the reporter gets a traceable resolution. Done when CI state, remaining blockers, and the issue thread all reflect reality.
-
-## Pitfalls
-
-- Coding before reading issue comments, sweeping for duplicate PRs, or reading current code.
-- "Fixing" behavior that the original commit shows is intentional design.
-- Fixing a symptom at one call site while sibling sites keep the same bug.
-- Shipping a regression test that also passes without the fix.
-- Opening a PR with unrun tests or unrelated formatting churn.
-- Claiming the issue is delivered because a PR exists.
-
-## Verification
-
-- [ ] Full issue thread read; newest comment state reflected in the plan.
-- [ ] Duplicate-PR sweep run with issue number + 2 keyword variants.
-- [ ] Premise reproduced on current code; design intent checked via git history.
-- [ ] Regression test proven to fail without the fix.
-- [ ] Sibling call sites fixed or explicitly ruled out.
-- [ ] Every changed line traces to the issue.
-- [ ] CI state reported from live evidence only; issue commented with the PR link.
diff --git a/website/docs/user-guide/skills/bundled/github/github-github-issues.md b/website/docs/user-guide/skills/bundled/github/github-github-issues.md
deleted file mode 100644
index 917311fb10c..00000000000
--- a/website/docs/user-guide/skills/bundled/github/github-github-issues.md
+++ /dev/null
@@ -1,388 +0,0 @@
----
-title: "Github Issues — Create, triage, label, assign GitHub issues via gh or REST"
-sidebar_label: "Github Issues"
-description: "Create, triage, label, assign GitHub issues via gh or REST"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Github Issues
-
-Create, triage, label, assign GitHub issues via gh or REST.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/github/github-issues` |
-| Version | `1.1.0` |
-| Author | Hermes Agent |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `GitHub`, `Issues`, `Project-Management`, `Bug-Tracking`, `Triage` |
-| Related skills | [`github-auth`](./github-github-auth.md), [`github-pr-workflow`](./github-github-pr-workflow.md) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# GitHub Issues Management
-
-Create, search, triage, and manage GitHub issues. Each section shows `gh` first, then the `curl` fallback.
-
-## Prerequisites
-
-- Authenticated with GitHub (see `github-auth` skill)
-- Inside a git repo with a GitHub remote, or specify the repo explicitly
-
-### Setup
-
-```bash
-if command -v gh &>/dev/null && gh auth status &>/dev/null; then
- AUTH="gh"
-else
- AUTH="git"
- if [ -z "$GITHUB_TOKEN" ]; then
- if _hermes_env="${HERMES_HOME:-$HOME/.hermes}/.env"; [ -f "$_hermes_env" ] && grep -q "^GITHUB_TOKEN=" "$_hermes_env"; then
- GITHUB_TOKEN=$(grep "^GITHUB_TOKEN=" "$_hermes_env" | head -1 | cut -d= -f2 | tr -d '\n\r')
- elif grep -q "github.com" ~/.git-credentials 2>/dev/null; then
- GITHUB_TOKEN=$(uv run python3 "${HERMES_HOME:-$HOME/.hermes}/skills/github/github-auth/scripts/git-credential-token.py")
- fi
- fi
-fi
-
-REMOTE_URL=$(git remote get-url origin)
-OWNER_REPO=$(echo "$REMOTE_URL" | sed -E 's|.*github\.com[:/]||; s|\.git$||')
-OWNER=$(echo "$OWNER_REPO" | cut -d/ -f1)
-REPO=$(echo "$OWNER_REPO" | cut -d/ -f2)
-```
-
----
-
-## 1. Viewing Issues
-
-**With gh:**
-
-```bash
-gh issue list
-gh issue list --state open --label "bug"
-gh issue list --assignee @me
-gh issue list --search "authentication error" --state all
-gh issue view 42
-```
-
-**With curl:**
-
-```bash
-# List open issues
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- "https://api.github.com/repos/$OWNER/$REPO/issues?state=open&per_page=20" \
- | python3 -c "
-import sys, json
-for i in json.load(sys.stdin):
- if 'pull_request' not in i: # GitHub API returns PRs in /issues too
- labels = ', '.join(l['name'] for l in i['labels'])
- print(f\"#{i['number']:5} {i['state']:6} {labels:30} {i['title']}\")"
-
-# Filter by label
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- "https://api.github.com/repos/$OWNER/$REPO/issues?state=open&labels=bug&per_page=20" \
- | python3 -c "
-import sys, json
-for i in json.load(sys.stdin):
- if 'pull_request' not in i:
- print(f\"#{i['number']} {i['title']}\")"
-
-# View a specific issue
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/issues/42 \
- | python3 -c "
-import sys, json
-i = json.load(sys.stdin)
-labels = ', '.join(l['name'] for l in i['labels'])
-assignees = ', '.join(a['login'] for a in i['assignees'])
-print(f\"#{i['number']}: {i['title']}\")
-print(f\"State: {i['state']} Labels: {labels} Assignees: {assignees}\")
-print(f\"Author: {i['user']['login']} Created: {i['created_at']}\")
-print(f\"\n{i['body']}\")"
-
-# Search issues
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- "https://api.github.com/search/issues?q=authentication+error+repo:$OWNER/$REPO" \
- | python3 -c "
-import sys, json
-for i in json.load(sys.stdin)['items']:
- print(f\"#{i['number']} {i['state']:6} {i['title']}\")"
-```
-
-## 2. Creating Issues
-
-**With gh:**
-
-```bash
-gh issue create \
- --title "Login redirect ignores ?next= parameter" \
- --body "## Description
-After logging in, users always land on /dashboard.
-
-## Steps to Reproduce
-1. Navigate to /settings while logged out
-2. Get redirected to /login?next=/settings
-3. Log in
-4. Actual: redirected to /dashboard (should go to /settings)
-
-## Expected Behavior
-Respect the ?next= query parameter." \
- --label "bug,backend" \
- --assignee "username"
-```
-
-**With curl:**
-
-```bash
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/issues \
- -d '{
- "title": "Login redirect ignores ?next= parameter",
- "body": "## Description\nAfter logging in, users always land on /dashboard.\n\n## Steps to Reproduce\n1. Navigate to /settings while logged out\n2. Get redirected to /login?next=/settings\n3. Log in\n4. Actual: redirected to /dashboard\n\n## Expected Behavior\nRespect the ?next= query parameter.",
- "labels": ["bug", "backend"],
- "assignees": ["username"]
- }'
-```
-
-### Bug Report Template
-
-```
-## Bug Description
-<What's happening>
-
-## Steps to Reproduce
-1. <step>
-2. <step>
-
-## Expected Behavior
-<What should happen>
-
-## Actual Behavior
-<What actually happens>
-
-## Environment
-- OS: <os>
-- Version: <version>
-```
-
-### Feature Request Template
-
-```
-## Feature Description
-<What you want>
-
-## Motivation
-<Why this would be useful>
-
-## Proposed Solution
-<How it could work>
-
-## Alternatives Considered
-<Other approaches>
-```
-
-## 3. Managing Issues
-
-### Add/Remove Labels
-
-**With gh:**
-
-```bash
-gh issue edit 42 --add-label "priority:high,bug"
-gh issue edit 42 --remove-label "needs-triage"
-```
-
-**With curl:**
-
-```bash
-# Add labels
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/issues/42/labels \
- -d '{"labels": ["priority:high", "bug"]}'
-
-# Remove a label
-curl -s -X DELETE \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/issues/42/labels/needs-triage
-
-# List available labels in the repo
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/labels \
- | python3 -c "
-import sys, json
-for l in json.load(sys.stdin):
- print(f\" {l['name']:30} {l.get('description', '')}\")"
-```
-
-### Assignment
-
-**With gh:**
-
-```bash
-gh issue edit 42 --add-assignee username
-gh issue edit 42 --add-assignee @me
-```
-
-**With curl:**
-
-```bash
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/issues/42/assignees \
- -d '{"assignees": ["username"]}'
-```
-
-### Commenting
-
-**With gh:**
-
-```bash
-gh issue comment 42 --body "Investigated — root cause is in auth middleware. Working on a fix."
-```
-
-**With curl:**
-
-```bash
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/issues/42/comments \
- -d '{"body": "Investigated — root cause is in auth middleware. Working on a fix."}'
-```
-
-### Closing and Reopening
-
-**With gh:**
-
-```bash
-gh issue close 42
-gh issue close 42 --reason "not planned"
-gh issue reopen 42
-```
-
-**With curl:**
-
-```bash
-# Close
-curl -s -X PATCH \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/issues/42 \
- -d '{"state": "closed", "state_reason": "completed"}'
-
-# Reopen
-curl -s -X PATCH \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/issues/42 \
- -d '{"state": "open"}'
-```
-
-### Linking Issues to PRs
-
-Issues are automatically closed when a PR merges with the right keywords in the body:
-
-```
-Closes #42
-Fixes #42
-Resolves #42
-```
-
-To create a branch from an issue:
-
-**With gh:**
-
-```bash
-gh issue develop 42 --checkout
-```
-
-**With git (manual equivalent):**
-
-```bash
-git checkout main && git pull origin main
-git checkout -b fix/issue-42-login-redirect
-```
-
-## 4. Issue Triage Workflow
-
-When asked to triage issues:
-
-1. **List untriaged issues:**
-
-```bash
-# With gh
-gh issue list --label "needs-triage" --state open
-
-# With curl
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- "https://api.github.com/repos/$OWNER/$REPO/issues?labels=needs-triage&state=open" \
- | python3 -c "
-import sys, json
-for i in json.load(sys.stdin):
- if 'pull_request' not in i:
- print(f\"#{i['number']} {i['title']}\")"
-```
-
-2. **Read and categorize** each issue (view details, understand the bug/feature)
-
-3. **Apply labels and priority** (see Managing Issues above)
-
-4. **Assign** if the owner is clear
-
-5. **Comment with triage notes** if needed
-
-## 5. Bulk Operations
-
-For batch operations, combine API calls with shell scripting:
-
-**With gh:**
-
-```bash
-# Close all issues with a specific label
-gh issue list --label "wontfix" --json number --jq '.[].number' | \
- xargs -I {} gh issue close {} --reason "not planned"
-```
-
-**With curl:**
-
-```bash
-# List issue numbers with a label, then close each
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- "https://api.github.com/repos/$OWNER/$REPO/issues?labels=wontfix&state=open" \
- | python3 -c "import sys,json; [print(i['number']) for i in json.load(sys.stdin)]" \
- | while read num; do
- curl -s -X PATCH \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/issues/$num \
- -d '{"state": "closed", "state_reason": "not_planned"}'
- echo "Closed #$num"
- done
-```
-
-## Quick Reference Table
-
-| Action | gh | curl endpoint |
-|--------|-----|--------------|
-| List issues | `gh issue list` | `GET /repos/{o}/{r}/issues` |
-| View issue | `gh issue view N` | `GET /repos/{o}/{r}/issues/N` |
-| Create issue | `gh issue create ...` | `POST /repos/{o}/{r}/issues` |
-| Add labels | `gh issue edit N --add-label ...` | `POST /repos/{o}/{r}/issues/N/labels` |
-| Assign | `gh issue edit N --add-assignee ...` | `POST /repos/{o}/{r}/issues/N/assignees` |
-| Comment | `gh issue comment N --body ...` | `POST /repos/{o}/{r}/issues/N/comments` |
-| Close | `gh issue close N` | `PATCH /repos/{o}/{r}/issues/N` |
-| Search | `gh issue list --search "..."` | `GET /search/issues?q=...` |
diff --git a/website/docs/user-guide/skills/bundled/github/github-github-pr-workflow.md b/website/docs/user-guide/skills/bundled/github/github-github-pr-workflow.md
deleted file mode 100644
index c1691878535..00000000000
--- a/website/docs/user-guide/skills/bundled/github/github-github-pr-workflow.md
+++ /dev/null
@@ -1,385 +0,0 @@
----
-title: "Github Pr Workflow — GitHub PR lifecycle: branch, commit, open, CI, merge"
-sidebar_label: "Github Pr Workflow"
-description: "GitHub PR lifecycle: branch, commit, open, CI, merge"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Github Pr Workflow
-
-GitHub PR lifecycle: branch, commit, open, CI, merge.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/github/github-pr-workflow` |
-| Version | `1.1.0` |
-| Author | Hermes Agent |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `GitHub`, `Pull-Requests`, `CI/CD`, `Git`, `Automation`, `Merge` |
-| Related skills | [`github-auth`](./github-github-auth.md), [`github-code-review`](./github-github-code-review.md) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# GitHub Pull Request Workflow
-
-Complete guide for managing the PR lifecycle. Each section shows the `gh` way first, then the `git` + `curl` fallback for machines without `gh`.
-
-## Prerequisites
-
-- Authenticated with GitHub (see `github-auth` skill)
-- Inside a git repository with a GitHub remote
-
-### Quick Auth Detection
-
-```bash
-# Determine which method to use throughout this workflow
-if command -v gh &>/dev/null && gh auth status &>/dev/null; then
- AUTH="gh"
-else
- AUTH="git"
- # Ensure we have a token for API calls
- if [ -z "$GITHUB_TOKEN" ]; then
- if _hermes_env="${HERMES_HOME:-$HOME/.hermes}/.env"; [ -f "$_hermes_env" ] && grep -q "^GITHUB_TOKEN=" "$_hermes_env"; then
- GITHUB_TOKEN=$(grep "^GITHUB_TOKEN=" "$_hermes_env" | head -1 | cut -d= -f2 | tr -d '\n\r')
- elif grep -q "github.com" ~/.git-credentials 2>/dev/null; then
- GITHUB_TOKEN=$(uv run python3 "${HERMES_HOME:-$HOME/.hermes}/skills/github/github-auth/scripts/git-credential-token.py")
- fi
- fi
-fi
-echo "Using: $AUTH"
-```
-
-### Extracting Owner/Repo from the Git Remote
-
-Many `curl` commands need `owner/repo`. Extract it from the git remote:
-
-```bash
-# Works for both HTTPS and SSH remote URLs
-REMOTE_URL=$(git remote get-url origin)
-OWNER_REPO=$(echo "$REMOTE_URL" | sed -E 's|.*github\.com[:/]||; s|\.git$||')
-OWNER=$(echo "$OWNER_REPO" | cut -d/ -f1)
-REPO=$(echo "$OWNER_REPO" | cut -d/ -f2)
-echo "Owner: $OWNER, Repo: $REPO"
-```
-
----
-
-## 1. Branch Creation
-
-This part is pure `git` — identical either way:
-
-```bash
-# Make sure you're up to date
-git fetch origin
-git checkout main && git pull origin main
-
-# Create and switch to a new branch
-git checkout -b feat/add-user-authentication
-```
-
-Branch naming conventions:
-- `feat/description` — new features
-- `fix/description` — bug fixes
-- `refactor/description` — code restructuring
-- `docs/description` — documentation
-- `ci/description` — CI/CD changes
-
-## 2. Making Commits
-
-Use the agent's file tools (`write_file`, `patch`) to make changes, then commit:
-
-```bash
-# Stage specific files
-git add src/auth.py src/models/user.py tests/test_auth.py
-
-# Commit with a conventional commit message
-git commit -m "feat: add JWT-based user authentication
-
-- Add login/register endpoints
-- Add User model with password hashing
-- Add auth middleware for protected routes
-- Add unit tests for auth flow"
-```
-
-Commit message format (Conventional Commits):
-```
-type(scope): short description
-
-Longer explanation if needed. Wrap at 72 characters.
-```
-
-Types: `feat`, `fix`, `refactor`, `docs`, `test`, `ci`, `chore`, `perf`
-
-## 3. Pushing and Creating a PR
-
-### Push the Branch (same either way)
-
-```bash
-git push -u origin HEAD
-```
-
-### Create the PR
-
-**With gh:**
-
-```bash
-gh pr create \
- --title "feat: add JWT-based user authentication" \
- --body "## Summary
-- Adds login and register API endpoints
-- JWT token generation and validation
-
-## Test Plan
-- [ ] Unit tests pass
-
-Closes #42"
-```
-
-Options: `--draft`, `--reviewer user1,user2`, `--label "enhancement"`, `--base develop`
-
-**With git + curl:**
-
-```bash
-BRANCH=$(git branch --show-current)
-
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- -H "Accept: application/vnd.github.v3+json" \
- https://api.github.com/repos/$OWNER/$REPO/pulls \
- -d "{
- \"title\": \"feat: add JWT-based user authentication\",
- \"body\": \"## Summary\nAdds login and register API endpoints.\n\nCloses #42\",
- \"head\": \"$BRANCH\",
- \"base\": \"main\"
- }"
-```
-
-The response JSON includes the PR `number` — save it for later commands.
-
-To create as a draft, add `"draft": true` to the JSON body.
-
-## 4. Monitoring CI Status
-
-### Check CI Status
-
-**With gh:**
-
-```bash
-# One-shot check
-gh pr checks
-
-# Watch until all checks finish (polls every 10s)
-gh pr checks --watch
-```
-
-**With git + curl:**
-
-```bash
-# Get the latest commit SHA on the current branch
-SHA=$(git rev-parse HEAD)
-
-# Query the combined status
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/commits/$SHA/status \
- | python3 -c "
-import sys, json
-data = json.load(sys.stdin)
-print(f\"Overall: {data['state']}\")
-for s in data.get('statuses', []):
- print(f\" {s['context']}: {s['state']} - {s.get('description', '')}\")"
-
-# Also check GitHub Actions check runs (separate endpoint)
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/commits/$SHA/check-runs \
- | python3 -c "
-import sys, json
-data = json.load(sys.stdin)
-for cr in data.get('check_runs', []):
- print(f\" {cr['name']}: {cr['status']} / {cr['conclusion'] or 'pending'}\")"
-```
-
-### Poll Until Complete (git + curl)
-
-```bash
-# Simple polling loop — check every 30 seconds, up to 10 minutes
-SHA=$(git rev-parse HEAD)
-for i in $(seq 1 20); do
- STATUS=$(curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/commits/$SHA/status \
- | python3 -c "import sys,json; print(json.load(sys.stdin)['state'])")
- echo "Check $i: $STATUS"
- if [ "$STATUS" = "success" ] || [ "$STATUS" = "failure" ] || [ "$STATUS" = "error" ]; then
- break
- fi
- sleep 30
-done
-```
-
-## 5. Auto-Fixing CI Failures
-
-When CI fails, diagnose and fix. This loop works with either auth method.
-
-### Step 1: Get Failure Details
-
-**With gh:**
-
-```bash
-# List recent workflow runs on this branch
-gh run list --branch $(git branch --show-current) --limit 5
-
-# View failed logs
-gh run view <RUN_ID> --log-failed
-```
-
-**With git + curl:**
-
-```bash
-BRANCH=$(git branch --show-current)
-
-# List workflow runs on this branch
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- "https://api.github.com/repos/$OWNER/$REPO/actions/runs?branch=$BRANCH&per_page=5" \
- | python3 -c "
-import sys, json
-runs = json.load(sys.stdin)['workflow_runs']
-for r in runs:
- print(f\"Run {r['id']}: {r['name']} - {r['conclusion'] or r['status']}\")"
-
-# Get failed job logs (download as zip, extract, read)
-RUN_ID=<run_id>
-curl -s -L \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/actions/runs/$RUN_ID/logs \
- -o ~/.hermes/cache/scratch/ci-logs.zip
-cd ~/.hermes/cache/scratch && unzip -o ci-logs.zip -d ci-logs && cat ci-logs/*.txt
-```
-
-### Step 2: Fix and Push
-
-After identifying the issue, use file tools (`patch`, `write_file`) to fix it:
-
-```bash
-git add <fixed_files>
-git commit -m "fix: resolve CI failure in <check_name>"
-git push
-```
-
-### Step 3: Verify
-
-Re-check CI status using the commands from Section 4 above.
-
-### Auto-Fix Loop Pattern
-
-When asked to auto-fix CI, follow this loop:
-
-1. Check CI status → identify failures
-2. Read failure logs → understand the error
-3. Use `read_file` + `patch`/`write_file` → fix the code
-4. `git add . && git commit -m "fix: ..." && git push`
-5. Wait for CI → re-check status
-6. Repeat if still failing (up to 3 attempts, then ask the user)
-
-## 6. Merging
-
-**With gh:**
-
-```bash
-# Squash merge + delete branch (cleanest for feature branches)
-gh pr merge --squash --delete-branch
-
-# Enable auto-merge (merges when all checks pass)
-gh pr merge --auto --squash --delete-branch
-```
-
-**With git + curl:**
-
-```bash
-PR_NUMBER=<number>
-
-# Merge the PR via API (squash)
-curl -s -X PUT \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/pulls/$PR_NUMBER/merge \
- -d "{
- \"merge_method\": \"squash\",
- \"commit_title\": \"feat: add user authentication (#$PR_NUMBER)\"
- }"
-
-# Delete the remote branch after merge
-BRANCH=$(git branch --show-current)
-git push origin --delete $BRANCH
-
-# Switch back to main locally
-git checkout main && git pull origin main
-git branch -d $BRANCH
-```
-
-Merge methods: `"merge"` (merge commit), `"squash"`, `"rebase"`
-
-### Enable Auto-Merge (curl)
-
-```bash
-# Auto-merge requires the repo to have it enabled in settings.
-# This uses the GraphQL API since REST doesn't support auto-merge.
-PR_NODE_ID=$(curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/pulls/$PR_NUMBER \
- | python3 -c "import sys,json; print(json.load(sys.stdin)['node_id'])")
-
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/graphql \
- -d "{\"query\": \"mutation { enablePullRequestAutoMerge(input: {pullRequestId: \\\"$PR_NODE_ID\\\", mergeMethod: SQUASH}) { clientMutationId } }\"}"
-```
-
-## 7. Complete Workflow Example
-
-```bash
-# 1. Start from clean main
-git checkout main && git pull origin main
-
-# 2. Branch
-git checkout -b fix/login-redirect-bug
-
-# 3. (Agent makes code changes with file tools)
-
-# 4. Commit
-git add src/auth/login.py tests/test_login.py
-git commit -m "fix: correct redirect URL after login
-
-Preserves the ?next= parameter instead of always redirecting to /dashboard."
-
-# 5. Push
-git push -u origin HEAD
-
-# 6. Create PR (picks gh or curl based on what's available)
-# ... (see Section 3)
-
-# 7. Monitor CI (see Section 4)
-
-# 8. Merge when green (see Section 6)
-```
-
-## Useful PR Commands Reference
-
-| Action | gh | git + curl |
-|--------|-----|-----------|
-| List my PRs | `gh pr list --author @me` | `curl -s -H "Authorization: token $GITHUB_TOKEN" "https://api.github.com/repos/$OWNER/$REPO/pulls?state=open"` |
-| View PR diff | `gh pr diff` | `git diff main...HEAD` (local) or `curl -H "Accept: application/vnd.github.diff" ...` |
-| Add comment | `gh pr comment N --body "..."` | `curl -X POST .../issues/N/comments -d '{"body":"..."}'` |
-| Request review | `gh pr edit N --add-reviewer user` | `curl -X POST .../pulls/N/requested_reviewers -d '{"reviewers":["user"]}'` |
-| Close PR | `gh pr close N` | `curl -X PATCH .../pulls/N -d '{"state":"closed"}'` |
-| Check out someone's PR | `gh pr checkout N` | `git fetch origin pull/N/head:pr-N && git checkout pr-N` |
diff --git a/website/docs/user-guide/skills/bundled/github/github-github-repo-management.md b/website/docs/user-guide/skills/bundled/github/github-github-repo-management.md
deleted file mode 100644
index c6230050135..00000000000
--- a/website/docs/user-guide/skills/bundled/github/github-github-repo-management.md
+++ /dev/null
@@ -1,534 +0,0 @@
----
-title: "Github Repo Management — Clone/create/fork repos; manage remotes, releases"
-sidebar_label: "Github Repo Management"
-description: "Clone/create/fork repos; manage remotes, releases"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Github Repo Management
-
-Clone/create/fork repos; manage remotes, releases.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/github/github-repo-management` |
-| Version | `1.1.0` |
-| Author | Hermes Agent |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `GitHub`, `Repositories`, `Git`, `Releases`, `Secrets`, `Configuration` |
-| Related skills | [`github-auth`](./github-github-auth.md), [`github-pr-workflow`](./github-github-pr-workflow.md), [`github-issues`](./github-github-issues.md) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# GitHub Repository Management
-
-Create, clone, fork, configure, and manage GitHub repositories. Each section shows `gh` first, then the `git` + `curl` fallback.
-
-## Prerequisites
-
-- Authenticated with GitHub (see `github-auth` skill)
-
-### Setup
-
-```bash
-if command -v gh &>/dev/null && gh auth status &>/dev/null; then
- AUTH="gh"
-else
- AUTH="git"
- if [ -z "$GITHUB_TOKEN" ]; then
- if _hermes_env="${HERMES_HOME:-$HOME/.hermes}/.env"; [ -f "$_hermes_env" ] && grep -q "^GITHUB_TOKEN=" "$_hermes_env"; then
- GITHUB_TOKEN=$(grep "^GITHUB_TOKEN=" "$_hermes_env" | head -1 | cut -d= -f2 | tr -d '\n\r')
- elif grep -q "github.com" ~/.git-credentials 2>/dev/null; then
- GITHUB_TOKEN=$(uv run python3 "${HERMES_HOME:-$HOME/.hermes}/skills/github/github-auth/scripts/git-credential-token.py")
- fi
- fi
-fi
-
-# Get your GitHub username (needed for several operations)
-if [ "$AUTH" = "gh" ]; then
- GH_USER=$(gh api user --jq '.login')
-else
- GH_USER=$(curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/user | python3 -c "import sys,json; print(json.load(sys.stdin)['login'])")
-fi
-```
-
-If you're inside a repo already:
-
-```bash
-REMOTE_URL=$(git remote get-url origin)
-OWNER_REPO=$(echo "$REMOTE_URL" | sed -E 's|.*github\.com[:/]||; s|\.git$||')
-OWNER=$(echo "$OWNER_REPO" | cut -d/ -f1)
-REPO=$(echo "$OWNER_REPO" | cut -d/ -f2)
-```
-
----
-
-## 1. Cloning Repositories
-
-Cloning is pure `git` — works identically either way:
-
-```bash
-# Clone via HTTPS (works with credential helper or token-embedded URL)
-git clone https://github.com/owner/repo-name.git
-
-# Clone into a specific directory
-git clone https://github.com/owner/repo-name.git ./my-local-dir
-
-# Shallow clone (faster for large repos)
-git clone --depth 1 https://github.com/owner/repo-name.git
-
-# Clone a specific branch
-git clone --branch develop https://github.com/owner/repo-name.git
-
-# Clone via SSH (if SSH is configured)
-git clone [email protected]:owner/repo-name.git
-```
-
-**With gh (shorthand):**
-
-```bash
-gh repo clone owner/repo-name
-gh repo clone owner/repo-name -- --depth 1
-```
-
-## 2. Creating Repositories
-
-**With gh:**
-
-```bash
-# Create a public repo and clone it
-gh repo create my-new-project --public --clone
-
-# Private, with description and license
-gh repo create my-new-project --private --description "A useful tool" --license MIT --clone
-
-# Under an organization
-gh repo create my-org/my-new-project --public --clone
-
-# From existing local directory
-cd /path/to/existing/project
-gh repo create my-project --source . --public --push
-```
-
-**With git + curl:**
-
-```bash
-# Create the remote repo via API
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/user/repos \
- -d '{
- "name": "my-new-project",
- "description": "A useful tool",
- "private": false,
- "auto_init": true,
- "license_template": "mit"
- }'
-
-# Clone it
-git clone https://github.com/$GH_USER/my-new-project.git
-cd my-new-project
-
-# -- OR -- push an existing local directory to the new repo
-cd /path/to/existing/project
-git init
-git add .
-git commit -m "Initial commit"
-git remote add origin https://github.com/$GH_USER/my-new-project.git
-git push -u origin main
-```
-
-To create under an organization:
-
-```bash
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/orgs/my-org/repos \
- -d '{"name": "my-new-project", "private": false}'
-```
-
-### From a Template
-
-**With gh:**
-
-```bash
-gh repo create my-new-app --template owner/template-repo --public --clone
-```
-
-**With curl:**
-
-```bash
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/owner/template-repo/generate \
- -d '{"owner": "'"$GH_USER"'", "name": "my-new-app", "private": false}'
-```
-
-## 3. Forking Repositories
-
-**With gh:**
-
-```bash
-gh repo fork owner/repo-name --clone
-```
-
-**With git + curl:**
-
-```bash
-# Create the fork via API
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/owner/repo-name/forks
-
-# Wait a moment for GitHub to create it, then clone
-sleep 3
-git clone https://github.com/$GH_USER/repo-name.git
-cd repo-name
-
-# Add the original repo as "upstream" remote
-git remote add upstream https://github.com/owner/repo-name.git
-```
-
-### Keeping a Fork in Sync
-
-```bash
-# Pure git — works everywhere
-git fetch upstream
-git checkout main
-git merge upstream/main
-git push origin main
-```
-
-**With gh (shortcut):**
-
-```bash
-gh repo sync $GH_USER/repo-name
-```
-
-## 4. Repository Information
-
-**With gh:**
-
-```bash
-gh repo view owner/repo-name
-gh repo list --limit 20
-gh search repos "machine learning" --language python --sort stars
-```
-
-**With curl:**
-
-```bash
-# View repo details
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO \
- | python3 -c "
-import sys, json
-r = json.load(sys.stdin)
-print(f\"Name: {r['full_name']}\")
-print(f\"Description: {r['description']}\")
-print(f\"Stars: {r['stargazers_count']} Forks: {r['forks_count']}\")
-print(f\"Default branch: {r['default_branch']}\")
-print(f\"Language: {r['language']}\")"
-
-# List your repos
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- "https://api.github.com/user/repos?per_page=20&sort=updated" \
- | python3 -c "
-import sys, json
-for r in json.load(sys.stdin):
- vis = 'private' if r['private'] else 'public'
- print(f\" {r['full_name']:40} {vis:8} {r.get('language', ''):10} ★{r['stargazers_count']}\")"
-
-# Search repos
-curl -s \
- "https://api.github.com/search/repositories?q=machine+learning+language:python&sort=stars&per_page=10" \
- | python3 -c "
-import sys, json
-for r in json.load(sys.stdin)['items']:
- print(f\" {r['full_name']:40} ★{r['stargazers_count']:6} {r['description'][:60] if r['description'] else ''}\")"
-```
-
-## 5. Repository Settings
-
-**With gh:**
-
-```bash
-gh repo edit --description "Updated description" --visibility public
-gh repo edit --enable-wiki=false --enable-issues=true
-gh repo edit --default-branch main
-gh repo edit --add-topic "machine-learning,python"
-gh repo edit --enable-auto-merge
-```
-
-**With curl:**
-
-```bash
-curl -s -X PATCH \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO \
- -d '{
- "description": "Updated description",
- "has_wiki": false,
- "has_issues": true,
- "allow_auto_merge": true
- }'
-
-# Update topics
-curl -s -X PUT \
- -H "Authorization: token $GITHUB_TOKEN" \
- -H "Accept: application/vnd.github.mercy-preview+json" \
- https://api.github.com/repos/$OWNER/$REPO/topics \
- -d '{"names": ["machine-learning", "python", "automation"]}'
-```
-
-## 6. Branch Protection
-
-```bash
-# View current protection
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/branches/main/protection
-
-# Set up branch protection
-curl -s -X PUT \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/branches/main/protection \
- -d '{
- "required_status_checks": {
- "strict": true,
- "contexts": ["ci/test", "ci/lint"]
- },
- "enforce_admins": false,
- "required_pull_request_reviews": {
- "required_approving_review_count": 1
- },
- "restrictions": null
- }'
-```
-
-## 7. Secrets Management (GitHub Actions)
-
-**With gh:**
-
-```bash
-gh secret set API_KEY --body "your-secret-value"
-gh secret set SSH_KEY < ~/.ssh/id_rsa
-gh secret list
-gh secret delete API_KEY
-```
-
-**With curl:**
-
-Secrets require encryption with the repo's public key — more involved via API:
-
-```bash
-# Get the repo's public key for encrypting secrets
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/actions/secrets/public-key
-
-# Encrypt and set (requires Python with PyNaCl)
-python3 -c "
-from base64 import b64encode
-from nacl import encoding, public
-import json, sys
-
-# Get the public key
-key_id = '<key_id_from_above>'
-public_key = '<base64_key_from_above>'
-
-# Encrypt
-sealed = public.SealedBox(
- public.PublicKey(public_key.encode('utf-8'), encoding.Base64Encoder)
-).encrypt('your-secret-value'.encode('utf-8'))
-print(json.dumps({
- 'encrypted_value': b64encode(sealed).decode('utf-8'),
- 'key_id': key_id
-}))"
-
-# Then PUT the encrypted secret
-curl -s -X PUT \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/actions/secrets/API_KEY \
- -d '<output from python script above>'
-
-# List secrets (names only, values hidden)
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/actions/secrets \
- | python3 -c "
-import sys, json
-for s in json.load(sys.stdin)['secrets']:
- print(f\" {s['name']:30} updated: {s['updated_at']}\")"
-```
-
-Note: For secrets, `gh secret set` is dramatically simpler. If setting secrets is needed and `gh` isn't available, recommend installing it for just that operation.
-
-## 8. Releases
-
-**With gh:**
-
-```bash
-gh release create v1.0.0 --title "v1.0.0" --generate-notes
-gh release create v2.0.0-rc1 --draft --prerelease --generate-notes
-gh release create v1.0.0 ./dist/binary --title "v1.0.0" --notes "Release notes"
-gh release list
-gh release download v1.0.0 --dir ./downloads
-```
-
-**With curl:**
-
-```bash
-# Create a release
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/releases \
- -d '{
- "tag_name": "v1.0.0",
- "name": "v1.0.0",
- "body": "## Changelog\n- Feature A\n- Bug fix B",
- "draft": false,
- "prerelease": false,
- "generate_release_notes": true
- }'
-
-# List releases
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/releases \
- | python3 -c "
-import sys, json
-for r in json.load(sys.stdin):
- tag = r.get('tag_name', 'no tag')
- print(f\" {tag:15} {r['name']:30} {'draft' if r['draft'] else 'published'}\")"
-
-# Upload a release asset (binary file)
-RELEASE_ID=<id_from_create_response>
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- -H "Content-Type: application/octet-stream" \
- "https://uploads.github.com/repos/$OWNER/$REPO/releases/$RELEASE_ID/assets?name=binary-amd64" \
- --data-binary @./dist/binary-amd64
-```
-
-## 9. GitHub Actions Workflows
-
-**With gh:**
-
-```bash
-gh workflow list
-gh run list --limit 10
-gh run view <RUN_ID>
-gh run view <RUN_ID> --log-failed
-gh run rerun <RUN_ID>
-gh run rerun <RUN_ID> --failed
-gh workflow run ci.yml --ref main
-gh workflow run deploy.yml -f environment=staging
-```
-
-**With curl:**
-
-```bash
-# List workflows
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/actions/workflows \
- | python3 -c "
-import sys, json
-for w in json.load(sys.stdin)['workflows']:
- print(f\" {w['id']:10} {w['name']:30} {w['state']}\")"
-
-# List recent runs
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- "https://api.github.com/repos/$OWNER/$REPO/actions/runs?per_page=10" \
- | python3 -c "
-import sys, json
-for r in json.load(sys.stdin)['workflow_runs']:
- print(f\" Run {r['id']} {r['name']:30} {r['conclusion'] or r['status']}\")"
-
-# Download failed run logs
-RUN_ID=<run_id>
-curl -s -L \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/actions/runs/$RUN_ID/logs \
- -o ~/.hermes/cache/scratch/ci-logs.zip
-cd ~/.hermes/cache/scratch && unzip -o ci-logs.zip -d ci-logs
-
-# Re-run a failed workflow
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/actions/runs/$RUN_ID/rerun
-
-# Re-run only failed jobs
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/actions/runs/$RUN_ID/rerun-failed-jobs
-
-# Trigger a workflow manually (workflow_dispatch)
-WORKFLOW_ID=<workflow_id_or_filename>
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/repos/$OWNER/$REPO/actions/workflows/$WORKFLOW_ID/dispatches \
- -d '{"ref": "main", "inputs": {"environment": "staging"}}'
-```
-
-## 10. Gists
-
-**With gh:**
-
-```bash
-gh gist create script.py --public --desc "Useful script"
-gh gist list
-```
-
-**With curl:**
-
-```bash
-# Create a gist
-curl -s -X POST \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/gists \
- -d '{
- "description": "Useful script",
- "public": true,
- "files": {
- "script.py": {"content": "print(\"hello\")"}
- }
- }'
-
-# List your gists
-curl -s \
- -H "Authorization: token $GITHUB_TOKEN" \
- https://api.github.com/gists \
- | python3 -c "
-import sys, json
-for g in json.load(sys.stdin):
- files = ', '.join(g['files'].keys())
- print(f\" {g['id']} {g['description'] or '(no desc)':40} {files}\")"
-```
-
-## Quick Reference Table
-
-| Action | gh | git + curl |
-|--------|-----|-----------|
-| Clone | `gh repo clone o/r` | `git clone https://github.com/o/r.git` |
-| Create repo | `gh repo create name --public` | `curl POST /user/repos` |
-| Fork | `gh repo fork o/r --clone` | `curl POST /repos/o/r/forks` + `git clone` |
-| Repo info | `gh repo view o/r` | `curl GET /repos/o/r` |
-| Edit settings | `gh repo edit --...` | `curl PATCH /repos/o/r` |
-| Create release | `gh release create v1.0` | `curl POST /repos/o/r/releases` |
-| List workflows | `gh workflow list` | `curl GET /repos/o/r/actions/workflows` |
-| Rerun CI | `gh run rerun ID` | `curl POST /repos/o/r/actions/runs/ID/rerun` |
-| Set secret | `gh secret set KEY` | `curl PUT /repos/o/r/actions/secrets/KEY` (+ encryption) |
diff --git a/website/docs/user-guide/skills/bundled/mlops/mlops-evaluation-evaluating-llms-harness.md b/website/docs/user-guide/skills/bundled/mlops/mlops-evaluation-evaluating-llms-harness.md
deleted file mode 100644
index 96a5423450e..00000000000
--- a/website/docs/user-guide/skills/bundled/mlops/mlops-evaluation-evaluating-llms-harness.md
+++ /dev/null
@@ -1,512 +0,0 @@
----
-title: "Evaluating Llms Harness — lm-eval-harness: benchmark LLMs (MMLU, GSM8K, etc.)"
-sidebar_label: "Evaluating Llms Harness"
-description: "lm-eval-harness: benchmark LLMs (MMLU, GSM8K, etc.)"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Evaluating Llms Harness
-
-lm-eval-harness: benchmark LLMs (MMLU, GSM8K, etc.).
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/mlops/evaluation/evaluating-llms-harness` |
-| Version | `1.0.1` |
-| Author | Orchestra Research |
-| License | MIT |
-| Dependencies | `lm-eval`, `transformers`, `vllm` |
-| Platforms | linux, macos |
-| Tags | `Evaluation`, `LM Evaluation Harness`, `Benchmarking`, `MMLU`, `HumanEval`, `GSM8K`, `EleutherAI`, `Model Quality`, `Academic Benchmarks`, `Industry Standard` |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# lm-evaluation-harness - LLM Benchmarking
-
-## What's inside
-
-Evaluates LLMs across 60+ academic benchmarks (MMLU, HumanEval, GSM8K, TruthfulQA, HellaSwag). Use when benchmarking model quality, comparing models, reporting academic results, or tracking training progress. Industry standard used by EleutherAI, HuggingFace, and major labs. Supports HuggingFace, vLLM, APIs.
-
-## Quick start
-
-lm-evaluation-harness evaluates LLMs across 60+ academic benchmarks using standardized prompts and metrics.
-
-**Installation**:
-```bash
-pip install lm-eval
-```
-
-**Evaluate any HuggingFace model**:
-```bash
-lm_eval --model hf \
- --model_args pretrained=meta-llama/Llama-2-7b-hf \
- --tasks mmlu,gsm8k,hellaswag \
- --device cuda:0 \
- --batch_size 8
-```
-
-**View available tasks**:
-```bash
-lm-eval ls tasks
-```
-
-## Common workflows
-
-### Workflow 1: Standard benchmark evaluation
-
-Evaluate model on core benchmarks (MMLU, GSM8K, HumanEval).
-
-Copy this checklist:
-
-```
-Benchmark Evaluation:
-- [ ] Step 1: Choose benchmark suite
-- [ ] Step 2: Configure model
-- [ ] Step 3: Run evaluation
-- [ ] Step 4: Analyze results
-```
-
-**Step 1: Choose benchmark suite**
-
-**Core reasoning benchmarks**:
-- **MMLU** (Massive Multitask Language Understanding) - 57 subjects, multiple choice
-- **GSM8K** - Grade school math word problems
-- **HellaSwag** - Common sense reasoning
-- **TruthfulQA** - Truthfulness and factuality
-- **ARC** (AI2 Reasoning Challenge) - Science questions
-
-**Code benchmarks**:
-- **HumanEval** - Python code generation (164 problems)
-- **MBPP** (Mostly Basic Python Problems) - Python coding
-
-**Standard suite** (recommended for model releases):
-```bash
---tasks mmlu,gsm8k,hellaswag,truthfulqa,arc_challenge
-```
-
-**Step 2: Configure model**
-
-**HuggingFace model**:
-```bash
-lm_eval --model hf \
- --model_args pretrained=meta-llama/Llama-2-7b-hf,dtype=bfloat16 \
- --tasks mmlu \
- --device cuda:0 \
- --batch_size auto # Auto-detect optimal batch size
-```
-
-**Quantized model (4-bit/8-bit)**:
-```bash
-lm_eval --model hf \
- --model_args pretrained=meta-llama/Llama-2-7b-hf,load_in_4bit=True \
- --tasks mmlu \
- --device cuda:0
-```
-
-**Custom checkpoint**:
-```bash
-lm_eval --model hf \
- --model_args pretrained=/path/to/my-model,tokenizer=/path/to/tokenizer \
- --tasks mmlu \
- --device cuda:0
-```
-
-**Step 3: Run evaluation**
-
-```bash
-# Full MMLU evaluation (57 subjects)
-lm_eval --model hf \
- --model_args pretrained=meta-llama/Llama-2-7b-hf \
- --tasks mmlu \
- --num_fewshot 5 \ # 5-shot evaluation (standard)
- --batch_size 8 \
- --output_path results/ \
- --log_samples # Save individual predictions
-
-# Multiple benchmarks at once
-lm_eval --model hf \
- --model_args pretrained=meta-llama/Llama-2-7b-hf \
- --tasks mmlu,gsm8k,hellaswag,truthfulqa,arc_challenge \
- --num_fewshot 5 \
- --batch_size 8 \
- --output_path results/llama2-7b-eval.json
-```
-
-**Step 4: Analyze results**
-
-Results saved to `results/llama2-7b-eval.json`:
-
-```json
-{
- "results": {
- "mmlu": {
- "acc": 0.459,
- "acc_stderr": 0.004
- },
- "gsm8k": {
- "exact_match": 0.142,
- "exact_match_stderr": 0.006
- },
- "hellaswag": {
- "acc_norm": 0.765,
- "acc_norm_stderr": 0.004
- }
- },
- "config": {
- "model": "hf",
- "model_args": "pretrained=meta-llama/Llama-2-7b-hf",
- "num_fewshot": 5
- }
-}
-```
-
-### Workflow 2: Track training progress
-
-Evaluate checkpoints during training.
-
-```
-Training Progress Tracking:
-- [ ] Step 1: Set up periodic evaluation
-- [ ] Step 2: Choose quick benchmarks
-- [ ] Step 3: Automate evaluation
-- [ ] Step 4: Plot learning curves
-```
-
-**Step 1: Set up periodic evaluation**
-
-Evaluate every N training steps:
-
-```bash
-#!/bin/bash
-# eval_checkpoint.sh
-
-CHECKPOINT_DIR=$1
-STEP=$2
-
-lm_eval --model hf \
- --model_args pretrained=$CHECKPOINT_DIR/checkpoint-$STEP \
- --tasks gsm8k,hellaswag \
- --num_fewshot 0 \ # 0-shot for speed
- --batch_size 16 \
- --output_path results/step-$STEP.json
-```
-
-**Step 2: Choose quick benchmarks**
-
-Fast benchmarks for frequent evaluation:
-- **HellaSwag**: ~10 minutes on 1 GPU
-- **GSM8K**: ~5 minutes
-- **PIQA**: ~2 minutes
-
-Avoid for frequent eval (too slow):
-- **MMLU**: ~2 hours (57 subjects)
-- **HumanEval**: Requires code execution
-
-**Step 3: Automate evaluation**
-
-Integrate with training script:
-
-```python
-# In training loop
-if step % eval_interval == 0:
- model.save_pretrained(f"checkpoints/step-{step}")
-
- # Run evaluation
- os.system(f"./eval_checkpoint.sh checkpoints step-{step}")
-```
-
-Or use PyTorch Lightning callbacks:
-
-```python
-from pytorch_lightning import Callback
-
-class EvalHarnessCallback(Callback):
- def on_validation_epoch_end(self, trainer, pl_module):
- step = trainer.global_step
- checkpoint_path = f"checkpoints/step-{step}"
-
- # Save checkpoint
- trainer.save_checkpoint(checkpoint_path)
-
- # Run lm-eval
- os.system(f"lm_eval --model hf --model_args pretrained={checkpoint_path} ...")
-```
-
-**Step 4: Plot learning curves**
-
-```python
-import json
-import matplotlib.pyplot as plt
-
-# Load all results
-steps = []
-mmlu_scores = []
-
-for file in sorted(glob.glob("results/step-*.json")):
- with open(file) as f:
- data = json.load(f)
- step = int(file.split("-")[1].split(".")[0])
- steps.append(step)
- mmlu_scores.append(data["results"]["mmlu"]["acc"])
-
-# Plot
-plt.plot(steps, mmlu_scores)
-plt.xlabel("Training Step")
-plt.ylabel("MMLU Accuracy")
-plt.title("Training Progress")
-plt.savefig("training_curve.png")
-```
-
-### Workflow 3: Compare multiple models
-
-Benchmark suite for model comparison.
-
-```
-Model Comparison:
-- [ ] Step 1: Define model list
-- [ ] Step 2: Run evaluations
-- [ ] Step 3: Generate comparison table
-```
-
-**Step 1: Define model list**
-
-```bash
-# models.txt
-meta-llama/Llama-2-7b-hf
-meta-llama/Llama-2-13b-hf
-mistralai/Mistral-7B-v0.1
-microsoft/phi-2
-```
-
-**Step 2: Run evaluations**
-
-```bash
-#!/bin/bash
-# eval_all_models.sh
-
-TASKS="mmlu,gsm8k,hellaswag,truthfulqa"
-
-while read model; do
- echo "Evaluating $model"
-
- # Extract model name for output file
- model_name=$(echo $model | sed 's/\//-/g')
-
- lm_eval --model hf \
- --model_args pretrained=$model,dtype=bfloat16 \
- --tasks $TASKS \
- --num_fewshot 5 \
- --batch_size auto \
- --output_path results/$model_name.json
-
-done < models.txt
-```
-
-**Step 3: Generate comparison table**
-
-```python
-import json
-import pandas as pd
-
-models = [
- "meta-llama-Llama-2-7b-hf",
- "meta-llama-Llama-2-13b-hf",
- "mistralai-Mistral-7B-v0.1",
- "microsoft-phi-2"
-]
-
-tasks = ["mmlu", "gsm8k", "hellaswag", "truthfulqa"]
-
-results = []
-for model in models:
- with open(f"results/{model}.json") as f:
- data = json.load(f)
- row = {"Model": model.replace("-", "/")}
- for task in tasks:
- # Get primary metric for each task
- metrics = data["results"][task]
- if "acc" in metrics:
- row[task.upper()] = f"{metrics['acc']:.3f}"
- elif "exact_match" in metrics:
- row[task.upper()] = f"{metrics['exact_match']:.3f}"
- results.append(row)
-
-df = pd.DataFrame(results)
-print(df.to_markdown(index=False))
-```
-
-Output:
-```
-| Model | MMLU | GSM8K | HELLASWAG | TRUTHFULQA |
-|------------------------|-------|-------|-----------|------------|
-| meta-llama/Llama-2-7b | 0.459 | 0.142 | 0.765 | 0.391 |
-| meta-llama/Llama-2-13b | 0.549 | 0.287 | 0.801 | 0.430 |
-| mistralai/Mistral-7B | 0.626 | 0.395 | 0.812 | 0.428 |
-| microsoft/phi-2 | 0.560 | 0.613 | 0.682 | 0.447 |
-```
-
-### Workflow 4: Evaluate with vLLM (faster inference)
-
-Use vLLM backend for 5-10x faster evaluation.
-
-```
-vLLM Evaluation:
-- [ ] Step 1: Install vLLM
-- [ ] Step 2: Configure vLLM backend
-- [ ] Step 3: Run evaluation
-```
-
-**Step 1: Install vLLM**
-
-```bash
-pip install vllm
-```
-
-**Step 2: Configure vLLM backend**
-
-```bash
-lm_eval --model vllm \
- --model_args pretrained=meta-llama/Llama-2-7b-hf,tensor_parallel_size=1,dtype=auto,gpu_memory_utilization=0.8 \
- --tasks mmlu \
- --batch_size auto
-```
-
-**Step 3: Run evaluation**
-
-vLLM is 5-10× faster than standard HuggingFace:
-
-```bash
-# Standard HF: ~2 hours for MMLU on 7B model
-lm_eval --model hf \
- --model_args pretrained=meta-llama/Llama-2-7b-hf \
- --tasks mmlu \
- --batch_size 8
-
-# vLLM: ~15-20 minutes for MMLU on 7B model
-lm_eval --model vllm \
- --model_args pretrained=meta-llama/Llama-2-7b-hf,tensor_parallel_size=2 \
- --tasks mmlu \
- --batch_size auto
-```
-
-## When to use vs alternatives
-
-**Use lm-evaluation-harness when:**
-- Benchmarking models for academic papers
-- Comparing model quality across standard tasks
-- Tracking training progress
-- Reporting standardized metrics (everyone uses same prompts)
-- Need reproducible evaluation
-
-**Use alternatives instead:**
-- **HELM** (Stanford): Broader evaluation (fairness, efficiency, calibration)
-- **AlpacaEval**: Instruction-following evaluation with LLM judges
-- **MT-Bench**: Conversational multi-turn evaluation
-- **Custom scripts**: Domain-specific evaluation
-
-## Common issues
-
-**Issue: Evaluation too slow**
-
-Use vLLM backend:
-```bash
-lm_eval --model vllm \
- --model_args pretrained=model-name,tensor_parallel_size=2
-```
-
-Or reduce fewshot examples:
-```bash
---num_fewshot 0 # Instead of 5
-```
-
-Or evaluate subset of MMLU:
-```bash
---tasks mmlu_stem # Only STEM subjects
-```
-
-**Issue: Out of memory**
-
-Reduce batch size:
-```bash
---batch_size 1 # Or --batch_size auto
-```
-
-Use quantization:
-```bash
---model_args pretrained=model-name,load_in_8bit=True
-```
-
-Enable CPU offloading:
-```bash
---model_args pretrained=model-name,device_map=auto,offload_folder=offload
-```
-
-**Issue: Different results than reported**
-
-Check fewshot count:
-```bash
---num_fewshot 5 # Most papers use 5-shot
-```
-
-Check exact task name:
-```bash
---tasks mmlu # Not mmlu_direct or mmlu_fewshot
-```
-
-Verify model and tokenizer match:
-```bash
---model_args pretrained=model-name,tokenizer=same-model-name
-```
-
-**Issue: HumanEval not executing code**
-
-Code-executing tasks (HumanEval, MBPP, etc.) are gated behind an explicit
-confirmation flag — you must pass `--confirm_run_unsafe_code` to run them:
-
-```bash
-lm_eval --model hf \
- --model_args pretrained=model-name \
- --tasks humaneval \
- --confirm_run_unsafe_code # Required to run tasks that execute generated code
-```
-
-Without this flag lm-eval refuses to run the task rather than silently skipping
-code execution.
-
-## Advanced topics
-
-**Benchmark descriptions**: See [references/benchmark-guide.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/mlops/evaluation/evaluating-llms-harness/references/benchmark-guide.md) for detailed description of all 60+ tasks, what they measure, and interpretation.
-
-**Custom tasks**: See [references/custom-tasks.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/mlops/evaluation/evaluating-llms-harness/references/custom-tasks.md) for creating domain-specific evaluation tasks.
-
-**API evaluation**: See [references/api-evaluation.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/mlops/evaluation/evaluating-llms-harness/references/api-evaluation.md) for evaluating OpenAI, Anthropic, and other API models.
-
-**Multi-GPU strategies**: See [references/distributed-eval.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/mlops/evaluation/evaluating-llms-harness/references/distributed-eval.md) for data parallel and tensor parallel evaluation.
-
-## Hardware requirements
-
-- **GPU**: NVIDIA (CUDA 11.8+), works on CPU (very slow)
-- **VRAM**:
- - 7B model: 16GB (bf16) or 8GB (8-bit)
- - 13B model: 28GB (bf16) or 14GB (8-bit)
- - 70B model: Requires multi-GPU or quantization
-- **Time** (7B model, single A100):
- - HellaSwag: 10 minutes
- - GSM8K: 5 minutes
- - MMLU (full): 2 hours
- - HumanEval: 20 minutes
-
-## Resources
-
-- GitHub: https://github.com/EleutherAI/lm-evaluation-harness
-- Docs: https://github.com/EleutherAI/lm-evaluation-harness/tree/main/docs
-- Task library: 60+ tasks including MMLU, GSM8K, HumanEval, TruthfulQA, HellaSwag, ARC, WinoGrande, etc.
-- Leaderboard: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard (uses this harness)
diff --git a/website/docs/user-guide/skills/bundled/mlops/mlops-evaluation-weights-and-biases.md b/website/docs/user-guide/skills/bundled/mlops/mlops-evaluation-weights-and-biases.md
deleted file mode 100644
index c99938e6db1..00000000000
--- a/website/docs/user-guide/skills/bundled/mlops/mlops-evaluation-weights-and-biases.md
+++ /dev/null
@@ -1,613 +0,0 @@
----
-title: "Weights And Biases — W&B: log ML experiments, sweeps, model registry, dashboards"
-sidebar_label: "Weights And Biases"
-description: "W&B: log ML experiments, sweeps, model registry, dashboards"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Weights And Biases
-
-W&B: log ML experiments, sweeps, model registry, dashboards.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/mlops/evaluation/weights-and-biases` |
-| Version | `1.0.1` |
-| Author | Orchestra Research |
-| License | MIT |
-| Dependencies | `wandb` |
-| Platforms | linux, macos, windows |
-| Tags | `MLOps`, `Weights And Biases`, `WandB`, `Experiment Tracking`, `Hyperparameter Tuning`, `Model Registry`, `Collaboration`, `Real-Time Visualization`, `PyTorch`, `TensorFlow`, `HuggingFace` |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# Weights & Biases: ML Experiment Tracking & MLOps
-
-## When to Use This Skill
-
-Use Weights & Biases (W&B) when you need to:
-- **Track ML experiments** with automatic metric logging
-- **Visualize training** in real-time dashboards
-- **Compare runs** across hyperparameters and configurations
-- **Optimize hyperparameters** with automated sweeps
-- **Manage model registry** with versioning and lineage
-- **Collaborate on ML projects** with team workspaces
-- **Track artifacts** (datasets, models, code) with lineage
-
-**Users**: 200,000+ ML practitioners | **GitHub Stars**: 10.5k+ | **Integrations**: 100+
-
-## Installation
-
-```bash
-# Install W&B
-pip install wandb
-
-# Login (creates API key)
-wandb login
-
-# Or set API key programmatically
-export WANDB_API_KEY=your_api_key_here
-```
-
-## Quick Start
-
-### Basic Experiment Tracking
-
-```python
-import wandb
-
-# Initialize a run
-run = wandb.init(
- project="my-project",
- config={
- "learning_rate": 0.001,
- "epochs": 10,
- "batch_size": 32,
- "architecture": "ResNet50"
- }
-)
-
-# Training loop
-for epoch in range(run.config.epochs):
- # Your training code
- train_loss = train_epoch()
- val_loss = validate()
-
- # Log metrics
- wandb.log({
- "epoch": epoch,
- "train/loss": train_loss,
- "val/loss": val_loss,
- "train/accuracy": train_acc,
- "val/accuracy": val_acc
- })
-
-# Finish the run
-wandb.finish()
-```
-
-### With PyTorch
-
-```python
-import torch
-import wandb
-
-# Initialize
-wandb.init(project="pytorch-demo", config={
- "lr": 0.001,
- "epochs": 10
-})
-
-# Access config
-config = wandb.config
-
-# Training loop
-for epoch in range(config.epochs):
- for batch_idx, (data, target) in enumerate(train_loader):
- # Forward pass
- output = model(data)
- loss = criterion(output, target)
-
- # Backward pass
- optimizer.zero_grad()
- loss.backward()
- optimizer.step()
-
- # Log every 100 batches
- if batch_idx % 100 == 0:
- wandb.log({
- "loss": loss.item(),
- "epoch": epoch,
- "batch": batch_idx
- })
-
-# Save model
-torch.save(model.state_dict(), "model.pth")
-wandb.save("model.pth") # Upload to W&B
-
-wandb.finish()
-```
-
-## Core Concepts
-
-### 1. Projects and Runs
-
-**Project**: Collection of related experiments
-**Run**: Single execution of your training script
-
-```python
-# Create/use project
-run = wandb.init(
- project="image-classification",
- name="resnet50-experiment-1", # Optional run name
- tags=["baseline", "resnet"], # Organize with tags
- notes="First baseline run" # Add notes
-)
-
-# Each run has unique ID
-print(f"Run ID: {run.id}")
-print(f"Run URL: {run.url}")
-```
-
-### 2. Configuration Tracking
-
-Track hyperparameters automatically:
-
-```python
-config = {
- # Model architecture
- "model": "ResNet50",
- "pretrained": True,
-
- # Training params
- "learning_rate": 0.001,
- "batch_size": 32,
- "epochs": 50,
- "optimizer": "Adam",
-
- # Data params
- "dataset": "ImageNet",
- "augmentation": "standard"
-}
-
-wandb.init(project="my-project", config=config)
-
-# Access config during training
-lr = wandb.config.learning_rate
-batch_size = wandb.config.batch_size
-```
-
-### 3. Metric Logging
-
-```python
-# Log scalars
-wandb.log({"loss": 0.5, "accuracy": 0.92})
-
-# Log multiple metrics
-wandb.log({
- "train/loss": train_loss,
- "train/accuracy": train_acc,
- "val/loss": val_loss,
- "val/accuracy": val_acc,
- "learning_rate": current_lr,
- "epoch": epoch
-})
-
-# Log with custom x-axis
-wandb.log({"loss": loss}, step=global_step)
-
-# Log media (images, audio, video)
-wandb.log({"examples": [wandb.Image(img) for img in images]})
-
-# Log histograms
-wandb.log({"gradients": wandb.Histogram(gradients)})
-
-# Log tables
-table = wandb.Table(columns=["id", "prediction", "ground_truth"])
-wandb.log({"predictions": table})
-```
-
-### 4. Model Checkpointing
-
-```python
-import torch
-import wandb
-
-# Save model checkpoint
-checkpoint = {
- 'epoch': epoch,
- 'model_state_dict': model.state_dict(),
- 'optimizer_state_dict': optimizer.state_dict(),
- 'loss': loss,
-}
-
-torch.save(checkpoint, 'checkpoint.pth')
-
-# Upload to W&B
-wandb.save('checkpoint.pth')
-
-# Or use Artifacts (recommended)
-artifact = wandb.Artifact('model', type='model')
-artifact.add_file('checkpoint.pth')
-wandb.log_artifact(artifact)
-```
-
-## Hyperparameter Sweeps
-
-Automatically search for optimal hyperparameters.
-
-### Define Sweep Configuration
-
-```python
-sweep_config = {
- 'method': 'bayes', # or 'grid', 'random'
- 'metric': {
- 'name': 'val/accuracy',
- 'goal': 'maximize'
- },
- 'parameters': {
- 'learning_rate': {
- 'distribution': 'log_uniform_values',
- 'min': 1e-5,
- 'max': 1e-1
- },
- 'batch_size': {
- 'values': [16, 32, 64, 128]
- },
- 'optimizer': {
- 'values': ['adam', 'sgd', 'rmsprop']
- },
- 'dropout': {
- 'distribution': 'uniform',
- 'min': 0.1,
- 'max': 0.5
- }
- }
-}
-
-# Initialize sweep
-sweep_id = wandb.sweep(sweep_config, project="my-project")
-```
-
-### Define Training Function
-
-```python
-def train():
- # Initialize run
- run = wandb.init()
-
- # Access sweep parameters
- lr = wandb.config.learning_rate
- batch_size = wandb.config.batch_size
- optimizer_name = wandb.config.optimizer
-
- # Build model with sweep config
- model = build_model(wandb.config)
- optimizer = get_optimizer(optimizer_name, lr)
-
- # Training loop
- for epoch in range(NUM_EPOCHS):
- train_loss = train_epoch(model, optimizer, batch_size)
- val_acc = validate(model)
-
- # Log metrics
- wandb.log({
- "train/loss": train_loss,
- "val/accuracy": val_acc
- })
-
-# Run sweep
-wandb.agent(sweep_id, function=train, count=50) # Run 50 trials
-```
-
-### Sweep Strategies
-
-```python
-# Grid search - exhaustive
-sweep_config = {
- 'method': 'grid',
- 'parameters': {
- 'lr': {'values': [0.001, 0.01, 0.1]},
- 'batch_size': {'values': [16, 32, 64]}
- }
-}
-
-# Random search
-sweep_config = {
- 'method': 'random',
- 'parameters': {
- 'lr': {'distribution': 'uniform', 'min': 0.0001, 'max': 0.1},
- 'dropout': {'distribution': 'uniform', 'min': 0.1, 'max': 0.5}
- }
-}
-
-# Bayesian optimization (recommended)
-sweep_config = {
- 'method': 'bayes',
- 'metric': {'name': 'val/loss', 'goal': 'minimize'},
- 'parameters': {
- 'lr': {'distribution': 'log_uniform_values', 'min': 1e-5, 'max': 1e-1}
- }
-}
-```
-
-## Artifacts
-
-Track datasets, models, and other files with lineage.
-
-### Log Artifacts
-
-```python
-# Create artifact
-artifact = wandb.Artifact(
- name='training-dataset',
- type='dataset',
- description='ImageNet training split',
- metadata={'size': '1.2M images', 'split': 'train'}
-)
-
-# Add files
-artifact.add_file('data/train.csv')
-artifact.add_dir('data/images/')
-
-# Log artifact
-wandb.log_artifact(artifact)
-```
-
-### Use Artifacts
-
-```python
-# Download and use artifact
-run = wandb.init(project="my-project")
-
-# Download artifact
-artifact = run.use_artifact('training-dataset:latest')
-artifact_dir = artifact.download()
-
-# Use the data
-data = load_data(f"{artifact_dir}/train.csv")
-```
-
-### Model Registry
-
-```python
-# Log model as artifact
-model_artifact = wandb.Artifact(
- name='resnet50-model',
- type='model',
- metadata={'architecture': 'ResNet50', 'accuracy': 0.95}
-)
-
-model_artifact.add_file('model.pth')
-wandb.log_artifact(model_artifact, aliases=['best', 'production'])
-
-# Link to model registry
-run.link_artifact(model_artifact, 'model-registry/production-models')
-```
-
-## Integration Examples
-
-### HuggingFace Transformers
-
-```python
-from transformers import Trainer, TrainingArguments
-import wandb
-
-# Initialize W&B
-wandb.init(project="hf-transformers")
-
-# Training arguments with W&B
-training_args = TrainingArguments(
- output_dir="./results",
- report_to="wandb", # Enable W&B logging
- run_name="bert-finetuning",
- logging_steps=100,
- save_steps=500
-)
-
-# Trainer automatically logs to W&B
-trainer = Trainer(
- model=model,
- args=training_args,
- train_dataset=train_dataset,
- eval_dataset=eval_dataset
-)
-
-trainer.train()
-```
-
-### PyTorch Lightning
-
-```python
-from pytorch_lightning import Trainer
-from pytorch_lightning.loggers import WandbLogger
-import wandb
-
-# Create W&B logger
-wandb_logger = WandbLogger(
- project="lightning-demo",
- log_model=True # Log model checkpoints
-)
-
-# Use with Trainer
-trainer = Trainer(
- logger=wandb_logger,
- max_epochs=10
-)
-
-trainer.fit(model, datamodule=dm)
-```
-
-### Keras/TensorFlow
-
-```python
-import wandb
-from wandb.integration.keras import WandbMetricsLogger, WandbModelCheckpoint
-
-# Initialize
-wandb.init(project="keras-demo")
-
-# Add callbacks (the monolithic WandbCallback was removed;
-# use the dedicated callbacks from wandb.integration.keras instead)
-model.fit(
- x_train, y_train,
- validation_data=(x_val, y_val),
- epochs=10,
- callbacks=[
- WandbMetricsLogger(), # Auto-logs metrics
- WandbModelCheckpoint("models/model-{epoch}") # Saves checkpoints
- ]
-)
-```
-
-## Visualization & Analysis
-
-### Custom Charts
-
-```python
-# Log custom visualizations
-import matplotlib.pyplot as plt
-
-fig, ax = plt.subplots()
-ax.plot(x, y)
-wandb.log({"custom_plot": wandb.Image(fig)})
-
-# Log confusion matrix
-wandb.log({"conf_mat": wandb.plot.confusion_matrix(
- probs=None,
- y_true=ground_truth,
- preds=predictions,
- class_names=class_names
-)})
-```
-
-### Reports
-
-Create shareable reports in W&B UI:
-- Combine runs, charts, and text
-- Markdown support
-- Embeddable visualizations
-- Team collaboration
-
-## Best Practices
-
-### 1. Organize with Tags and Groups
-
-```python
-wandb.init(
- project="my-project",
- tags=["baseline", "resnet50", "imagenet"],
- group="resnet-experiments", # Group related runs
- job_type="train" # Type of job
-)
-```
-
-### 2. Log Everything Relevant
-
-```python
-# Log system metrics
-wandb.log({
- "gpu/util": gpu_utilization,
- "gpu/memory": gpu_memory_used,
- "cpu/util": cpu_utilization
-})
-
-# Log code version
-wandb.log({"git_commit": git_commit_hash})
-
-# Log data splits
-wandb.log({
- "data/train_size": len(train_dataset),
- "data/val_size": len(val_dataset)
-})
-```
-
-### 3. Use Descriptive Names
-
-```python
-# ✅ Good: Descriptive run names
-wandb.init(
- project="nlp-classification",
- name="bert-base-lr0.001-bs32-epoch10"
-)
-
-# ❌ Bad: Generic names
-wandb.init(project="nlp", name="run1")
-```
-
-### 4. Save Important Artifacts
-
-```python
-# Save final model
-artifact = wandb.Artifact('final-model', type='model')
-artifact.add_file('model.pth')
-wandb.log_artifact(artifact)
-
-# Save predictions for analysis
-predictions_table = wandb.Table(
- columns=["id", "input", "prediction", "ground_truth"],
- data=predictions_data
-)
-wandb.log({"predictions": predictions_table})
-```
-
-### 5. Use Offline Mode for Unstable Connections
-
-```python
-import os
-
-# Enable offline mode
-os.environ["WANDB_MODE"] = "offline"
-
-wandb.init(project="my-project")
-# ... your code ...
-
-# Sync later
-# wandb sync <run_directory>
-```
-
-## Team Collaboration
-
-### Share Runs
-
-```python
-# Runs are automatically shareable via URL
-run = wandb.init(project="team-project")
-print(f"Share this URL: {run.url}")
-```
-
-### Team Projects
-
-- Create team account at wandb.ai
-- Add team members
-- Set project visibility (private/public)
-- Use team-level artifacts and model registry
-
-## Pricing
-
-- **Free**: Unlimited public projects, 100GB storage
-- **Academic**: Free for students/researchers
-- **Teams**: $50/seat/month, private projects, unlimited storage
-- **Enterprise**: Custom pricing, on-prem options
-
-## Resources
-
-- **Documentation**: https://docs.wandb.ai
-- **GitHub**: https://github.com/wandb/wandb (10.5k+ stars)
-- **Examples**: https://github.com/wandb/examples
-- **Community**: https://wandb.ai/community
-- **Discord**: https://wandb.me/discord
-
-## See Also
-
-- `references/sweeps.md` - Comprehensive hyperparameter optimization guide
-- `references/artifacts.md` - Data and model versioning patterns
-- `references/integrations.md` - Framework-specific examples
diff --git a/website/docs/user-guide/skills/bundled/mlops/mlops-huggingface-hub.md b/website/docs/user-guide/skills/bundled/mlops/mlops-huggingface-hub.md
deleted file mode 100644
index 6e8f804079b..00000000000
--- a/website/docs/user-guide/skills/bundled/mlops/mlops-huggingface-hub.md
+++ /dev/null
@@ -1,100 +0,0 @@
----
-title: "Huggingface Hub — HuggingFace hf CLI: search/download/upload models, datasets"
-sidebar_label: "Huggingface Hub"
-description: "HuggingFace hf CLI: search/download/upload models, datasets"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Huggingface Hub
-
-HuggingFace hf CLI: search/download/upload models, datasets.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/mlops/huggingface-hub` |
-| Version | `1.0.1` |
-| Author | Hugging Face |
-| License | MIT |
-| Platforms | linux, macos, windows |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# Hugging Face CLI (`hf`) Reference Guide
-
-The `hf` command is the modern command-line interface for interacting with the Hugging Face Hub, providing tools to manage repositories, models, datasets, and Spaces.
-
-> **IMPORTANT:** The `hf` command replaces the now deprecated `huggingface-cli` command.
-
-## Quick Start
-* **Installation:** `curl -LsSf https://hf.co/cli/install.sh | bash -s`
-* **Help:** Use `hf --help` to view all available functions and real-world examples.
-* **Authentication:** Recommended via `HF_TOKEN` environment variable or the `--token` flag.
-
----
-
-## Core Commands
-
-### General Operations
-* `hf download REPO_ID`: Download files from the Hub.
-* `hf upload REPO_ID`: Upload files/folders (recommended for single-commit; also handles resumable uploads of large directories).
-* `hf upload-large-folder REPO_ID LOCAL_PATH`: **[Deprecated]** — use `hf upload` instead.
-* `hf sync`: Sync files between a local directory and a bucket.
-* `hf env` / `hf version`: View environment and version details.
-
-### Authentication (`hf auth`)
-* `login` / `logout`: Manage sessions using tokens from [huggingface.co/settings/tokens](https://huggingface.co/settings/tokens).
-* `list` / `switch`: Manage and toggle between multiple stored access tokens.
-* `whoami`: Identify the currently logged-in account.
-
-### Repository Management (`hf repos`)
-* `create` / `delete`: Create or permanently remove repositories.
-* `duplicate`: Clone a model, dataset, or Space to a new ID.
-* `move`: Transfer a repository between namespaces.
-* `branch` / `tag`: Manage Git-like references.
-* `delete-files`: Remove specific files using patterns.
-
----
-
-## Specialized Hub Interactions
-
-### Datasets & Models
-* **Datasets:** `hf datasets list`, `info`, and `parquet` (list parquet URLs).
-* **SQL Queries:** `hf datasets sql SQL` — Execute raw SQL via DuckDB against dataset parquet URLs.
-* **Models:** `hf models list` and `info`.
-* **Papers:** `hf papers ls` — View daily papers.
-
-### Discussions & Pull Requests (`hf discussions`)
-* Manage the lifecycle of Hub contributions: `list`, `create`, `info`, `comment`, `close`, `reopen`, and `rename`.
-* `diff`: View changes in a PR.
-* `merge`: Finalize pull requests.
-
-### Infrastructure & Compute
-* **Endpoints:** Deploy and manage Inference Endpoints (`deploy`, `pause`, `resume`, `scale-to-zero`, `catalog`).
-* **Jobs:** Run compute tasks on HF infrastructure. Includes `hf jobs uv` for running Python scripts with inline dependencies and `stats` for resource monitoring.
-* **Spaces:** Manage interactive apps. Includes `dev-mode` and `hot-reload` for Python files without full restarts.
-
-### Storage & Automation
-* **Buckets:** Full S3-like bucket management (`create`, `cp`, `mv`, `rm`, `sync`).
-* **Cache:** Manage local storage with `list`, `prune` (remove detached revisions), and `verify` (checksum checks).
-* **Webhooks:** Automate workflows by managing Hub webhooks (`create`, `watch`, `enable`/`disable`).
-* **Collections:** Organize Hub items into collections (`add-item`, `update`, `list`).
-
----
-
-## Advanced Usage & Tips
-
-### Global Flags
-* `--format json`: Produces machine-readable output for automation.
-* `-q` / `--quiet`: Limits output to IDs only.
-
-### Extensions & Skills
-* **Extensions:** Extend CLI functionality via GitHub repositories using `hf extensions install REPO_ID`.
-* **Skills:** Manage AI assistant skills with `hf skills add`.
diff --git a/website/docs/user-guide/skills/bundled/mlops/mlops-inference-llama-cpp.md b/website/docs/user-guide/skills/bundled/mlops/mlops-inference-llama-cpp.md
deleted file mode 100644
index 95997729c57..00000000000
--- a/website/docs/user-guide/skills/bundled/mlops/mlops-inference-llama-cpp.md
+++ /dev/null
@@ -1,267 +0,0 @@
----
-title: "Llama Cpp — llama.cpp local GGUF inference + HF Hub model discovery"
-sidebar_label: "Llama Cpp"
-description: "llama.cpp local GGUF inference + HF Hub model discovery"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Llama Cpp
-
-llama.cpp local GGUF inference + HF Hub model discovery.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/mlops/inference/llama-cpp` |
-| Version | `2.1.2` |
-| Author | Orchestra Research |
-| License | MIT |
-| Dependencies | `llama-cpp-python>=0.2.0` |
-| Platforms | linux, macos, windows |
-| Tags | `llama.cpp`, `GGUF`, `Quantization`, `Hugging Face Hub`, `CPU Inference`, `Apple Silicon`, `Edge Deployment`, `AMD GPUs`, `Intel GPUs`, `NVIDIA`, `URL-first` |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# llama.cpp + GGUF
-
-Use this skill for local GGUF inference, quant selection, or Hugging Face repo discovery for llama.cpp.
-
-## When to use
-
-- Run local models on CPU, Apple Silicon, CUDA, ROCm, or Intel GPUs
-- Find the right GGUF for a specific Hugging Face repo
-- Build a `llama-server` or `llama-cli` command from the Hub
-- Search the Hub for models that already support llama.cpp
-- Enumerate available `.gguf` files and sizes for a repo
-- Decide between Q4/Q5/Q6/IQ variants for the user's RAM or VRAM
-
-## Model Discovery workflow
-
-Prefer URL workflows before asking for `hf`, Python, or custom scripts.
-
-1. Search for candidate repos on the Hub:
- - Base: `https://huggingface.co/models?apps=llama.cpp&sort=trending`
- - Add `search=<term>` for a model family
- - Add `num_parameters=min:0,max:24B` or similar when the user has size constraints
-2. Open the repo with the llama.cpp local-app view:
- - `https://huggingface.co/<repo>?local-app=llama.cpp`
-3. Treat the local-app snippet as the source of truth when it is visible:
- - copy the exact `llama-server` or `llama-cli` command
- - report the recommended quant exactly as HF shows it
-4. Read the same `?local-app=llama.cpp` URL as page text or HTML and extract the section under `Hardware compatibility`:
- - prefer its exact quant labels and sizes over generic tables
- - keep repo-specific labels such as `UD-Q4_K_M` or `IQ4_NL_XL`
- - if that section is not visible in the fetched page source, say so and fall back to the tree API plus generic quant guidance
-5. Query the tree API to confirm what actually exists:
- - `https://huggingface.co/api/models/<repo>/tree/main?recursive=true`
- - keep entries where `type` is `file` and `path` ends with `.gguf`
- - use `path` and `size` as the source of truth for filenames and byte sizes
- - separate quantized checkpoints from `mmproj-*.gguf` projector files and `BF16/` shard files
- - use `https://huggingface.co/<repo>/tree/main` only as a human fallback
-6. If the local-app snippet is not text-visible, reconstruct the command from the repo plus the chosen quant:
- - shorthand quant selection: `llama-server -hf <repo>:<QUANT>`
- - exact-file fallback: `llama-server --hf-repo <repo> --hf-file <filename.gguf>`
-7. Only suggest conversion from Transformers weights if the repo does not already expose GGUF files.
-
-## Quick start
-
-### Install llama.cpp
-
-```bash
-# macOS / Linux (simplest)
-brew install llama.cpp
-```
-
-```bash
-winget install llama.cpp
-```
-
-```bash
-git clone https://github.com/ggml-org/llama.cpp
-cd llama.cpp
-cmake -B build
-cmake --build build --config Release
-```
-
-### Run directly from the Hugging Face Hub
-
-```bash
-llama-cli -hf bartowski/Llama-3.2-3B-Instruct-GGUF:Q8_0
-```
-
-```bash
-llama-server -hf bartowski/Llama-3.2-3B-Instruct-GGUF:Q8_0
-```
-
-### Run an exact GGUF file from the Hub
-
-Use this when the tree API shows custom file naming or the exact HF snippet is missing.
-
-```bash
-llama-server \
- --hf-repo microsoft/Phi-3-mini-4k-instruct-gguf \
- --hf-file Phi-3-mini-4k-instruct-q4.gguf \
- -c 4096
-```
-
-### OpenAI-compatible server check
-
-```bash
-curl http://localhost:8080/v1/chat/completions \
- -H "Content-Type: application/json" \
- -d '{
- "messages": [
- {"role": "user", "content": "Write a limerick about Python exceptions"}
- ]
- }'
-```
-
-## Python bindings (llama-cpp-python)
-
-`pip install llama-cpp-python` (CUDA: `CMAKE_ARGS="-DGGML_CUDA=on" pip install llama-cpp-python --force-reinstall --no-cache-dir`; Metal: `CMAKE_ARGS="-DGGML_METAL=on" ...`).
-
-### Basic generation
-
-```python
-from llama_cpp import Llama
-
-llm = Llama(
- model_path="./model-q4_k_m.gguf",
- n_ctx=4096,
- n_gpu_layers=35, # 0 for CPU, 99 to offload everything
- n_threads=8,
-)
-
-out = llm("What is machine learning?", max_tokens=256, temperature=0.7)
-print(out["choices"][0]["text"])
-```
-
-### Chat + streaming
-
-```python
-llm = Llama(
- model_path="./model-q4_k_m.gguf",
- n_ctx=4096,
- n_gpu_layers=35,
- chat_format="llama-3", # or "chatml", "mistral", etc.
-)
-
-resp = llm.create_chat_completion(
- messages=[
- {"role": "system", "content": "You are a helpful assistant."},
- {"role": "user", "content": "What is Python?"},
- ],
- max_tokens=256,
-)
-print(resp["choices"][0]["message"]["content"])
-
-# Streaming
-for chunk in llm("Explain quantum computing:", max_tokens=256, stream=True):
- print(chunk["choices"][0]["text"], end="", flush=True)
-```
-
-### Embeddings
-
-```python
-llm = Llama(model_path="./model-q4_k_m.gguf", embedding=True, n_gpu_layers=35)
-vec = llm.embed("This is a test sentence.")
-print(f"Embedding dimension: {len(vec)}")
-```
-
-You can also load a GGUF straight from the Hub:
-
-```python
-llm = Llama.from_pretrained(
- repo_id="bartowski/Llama-3.2-3B-Instruct-GGUF",
- filename="*Q4_K_M.gguf",
- n_gpu_layers=35,
-)
-```
-
-## Choosing a quant
-
-Use the Hub page first, generic heuristics second.
-
-- Prefer the exact quant that HF marks as compatible for the user's hardware profile.
-- For general chat, start with `Q4_K_M`.
-- For code or technical work, prefer `Q5_K_M` or `Q6_K` if memory allows.
-- For very tight RAM budgets, consider `Q3_K_M`, `IQ` variants, or `Q2` variants only if the user explicitly prioritizes fit over quality.
-- For multimodal repos, mention `mmproj-*.gguf` separately. The projector is not the main model file.
-- Do not normalize repo-native labels. If the page says `UD-Q4_K_M`, report `UD-Q4_K_M`.
-
-## Extracting available GGUFs from a repo
-
-When the user asks what GGUFs exist, return:
-
-- filename
-- file size
-- quant label
-- whether it is a main model or an auxiliary projector
-
-Ignore unless requested:
-
-- README
-- BF16 shard files
-- imatrix blobs or calibration artifacts
-
-Use the tree API for this step:
-
-- `https://huggingface.co/api/models/<repo>/tree/main?recursive=true`
-
-For a repo like `unsloth/Qwen3.6-35B-A3B-GGUF`, the local-app page can show quant chips such as `UD-Q4_K_M`, `UD-Q5_K_M`, `UD-Q6_K`, and `Q8_0`, while the tree API exposes exact file paths such as `Qwen3.6-35B-A3B-UD-Q4_K_M.gguf` and `Qwen3.6-35B-A3B-Q8_0.gguf` with byte sizes. Use the tree API to turn a quant label into an exact filename.
-
-## Search patterns
-
-Use these URL shapes directly:
-
-```text
-https://huggingface.co/models?apps=llama.cpp&sort=trending
-https://huggingface.co/models?search=<term>&apps=llama.cpp&sort=trending
-https://huggingface.co/models?search=<term>&apps=llama.cpp&num_parameters=min:0,max:24B&sort=trending
-https://huggingface.co/<repo>?local-app=llama.cpp
-https://huggingface.co/api/models/<repo>/tree/main?recursive=true
-https://huggingface.co/<repo>/tree/main
-```
-
-## Output format
-
-When answering discovery requests, prefer a compact structured result like:
-
-```text
-Repo: <repo>
-Recommended quant from HF: <label> (<size>)
-llama-server: <command>
-Other GGUFs:
-- <filename> - <size>
-- <filename> - <size>
-Source URLs:
-- <local-app URL>
-- <tree API URL>
-```
-
-## References
-
-- **[hub-discovery.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/mlops/inference/llama-cpp/references/hub-discovery.md)** - URL-only Hugging Face workflows, search patterns, GGUF extraction, and command reconstruction
-- **[advanced-usage.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/mlops/inference/llama-cpp/references/advanced-usage.md)** — speculative decoding, batched inference, grammar-constrained generation, LoRA, multi-GPU, custom builds, benchmark scripts
-- **[quantization.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/mlops/inference/llama-cpp/references/quantization.md)** — quant quality tradeoffs, when to use Q4/Q5/Q6/IQ, model size scaling, imatrix
-- **[server.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/mlops/inference/llama-cpp/references/server.md)** — direct-from-Hub server launch, OpenAI API endpoints, Docker deployment, NGINX load balancing, monitoring
-- **[optimization.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/mlops/inference/llama-cpp/references/optimization.md)** — CPU threading, BLAS, GPU offload heuristics, batch tuning, benchmarks
-- **[troubleshooting.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/mlops/inference/llama-cpp/references/troubleshooting.md)** — install/convert/quantize/inference/server issues, Apple Silicon, debugging
-
-## Resources
-
-- **GitHub**: https://github.com/ggml-org/llama.cpp
-- **Hugging Face GGUF + llama.cpp docs**: https://huggingface.co/docs/hub/gguf-llamacpp
-- **Hugging Face Local Apps docs**: https://huggingface.co/docs/hub/main/local-apps
-- **Hugging Face Local Agents docs**: https://huggingface.co/docs/hub/agents-local
-- **Example local-app page**: https://huggingface.co/unsloth/Qwen3.6-35B-A3B-GGUF?local-app=llama.cpp
-- **Example tree API**: https://huggingface.co/api/models/unsloth/Qwen3.6-35B-A3B-GGUF/tree/main?recursive=true
-- **Example llama.cpp search**: https://huggingface.co/models?num_parameters=min:0,max:24B&apps=llama.cpp&sort=trending
-- **License**: MIT
diff --git a/website/docs/user-guide/skills/bundled/mlops/mlops-inference-serving-llms-vllm.md b/website/docs/user-guide/skills/bundled/mlops/mlops-inference-serving-llms-vllm.md
deleted file mode 100644
index 7aaca4c2bdb..00000000000
--- a/website/docs/user-guide/skills/bundled/mlops/mlops-inference-serving-llms-vllm.md
+++ /dev/null
@@ -1,387 +0,0 @@
----
-title: "Serving Llms Vllm — vLLM: high-throughput LLM serving, OpenAI API, quantization"
-sidebar_label: "Serving Llms Vllm"
-description: "vLLM: high-throughput LLM serving, OpenAI API, quantization"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Serving Llms Vllm
-
-vLLM: high-throughput LLM serving, OpenAI API, quantization.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/mlops/inference/serving-llms-vllm` |
-| Version | `1.0.1` |
-| Author | Orchestra Research |
-| License | MIT |
-| Dependencies | `vllm`, `torch`, `transformers` |
-| Platforms | linux, macos |
-| Tags | `vLLM`, `Inference Serving`, `PagedAttention`, `Continuous Batching`, `High Throughput`, `Production`, `OpenAI API`, `Quantization`, `Tensor Parallelism` |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# vLLM - High-Performance LLM Serving
-
-## When to use
-
-Use when deploying production LLM APIs, optimizing inference latency/throughput, or serving models with limited GPU memory. Supports OpenAI-compatible endpoints, quantization (GPTQ/AWQ/FP8), and tensor parallelism.
-
-## Quick start
-
-vLLM achieves 24x higher throughput than standard transformers through PagedAttention (block-based KV cache) and continuous batching (mixing prefill/decode requests).
-
-**Installation**:
-```bash
-pip install vllm
-```
-
-**Basic offline inference**:
-```python
-from vllm import LLM, SamplingParams
-
-llm = LLM(model="meta-llama/Meta-Llama-3-8B-Instruct")
-sampling = SamplingParams(temperature=0.7, max_tokens=256)
-
-outputs = llm.generate(["Explain quantum computing"], sampling)
-print(outputs[0].outputs[0].text)
-```
-
-**OpenAI-compatible server**:
-```bash
-vllm serve meta-llama/Meta-Llama-3-8B-Instruct
-
-# Query with OpenAI SDK
-python -c "
-from openai import OpenAI
-client = OpenAI(base_url='http://localhost:8000/v1', api_key='EMPTY')
-print(client.chat.completions.create(
- model='meta-llama/Meta-Llama-3-8B-Instruct',
- messages=[{'role': 'user', 'content': 'Hello!'}]
-).choices[0].message.content)
-"
-```
-
-## Common workflows
-
-### Workflow 1: Production API deployment
-
-Copy this checklist and track progress:
-
-```
-Deployment Progress:
-- [ ] Step 1: Configure server settings
-- [ ] Step 2: Test with limited traffic
-- [ ] Step 3: Enable monitoring
-- [ ] Step 4: Deploy to production
-- [ ] Step 5: Verify performance metrics
-```
-
-**Step 1: Configure server settings**
-
-Choose configuration based on your model size:
-
-```bash
-# For 7B-13B models on single GPU
-vllm serve meta-llama/Meta-Llama-3-8B-Instruct \
- --gpu-memory-utilization 0.9 \
- --max-model-len 8192 \
- --port 8000
-
-# For 30B-70B models with tensor parallelism
-vllm serve meta-llama/Meta-Llama-3-70B-Instruct \
- --tensor-parallel-size 4 \
- --gpu-memory-utilization 0.9 \
- --quantization awq \
- --port 8000
-
-# For production with caching (Prometheus metrics are exposed
-# automatically at /metrics on the API port)
-vllm serve meta-llama/Meta-Llama-3-8B-Instruct \
- --gpu-memory-utilization 0.9 \
- --enable-prefix-caching \
- --port 8000 \
- --host 0.0.0.0
-```
-
-**Step 2: Test with limited traffic**
-
-Run load test before production:
-
-```bash
-# Install load testing tool
-pip install locust
-
-# Create test_load.py with sample requests
-# Run: locust -f test_load.py --host http://localhost:8000
-```
-
-Verify TTFT (time to first token) &lt; 500ms and throughput > 100 req/sec.
-
-**Step 3: Enable monitoring**
-
-vLLM exposes Prometheus metrics at `/metrics` on the API port (default 8000):
-
-```bash
-curl http://localhost:8000/metrics | grep vllm
-```
-
-Key metrics to monitor:
-- `vllm:time_to_first_token_seconds` - Latency
-- `vllm:num_requests_running` - Active requests
-- `vllm:gpu_cache_usage_perc` - KV cache utilization
-
-**Step 4: Deploy to production**
-
-Use Docker for consistent deployment:
-
-```bash
-# Run vLLM in Docker
-docker run --gpus all -p 8000:8000 \
- vllm/vllm-openai:latest \
- --model meta-llama/Meta-Llama-3-8B-Instruct \
- --gpu-memory-utilization 0.9 \
- --enable-prefix-caching
-```
-
-**Step 5: Verify performance metrics**
-
-Check that deployment meets targets:
-- TTFT &lt; 500ms (for short prompts)
-- Throughput > target req/sec
-- GPU utilization > 80%
-- No OOM errors in logs
-
-### Workflow 2: Offline batch inference
-
-For processing large datasets without server overhead.
-
-Copy this checklist:
-
-```
-Batch Processing:
-- [ ] Step 1: Prepare input data
-- [ ] Step 2: Configure LLM engine
-- [ ] Step 3: Run batch inference
-- [ ] Step 4: Process results
-```
-
-**Step 1: Prepare input data**
-
-```python
-# Load prompts from file
-prompts = []
-with open("prompts.txt") as f:
- prompts = [line.strip() for line in f]
-
-print(f"Loaded {len(prompts)} prompts")
-```
-
-**Step 2: Configure LLM engine**
-
-```python
-from vllm import LLM, SamplingParams
-
-llm = LLM(
- model="meta-llama/Meta-Llama-3-8B-Instruct",
- tensor_parallel_size=2, # Use 2 GPUs
- gpu_memory_utilization=0.9,
- max_model_len=4096
-)
-
-sampling = SamplingParams(
- temperature=0.7,
- top_p=0.95,
- max_tokens=512,
- stop=["</s>", "\n\n"]
-)
-```
-
-**Step 3: Run batch inference**
-
-vLLM automatically batches requests for efficiency:
-
-```python
-# Process all prompts in one call
-outputs = llm.generate(prompts, sampling)
-
-# vLLM handles batching internally
-# No need to manually chunk prompts
-```
-
-**Step 4: Process results**
-
-```python
-# Extract generated text
-results = []
-for output in outputs:
- prompt = output.prompt
- generated = output.outputs[0].text
- results.append({
- "prompt": prompt,
- "generated": generated,
- "tokens": len(output.outputs[0].token_ids)
- })
-
-# Save to file
-import json
-with open("results.jsonl", "w") as f:
- for result in results:
- f.write(json.dumps(result) + "\n")
-
-print(f"Processed {len(results)} prompts")
-```
-
-### Workflow 3: Quantized model serving
-
-Fit large models in limited GPU memory.
-
-```
-Quantization Setup:
-- [ ] Step 1: Choose quantization method
-- [ ] Step 2: Find or create quantized model
-- [ ] Step 3: Launch with quantization flag
-- [ ] Step 4: Verify accuracy
-```
-
-**Step 1: Choose quantization method**
-
-- **AWQ**: Best for 70B models, minimal accuracy loss
-- **GPTQ**: Wide model support, good compression
-- **FP8**: Fastest on H100 GPUs
-
-**Step 2: Find or create quantized model**
-
-Use pre-quantized models from HuggingFace:
-
-```bash
-# Search for AWQ models
-# Example: TheBloke/Llama-2-70B-AWQ
-```
-
-**Step 3: Launch with quantization flag**
-
-```bash
-# Using pre-quantized model
-vllm serve TheBloke/Llama-2-70B-AWQ \
- --quantization awq \
- --tensor-parallel-size 1 \
- --gpu-memory-utilization 0.95
-
-# Results: 70B model in ~40GB VRAM
-```
-
-**Step 4: Verify accuracy**
-
-Test outputs match expected quality:
-
-```python
-# Compare quantized vs non-quantized responses
-# Verify task-specific performance unchanged
-```
-
-## When to use vs alternatives
-
-**Use vLLM when:**
-- Deploying production LLM APIs (100+ req/sec)
-- Serving OpenAI-compatible endpoints
-- Limited GPU memory but need large models
-- Multi-user applications (chatbots, assistants)
-- Need low latency with high throughput
-
-**Use alternatives instead:**
-- **llama.cpp**: CPU/edge inference, single-user
-- **HuggingFace transformers**: Research, prototyping, one-off generation
-- **TensorRT-LLM**: NVIDIA-only, need absolute maximum performance
-- **Text-Generation-Inference**: Already in HuggingFace ecosystem
-
-## Common issues
-
-**Issue: Out of memory during model loading**
-
-Reduce memory usage:
-```bash
-vllm serve MODEL \
- --gpu-memory-utilization 0.7 \
- --max-model-len 4096
-```
-
-Or use quantization:
-```bash
-vllm serve MODEL --quantization awq
-```
-
-**Issue: Slow first token (TTFT > 1 second)**
-
-Enable prefix caching for repeated prompts:
-```bash
-vllm serve MODEL --enable-prefix-caching
-```
-
-For long prompts, enable chunked prefill:
-```bash
-vllm serve MODEL --enable-chunked-prefill
-```
-
-**Issue: Model not found error**
-
-Use `--trust-remote-code` for custom models:
-```bash
-vllm serve MODEL --trust-remote-code
-```
-
-**Issue: Low throughput (&lt;50 req/sec)**
-
-Increase concurrent sequences:
-```bash
-vllm serve MODEL --max-num-seqs 512
-```
-
-Check GPU utilization with `nvidia-smi` - should be >80%.
-
-**Issue: Inference slower than expected**
-
-Verify tensor parallelism uses power of 2 GPUs:
-```bash
-vllm serve MODEL --tensor-parallel-size 4 # Not 3
-```
-
-Enable speculative decoding for faster generation (pass config as JSON;
-`--speculative-model` was removed in favor of `--speculative-config`):
-```bash
-vllm serve MODEL \
- --speculative-config '{"model": "DRAFT_MODEL", "num_speculative_tokens": 5, "method": "draft_model"}'
-```
-
-## Advanced topics
-
-**Server deployment patterns**: See [references/server-deployment.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/mlops/inference/serving-llms-vllm/references/server-deployment.md) for Docker, Kubernetes, and load balancing configurations.
-
-**Performance optimization**: See [references/optimization.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/mlops/inference/serving-llms-vllm/references/optimization.md) for PagedAttention tuning, continuous batching details, and benchmark results.
-
-**Quantization guide**: See [references/quantization.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/mlops/inference/serving-llms-vllm/references/quantization.md) for AWQ/GPTQ/FP8 setup, model preparation, and accuracy comparisons.
-
-**Troubleshooting**: See [references/troubleshooting.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/mlops/inference/serving-llms-vllm/references/troubleshooting.md) for detailed error messages, debugging steps, and performance diagnostics.
-
-## Hardware requirements
-
-- **Small models (7B-13B)**: 1x A10 (24GB) or A100 (40GB)
-- **Medium models (30B-40B)**: 2x A100 (40GB) with tensor parallelism
-- **Large models (70B+)**: 4x A100 (40GB) or 2x A100 (80GB), use AWQ/GPTQ
-
-Supported platforms: NVIDIA (primary), AMD ROCm, Intel GPUs, TPUs
-
-## Resources
-
-- Official docs: https://docs.vllm.ai
-- GitHub: https://github.com/vllm-project/vllm
-- Paper: "Efficient Memory Management for Large Language Model Serving with PagedAttention" (SOSP 2023)
-- Community: https://discuss.vllm.ai
diff --git a/website/docs/user-guide/skills/bundled/productivity/productivity-nano-pdf.md b/website/docs/user-guide/skills/bundled/productivity/productivity-nano-pdf.md
deleted file mode 100644
index 602100d582a..00000000000
--- a/website/docs/user-guide/skills/bundled/productivity/productivity-nano-pdf.md
+++ /dev/null
@@ -1,70 +0,0 @@
----
-title: "Nano Pdf — Edit text in existing PDFs via natural-language prompts"
-sidebar_label: "Nano Pdf"
-description: "Edit text in existing PDFs via natural-language prompts"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Nano Pdf
-
-Edit text in existing PDFs via natural-language prompts.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/productivity/nano-pdf` |
-| Version | `1.0.0` |
-| Author | community |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `PDF`, `Documents`, `Editing`, `NLP`, `Productivity` |
-| Related skills | [`pdf`](./productivity-pdf.md), [`ocr-and-documents`](./productivity-ocr-and-documents.md) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# nano-pdf
-
-Edit PDFs using natural-language instructions. Point it at a page and describe what to change. For structural PDF work (merge, split, forms, watermarks, creation), see the `pdf` skill; for text extraction from scans, see `ocr-and-documents`.
-
-## Prerequisites
-
-```bash
-# Install with uv (recommended — already available in Hermes)
-uv pip install nano-pdf
-
-# Or with pip
-pip install nano-pdf
-```
-
-## Usage
-
-```bash
-nano-pdf edit <file.pdf> <page_number> "<instruction>"
-```
-
-## Examples
-
-```bash
-# Change a title on page 1
-nano-pdf edit deck.pdf 1 "Change the title to 'Q3 Results' and fix the typo in the subtitle"
-
-# Update a date on a specific page
-nano-pdf edit report.pdf 3 "Update the date from January to February 2026"
-
-# Fix content
-nano-pdf edit contract.pdf 2 "Change the client name from 'Acme Corp' to 'Acme Industries'"
-```
-
-## Notes
-
-- Page numbers may be 0-based or 1-based depending on version — if the edit hits the wrong page, retry with ±1
-- Always verify the output PDF after editing (use `read_file` to check file size, or open it)
-- The tool uses an LLM under the hood — requires an API key (check `nano-pdf --help` for config)
-- Works well for text changes; complex layout modifications may need a different approach
diff --git a/website/docs/user-guide/skills/bundled/productivity/productivity-ocr-and-documents.md b/website/docs/user-guide/skills/bundled/productivity/productivity-ocr-and-documents.md
deleted file mode 100644
index 40e7b1da11f..00000000000
--- a/website/docs/user-guide/skills/bundled/productivity/productivity-ocr-and-documents.md
+++ /dev/null
@@ -1,193 +0,0 @@
----
-title: "Ocr And Documents — Extract text from PDFs/scans (pymupdf, marker-pdf)"
-sidebar_label: "Ocr And Documents"
-description: "Extract text from PDFs/scans (pymupdf, marker-pdf)"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Ocr And Documents
-
-Extract text from PDFs/scans (pymupdf, marker-pdf).
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/productivity/ocr-and-documents` |
-| Version | `2.3.0` |
-| Author | Hermes Agent |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `PDF`, `Documents`, `Research`, `Arxiv`, `Text-Extraction`, `OCR` |
-| Related skills | [`pdf`](./productivity-pdf.md), [`docx`](./productivity-docx.md), [`powerpoint`](./productivity-powerpoint.md) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# PDF & Document Extraction
-
-For DOCX: see the `docx` skill (create/edit) or use `python-docx` for structured reads.
-For PPTX: see the `powerpoint` skill (full create/read/edit support).
-For PDF manipulation (merge, split, forms, watermarks, creation): see the `pdf` skill.
-This skill covers **text extraction from PDFs and scanned documents**.
-
-> **Coming from a `read_file` EXTRACTION COVERAGE WARNING?** `read_file` auto-converts local PDFs but reads the text layer only; the warning footer lists the pages that yielded no text (scanned images). For a handful of pages, render + vision is fastest: `pdftoppm -jpeg -r 150 -f N -l N file.pdf $TMPDIR/page` then `vision_analyze` each image. For bulk OCR of many pages, use marker-pdf below (Step 2).
-
-## Step 1: Remote URL Available?
-
-If the document has a URL, **always try `web_extract` first**:
-
-```
-web_extract(urls=["https://arxiv.org/pdf/2402.03300"])
-web_extract(urls=["https://example.com/report.pdf"])
-```
-
-This handles PDF-to-markdown conversion via Firecrawl with no local dependencies.
-
-Only use local extraction when: the file is local, web_extract fails, or you need batch processing.
-
-## Step 2: Choose Local Extractor
-
-| Feature | pymupdf (~25MB) | marker-pdf (~3-5GB) |
-|---------|-----------------|---------------------|
-| **Text-based PDF** | ✅ | ✅ |
-| **Scanned PDF (OCR)** | ❌ | ✅ (90+ languages) |
-| **Tables** | ✅ (basic) | ✅ (high accuracy) |
-| **Equations / LaTeX** | ❌ | ✅ |
-| **Code blocks** | ❌ | ✅ |
-| **Forms** | ❌ | ✅ |
-| **Headers/footers removal** | ❌ | ✅ |
-| **Reading order detection** | ❌ | ✅ |
-| **Images extraction** | ✅ (embedded) | ✅ (with context) |
-| **Images → text (OCR)** | ❌ | ✅ |
-| **EPUB** | ✅ | ✅ |
-| **Markdown output** | ✅ (via pymupdf4llm) | ✅ (native, higher quality) |
-| **Install size** | ~25MB | ~3-5GB (PyTorch + models) |
-| **Speed** | Instant | ~1-14s/page (CPU), ~0.2s/page (GPU) |
-
-**Decision**: Use pymupdf unless you need OCR, equations, forms, or complex layout analysis.
-
-If the user needs marker capabilities but the system lacks ~5GB free disk:
-> "This document needs OCR/advanced extraction (marker-pdf), which requires ~5GB for PyTorch and models. Your system has [X]GB free. Options: free up space, provide a URL so I can use web_extract, or I can try pymupdf which works for text-based PDFs but not scanned documents or equations."
-
----
-
-## pymupdf (lightweight)
-
-```bash
-pip install pymupdf pymupdf4llm
-```
-
-**Via helper script**:
-```bash
-python scripts/extract_pymupdf.py document.pdf # Plain text
-python scripts/extract_pymupdf.py document.pdf --markdown # Markdown
-python scripts/extract_pymupdf.py document.pdf --tables # Tables
-python scripts/extract_pymupdf.py document.pdf --images out/ # Extract images
-python scripts/extract_pymupdf.py document.pdf --metadata # Title, author, pages
-python scripts/extract_pymupdf.py document.pdf --pages 0-4 # Specific pages
-```
-
-**Inline**:
-```bash
-python3 -c "
-import pymupdf
-doc = pymupdf.open('document.pdf')
-for page in doc:
- print(page.get_text())
-"
-```
-
----
-
-## marker-pdf (high-quality OCR)
-
-```bash
-# Check disk space first
-python scripts/extract_marker.py --check
-
-pip install marker-pdf
-```
-
-**Via helper script**:
-```bash
-python scripts/extract_marker.py document.pdf # Markdown
-python scripts/extract_marker.py document.pdf --json # JSON with metadata
-python scripts/extract_marker.py document.pdf --output_dir out/ # Save images
-python scripts/extract_marker.py scanned.pdf # Scanned PDF (OCR)
-python scripts/extract_marker.py document.pdf --use_llm # LLM-boosted accuracy
-```
-
-**CLI** (installed with marker-pdf):
-```bash
-marker_single document.pdf --output_dir ./output
-marker /path/to/folder --workers 4 # Batch
-```
-
----
-
-## Arxiv Papers
-
-```
-# Abstract only (fast)
-web_extract(urls=["https://arxiv.org/abs/2402.03300"])
-
-# Full paper
-web_extract(urls=["https://arxiv.org/pdf/2402.03300"])
-
-# Search
-web_search(query="arxiv GRPO reinforcement learning 2026")
-```
-
-## Split, Merge & Search
-
-pymupdf handles these natively — use `execute_code` or inline Python:
-
-```python
-# Split: extract pages 1-5 to a new PDF
-import pymupdf
-doc = pymupdf.open("report.pdf")
-new = pymupdf.open()
-for i in range(5):
- new.insert_pdf(doc, from_page=i, to_page=i)
-new.save("pages_1-5.pdf")
-```
-
-```python
-# Merge multiple PDFs
-import pymupdf
-result = pymupdf.open()
-for path in ["a.pdf", "b.pdf", "c.pdf"]:
- result.insert_pdf(pymupdf.open(path))
-result.save("merged.pdf")
-```
-
-```python
-# Search for text across all pages
-import pymupdf
-doc = pymupdf.open("report.pdf")
-for i, page in enumerate(doc):
- results = page.search_for("revenue")
- if results:
- print(f"Page {i+1}: {len(results)} match(es)")
- print(page.get_text("text"))
-```
-
-No extra dependencies needed — pymupdf covers split, merge, search, and text extraction in one package.
-
----
-
-## Notes
-
-- `web_extract` is always first choice for URLs
-- pymupdf is the safe default — instant, no models, works everywhere
-- marker-pdf is for OCR, scanned docs, equations, complex layouts — install only when needed
-- Both helper scripts accept `--help` for full usage
-- marker-pdf downloads ~2.5GB of models to `~/.cache/huggingface/` on first use
-- For Word docs: `pip install python-docx` (better than OCR — parses actual structure)
-- For PowerPoint: see the `powerpoint` skill (uses python-pptx)
diff --git a/website/docs/user-guide/skills/bundled/productivity/productivity-session-librarian.md b/website/docs/user-guide/skills/bundled/productivity/productivity-session-librarian.md
deleted file mode 100644
index 4cf4db77f6a..00000000000
--- a/website/docs/user-guide/skills/bundled/productivity/productivity-session-librarian.md
+++ /dev/null
@@ -1,122 +0,0 @@
----
-title: "Session Librarian — Organize sessions by prompt: find, rename, archive, prune"
-sidebar_label: "Session Librarian"
-description: "Organize sessions by prompt: find, rename, archive, prune"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Session Librarian
-
-Organize sessions by prompt: find, rename, archive, prune.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/productivity/session-librarian` |
-| Version | `1.0.0` |
-| Author | Hermes Agent + Teknium |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `Sessions`, `Organization`, `Cleanup`, `Library`, `Productivity` |
-| Related skills | [`weekly-review-planning`](./productivity-weekly-review-planning.md) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# Session Librarian
-
-Manage the user's session library conversationally: find past sessions about a
-topic, summarize what they decided, rename them meaningfully, split work into
-parallel sessions, and propose stale ones for archive or deletion — all from a
-plain-language request like *"find my sessions about Q3 pricing, keep the
-useful ones, and clean up the duplicates."*
-
-Inspired by Perplexity Computer's prompt-driven session management (Aug 2026):
-the agent starts, organizes, and cleans up the user's own session library, and
-always shows the plan before touching anything.
-
-## When to Use
-
-- "What sessions do I have about X?" / "What did we decide about X?"
-- "Rename these sessions to something meaningful."
-- "Clean up my session library" / "archive the stale ones."
-- "Fork that session into a follow-up focused on Y."
-- "Split this into one session per ticket" (see Parallel workstreams below).
-
-## The Two Surfaces
-
-| Task | Surface |
-|---|---|
-| Find sessions by topic, read content, summarize decisions | `session_search` tool (FTS5 over the message store) |
-| List/filter by metadata (age, source, cost, tokens, workspace) | `hermes sessions list` / `stats` via terminal |
-| Rename | `hermes sessions rename <session_id> <title...>` |
-| Bulk soft-hide (reversible) | `hermes sessions archive <filters>` |
-| Delete (destructive) | `hermes sessions delete` / `hermes sessions prune <filters>` |
-| Export before deleting anything valuable | `hermes sessions export --session-id <id> --format md` |
-| Continue work in a new place | `/branch` (fork current session) or start a fresh session and cite the summary |
-
-## Procedure
-
-① **Discover.** Use `session_search(query=..., limit=5-10)` with topic
-keywords; vary phrasing (feature name, symptom, project name). For metadata
-sweeps ("sessions older than 60 days from telegram"), use
-`hermes sessions list --source telegram --limit 50` instead.
-
-② **Summarize per session.** The discovery result's `bookend_start` (goal),
-match window, and `bookend_end` (resolution) usually suffice — only dump a
-full session (`session_search(session_id=...)`) when the user asks for
-decisions in depth. Report each as: link (`@session:` form) — one-line goal —
-one-line outcome.
-
-③ **Plan before acting (MANDATORY for anything that mutates).** Present a
-plan table first: which sessions get renamed to what, which get archived,
-which are proposed for deletion and why (duplicate of which keeper, stale,
-empty). Wait for the user's go-ahead. Exception: a single rename the user
-explicitly dictated can be done directly.
-
-④ **Act with the safest primitive.**
-- Prefer `archive` (reversible soft-hide) over `delete`/`prune`.
-- Always run destructive commands with `--dry-run` first and show the output,
- then re-run with `--yes` after confirmation.
-- Before deleting anything with meaningful content, offer
- `hermes sessions export --format md` as a backup.
-
-⑤ **Report.** Renames applied, sessions archived (count + how to undo:
-archived sessions remain in the DB and are listed with `--include-archived`),
-anything exported, anything skipped and why.
-
-## Parallel Workstreams
-
-For "one session per ticket, investigate each, report back": do NOT try to
-drive other live sessions. Use `delegate_task` with one task per workstream —
-each subagent runs in its own session automatically — then synthesize their
-summaries. Mention that each delegation's transcript is itself searchable
-later via `session_search`.
-
-## Pitfalls
-
-- **Never delete without a dry-run + explicit confirmation in this
- conversation.** A standing "clean things up" is authority to *propose*, not
- to prune.
-- **`session_search` finds content, not metadata.** Age/cost/source filters
- live in the CLI; combine both when the request mixes them ("old sessions
- about pricing").
-- **Titles are identity for `/resume <title>`.** When renaming, keep titles
- short, unique, and prefix-friendly; warn the user if a rename collides with
- an existing title.
-- **Archived ≠ deleted.** Archive hides sessions from default listings only.
- Say which one you did.
-- **Cross-profile session links** (`@session:<profile>/<id>`) are read-only
- from another profile; management commands act on the current profile's DB.
-
-## Verification
-
-After a cleanup pass, re-run the discovery query and `hermes sessions list`
-to confirm the library reflects the plan (keepers present with new titles,
-archived ones gone from the default listing).
diff --git a/website/docs/user-guide/skills/bundled/research/research-blocked-page-recovery.md b/website/docs/user-guide/skills/bundled/research/research-blocked-page-recovery.md
deleted file mode 100644
index a9e9dc40fc1..00000000000
--- a/website/docs/user-guide/skills/bundled/research/research-blocked-page-recovery.md
+++ /dev/null
@@ -1,155 +0,0 @@
----
-title: "Blocked Page Recovery — Recover blocked/paywalled/WAF'd pages via archive snapshots and reader fallbacks"
-sidebar_label: "Blocked Page Recovery"
-description: "Recover blocked/paywalled/WAF'd pages via archive snapshots and reader fallbacks"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Blocked Page Recovery
-
-Recover blocked/paywalled/WAF'd pages via archive snapshots and reader fallbacks. Use when web_extract or the browser hits 403/429/challenge pages, paywalls, or bot-detection interstitials.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/research/blocked-page-recovery` |
-| Version | `1.0.0` |
-| Author | Hermes Agent |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `Research`, `Archives`, `Wayback`, `Paywall`, `WAF`, `Fallback` |
-| Related skills | [`grounded-citations`](./research-grounded-citations.md) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# Blocked-Page Recovery
-
-When a page won't fetch — 403/429, Cloudflare "Just a moment...", a paywall,
-or a bot-detection interstitial — don't give up and don't loop on the same
-URL. Third-party services often hold a **copy** of the page. Work down this
-ladder, cheapest first.
-
-## The ladder
-
-```
-1. Wayback Machine — archive.org "available" API (snapshot + timestamp)
-2. archive.today — domain rotation: archive.ph → .md → .li → .is
-3. Jina Reader — only if JINA_API_KEY is set (live server-side render)
-4. API-first pivot — look for /api/, /graphql, .json, or RSS on the same host
-5. Real browser — browser tool as the last, most expensive resort
-```
-
-Run it in one shot with the bundled script:
-
-```bash
-python3 scripts/recover_page.py "https://example.com/blocked-article" --json
-```
-
-The script tries each route in order, validates every body (see "Fake
-successes" below), and prints the first genuine hit with its provenance.
-
-## Provenance discipline (non-negotiable)
-
-Every recovered copy carries a provenance you MUST preserve when citing:
-
-| Route | Provenance | How to cite |
-|-------|-----------|-------------|
-| Wayback / archive.today | `snapshot` | Cite WITH the snapshot date: "as archived 2026-08-06". Never present a snapshot as the live page — it may be stale. |
-| Jina Reader | `live` | Server-side re-render of the live page; cite normally. |
-| Live fetch / browser | `live` | Cite normally. |
-
-If the user needs *current* data (prices, availability, breaking news), a
-snapshot is context, not an answer — say so explicitly and note its age.
-
-## Manual routes
-
-### 1. Wayback Machine (best provenance, try first)
-
-```bash
-# Discovery: returns closest snapshot URL + timestamp as JSON
-curl -sL "https://archive.org/wayback/available?url={URL}"
-# Then fetch archived_snapshots.closest.url
-```
-
-For enumerating many snapshots (or recovering deleted pages), the CDX index:
-
-```bash
-curl -sL "https://web.archive.org/cdx/search/cdx?url={URL}&output=json&limit=10"
-```
-
-CDX intermittently returns 503 under load — if it does, fall back to the
-`available` API; don't retry-hammer it.
-
-Works for: any publicly crawled URL. Fails for: robots-blocked sites,
-never-crawled URLs, JS-only SPAs (snapshots don't render).
-
-### 2. archive.today (paywalls, deleted content)
-
-User-submitted archives — often has paywalled news articles Wayback lacks.
-Rate-limits aggressively (429) and rotates domains, so iterate:
-
-```bash
-for d in archive.ph archive.md archive.li archive.is; do
- curl -sL --max-time 20 "https://$d/newest/{URL}" -o ~/.hermes/cache/scratch/page.html \
- -w "%{http_code}" && break
-done
-```
-
-**Validate the body, not the status code** — a 429 still ships several KB of
-rate-limit HTML that looks like a success to a size check alone.
-
-### 3. Jina Reader (requires JINA_API_KEY)
-
-`r.jina.ai` re-renders the live page in a real browser server-side and
-returns markdown. Anonymous access is dead (401 → Turnstile); a key is
-required:
-
-```bash
-curl -s -H "Authorization: Bearer $JINA_API_KEY" "https://r.jina.ai/{URL}"
-```
-
-Handles JS SPAs that archives can't. Skip this route entirely when the env
-var is unset.
-
-### 4. API-first pivot
-
-WAFs protect the HTML surface far more aggressively than the data endpoints
-behind it. After 2-3 blocked attempts on a site, stop fighting the HTML and
-look for:
-
-- `/api/...`, `/graphql`, or `.json` variants of the page URL
-- An RSS/Atom feed (`/feed`, `/rss`, `<link rel="alternate">` in any copy
- you did recover)
-- A sitemap (`/sitemap.xml`) revealing canonical URLs that may not be gated
-
-## Fake successes — routes that LIE
-
-These return HTTP 200 with a plausible body that is NOT the page. The script
-rejects them automatically; reject them manually too:
-
-- **Google Cache is dead** (since mid-2024). `webcache.googleusercontent.com`
- returns 200 + tens of KB, but it's a Google Search interstitial with a JS
- redirect, not a cache. Never use it.
-- **AMP caches** (`*.cdn.ampproject.org`) mostly return a ~300-byte
- `<title>Redirecting</title>` meta-refresh stub pointing back at the
- original (blocked) URL. Treating that as success creates a fetch loop.
-- **Rate-limit bodies**: archive.today 429 pages are multi-KB HTML. Check for
- the target's actual content (title words, expected strings), not just size.
-
-Detection heuristics the script applies: body under a per-route byte floor;
-meta-refresh/JS-redirect stubs whose target is the original host; interstitial
-titles ("Just a moment", "Redirecting", "Google Search", "Attention Required").
-
-## Proxy relays: don't
-
-Generic "web proxy" relays are man-in-the-middle by construction. Never send
-cookies or Authorization headers through one, and don't use them for anything
-the user will rely on — provenance is unverifiable. Prefer archives, which at
-least timestamp their copies.
diff --git a/website/docs/user-guide/skills/bundled/research/research-blogwatcher.md b/website/docs/user-guide/skills/bundled/research/research-blogwatcher.md
deleted file mode 100644
index f0fcad76f76..00000000000
--- a/website/docs/user-guide/skills/bundled/research/research-blogwatcher.md
+++ /dev/null
@@ -1,152 +0,0 @@
----
-title: "Blogwatcher — Monitor blogs and RSS/Atom feeds via blogwatcher-cli tool"
-sidebar_label: "Blogwatcher"
-description: "Monitor blogs and RSS/Atom feeds via blogwatcher-cli tool"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Blogwatcher
-
-Monitor blogs and RSS/Atom feeds via blogwatcher-cli tool.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/research/blogwatcher` |
-| Version | `2.0.0` |
-| Author | JulienTant (fork of Hyaxia/blogwatcher) |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `RSS`, `Blogs`, `Feed-Reader`, `Monitoring` |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# Blogwatcher
-
-Track blog and RSS/Atom feed updates with the `blogwatcher-cli` tool. Supports automatic feed discovery, HTML scraping fallback, OPML import, and read/unread article management.
-
-## Installation
-
-Pick one method:
-
-- **Go:** `go install github.com/JulienTant/blogwatcher-cli/cmd/blogwatcher-cli@latest`
-- **Docker:** `docker run --rm -v blogwatcher-cli:/data ghcr.io/julientant/blogwatcher-cli`
-- **Binary (Linux amd64):** `curl -sL https://github.com/JulienTant/blogwatcher-cli/releases/latest/download/blogwatcher-cli_linux_amd64.tar.gz | tar xz -C /usr/local/bin blogwatcher-cli`
-- **Binary (Linux arm64):** `curl -sL https://github.com/JulienTant/blogwatcher-cli/releases/latest/download/blogwatcher-cli_linux_arm64.tar.gz | tar xz -C /usr/local/bin blogwatcher-cli`
-- **Binary (macOS Apple Silicon):** `curl -sL https://github.com/JulienTant/blogwatcher-cli/releases/latest/download/blogwatcher-cli_darwin_arm64.tar.gz | tar xz -C /usr/local/bin blogwatcher-cli`
-- **Binary (macOS Intel):** `curl -sL https://github.com/JulienTant/blogwatcher-cli/releases/latest/download/blogwatcher-cli_darwin_amd64.tar.gz | tar xz -C /usr/local/bin blogwatcher-cli`
-
-All releases: https://github.com/JulienTant/blogwatcher-cli/releases
-
-### Docker with persistent storage
-
-By default the database lives at `~/.blogwatcher-cli/blogwatcher-cli.db`. In Docker this is lost on container restart. Use `BLOGWATCHER_DB` or a volume mount to persist it:
-
-```bash
-# Named volume (simplest)
-docker run --rm -v blogwatcher-cli:/data -e BLOGWATCHER_DB=/data/blogwatcher-cli.db ghcr.io/julientant/blogwatcher-cli scan
-
-# Host bind mount
-docker run --rm -v /path/on/host:/data -e BLOGWATCHER_DB=/data/blogwatcher-cli.db ghcr.io/julientant/blogwatcher-cli scan
-```
-
-### Migrating from the original blogwatcher
-
-If upgrading from `Hyaxia/blogwatcher`, move your database:
-
-```bash
-mv ~/.blogwatcher/blogwatcher.db ~/.blogwatcher-cli/blogwatcher-cli.db
-```
-
-The binary name changed from `blogwatcher` to `blogwatcher-cli`.
-
-## Common Commands
-
-### Managing blogs
-
-- Add a blog: `blogwatcher-cli add "My Blog" https://example.com`
-- Add with explicit feed: `blogwatcher-cli add "My Blog" https://example.com --feed-url https://example.com/feed.xml`
-- Add with HTML scraping: `blogwatcher-cli add "My Blog" https://example.com --scrape-selector "article h2 a"`
-- List tracked blogs: `blogwatcher-cli blogs`
-- Remove a blog: `blogwatcher-cli remove "My Blog" --yes`
-- Import from OPML: `blogwatcher-cli import subscriptions.opml`
-
-### Scanning and reading
-
-- Scan all blogs: `blogwatcher-cli scan`
-- Scan one blog: `blogwatcher-cli scan "My Blog"`
-- List unread articles: `blogwatcher-cli articles`
-- List all articles: `blogwatcher-cli articles --all`
-- Filter by blog: `blogwatcher-cli articles --blog "My Blog"`
-- Filter by category: `blogwatcher-cli articles --category "Engineering"`
-- Mark article read: `blogwatcher-cli read 1`
-- Mark article unread: `blogwatcher-cli unread 1`
-- Mark all read: `blogwatcher-cli read-all`
-- Mark all read for a blog: `blogwatcher-cli read-all --blog "My Blog" --yes`
-
-## Environment Variables
-
-All flags can be set via environment variables with the `BLOGWATCHER_` prefix:
-
-| Variable | Description |
-|---|---|
-| `BLOGWATCHER_DB` | Path to SQLite database file |
-| `BLOGWATCHER_WORKERS` | Number of concurrent scan workers (default: 8) |
-| `BLOGWATCHER_SILENT` | Only output "scan done" when scanning |
-| `BLOGWATCHER_YES` | Skip confirmation prompts |
-| `BLOGWATCHER_CATEGORY` | Default filter for articles by category |
-
-## Example Output
-
-```
-$ blogwatcher-cli blogs
-Tracked blogs (1):
-
- xkcd
- URL: https://xkcd.com
- Feed: https://xkcd.com/atom.xml
- Last scanned: 2026-04-03 10:30
-```
-
-```
-$ blogwatcher-cli scan
-Scanning 1 blog(s)...
-
- xkcd
- Source: RSS | Found: 4 | New: 4
-
-Found 4 new article(s) total!
-```
-
-```
-$ blogwatcher-cli articles
-Unread articles (2):
-
- [1] [new] Barrel - Part 13
- Blog: xkcd
- URL: https://xkcd.com/3095/
- Published: 2026-04-02
- Categories: Comics, Science
-
- [2] [new] Volcano Fact
- Blog: xkcd
- URL: https://xkcd.com/3094/
- Published: 2026-04-01
- Categories: Comics
-```
-
-## Notes
-
-- Auto-discovers RSS/Atom feeds from blog homepages when no `--feed-url` is provided.
-- Falls back to HTML scraping if RSS fails and `--scrape-selector` is configured.
-- Categories from RSS/Atom feeds are stored and can be used to filter articles.
-- Import blogs in bulk from OPML files exported by Feedly, Inoreader, NewsBlur, etc.
-- Database stored at `~/.blogwatcher-cli/blogwatcher-cli.db` by default (override with `--db` or `BLOGWATCHER_DB`).
-- Use `blogwatcher-cli <command> --help` to discover all flags and options.
diff --git a/website/docs/user-guide/skills/bundled/research/research-research-paper-writing.md b/website/docs/user-guide/skills/bundled/research/research-research-paper-writing.md
deleted file mode 100644
index 135406d9c7b..00000000000
--- a/website/docs/user-guide/skills/bundled/research/research-research-paper-writing.md
+++ /dev/null
@@ -1,1645 +0,0 @@
----
-title: "Research Paper Writing — Write ML papers for NeurIPS/ICML/ICLR: design→submit"
-sidebar_label: "Research Paper Writing"
-description: "Write ML papers for NeurIPS/ICML/ICLR: design→submit"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Research Paper Writing
-
-Write ML papers for NeurIPS/ICML/ICLR: design→submit.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/research/research-paper-writing` |
-| Version | `1.1.0` |
-| Author | Orchestra Research |
-| License | MIT |
-| Dependencies | `semanticscholar`, `arxiv`, `habanero`, `requests`, `scipy`, `numpy`, `matplotlib`, `SciencePlots` |
-| Platforms | linux, macos |
-| Tags | `Research`, `Paper Writing`, `Experiments`, `ML`, `AI`, `NeurIPS`, `ICML`, `ICLR`, `ACL`, `AAAI`, `COLM`, `LaTeX`, `Citations`, `Statistical Analysis` |
-| Related skills | [`arxiv`](./research-arxiv.md), [`subagent-driven-development`](../../optional/software-development/software-development-subagent-driven-development.md), `plan` (now the built-in `/plan` command) |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# Research Paper Writing Pipeline
-
-End-to-end pipeline for producing publication-ready ML/AI research papers targeting **NeurIPS, ICML, ICLR, ACL, AAAI, and COLM**. This skill covers the full research lifecycle: experiment design, execution, monitoring, analysis, paper writing, review, revision, and submission.
-
-This is **not a linear pipeline** — it is an iterative loop. Results trigger new experiments. Reviews trigger new analysis. The agent must handle these feedback loops.
-
-<!-- ascii-guard-ignore -->
-<!-- ascii-guard-ignore -->
-```
-┌─────────────────────────────────────────────────────────────┐
-│ RESEARCH PAPER PIPELINE │
-│ │
-│ Phase 0: Project Setup ──► Phase 1: Literature Review │
-│ │ │ │
-│ ▼ ▼ │
-│ Phase 2: Experiment Phase 5: Paper Drafting ◄──┐ │
-│ Design │ │ │
-│ │ ▼ │ │
-│ ▼ Phase 6: Self-Review │ │
-│ Phase 3: Execution & & Revision ──────────┘ │
-│ Monitoring │ │
-│ │ ▼ │
-│ ▼ Phase 7: Submission │
-│ Phase 4: Analysis ─────► (feeds back to Phase 2 or 5) │
-│ │
-└─────────────────────────────────────────────────────────────┘
-```
-<!-- ascii-guard-ignore-end -->
-<!-- ascii-guard-ignore-end -->
-
----
-
-## When To Use This Skill
-
-Use this skill when:
-- **Starting a new research paper** from an existing codebase or idea
-- **Designing and running experiments** to support paper claims
-- **Writing or revising** any section of a research paper
-- **Preparing for submission** to a specific conference or workshop
-- **Responding to reviews** with additional experiments or revisions
-- **Converting** a paper between conference formats
-- **Writing non-empirical papers** — theory, survey, benchmark, or position papers (see [Paper Types Beyond Empirical ML](#paper-types-beyond-empirical-ml))
-- **Designing human evaluations** for NLP, HCI, or alignment research
-- **Preparing post-acceptance deliverables** — posters, talks, code releases
-
-## Core Philosophy
-
-1. **Be proactive.** Deliver complete drafts, not questions. Scientists are busy — produce something concrete they can react to, then iterate.
-2. **Never hallucinate citations.** AI-generated citations have ~40% error rate. Always fetch programmatically. Mark unverifiable citations as `[CITATION NEEDED]`.
-3. **Paper is a story, not a collection of experiments.** Every paper needs one clear contribution stated in a single sentence. If you can't do that, the paper isn't ready.
-4. **Experiments serve claims.** Every experiment must explicitly state which claim it supports. Never run experiments that don't connect to the paper's narrative.
-5. **Commit early, commit often.** Every completed experiment batch, every paper draft update — commit with descriptive messages. Git log is the experiment history.
-
-### Proactivity and Collaboration
-
-**Default: Be proactive. Draft first, ask with the draft.**
-
-| Confidence Level | Action |
-|-----------------|--------|
-| **High** (clear repo, obvious contribution) | Write full draft, deliver, iterate on feedback |
-| **Medium** (some ambiguity) | Write draft with flagged uncertainties, continue |
-| **Low** (major unknowns) | Ask 1-2 targeted questions via `clarify`, then draft |
-
-| Section | Draft Autonomously? | Flag With Draft |
-|---------|-------------------|-----------------|
-| Abstract | Yes | "Framed contribution as X — adjust if needed" |
-| Introduction | Yes | "Emphasized problem Y — correct if wrong" |
-| Methods | Yes | "Included details A, B, C — add missing pieces" |
-| Experiments | Yes | "Highlighted results 1, 2, 3 — reorder if needed" |
-| Related Work | Yes | "Cited papers X, Y, Z — add any I missed" |
-
-**Block for input only when**: target venue unclear, multiple contradictory framings, results seem incomplete, explicit request to review first.
-
----
-
-## Phase 0: Project Setup
-
-**Goal**: Establish the workspace, understand existing work, identify the contribution.
-
-### Step 0.1: Explore the Repository
-
-```bash
-# Understand project structure
-ls -la
-find . -name "*.py" | head -30
-find . -name "*.md" -o -name "*.txt" | xargs grep -l -i "result\|conclusion\|finding"
-```
-
-Look for:
-- `README.md` — project overview and claims
-- `results/`, `outputs/`, `experiments/` — existing findings
-- `configs/` — experimental settings
-- `.bib` files — existing citations
-- Draft documents or notes
-
-### Step 0.2: Organize the Workspace
-
-Establish a consistent workspace structure:
-
-```
-workspace/
- paper/ # LaTeX source, figures, compiled PDFs
- experiments/ # Experiment runner scripts
- code/ # Core method implementation
- results/ # Raw experiment results (auto-generated)
- tasks/ # Task/benchmark definitions
- human_eval/ # Human evaluation materials (if needed)
-```
-
-### Step 0.3: Set Up Version Control
-
-```bash
-git init # if not already
-git remote add origin <repo-url>
-git checkout -b paper-draft # or main
-```
-
-**Git discipline**: Every completed experiment batch gets committed with a descriptive message. Example:
-```
-Add Monte Carlo constrained results (5 runs, Sonnet 4.6, policy memo task)
-Add Haiku baseline comparison: autoreason vs refinement baselines at cheap model tier
-```
-
-### Step 0.4: Identify the Contribution
-
-Before writing anything, articulate:
-- **The What**: What is the single thing this paper contributes?
-- **The Why**: What evidence supports it?
-- **The So What**: Why should readers care?
-
-> Propose to the scientist: "Based on my understanding, the main contribution is: [one sentence]. The key results show [Y]. Is this the framing you want?"
-
-### Step 0.5: Create a TODO List
-
-Use the `todo` tool to create a structured project plan:
-
-```
-Research Paper TODO:
-- [ ] Define one-sentence contribution
-- [ ] Literature review (related work + baselines)
-- [ ] Design core experiments
-- [ ] Run experiments
-- [ ] Analyze results
-- [ ] Write first draft
-- [ ] Self-review (simulate reviewers)
-- [ ] Revise based on review
-- [ ] Submission prep
-```
-
-Update this throughout the project. It serves as the persistent state across sessions.
-
-### Step 0.6: Estimate Compute Budget
-
-Before running experiments, estimate total cost and time:
-
-```
-Compute Budget Checklist:
-- [ ] API costs: (model price per token) × (estimated tokens per run) × (number of runs)
-- [ ] GPU hours: (time per experiment) × (number of experiments) × (number of seeds)
-- [ ] Human evaluation costs: (annotators) × (hours) × (hourly rate)
-- [ ] Total budget ceiling and contingency (add 30-50% for reruns)
-```
-
-Track actual spend as experiments run:
-```python
-# Simple cost tracker pattern
-import json, os
-from datetime import datetime
-
-COST_LOG = "results/cost_log.jsonl"
-
-def log_cost(experiment: str, model: str, input_tokens: int, output_tokens: int, cost_usd: float):
- entry = {
- "timestamp": datetime.now().isoformat(),
- "experiment": experiment,
- "model": model,
- "input_tokens": input_tokens,
- "output_tokens": output_tokens,
- "cost_usd": cost_usd,
- }
- with open(COST_LOG, "a") as f:
- f.write(json.dumps(entry) + "\n")
-```
-
-**When budget is tight**: Run pilot experiments (1-2 seeds, subset of tasks) before committing to full sweeps. Use cheaper models for debugging pipelines, then switch to target models for final runs.
-
-### Step 0.7: Multi-Author Coordination
-
-Most papers have 3-10 authors. Establish workflows early:
-
-| Workflow | Tool | When to Use |
-|----------|------|-------------|
-| **Overleaf** | Browser-based | Multiple authors editing simultaneously, no git experience |
-| **Git + LaTeX** | `git` with `.gitignore` for aux files | Technical teams, need branch-based review |
-| **Overleaf + Git sync** | Overleaf premium | Best of both — live collab with version history |
-
-**Section ownership**: Assign each section to one primary author. Others comment but don't edit directly. Prevents merge conflicts and style inconsistency.
-
-```
-Author Coordination Checklist:
-- [ ] Agree on section ownership (who writes what)
-- [ ] Set up shared workspace (Overleaf or git repo)
-- [ ] Establish notation conventions (before anyone writes)
-- [ ] Schedule internal review rounds (not just at the end)
-- [ ] Designate one person for final formatting pass
-- [ ] Agree on figure style (colors, fonts, sizes) before creating figures
-```
-
-**LaTeX conventions to agree on early**:
-- `\method{}` macro for consistent method naming
-- Citation style: `\citet{}` vs `\citep{}` usage
-- Math notation: lowercase bold for vectors, uppercase bold for matrices, etc.
-- British vs American spelling
-
----
-
-## Phase 1: Literature Review
-
-**Goal**: Find related work, identify baselines, gather citations.
-
-### Step 1.1: Identify Seed Papers
-
-Start from papers already referenced in the codebase:
-
-```bash
-# Via terminal:
-grep -r "arxiv\|doi\|cite" --include="*.md" --include="*.bib" --include="*.py"
-find . -name "*.bib"
-```
-
-### Step 1.2: Search for Related Work
-
-**Load the `arxiv` skill** for structured paper discovery: `skill_view("arxiv")`. It provides arXiv REST API search, Semantic Scholar citation graphs, author profiles, and BibTeX generation.
-
-Use `web_search` for broad discovery, `web_extract` for fetching specific papers:
-
-```
-# Via web_search:
-web_search("[main technique] + [application domain] site:arxiv.org")
-web_search("[baseline method] comparison ICML NeurIPS 2024")
-
-# Via web_extract (for specific papers):
-web_extract("https://arxiv.org/abs/2303.17651")
-```
-
-Additional search queries to try:
-
-```
-Search queries:
-- "[main technique] + [application domain]"
-- "[baseline method] comparison"
-- "[problem name] state-of-the-art"
-- Author names from existing citations
-```
-
-**Recommended**: Install **Exa MCP** for real-time academic search:
-```bash
-claude mcp add exa -- npx -y mcp-remote "https://mcp.exa.ai/mcp"
-```
-
-### Step 1.2b: Deepen the Search (Breadth-First, Then Depth)
-
-A flat search (one round of queries) typically misses important related work. Use an iterative **breadth-then-depth** pattern inspired by deep research pipelines:
-
-```
-Iterative Literature Search:
-
-Round 1 (Breadth): 4-6 parallel queries covering different angles
- - "[method] + [domain]"
- - "[problem name] state-of-the-art 2024 2025"
- - "[baseline method] comparison"
- - "[alternative approach] vs [your approach]"
- → Collect papers, extract key concepts and terminology
-
-Round 2 (Depth): Generate follow-up queries from Round 1 learnings
- - New terminology discovered in Round 1 papers
- - Papers cited by the most relevant Round 1 results
- - Contradictory findings that need investigation
- → Collect papers, identify remaining gaps
-
-Round 3 (Targeted): Fill specific gaps
- - Missing baselines identified in Rounds 1-2
- - Concurrent work (last 6 months, same problem)
- - Key negative results or failed approaches
- → Stop when new queries return mostly papers you've already seen
-```
-
-**When to stop**: If a round returns >80% papers already in your collection, the search is saturated. Typically 2-3 rounds suffice. For survey papers, expect 4-5 rounds.
-
-**For agent-based workflows**: Delegate each round's queries in parallel via `delegate_task`. Collect results, deduplicate, then generate the next round's queries from the combined learnings.
-
-### Step 1.3: Verify Every Citation
-
-**NEVER generate BibTeX from memory. ALWAYS fetch programmatically.**
-
-For each citation, follow the mandatory 5-step process:
-
-```
-Citation Verification (MANDATORY per citation):
-1. SEARCH → Query Semantic Scholar or Exa MCP with specific keywords
-2. VERIFY → Confirm paper exists in 2+ sources (Semantic Scholar + arXiv/CrossRef)
-3. RETRIEVE → Get BibTeX via DOI content negotiation (programmatically, not from memory)
-4. VALIDATE → Confirm the claim you're citing actually appears in the paper
-5. ADD → Add verified BibTeX to bibliography
-If ANY step fails → mark as [CITATION NEEDED], inform scientist
-```
-
-```python
-# Fetch BibTeX via DOI
-import requests
-
-def doi_to_bibtex(doi: str) -> str:
- response = requests.get(
- f"https://doi.org/{doi}",
- headers={"Accept": "application/x-bibtex"}
- )
- response.raise_for_status()
- return response.text
-```
-
-If you cannot verify a citation:
-
-```latex
-\cite{PLACEHOLDER_author2024_verify_this} % TODO: Verify this citation exists
-```
-
-**Always tell the scientist**: "I've marked [X] citations as placeholders that need verification."
-
-See [references/citation-workflow.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/citation-workflow.md) for complete API documentation and the full `CitationManager` class.
-
-### Step 1.4: Organize Related Work
-
-Group papers by methodology, not paper-by-paper:
-
-**Good**: "One line of work uses X's assumption [refs] whereas we use Y's assumption because..."
-**Bad**: "Smith et al. introduced X. Jones et al. introduced Y. We combine both."
-
----
-
-## Phase 2: Experiment Design
-
-**Goal**: Design experiments that directly support paper claims. Every experiment must answer a specific question.
-
-### Step 2.1: Map Claims to Experiments
-
-Create an explicit mapping:
-
-| Claim | Experiment | Expected Evidence |
-|-------|-----------|-------------------|
-| "Our method outperforms baselines" | Main comparison (Table 1) | Win rate, statistical significance |
-| "Effect is larger for weaker models" | Model scaling study | Monotonic improvement curve |
-| "Convergence requires scope constraints" | Constrained vs unconstrained | Convergence rate comparison |
-
-**Rule**: If an experiment doesn't map to a claim, don't run it.
-
-### Step 2.2: Design Baselines
-
-Strong baselines are what separates accepted papers from rejected ones. Reviewers will ask: "Did they compare against X?"
-
-Standard baseline categories:
-- **Naive baseline**: Simplest possible approach
-- **Strong baseline**: Best known existing method
-- **Ablation baselines**: Your method minus one component
-- **Compute-matched baselines**: Same compute budget, different allocation
-
-### Step 2.3: Define Evaluation Protocol
-
-Before running anything, specify:
-- **Metrics**: What you're measuring, direction symbols (higher/lower better)
-- **Aggregation**: How results are combined across runs/tasks
-- **Statistical tests**: What tests will establish significance
-- **Sample sizes**: How many runs/problems/tasks
-
-### Step 2.4: Write Experiment Scripts
-
-Follow these patterns from successful research pipelines:
-
-**Incremental saving** — save results after each step for crash recovery:
-```python
-# Save after each problem/task
-result_path = f"results/{task}/{strategy}/result.json"
-if os.path.exists(result_path):
- continue # Skip already-completed work
-# ... run experiment ...
-with open(result_path, 'w') as f:
- json.dump(result, f, indent=2)
-```
-
-**Artifact preservation** — save all intermediate outputs:
-```
-results/<experiment>/
- <task>/
- <strategy>/
- final_output.md # Final result
- history.json # Full trajectory
- pass_01/ # Per-iteration artifacts
- version_a.md
- version_b.md
- critic.md
-```
-
-**Separation of concerns** — keep generation, evaluation, and visualization separate:
-```
-run_experiment.py # Core experiment runner
-run_baselines.py # Baseline comparison
-run_comparison_judge.py # Blind evaluation
-analyze_results.py # Statistical analysis
-make_charts.py # Visualization
-```
-
-See [references/experiment-patterns.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/experiment-patterns.md) for complete design patterns, cron monitoring, and error recovery.
-
-### Step 2.5: Design Human Evaluation (If Applicable)
-
-Many NLP, HCI, and alignment papers require human evaluation as primary or complementary evidence. Design this before running automated experiments — human eval often has longer lead times (IRB approval, annotator recruitment).
-
-**When human evaluation is needed:**
-- Automated metrics don't capture what you care about (fluency, helpfulness, safety)
-- Your contribution is about human-facing qualities (readability, preference, trust)
-- Reviewers at NLP venues (ACL, EMNLP) expect it for generation tasks
-
-**Key design decisions:**
-
-| Decision | Options | Guidance |
-|----------|---------|----------|
-| **Annotator type** | Expert, crowdworker, end-user | Match to what your claims require |
-| **Scale** | Likert (1-5), pairwise comparison, ranking | Pairwise is more reliable than Likert for LLM outputs |
-| **Sample size** | Per annotator and total items | Power analysis or minimum 100 items, 3+ annotators |
-| **Agreement metric** | Cohen's kappa, Krippendorff's alpha, ICC | Krippendorff's alpha for >2 annotators; report raw agreement too |
-| **Platform** | Prolific, MTurk, internal team | Prolific for quality; MTurk for scale; internal for domain expertise |
-
-**Annotation guideline checklist:**
-```
-- [ ] Clear task description with examples (good AND bad)
-- [ ] Decision criteria for ambiguous cases
-- [ ] At least 2 worked examples per category
-- [ ] Attention checks / gold standard items (10-15% of total)
-- [ ] Qualification task or screening round
-- [ ] Estimated time per item and fair compensation (>= local minimum wage)
-- [ ] IRB/ethics review if required by your institution
-```
-
-**Reporting requirements** (reviewers check all of these):
-- Number of annotators and their qualifications
-- Inter-annotator agreement with specific metric and value
-- Compensation details (amount, estimated hourly rate)
-- Annotation interface description or screenshot (appendix)
-- Total annotation time
-
-See [references/human-evaluation.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/human-evaluation.md) for complete guide including statistical tests for human eval data, crowdsourcing quality control patterns, and IRB guidance.
-
----
-
-## Phase 3: Experiment Execution & Monitoring
-
-**Goal**: Run experiments reliably, monitor progress, recover from failures.
-
-### Step 3.1: Launch Experiments
-
-Use `nohup` for long-running experiments:
-
-```bash
-nohup python run_experiment.py --config config.yaml > logs/experiment_01.log 2>&1 &
-echo $! # Record the PID
-```
-
-**Parallel execution**: Run independent experiments simultaneously, but be aware of API rate limits. 4+ concurrent experiments on the same API will slow each down.
-
-### Step 3.2: Set Up Monitoring (Cron Pattern)
-
-For long-running experiments, set up periodic status checks. The cron prompt should follow this template:
-
-```
-Monitor Prompt Template:
-1. Check if process is still running: ps aux | grep <pattern>
-2. Read last 30 lines of log: tail -30 <logfile>
-3. Check for completed results: ls <result_dir>
-4. If results exist, read and report: cat <result_file>
-5. If all done, commit: git add -A && git commit -m "<descriptive message>" && git push
-6. Report in structured format (tables with key metrics)
-7. Answer the key analytical question for this experiment
-```
-
-**Silent mode**: If nothing has changed since the last check, respond with `[SILENT]` to suppress notification to the user. Only report when there's news.
-
-### Step 3.3: Handle Failures
-
-Common failure modes and recovery:
-
-| Failure | Detection | Recovery |
-|---------|-----------|----------|
-| API rate limit / credit exhaustion | 402/429 errors in logs | Wait, then re-run (scripts skip completed work) |
-| Process crash | PID gone, incomplete results | Re-run from last checkpoint |
-| Timeout on hard problems | Process stuck, no log progress | Kill and skip, note in results |
-| Wrong model ID | Errors referencing model name | Fix ID and re-run |
-
-**Key**: Scripts should always check for existing results and skip completed work. This makes re-runs safe and efficient.
-
-### Step 3.4: Commit Completed Results
-
-After each experiment batch completes:
-
-```bash
-git add -A
-git commit -m "Add <experiment name>: <key finding in 1 line>"
-git push
-```
-
-### Step 3.5: Maintain an Experiment Journal
-
-Git commits track what happened, but not the **exploration tree** — the decisions about what to try next based on what you learned. Maintain a structured experiment journal that captures this tree:
-
-```json
-// experiment_journal.jsonl — append one entry per experiment attempt
-{
- "id": "exp_003",
- "parent": "exp_001",
- "timestamp": "2025-05-10T14:30:00Z",
- "hypothesis": "Adding scope constraints will fix convergence failure from exp_001",
- "plan": "Re-run autoreason with max_tokens=2000 and fixed structure template",
- "config": {"model": "haiku", "strategy": "autoreason", "max_tokens": 2000},
- "status": "completed",
- "result_path": "results/exp_003/",
- "key_metrics": {"win_rate": 0.85, "convergence_rounds": 3},
- "analysis": "Scope constraints fixed convergence. Win rate jumped from 0.42 to 0.85.",
- "next_steps": ["Try same constraints on Sonnet", "Test without structure template"],
- "figures": ["figures/exp003_convergence.pdf"]
-}
-```
-
-**Why a journal, not just git?** Git tracks file changes. The journal tracks the reasoning: why you tried X, what you learned, and what that implies for the next experiment. When writing the paper, this tree is invaluable for the Methods section ("we observed X, which motivated Y") and for honest failure reporting.
-
-**Selecting the best path**: When the journal shows a branching tree (exp_001 → exp_002a, exp_002b, exp_003), identify the path that best supports the paper's claims. Document dead-end branches in the appendix as ablations or negative results.
-
-**Snapshot code per experiment**: Copy the experiment script after each run:
-```bash
-cp experiment.py results/exp_003/experiment_snapshot.py
-```
-This enables exact reproduction even after subsequent code changes.
-
----
-
-## Phase 4: Result Analysis
-
-**Goal**: Extract findings, compute statistics, identify the story.
-
-### Step 4.1: Aggregate Results
-
-Write analysis scripts that:
-1. Load all result files from a batch
-2. Compute per-task and aggregate metrics
-3. Generate summary tables
-
-```python
-# Standard analysis pattern
-import json, os
-from pathlib import Path
-
-results = {}
-for result_file in Path("results/").rglob("result.json"):
- data = json.loads(result_file.read_text())
- strategy = result_file.parent.name
- task = result_file.parent.parent.name
- results.setdefault(strategy, {})[task] = data
-
-# Compute aggregate metrics
-for strategy, tasks in results.items():
- scores = [t["score"] for t in tasks.values()]
- print(f"{strategy}: mean={np.mean(scores):.1f}, std={np.std(scores):.1f}")
-```
-
-### Step 4.2: Statistical Significance
-
-Always compute:
-- **Error bars**: Standard deviation or standard error, specify which
-- **Confidence intervals**: 95% CI for key results
-- **Pairwise tests**: McNemar's test for comparing two methods
-- **Effect sizes**: Cohen's d or h for practical significance
-
-See [references/experiment-patterns.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/experiment-patterns.md) for complete implementations of McNemar's test, bootstrapped CIs, and Cohen's h.
-
-### Step 4.3: Identify the Story
-
-After analysis, explicitly answer:
-1. **What is the main finding?** State it in one sentence.
-2. **What surprised you?** Unexpected results often make the best papers.
-3. **What failed?** Failed experiments can be the most informative. Honest reporting of failures strengthens the paper.
-4. **What follow-up experiments are needed?** Results often raise new questions.
-
-#### Handling Negative or Null Results
-
-When your hypothesis was wrong or results are inconclusive, you have three options:
-
-| Situation | Action | Venue Fit |
-|-----------|--------|-----------|
-| Hypothesis wrong but **why** is informative | Frame paper around the analysis of why | NeurIPS, ICML (if analysis is rigorous) |
-| Method doesn't beat baselines but **reveals something new** | Reframe contribution as understanding/analysis | ICLR (values understanding), workshop papers |
-| Clean negative result on popular claim | Write it up — the field needs to know | NeurIPS Datasets & Benchmarks, TMLR, workshops |
-| Results inconclusive, no clear story | Pivot — run different experiments or reframe | Don't force a paper that isn't there |
-
-**How to write a negative results paper:**
-- Lead with what the community believes and why it matters to test it
-- Describe your rigorous methodology (must be airtight — reviewers will scrutinize harder)
-- Present the null result clearly with statistical evidence
-- Analyze **why** the expected result didn't materialize
-- Discuss implications for the field
-
-**Venues that explicitly welcome negative results**: NeurIPS (Datasets & Benchmarks track), TMLR, ML Reproducibility Challenge, workshops at major conferences. Some workshops specifically call for negative results.
-
-### Step 4.4: Create Figures and Tables
-
-**Figures**:
-- Use vector graphics (PDF) for all plots: `plt.savefig('fig.pdf')`
-- Colorblind-safe palettes (Okabe-Ito or Paul Tol)
-- Self-contained captions — reader should understand without main text
-- No title inside figure — the caption serves this function
-
-**Tables**:
-- Use `booktabs` LaTeX package
-- Bold best value per metric
-- Include direction symbols (higher/lower better)
-- Consistent decimal precision
-
-```latex
-\usepackage{booktabs}
-\begin{tabular}{lcc}
-\toprule
-Method & Accuracy $\uparrow$ & Latency $\downarrow$ \\
-\midrule
-Baseline & 85.2 & 45ms \\
-\textbf{Ours} & \textbf{92.1} & 38ms \\
-\bottomrule
-\end{tabular}
-```
-
-### Step 4.5: Decide: More Experiments or Write?
-
-| Situation | Action |
-|-----------|--------|
-| Core claims supported, results significant | Move to Phase 5 (writing) |
-| Results inconclusive, need more data | Back to Phase 2 (design) |
-| Unexpected finding suggests new direction | Back to Phase 2 (design) |
-| Missing one ablation reviewers will ask for | Run it, then Phase 5 |
-| All experiments done but some failed | Note failures, move to Phase 5 |
-
-### Step 4.6: Write the Experiment Log (Bridge to Writeup)
-
-Before moving to paper writing, create a structured experiment log that bridges results to prose. This is the single most important connective tissue between experiments and the writeup — without it, the writing agent has to re-derive the story from raw result files.
-
-**Create `experiment_log.md`** with the following structure:
-
-```markdown
-# Experiment Log
-
-## Contribution (one sentence)
-[The paper's main claim]
-
-## Experiments Run
-
-### Experiment 1: [Name]
-- **Claim tested**: [Which paper claim this supports]
-- **Setup**: [Model, dataset, config, number of runs]
-- **Key result**: [One sentence with the number]
-- **Result files**: results/exp1/final_info.json
-- **Figures generated**: figures/exp1_comparison.pdf
-- **Surprising findings**: [Anything unexpected]
-
-### Experiment 2: [Name]
-...
-
-## Figures
-| Filename | Description | Which section it belongs in |
-|----------|-------------|---------------------------|
-| figures/main_comparison.pdf | Bar chart comparing all methods on benchmark X | Results, Figure 2 |
-| figures/ablation.pdf | Ablation removing components A, B, C | Results, Figure 3 |
-...
-
-## Failed Experiments (document for honesty)
-- [What was tried, why it failed, what it tells us]
-
-## Open Questions
-- [Anything the results raised that the paper should address]
-```
-
-**Why this matters**: When drafting, the agent (or a delegated sub-agent) can load `experiment_log.md` alongside the LaTeX template and produce a first draft grounded in actual results. Without this bridge, the writing agent must parse raw JSON/CSV files and infer the story — a common source of hallucinated or misreported numbers.
-
-**Git discipline**: Commit this log alongside the results it describes.
-
----
-
-## Iterative Refinement: Strategy Selection
-
-Any output in this pipeline — paper drafts, experiment scripts, analysis — can be iteratively refined. The autoreason research provides empirical evidence for when each refinement strategy works and when it fails. Use this section to choose the right approach.
-
-### Quick Decision Table
-
-| Your Situation | Strategy | Why |
-|---------------|----------|-----|
-| Mid-tier model + constrained task | **Autoreason** | Sweet spot. Generation-evaluation gap is widest. Baselines actively destroy weak model outputs. |
-| Mid-tier model + open task | **Autoreason** with scope constraints added | Add fixed facts, structure, or deliverable to bound the improvement space. |
-| Frontier model + constrained task | **Autoreason** | Wins 2/3 constrained tasks even at frontier. |
-| Frontier model + unconstrained task | **Critique-and-revise** or **single pass** | Autoreason comes last. Model self-evaluates well enough. |
-| Concrete technical task (system design) | **Critique-and-revise** | Direct find-and-fix loop is more efficient. |
-| Template-filling task (one correct structure) | **Single pass** or **conservative** | Minimal decision space. Iteration adds no value. |
-| Code with test cases | **Autoreason (code variant)** | Structured analysis of *why* it failed before fixing. Recovery rate 62% vs 43%. |
-| Very weak model (Llama 8B class) | **Single pass** | Model too weak for diverse candidates. Invest in generation quality. |
-
-### The Generation-Evaluation Gap
-
-**Core insight**: Autoreason's value depends on the gap between a model's generation capability and its self-evaluation capability.
-
-<!-- ascii-guard-ignore -->
-```
-Model Tier │ Generation │ Self-Eval │ Gap │ Autoreason Value
-──────────────────┼────────────┼───────────┼────────┼─────────────────
-Weak (Llama 8B) │ Poor │ Poor │ Small │ None — can't generate diverse candidates
-Mid (Haiku 3.5) │ Decent │ Poor │ LARGE │ MAXIMUM — 42/42 perfect Borda
-Mid (Gemini Flash)│ Decent │ Moderate │ Large │ High — wins 2/3
-Strong (Sonnet 4) │ Good │ Decent │ Medium │ Moderate — wins 3/5
-Frontier (S4.6) │ Excellent │ Good │ Small │ Only with constraints
-```
-<!-- ascii-guard-ignore-end -->
-
-This gap is structural, not temporary. As costs drop, today's frontier becomes tomorrow's mid-tier. The sweet spot moves but never disappears.
-
-### Autoreason Loop (Summary)
-
-Each pass produces three candidates from fresh, isolated agents:
-
-1. **Critic** → finds problems in incumbent A (no fixes)
-2. **Author B** → revises A based on critique
-3. **Synthesizer** → merges A and B (randomized labels)
-4. **Judge Panel** → 3 blind CoT judges rank A, B, AB via Borda count
-5. **Convergence** → A wins k=2 consecutive passes → done
-
-**Key parameters:**
-- k=2 convergence (k=1 premature, k=3 too expensive, no quality gain)
-- CoT judges always (3x faster convergence)
-- Temperature 0.8 authors, 0.3 judges
-- Conservative tiebreak: incumbent wins ties
-- Every role is a fresh agent with no shared context
-
-### Applying to Paper Drafts
-
-When refining the paper itself through autoreason:
-- **Provide ground truth to the critic**: actual experimental data, result JSONs, statistical outputs. Without this, models hallucinate fabricated ablation studies and fake confidence intervals.
-- **Use 3 working judges minimum**: A broken judge parser doesn't add noise — it prevents equilibrium entirely.
-- **Scope constrain the revision**: "Address these specific weaknesses" not "improve the paper."
-
-### Failure Modes
-
-| Failure | Detection | Fix |
-|---------|-----------|-----|
-| No convergence (A never wins) | A wins &lt;15% over 20+ passes | Add scope constraints to the task |
-| Synthesis drift | Word counts grow unboundedly | Constrain structure and deliverable |
-| Degradation below single pass | Baselines score higher than iterated output | Switch to single pass; model may be too weak |
-| Overfitting (code) | High public-test pass, low private-test pass | Use structured analysis, not just test feedback |
-| Broken judges | Parsing failures reduce panel below 3 | Fix parser before continuing |
-
-See [references/autoreason-methodology.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/autoreason-methodology.md) for complete prompts, Borda scoring details, model selection guide, scope constraint design patterns, and compute budget reference.
-
----
-
-## Phase 5: Paper Drafting
-
-The complete drafting procedure (section-by-section order, LaTeX scaffolding, figure/table
-conventions, abstract and intro formulas, related-work positioning) lives in
-`references/phase5-paper-drafting.md` — load it with `read_file` when you reach this phase.
-Pair it with `references/writing-guide.md` for prose-level style rules.
-
-## Phase 6: Self-Review & Revision
-
-**Goal**: Simulate the review process before submission. Catch weaknesses early.
-
-### Step 6.1: Simulate Reviews (Ensemble Pattern)
-
-Generate reviews from multiple perspectives. The key insight from automated research pipelines (notably SakanaAI's AI-Scientist): **ensemble reviewing with a meta-reviewer produces far more calibrated feedback than a single review pass.**
-
-**Step 1: Generate N independent reviews** (N=3-5)
-
-Use different models or temperature settings. Each reviewer sees only the paper, not other reviews. **Default to negative bias** — LLMs have well-documented positivity bias in evaluation.
-
-```
-You are an expert reviewer for [VENUE]. You are critical and thorough.
-If a paper has weaknesses or you are unsure about a claim, flag it clearly
-and reflect that in your scores. Do not give the benefit of the doubt.
-
-Review this paper according to the official reviewer guidelines. Evaluate:
-
-1. Soundness (are claims well-supported? are baselines fair and strong?)
-2. Clarity (is the paper well-written? could an expert reproduce it?)
-3. Significance (does this matter to the community?)
-4. Originality (new insights, not just incremental combination?)
-
-Provide your review as structured JSON:
-{
- "summary": "2-3 sentence summary",
- "strengths": ["strength 1", "strength 2", ...],
- "weaknesses": ["weakness 1 (most critical)", "weakness 2", ...],
- "questions": ["question for authors 1", ...],
- "missing_references": ["paper that should be cited", ...],
- "soundness": 1-4,
- "presentation": 1-4,
- "contribution": 1-4,
- "overall": 1-10,
- "confidence": 1-5
-}
-```
-
-**Step 2: Meta-review (Area Chair aggregation)**
-
-Feed all N reviews to a meta-reviewer:
-
-```
-You are an Area Chair at [VENUE]. You have received [N] independent reviews
-of a paper. Your job is to:
-
-1. Identify consensus strengths and weaknesses across reviewers
-2. Resolve disagreements by examining the paper directly
-3. Produce a meta-review that represents the aggregate judgment
-4. Use AVERAGED numerical scores across all reviews
-
-Be conservative: if reviewers disagree on whether a weakness is serious,
-treat it as serious until the authors address it.
-
-Reviews:
-[review_1]
-[review_2]
-...
-```
-
-**Step 3: Reflection loop** (optional, 2-3 rounds)
-
-Each reviewer can refine their review after seeing the meta-review. Use an early termination sentinel: if the reviewer responds "I am done" (no changes), stop iterating.
-
-**Model selection for reviewing**: Reviewing is best done with the strongest available model, even if you wrote the paper with a cheaper one. The reviewer model should be chosen independently from the writing model.
-
-**Few-shot calibration**: If available, include 1-2 real published reviews from the target venue as examples. This dramatically improves score calibration. See [references/reviewer-guidelines.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/reviewer-guidelines.md) for example reviews.
-
-### Step 6.1b: Visual Review Pass (VLM)
-
-Text-only review misses an entire class of problems: figure quality, layout issues, visual consistency. If you have access to a vision-capable model, run a separate **visual review** on the compiled PDF:
-
-```
-You are reviewing the visual presentation of this research paper PDF.
-Check for:
-1. Figure quality: Are plots readable? Labels legible? Colors distinguishable?
-2. Figure-caption alignment: Does each caption accurately describe its figure?
-3. Layout issues: Orphaned section headers, awkward page breaks, figures far from their references
-4. Table formatting: Aligned columns, consistent decimal precision, bold for best results
-5. Visual consistency: Same color scheme across all figures, consistent font sizes
-6. Grayscale readability: Would the figures be understandable if printed in B&W?
-
-For each issue, specify the page number and exact location.
-```
-
-This catches problems that text-based review cannot: a plot with illegible axis labels, a figure placed 3 pages from its first reference, inconsistent color palettes between Figure 2 and Figure 5, or a table that's clearly wider than the column width.
-
-### Step 6.1c: Claim Verification Pass
-
-After simulated reviews, run a separate verification pass. This catches factual errors that reviewers might miss:
-
-```
-Claim Verification Protocol:
-1. Extract every factual claim from the paper (numbers, comparisons, trends)
-2. For each claim, trace it to the specific experiment/result that supports it
-3. Verify the number in the paper matches the actual result file
-4. Flag any claim without a traceable source as [VERIFY]
-```
-
-For agent-based workflows: delegate verification to a **fresh sub-agent** that receives only the paper text and the raw result files. The fresh context prevents confirmation bias — the verifier doesn't "remember" what the results were supposed to be.
-
-### Step 6.2: Prioritize Feedback
-
-After collecting reviews, categorize:
-
-| Priority | Action |
-|----------|--------|
-| **Critical** (technical flaw, missing baseline) | Must fix. May require new experiments → back to Phase 2 |
-| **High** (clarity issue, missing ablation) | Should fix in this revision |
-| **Medium** (minor writing issues, extra experiments) | Fix if time allows |
-| **Low** (style preferences, tangential suggestions) | Note for future work |
-
-### Step 6.3: Revision Cycle
-
-For each critical/high issue:
-1. Identify the specific section(s) affected
-2. Draft the fix
-3. Verify the fix doesn't break other claims
-4. Update the paper
-5. Re-check against the reviewer's concern
-
-### Step 6.4: Rebuttal Writing
-
-When responding to actual reviews (post-submission), rebuttals are a distinct skill from revision:
-
-**Format**: Point-by-point. For each reviewer concern:
-```
-> R1-W1: "The paper lacks comparison with Method X."
-
-We thank the reviewer for this suggestion. We have added a comparison with
-Method X in Table 3 (revised). Our method outperforms X by 3.2pp on [metric]
-(p<0.05). We note that X requires 2x our compute budget.
-```
-
-**Rules**:
-- Address every concern — reviewers notice if you skip one
-- Lead with the strongest responses
-- Be concise and direct — reviewers read dozens of rebuttals
-- Include new results if you ran experiments during the rebuttal period
-- Never be defensive or dismissive, even of weak criticisms
-- Use `latexdiff` to generate a marked-up PDF showing changes (see Professional LaTeX Tooling section)
-- Thank reviewers for specific, actionable feedback (not generic praise)
-
-**What NOT to do**: "We respectfully disagree" without evidence. "This is out of scope" without explanation. Ignoring a weakness by only responding to strengths.
-
-### Step 6.5: Paper Evolution Tracking
-
-Save snapshots at key milestones:
-```
-paper/
- paper.tex # Current working version
- paper_v1_first_draft.tex # First complete draft
- paper_v2_post_review.tex # After simulated review
- paper_v3_pre_submission.tex # Final before submission
- paper_v4_camera_ready.tex # Post-acceptance final
-```
-
----
-
-## Phase 7: Submission Preparation
-
-**Goal**: Final checks, formatting, and submission.
-
-### Step 7.1: Conference Checklist
-
-Every venue has mandatory checklists. Complete them carefully — incomplete checklists can result in desk rejection.
-
-See [references/checklists.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/checklists.md) for:
-- NeurIPS 16-item paper checklist
-- ICML broader impact + reproducibility
-- ICLR LLM disclosure policy
-- ACL mandatory limitations section
-- Universal pre-submission checklist
-
-### Step 7.2: Anonymization Checklist
-
-Double-blind review means reviewers cannot know who wrote the paper. Check ALL of these:
-
-```
-Anonymization Checklist:
-- [ ] No author names or affiliations anywhere in the PDF
-- [ ] No acknowledgments section (add after acceptance)
-- [ ] Self-citations written in third person: "Smith et al. [1] showed..." not "We previously showed [1]..."
-- [ ] No GitHub/GitLab URLs pointing to your personal repos
-- [ ] Use Anonymous GitHub (https://anonymous.4open.science/) for code links
-- [ ] No institutional logos or identifiers in figures
-- [ ] No file metadata containing author names (check PDF properties)
-- [ ] No "our previous work" or "in our earlier paper" phrasing
-- [ ] Dataset names don't reveal institution (rename if needed)
-- [ ] Supplementary materials don't contain identifying information
-```
-
-**Common mistakes**: Git commit messages visible in supplementary code, watermarked figures from institutional tools, acknowledgments left in from a previous draft, arXiv preprint posted before anonymity period.
-
-### Step 7.3: Formatting Verification
-
-```
-Pre-Submission Format Check:
-- [ ] Page limit respected (excluding references and appendix)
-- [ ] All figures are vector (PDF) or high-res raster (600 DPI PNG)
-- [ ] All figures readable in grayscale
-- [ ] All tables use booktabs
-- [ ] References compile correctly (no "?" in citations)
-- [ ] No overfull hboxes in critical areas
-- [ ] Appendix clearly labeled and separated
-- [ ] Required sections present (limitations, broader impact, etc.)
-```
-
-### Step 7.4: Pre-Compilation Validation
-
-Run these automated checks **before** attempting `pdflatex`. Catching errors here is faster than debugging compiler output.
-
-```bash
-# 1. Lint with chktex (catches common LaTeX mistakes)
-# Suppress noisy warnings: -n2 (sentence end), -n24 (parens), -n13 (intersentence), -n1 (command terminated)
-chktex main.tex -q -n2 -n24 -n13 -n1
-
-# 2. Verify all citations exist in .bib
-# Extract \cite{...} from .tex, check each against .bib
-python3 -c "
-import re
-tex = open('main.tex').read()
-bib = open('references.bib').read()
-cites = set(re.findall(r'\\\\cite[tp]?{([^}]+)}', tex))
-for cite_group in cites:
- for cite in cite_group.split(','):
- cite = cite.strip()
- if cite and cite not in bib:
- print(f'WARNING: \\\\cite{{{cite}}} not found in references.bib')
-"
-
-# 3. Verify all referenced figures exist on disk
-python3 -c "
-import re, os
-tex = open('main.tex').read()
-figs = re.findall(r'\\\\includegraphics(?:\[.*?\])?{([^}]+)}', tex)
-for fig in figs:
- if not os.path.exists(fig):
- print(f'WARNING: Figure file not found: {fig}')
-"
-
-# 4. Check for duplicate \label definitions
-python3 -c "
-import re
-from collections import Counter
-tex = open('main.tex').read()
-labels = re.findall(r'\\\\label{([^}]+)}', tex)
-dupes = {k: v for k, v in Counter(labels).items() if v > 1}
-for label, count in dupes.items():
- print(f'WARNING: Duplicate label: {label} (appears {count} times)')
-"
-```
-
-Fix any warnings before proceeding. For agent-based workflows: feed chktex output back to the agent with instructions to make minimal fixes.
-
-### Step 7.5: Final Compilation
-
-```bash
-# Clean build
-rm -f *.aux *.bbl *.blg *.log *.out *.pdf
-latexmk -pdf main.tex
-
-# Or manual (triple pdflatex + bibtex for cross-references)
-pdflatex -interaction=nonstopmode main.tex
-bibtex main
-pdflatex -interaction=nonstopmode main.tex
-pdflatex -interaction=nonstopmode main.tex
-
-# Verify output exists and has content
-ls -la main.pdf
-```
-
-**If compilation fails**: Parse the `.log` file for the first error. Common fixes:
-- "Undefined control sequence" → missing package or typo in command name
-- "Missing $ inserted" → math symbol outside math mode
-- "File not found" → wrong figure path or missing .sty file
-- "Citation undefined" → .bib entry missing or bibtex not run
-
-### Step 7.6: Conference-Specific Requirements
-
-| Venue | Special Requirements |
-|-------|---------------------|
-| **NeurIPS** | Paper checklist in appendix, lay summary if accepted |
-| **ICML** | Broader Impact Statement (after conclusion, doesn't count toward limit) |
-| **ICLR** | LLM disclosure required, reciprocal reviewing agreement |
-| **ACL** | Mandatory Limitations section, Responsible NLP checklist |
-| **AAAI** | Strict style file — no modifications whatsoever |
-| **COLM** | Frame contribution for language model community |
-
-### Step 7.7: Conference Resubmission & Format Conversion
-
-When converting between venues, **never copy LaTeX preambles between templates**:
-
-```bash
-# 1. Start fresh with target template
-cp -r templates/icml2026/ new_submission/
-
-# 2. Copy ONLY content sections (not preamble)
-# - Abstract text, section content, figures, tables, bib entries
-
-# 3. Adjust for page limits
-# 4. Add venue-specific required sections
-# 5. Update references
-```
-
-| From → To | Page Change | Key Adjustments |
-|-----------|-------------|-----------------|
-| NeurIPS → ICML | 9 → 8 | Cut 1 page, add Broader Impact |
-| ICML → ICLR | 8 → 9 | Expand experiments, add LLM disclosure |
-| NeurIPS → ACL | 9 → 8 | Restructure for NLP conventions, add Limitations |
-| ICLR → AAAI | 9 → 7 | Significant cuts, strict style adherence |
-| Any → COLM | varies → 9 | Reframe for language model focus |
-
-When cutting pages: move proofs to appendix, condense related work, combine tables, use subfigures.
-When expanding: add ablations, expand limitations, include additional baselines, add qualitative examples.
-
-**After rejection**: Address reviewer concerns in the new version, but don't include a "changes" section or reference the previous submission (blind review).
-
-### Step 7.8: Camera-Ready Preparation (Post-Acceptance)
-
-After acceptance, prepare the camera-ready version:
-
-```
-Camera-Ready Checklist:
-- [ ] De-anonymize: add author names, affiliations, email addresses
-- [ ] Add Acknowledgments section (funding, compute grants, helpful reviewers)
-- [ ] Add public code/data URL (real GitHub, not anonymous)
-- [ ] Address any mandatory revisions from meta-reviewer
-- [ ] Switch template to camera-ready mode (if applicable — e.g., AAAI \anon → \camera)
-- [ ] Add copyright notice if required by venue
-- [ ] Update any "anonymous" placeholders in text
-- [ ] Verify final PDF compiles cleanly
-- [ ] Check page limit for camera-ready (sometimes differs from submission)
-- [ ] Upload supplementary materials (code, data, appendix) to venue portal
-```
-
-### Step 7.9: arXiv & Preprint Strategy
-
-Posting to arXiv is standard practice in ML but has important timing and anonymity considerations.
-
-**Timing decision tree:**
-
-| Situation | Recommendation |
-|-----------|---------------|
-| Submitting to double-blind venue (NeurIPS, ICML, ACL) | Post to arXiv **after** submission deadline, not before. Posting before can technically violate anonymity policies, though enforcement varies. |
-| Submitting to ICLR | ICLR explicitly allows arXiv posting before submission. But don't put author names in the submission itself. |
-| Paper already on arXiv, submitting to new venue | Acceptable at most venues. Do NOT update arXiv version during review with changes that reference reviews. |
-| Workshop paper | arXiv is fine at any time — workshops are typically not double-blind. |
-| Want to establish priority | Post immediately if scooping is a concern — but accept the anonymity tradeoff. |
-
-**arXiv category selection** (ML/AI papers):
-
-| Category | Code | Best For |
-|----------|------|----------|
-| Machine Learning | `cs.LG` | General ML methods |
-| Computation and Language | `cs.CL` | NLP, language models |
-| Artificial Intelligence | `cs.AI` | Reasoning, planning, agents |
-| Computer Vision | `cs.CV` | Vision models |
-| Information Retrieval | `cs.IR` | Search, recommendation |
-
-**List primary + 1-2 cross-listed categories.** More categories = more visibility, but only cross-list where genuinely relevant.
-
-**Versioning strategy:**
-- **v1**: Initial submission (matches conference submission)
-- **v2**: Post-acceptance with camera-ready corrections (add "accepted at [Venue]" to abstract)
-- Don't post v2 during the review period with changes that clearly respond to reviewer feedback
-
-```bash
-# Check if your paper's title is already taken on arXiv
-# (before choosing a title)
-pip install arxiv
-python -c "
-import arxiv
-results = list(arxiv.Search(query='ti:\"Your Exact Title\"', max_results=5).results())
-print(f'Found {len(results)} matches')
-for r in results: print(f' {r.title} ({r.published.year})')
-"
-```
-
-### Step 7.10: Research Code Packaging
-
-Releasing clean, runnable code significantly increases citations and reviewer trust. Package code alongside the camera-ready submission.
-
-**Repository structure:**
-
-```
-your-method/
- README.md # Setup, usage, reproduction instructions
- requirements.txt # Or environment.yml for conda
- setup.py # For pip-installable packages
- LICENSE # MIT or Apache 2.0 recommended for research
- configs/ # Experiment configurations
- src/ # Core method implementation
- scripts/ # Training, evaluation, analysis scripts
- train.py
- evaluate.py
- reproduce_table1.sh # One script per main result
- data/ # Small data or download scripts
- download_data.sh
- results/ # Expected outputs for verification
-```
-
-**README template for research code:**
-
-```markdown
-# [Paper Title]
-
-Official implementation of "[Paper Title]" (Venue Year).
-
-## Setup
-[Exact commands to set up environment]
-
-## Reproduction
-To reproduce Table 1: `bash scripts/reproduce_table1.sh`
-To reproduce Figure 2: `python scripts/make_figure2.py`
-
-## Citation
-[BibTeX entry]
-```
-
-**Pre-release checklist:**
-```
-- [ ] Code runs from a clean clone (test on fresh machine or Docker)
-- [ ] All dependencies pinned to specific versions
-- [ ] No hardcoded absolute paths
-- [ ] No API keys, credentials, or personal data in repo
-- [ ] README covers setup, reproduction, and citation
-- [ ] LICENSE file present (MIT or Apache 2.0 for max reuse)
-- [ ] Results are reproducible within expected variance
-- [ ] .gitignore excludes data files, checkpoints, logs
-```
-
-**Anonymous code for submission** (before acceptance):
-```bash
-# Use Anonymous GitHub for double-blind review
-# https://anonymous.4open.science/
-# Upload your repo → get an anonymous URL → put in paper
-```
-
----
-
-## Phase 8: Post-Acceptance Deliverables
-
-**Goal**: Maximize the impact of your accepted paper through presentation materials and community engagement.
-
-### Step 8.1: Conference Poster
-
-Most conferences require a poster session. Poster design principles:
-
-| Element | Guideline |
-|---------|-----------|
-| **Size** | Check venue requirements (typically 24"x36" or A0 portrait/landscape) |
-| **Content** | Title, authors, 1-sentence contribution, method figure, 2-3 key results, conclusion |
-| **Flow** | Top-left to bottom-right (Z-pattern) or columnar |
-| **Text** | Title readable at 3m, body at 1m. No full paragraphs — bullet points only. |
-| **Figures** | Reuse paper figures at higher resolution. Enlarge key result. |
-
-**Tools**: LaTeX (`beamerposter` package), PowerPoint/Keynote, Figma, Canva.
-
-**Production**: Order 2+ weeks before the conference. Fabric posters are lighter for travel. Many conferences now support virtual/digital posters too.
-
-### Step 8.2: Conference Talk / Spotlight
-
-If awarded an oral or spotlight presentation:
-
-| Talk Type | Duration | Content |
-|-----------|----------|---------|
-| **Spotlight** | 5 min | Problem, approach, one key result. Rehearse to exactly 5 minutes. |
-| **Oral** | 15-20 min | Full story: problem, approach, key results, ablations, limitations. |
-| **Workshop talk** | 10-15 min | Adapt based on workshop audience — may need more background. |
-
-**Slide design rules:**
-- One idea per slide
-- Minimize text — speak the details, don't project them
-- Animate key figures to build understanding step-by-step
-- Include a "takeaway" slide at the end (single sentence contribution)
-- Prepare backup slides for anticipated questions
-
-### Step 8.3: Blog Post / Social Media
-
-An accessible summary significantly increases impact:
-
-- **Twitter/X thread**: 5-8 tweets. Lead with the result, not the method. Include Figure 1 and key result figure.
-- **Blog post**: 800-1500 words. Written for ML practitioners, not reviewers. Skip formalism, emphasize intuition and practical implications.
-- **Project page**: HTML page with abstract, figures, demo, code link, BibTeX. Use GitHub Pages.
-
-**Timing**: Post within 1-2 days of paper appearing on proceedings or arXiv camera-ready.
-
----
-
-## Workshop & Short Papers
-
-Workshop papers and short papers (e.g., ACL short papers, Findings papers) follow the same pipeline but with different constraints and expectations.
-
-### Workshop Papers
-
-| Property | Workshop | Main Conference |
-|----------|----------|-----------------|
-| **Page limit** | 4-6 pages (typically) | 7-9 pages |
-| **Review standard** | Lower bar for completeness | Must be complete, thorough |
-| **Review process** | Usually single-blind or light review | Double-blind, rigorous |
-| **What's valued** | Interesting ideas, preliminary results, position pieces | Complete empirical story with strong baselines |
-| **arXiv** | Post anytime | Timing matters (see arXiv strategy) |
-| **Contribution bar** | Novel direction, interesting negative result, work-in-progress | Significant advance with strong evidence |
-
-**When to target a workshop:**
-- Early-stage idea you want feedback on before a full paper
-- Negative result that doesn't justify 8+ pages
-- Position piece or opinion on a timely topic
-- Replication study or reproducibility report
-
-### ACL Short Papers & Findings
-
-ACL venues have distinct submission types:
-
-| Type | Pages | What's Expected |
-|------|-------|-----------------|
-| **Long paper** | 8 | Complete study, strong baselines, ablations |
-| **Short paper** | 4 | Focused contribution: one clear point with evidence |
-| **Findings** | 8 | Solid work that narrowly missed main conference |
-
-**Short paper strategy**: Pick ONE claim and support it thoroughly. Don't try to compress a long paper into 4 pages — write a different, more focused paper.
-
----
-
-## Paper Types Beyond Empirical ML
-
-The main pipeline above targets empirical ML papers. Other paper types require different structures and evidence standards. See [references/paper-types.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/paper-types.md) for detailed guidance on each type.
-
-### Theory Papers
-
-**Structure**: Introduction → Preliminaries (definitions, notation) → Main Results (theorems) → Proof Sketches → Discussion → Full Proofs (appendix)
-
-**Key differences from empirical papers:**
-- Contribution is a theorem, bound, or impossibility result — not experimental numbers
-- Methods section replaced by "Preliminaries" and "Main Results"
-- Proofs are the evidence, not experiments (though empirical validation of theory is welcome)
-- Proof sketches in main text, full proofs in appendix is standard practice
-- Experimental section is optional but strengthens the paper if it validates theoretical predictions
-
-**Proof writing principles:**
-- State theorems formally with all assumptions explicit
-- Provide intuition before formal proof ("The key insight is...")
-- Proof sketches should convey the main idea in 0.5-1 page
-- Use `\begin{proof}...\end{proof}` environments
-- Number assumptions and reference them in theorems: "Under Assumptions 1-3, ..."
-
-### Survey / Tutorial Papers
-
-**Structure**: Introduction → Taxonomy / Organization → Detailed Coverage → Open Problems → Conclusion
-
-**Key differences:**
-- Contribution is the organization, synthesis, and identification of open problems — not new methods
-- Must be comprehensive within scope (reviewers will check for missing references)
-- Requires a clear taxonomy or organizational framework
-- Value comes from connections between works that individual papers don't make
-- Best venues: TMLR (survey track), JMLR, Foundations and Trends in ML, ACM Computing Surveys
-
-### Benchmark Papers
-
-**Structure**: Introduction → Task Definition → Dataset Construction → Baseline Evaluation → Analysis → Intended Use & Limitations
-
-**Key differences:**
-- Contribution is the benchmark itself — it must fill a genuine evaluation gap
-- Dataset documentation is mandatory, not optional (see Datasheets, Step 5.11)
-- Must demonstrate the benchmark is challenging (baselines don't saturate it)
-- Must demonstrate the benchmark measures what you claim it measures (construct validity)
-- Best venues: NeurIPS Datasets & Benchmarks track, ACL (resource papers), LREC-COLING
-
-### Position Papers
-
-**Structure**: Introduction → Background → Thesis / Argument → Supporting Evidence → Counterarguments → Implications
-
-**Key differences:**
-- Contribution is an argument, not a result
-- Must engage seriously with counterarguments
-- Evidence can be empirical, theoretical, or logical analysis
-- Best venues: ICML (position track), workshops, TMLR
-
----
-
-## Hermes Agent Integration
-
-This skill is designed for the Hermes agent. It uses Hermes tools, delegation, scheduling, and memory for the full research lifecycle.
-
-### Related Skills
-
-Compose this skill with other Hermes skills for specific phases:
-
-| Skill | When to Use | How to Load |
-|-------|-------------|-------------|
-| **arxiv** | Phase 1 (Literature Review): searching arXiv, generating BibTeX, finding related papers via Semantic Scholar | `skill_view("arxiv")` |
-| **subagent-driven-development** | Phase 5 (Drafting): parallel section writing with 2-stage review (spec compliance then quality) | `skill_view("subagent-driven-development")` |
-| **plan** | Phase 0 (Setup): creating structured plans before execution. Writes to `.hermes/plans/` | `skill_view("plan")` |
-| **qmd** | Phase 1 (Literature): searching local knowledge bases (notes, transcripts, docs) via hybrid BM25+vector search | Install: `skill_manage("install", "qmd")` |
-| **diagramming** | Phase 4-5: creating Excalidraw-based figures and architecture diagrams | `skill_view("diagramming")` |
-| **data-science** | Phase 4 (Analysis): Jupyter live kernel for interactive analysis and visualization | `skill_view("data-science")` |
-
-**This skill supersedes `ml-paper-writing`** — it contains all of ml-paper-writing's content plus the full experiment/analysis pipeline and autoreason methodology.
-
-### Hermes Tools Reference
-
-| Tool | Usage in This Pipeline |
-|------|----------------------|
-| **`terminal`** | LaTeX compilation (`latexmk -pdf`), git operations, launching experiments (`nohup python run.py &`), process checks |
-| **`process`** | Background experiment management: `process("start", ...)`, `process("poll", pid)`, `process("log", pid)`, `process("kill", pid)` |
-| **`execute_code`** | Run Python for citation verification, statistical analysis, data aggregation. Has tool access via RPC. |
-| **`read_file`** / **`write_file`** / **`patch`** | Paper editing, experiment scripts, result files. Use `patch` for targeted edits to large .tex files. |
-| **`web_search`** | Literature discovery: `web_search("transformer attention mechanism 2024")` |
-| **`web_extract`** | Fetch paper content, verify citations: `web_extract("https://arxiv.org/abs/2303.17651")` |
-| **`delegate_task`** | **Parallel section drafting** — spawn isolated subagents for each section. Also for concurrent citation verification. |
-| **`todo`** | Primary state tracker across sessions. Update after every phase transition. |
-| **`memory`** | Persist key decisions across sessions: contribution framing, venue choice, reviewer feedback. |
-| **`cronjob`** | Schedule experiment monitoring, deadline countdowns, automated arXiv checks. |
-| **`clarify`** | Ask the user targeted questions when blocked (venue choice, contribution framing). |
-| **cron `deliver:`** | Notify the user when experiments complete or drafts are ready even if they're not in chat — schedule the check as a cron job with a messaging `deliver:` target (the agent no longer has a `send_message` tool; outbound delivery is handled by cron/`hermes send`). |
-
-### Tool Usage Patterns
-
-**Experiment monitoring** (most common):
-```
-terminal("ps aux | grep <pattern>")
-→ terminal("tail -30 <logfile>")
-→ terminal("ls results/")
-→ execute_code("analyze results JSON, compute metrics")
-→ terminal("git add -A && git commit -m '<descriptive message>' && git push")
-→ (final response auto-delivers "Experiment complete: <summary>"; for unattended runs, schedule via cron with a deliver: target)
-```
-
-**Parallel section drafting** (using delegation):
-```
-delegate_task("Draft the Methods section based on these experiment scripts and configs.
- Include: pseudocode, all hyperparameters, architectural details sufficient for
- reproduction. Write in LaTeX using the neurips2025 template conventions.")
-
-delegate_task("Draft the Related Work section. Use web_search and web_extract to
- find papers. Verify every citation via Semantic Scholar. Group by methodology.")
-
-delegate_task("Draft the Experiments section. Read all result files in results/.
- State which claim each experiment supports. Include error bars and significance.")
-```
-
-Each delegate runs as a **fresh subagent** with no shared context — provide all necessary information in the prompt. Collect outputs and integrate.
-
-**Citation verification** (using execute_code):
-```python
-# In execute_code:
-from semanticscholar import SemanticScholar
-import requests
-
-sch = SemanticScholar()
-results = sch.search_paper("attention mechanism transformers", limit=5)
-for paper in results:
- doi = paper.externalIds.get('DOI', 'N/A')
- if doi != 'N/A':
- bibtex = requests.get(f"https://doi.org/{doi}",
- headers={"Accept": "application/x-bibtex"}).text
- print(bibtex)
-```
-
-### State Management with `memory` and `todo`
-
-**`memory` tool** — persist key decisions (bounded: ~2200 chars for MEMORY.md):
-
-```
-memory("add", "Paper: autoreason. Venue: NeurIPS 2025 (9 pages).
- Contribution: structured refinement works when generation-evaluation gap is wide.
- Key results: Haiku 42/42, Sonnet 3/5, S4.6 constrained 2/3.
- Status: Phase 5 — drafting Methods section.")
-```
-
-Update memory after major decisions or phase transitions. This persists across sessions.
-
-**`todo` tool** — track granular progress:
-
-```
-todo("add", "Design constrained task experiments for Sonnet 4.6")
-todo("add", "Run Haiku baseline comparison")
-todo("add", "Draft Methods section")
-todo("update", id=3, status="in_progress")
-todo("update", id=1, status="completed")
-```
-
-**Session startup protocol:**
-```
-1. todo("list") # Check current task list
-2. memory("read") # Recall key decisions
-3. terminal("git log --oneline -10") # Check recent commits
-4. terminal("ps aux | grep python") # Check running experiments
-5. terminal("ls results/ | tail -20") # Check for new results
-6. Report status to user, ask for direction
-```
-
-### Cron Monitoring with `cronjob`
-
-Use the `cronjob` tool to schedule periodic experiment checks:
-
-```
-cronjob("create", {
- "schedule": "*/30 * * * *", # Every 30 minutes
- "prompt": "Check experiment status:
- 1. ps aux | grep run_experiment
- 2. tail -30 logs/experiment_haiku.log
- 3. ls results/haiku_baselines/
- 4. If complete: read results, compute Borda scores,
- git add -A && git commit -m 'Add Haiku results' && git push
- 5. Report: table of results, key finding, next step
- 6. If nothing changed: respond with [SILENT]"
-})
-```
-
-**[SILENT] protocol**: When nothing has changed since the last check, respond with exactly `[SILENT]`. This suppresses notification delivery to the user. Only report when there are genuine changes worth knowing about.
-
-**Deadline tracking**:
-```
-cronjob("create", {
- "schedule": "0 9 * * *", # Daily at 9am
- "prompt": "NeurIPS 2025 deadline: May 22. Today is {date}.
- Days remaining: {compute}.
- Check todo list — are we on track?
- If <7 days: warn user about remaining tasks."
-})
-```
-
-### Communication Patterns
-
-**When to notify the user** (via your direct/final response, or a cron `deliver:` target for unattended runs):
-- Experiment batch completed (with results table)
-- Unexpected finding or failure requiring decision
-- Draft section ready for review
-- Deadline approaching with incomplete tasks
-
-**When NOT to notify:**
-- Experiment still running, no new results → `[SILENT]`
-- Routine monitoring with no changes → `[SILENT]`
-- Intermediate steps that don't need attention
-
-**Report format** — always include structured data:
-```
-## Experiment: <name>
-Status: Complete / Running / Failed
-
-| Task | Method A | Method B | Method C |
-|------|---------|---------|---------|
-| Task 1 | 85.2 | 82.1 | **89.4** |
-
-Key finding: <one sentence>
-Next step: <what happens next>
-```
-
-### Decision Points Requiring Human Input
-
-Use `clarify` for targeted questions when genuinely blocked:
-
-| Decision | When to Ask |
-|----------|-------------|
-| Target venue | Before starting paper (affects page limits, framing) |
-| Contribution framing | When multiple valid framings exist |
-| Experiment priority | When TODO list has more experiments than time allows |
-| Submission readiness | Before final submission |
-
-**Do NOT ask about** (be proactive, make a choice, flag it):
-- Word choice, section ordering
-- Which specific results to highlight
-- Citation completeness (draft with what you find, note gaps)
-
----
-
-## Reviewer Evaluation Criteria
-
-Understanding what reviewers look for helps focus effort:
-
-| Criterion | What They Check |
-|-----------|----------------|
-| **Quality** | Technical soundness, well-supported claims, fair baselines |
-| **Clarity** | Clear writing, reproducible by experts, consistent notation |
-| **Significance** | Community impact, advances understanding |
-| **Originality** | New insights (doesn't require new method) |
-
-**Scoring (NeurIPS 6-point scale):**
-- 6: Strong Accept — groundbreaking, flawless
-- 5: Accept — technically solid, high impact
-- 4: Borderline Accept — solid, limited evaluation
-- 3: Borderline Reject — weaknesses outweigh
-- 2: Reject — technical flaws
-- 1: Strong Reject — known results or ethics issues
-
-See [references/reviewer-guidelines.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/reviewer-guidelines.md) for detailed guidelines, common concerns, and rebuttal strategies.
-
----
-
-## Common Issues and Solutions
-
-| Issue | Solution |
-|-------|----------|
-| Abstract too generic | Delete first sentence if it could prepend any ML paper. Start with your specific contribution. |
-| Introduction exceeds 1.5 pages | Split background into Related Work. Front-load contribution bullets. |
-| Experiments lack explicit claims | Add: "This experiment tests whether [specific claim]..." before each one. |
-| Reviewers find paper hard to follow | Add signposting, use consistent terminology, make figure captions self-contained. |
-| Missing statistical significance | Add error bars, number of runs, statistical tests, confidence intervals. |
-| Scope creep in experiments | Every experiment must map to a specific claim. Cut experiments that don't. |
-| Paper rejected, need to resubmit | See Conference Resubmission in Phase 7. Address reviewer concerns without referencing reviews. |
-| Missing broader impact statement | See Step 5.10. Most venues require it. "No negative impacts" is almost never credible. |
-| Human eval criticized as weak | See Step 2.5 and [references/human-evaluation.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/human-evaluation.md). Report agreement metrics, annotator details, compensation. |
-| Reviewers question reproducibility | Release code (Step 7.9), document all hyperparameters, include seeds and compute details. |
-| Theory paper lacks intuition | Add proof sketches with plain-language explanations before formal proofs. See [references/paper-types.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/paper-types.md). |
-| Results are negative/null | See Phase 4.3 on handling negative results. Consider workshops, TMLR, or reframing as analysis. |
-
----
-
-## Reference Documents
-
-| Document | Contents |
-|----------|----------|
-| [references/writing-guide.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/writing-guide.md) | Gopen & Swan 7 principles, Perez micro-tips, Lipton word choice, Steinhardt precision, figure design |
-| [references/citation-workflow.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/citation-workflow.md) | Citation APIs, Python code, CitationManager class, BibTeX management |
-| [references/checklists.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/checklists.md) | NeurIPS 16-item, ICML, ICLR, ACL requirements, universal pre-submission checklist |
-| [references/reviewer-guidelines.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/reviewer-guidelines.md) | Evaluation criteria, scoring, common concerns, rebuttal template |
-| [references/sources.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/sources.md) | Complete bibliography of all writing guides, conference guidelines, APIs |
-| [references/experiment-patterns.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/experiment-patterns.md) | Experiment design patterns, evaluation protocols, monitoring, error recovery |
-| [references/autoreason-methodology.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/autoreason-methodology.md) | Autoreason loop, strategy selection, model guide, prompts, scope constraints, Borda scoring |
-| [references/human-evaluation.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/human-evaluation.md) | Human evaluation design, annotation guidelines, agreement metrics, crowdsourcing QC, IRB guidance |
-| [references/paper-types.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/references/paper-types.md) | Theory papers (proof writing, theorem structure), survey papers, benchmark papers, position papers |
-
-### LaTeX Templates
-
-Templates in `templates/` for: **NeurIPS 2025**, **ICML 2026**, **ICLR 2026**, **ACL**, **AAAI 2026**, **COLM 2025**.
-
-See [templates/README.md](https://github.com/NousResearch/hermes-agent/blob/main/skills/research/research-paper-writing/templates/README.md) for compilation instructions.
-
-### Key External Sources
-
-**Writing Philosophy:**
-- [Neel Nanda: How to Write ML Papers](https://www.alignmentforum.org/posts/eJGptPbbFPZGLpjsp/highly-opinionated-advice-on-how-to-write-ml-papers)
-- [Sebastian Farquhar: How to Write ML Papers](https://sebastianfarquhar.com/on-research/2024/11/04/how_to_write_ml_papers/)
-- [Gopen & Swan: Science of Scientific Writing](https://cseweb.ucsd.edu/~swanson/papers/science-of-writing.pdf)
-- [Lipton: Heuristics for Scientific Writing](https://www.approximatelycorrect.com/2018/01/29/heuristics-technical-scientific-writing-machine-learning-perspective/)
-- [Perez: Easy Paper Writing Tips](https://ethanperez.net/easy-paper-writing-tips/)
-
-**APIs:** [Semantic Scholar](https://api.semanticscholar.org/api-docs/) | [CrossRef](https://www.crossref.org/documentation/retrieve-metadata/rest-api/) | [arXiv](https://info.arxiv.org/help/api/basics.html)
-
-**Venues:** [NeurIPS](https://neurips.cc/Conferences/2025/PaperInformation/StyleFiles) | [ICML](https://icml.cc/Conferences/2025/AuthorInstructions) | [ICLR](https://iclr.cc/Conferences/2026/AuthorGuide) | [ACL](https://github.com/acl-org/acl-style-files)
diff --git a/website/docs/user-guide/skills/bundled/smart-home/smart-home-openhue.md b/website/docs/user-guide/skills/bundled/smart-home/smart-home-openhue.md
deleted file mode 100644
index f692e412b49..00000000000
--- a/website/docs/user-guide/skills/bundled/smart-home/smart-home-openhue.md
+++ /dev/null
@@ -1,127 +0,0 @@
----
-title: "Openhue — Control Philips Hue lights, scenes, rooms via OpenHue CLI"
-sidebar_label: "Openhue"
-description: "Control Philips Hue lights, scenes, rooms via OpenHue CLI"
----
-
-{/* This page is auto-generated from the skill's SKILL.md by website/scripts/generate-skill-docs.py. Edit the source SKILL.md, not this page. */}
-
-# Openhue
-
-Control Philips Hue lights, scenes, rooms via OpenHue CLI.
-
-## Skill metadata
-
-| | |
-|---|---|
-| Source | Bundled (installed by default) |
-| Path | `skills/smart-home/openhue` |
-| Version | `1.0.1` |
-| Author | community |
-| License | MIT |
-| Platforms | linux, macos, windows |
-| Tags | `Smart-Home`, `Hue`, `Lights`, `IoT`, `Automation` |
-
-## Reference: full SKILL.md
-
-:::info
-The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
-:::
-
-# OpenHue CLI
-
-Control Philips Hue lights and scenes via a Hue Bridge from the terminal.
-
-## Prerequisites
-
-```bash
-# Linux (pre-built binary — releases ship tarballs, not bare binaries)
-curl -sL "https://github.com/openhue/openhue-cli/releases/latest/download/openhue_Linux_x86_64.tar.gz" \
- | tar -xz -C ~/.hermes/cache/scratch openhue \
- && install -m 0755 ~/.hermes/cache/scratch/openhue ~/.local/bin/openhue
-# (use openhue_Linux_arm64.tar.gz on ARM64)
-
-# macOS
-brew install openhue/cli/openhue-cli
-```
-
-First run requires pressing the button on your Hue Bridge to pair. The bridge must be on the same local network.
-
-## When to Use
-
-- "Turn on/off the lights"
-- "Dim the living room lights"
-- "Set a scene" or "movie mode"
-- Controlling specific Hue rooms, zones, or individual bulbs
-- Adjusting brightness, color, or color temperature
-
-## Common Commands
-
-### List Resources
-
-```bash
-openhue get light # List all lights
-openhue get room # List all rooms
-openhue get scene # List all scenes
-```
-
-### Control Lights
-
-```bash
-# Turn on/off
-openhue set light "Bedroom Lamp" --on
-openhue set light "Bedroom Lamp" --off
-
-# Brightness (0-100)
-openhue set light "Bedroom Lamp" --on --brightness 50
-
-# Color temperature (warm to cool: 153-500 mirek)
-openhue set light "Bedroom Lamp" --on --temperature 300
-
-# Color (by name or hex)
-openhue set light "Bedroom Lamp" --on --color red
-openhue set light "Bedroom Lamp" --on --rgb "#FF5500"
-```
-
-### Control Rooms
-
-```bash
-# Turn off entire room
-openhue set room "Bedroom" --off
-
-# Set room brightness
-openhue set room "Bedroom" --on --brightness 30
-```
-
-### Scenes
-
-```bash
-openhue set scene "Relax" --room "Bedroom"
-openhue set scene "Concentrate" --room "Office"
-```
-
-## Quick Presets
-
-```bash
-# Bedtime (dim warm)
-openhue set room "Bedroom" --on --brightness 20 --temperature 450
-
-# Work mode (bright cool)
-openhue set room "Office" --on --brightness 100 --temperature 250
-
-# Movie mode (dim)
-openhue set room "Living Room" --on --brightness 10
-
-# Everything off
-openhue set room "Bedroom" --off
-openhue set room "Office" --off
-openhue set room "Living Room" --off
-```
-
-## Notes
-
-- Bridge must be on the same local network as the machine running Hermes
-- First run requires physically pressing the button on the Hue Bridge to authorize
-- Colors only work on color-capable bulbs (not white-only models)
-- Light and room names are case-sensitive — use `openhue get light` to check exact names
-- Works great with cron jobs for scheduled lighting (e.g. dim at bedtime, bright at wake)