web-to-markdown

web-to-markdown is a skill for Claude Code, Codex from Dannykkh/skill-olympus. It costs 79 tokens per session (1,240 once invoked), scanned A, original, MIT.

A tool that turns web pages into clean Markdown files, including pages whose content appears only after JavaScript runs. It can process one URL or a list of URLs and can handle pages requiring login.

In plain words
What is it for?
Use it to save documentation, extract a selected part of a page, convert many URLs, or capture content from a logged-in page.
Why use it?
It removes page layout and other browser clutter so web content is easier to save, search, reuse, or place in documentation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is /web2md https://example.com --out ./docs/ref.md # 경로 지정.

Good fit Use it to save documentation, extract a selected part of a page, convert many URLs, or capture content from a logged-in page.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Dannykkh/skill-olympus
agentmods
npx agentmods add skills/dannykkh/skill-olympus/web-to-markdown

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for web-to-markdown

README.md
[![agentmods](https://agentmods.dev/badge/skills/dannykkh/skill-olympus/web-to-markdown/github.svg)](https://agentmods.dev/skills/dannykkh/skill-olympus/web-to-markdown)
Your own site
<a href="https://agentmods.dev/skills/dannykkh/skill-olympus/web-to-markdown"><img src="https://agentmods.dev/badge/skills/dannykkh/skill-olympus/web-to-markdown/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for web-to-markdown

Your own site · 80×15
<a href="https://agentmods.dev/skills/dannykkh/skill-olympus/web-to-markdown"><img src="https://agentmods.dev/badge/skills/dannykkh/skill-olympus/web-to-markdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,240 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.01240
Opus 5.5 $0.00032 $0.00496
Sonnet 5.5 $0.00016 $0.00248
Haiku 4.5 $0.00008 $0.00124

Measured 2mo ago against content hash b96868585a73, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

web-to-markdown scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| 정적 HTML, 빠른 변환 | `curl` + `pandoc` |
skills/web-to-markdown/SKILL.md · 170 lines

How it starts

The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web to Markdown — 웹페이지 → 마크다운 변환

JS 렌더링 페이지도 깨끗하게 마크다운으로 변환. Puppeteer + Readability + Turndown 파이프라인.

Quick Start

/web2md https://example.com                     # 파일로 저장 (자동 이름)
/web2md https://example.com --print              # 터미널 출력
/web2md https://example.com --out ./docs/ref.md  # 경로 지정
/web2md urls.txt                                 # 배치 변환 (파일에 URL 목록)
/web2md https://app.example.com --interactive    # 로그인 필요 페이지
/web2md https://example.com --selector "main"    # 특정 영역만 추출

공식 호출명: /web2md


사전 확인

# web2md 설치 확인
command -v web2md || echo "미설치 — 아래 설치 절차 참조"

# 설치 (프로젝트 존재 시)
cd ~/workspace/softaworks/projects/web2md && npm install && npm run build && npm link

Workflow

1. 단일 URL 변환

# 자동 이름으로 저장
mkdir -p ./out && web2md 'https://docs.example.com/guide' --out ./out/

# 지정 파일명으로 저장
web2md 'https://docs.example.com/guide' --out ./docs/guide.md

# 터미널 출력 (파이프에 유용)
web2md 'https://docs.example.com/guide' --print

2. 배치 변환 (여러 URL)

# URL 목록 파일에서 일괄 변환
mkdir -p ./out
while IFS= read -r url; do
  [ -n "$url" ] && web2md "$url" --out ./out/
done < urls.txt

3. 로그인 필요 페이지 (Interactive Mode)

# 브라우저 창이 열리고, 로그인 완료 후 Enter
web2md 'https://app.example.com/dashboard' \
  --interactive \
  --user-data-dir ./tmp/web2md-profile \
  --out ./out/

# 세션 재사용 (두 번째부터 로그인 불필요)
web2md 'https://app.example.com/settings' \
  --user-data-dir ./tmp/web2md-profile \
  --out ./out/

4. 까다로운 페이지 처리

상황 옵션
JS 렌더링이 느린 SPA --wait-until networkidle2
특정 요소 로드 대기 --wait-for 'main article'
추가 대기 시간 필요 --wait-ms 3000
Chrome 자동 감지 실패 --chrome-path /path/to/chrome
컨테이너/CI 환경 --no-sandbox
디버깅 --headful

5. 선택적 콘텐츠 추출

# 본문만 추출 (사이드바, 푸터 제외)
web2md 'https://blog.example.com/post' --selector 'article.post-content'

# 여러 선택자 (첫 번째 매칭)
web2md 'https://docs.example.com' --selector 'main, .docs-content, #content'

Read the full file on GitHub · 170 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 170 lines · 79 tokens per session scan A b96868585a73

Subscribe to this mod's changes

web-to-markdown is a skill published in the GitHub repository Dannykkh/skill-olympus (9 stars, last pushed 6d ago), licensed MIT. It adds 79 tokens to every session and 1,240 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

web-to-markdown compared with skills from other repositories

web-to-markdown next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
web-to-markdownDannykkh/skill-olympusSkill96d agoMITA79Claude Code, Codex
capture-pdfclaude-hangar/claude-hangarSkill15mo agoMITA36Claude Code
audit-projectluiseiman/dotforgeSkill826d agoMITA26Claude Code
init-projectluiseiman/dotforgeSkill826d agoMITA28Claude Code
domain-extractluiseiman/dotforgeSkill826d agoMITA24Claude Code
rule-effectivenessluiseiman/dotforgeSkill826d agoMITA47Claude Code
session-insightsluiseiman/dotforgeSkill826d agoMITA46Claude Code