Agent skill

Web To Markdown

by davila7 in davila7/claude-code-templates

Use ONLY when the user explicitly says: 'use the skill web-to-markdown ...' (or 'use a skill web-to-markdown ...').

MITAuto-check passedDocuments & Office

Install Web To Markdown

skills CLI
$ npx skills add davila7/claude-code-templates --skill web-to-markdown -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davila7/claude-code-templates web-to-markdown --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/development/web-to-markdown .claude/skills/web-to-markdown && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
web-to-markdown
GitHub stars
33k
Used in
1 other repo
Token cost
~846 tokens
SKILL.md length
397 words
Files
2
Skills in repo
479
Repo updated
First seen
Licence
MIT

At a glance

Use ONLY when the user explicitly says: 'use the skill web-to-markdown ...' (or 'use a skill web-to-markdown ...').

  • Works in 6 steps: Confirm the user explicitly invoked the… → Validate URL(s) start with http:// or… → Ensure web2md is installed → …
  • Explicitly says: use the skill web-to-markdown ... (or use a skill web-to-markdown ...)
  • SKILL.md covers Hard trigger gate (must enforce), What this skill does, Non-goals and Inputs you should collect (ask…, plus 2 more sections
  • Calls npm

What it does

Web To Markdown is an agent skill from davila7/claude-code-templates. Use ONLY when the user explicitly says: 'use the skill web-to-markdown ...' (or 'use a skill web-to-markdown ...'). Converts webpage URLs to clean Markdown by calling the local web2md CLI (Puppeteer + Readability), suitable for JS-rendered pages.

Its SKILL.md is about 850 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

It sits in Documents & Office, covering Markdown and Plain language and style rules. It works with Puppeteer and npm. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.

When your agent uses it

  • Explicitly says: use the skill web-to-markdown ... (or use a skill web-to-markdown ...)
  • Tasks that involve Markdown
  • Tasks that involve Plain language and style rules

Example prompts

  • “use the skill web-to-markdown ...”
  • “use a skill web-to-markdown ...”
  • “/web-to-markdown”

Requirements

  • Node.js

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Confirm the user explicitly invoked the skill (use the skill web-to-markdown).
  2. Validate URL(s) start with http:// or https://.
  3. Ensure web2md is installed
  4. Convert
  5. Validate output
  6. Return

What it can do on your machine

Read from SKILL.md and the folder at commit c0ca7da. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Web To Markdown loads about 846 tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 397 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~846

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davila7/claude-code-templates at commit c0ca7da, republished under its MIT licence (© davila7). 397 words, ~846 tokens.

Download SKILL.mdSave it as .claude/skills/web-to-markdown/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
web-to-markdown
description
Use ONLY when the user explicitly says: 'use the skill web-to-markdown ...' (or 'use a skill web-to-markdown ...'). Converts webpage URLs to clean Markdown by calling the local web2md CLI (Puppeteer + Readability), suitable for JS-rendered pages.
metadata.version
0.1.0

web-to-markdown

Convert web pages to clean Markdown by driving a locally installed browser (via web2md).

Hard trigger gate (must enforce)

This skill MUST NOT be used unless the user explicitly wrote exactly a phrase like:

  • use the skill web-to-markdown ...
  • use a skill web-to-markdown ...

If the user did not explicitly request this skill by name, stop and ask them to re-issue the request including: use the skill web-to-markdown.

What this skill does

  • Handles JS-rendered pages (Puppeteer → user Chrome).
  • Works best with Chromium-family browsers (Chrome/Chromium/Brave/Edge) via puppeteer-core.
  • Extracts main content (Readability).
  • Converts to Markdown (Turndown) with cleaned links and optional YAML frontmatter.

Non-goals

  • Do not use Playwright or other browser automation stacks; the mechanism is web2md.

Inputs you should collect (ask only if missing)

  • url (or a list of URLs)
  • Output preference:
    • Print to stdout (--print), OR
    • Save to a file (--out ./file.md), OR
    • Save to a directory (--out ./some-dir/ to auto-name by page title)
  • Optional rendering controls for tricky pages:
    • --chrome-path <path> (if Chrome auto-detection fails)
    • --interactive (show Chrome and pause so the user can complete human checks/login, then press Enter)
    • --wait-until load|domcontentloaded|networkidle0|networkidle2
    • --wait-for '<css selector>'
    • --wait-ms <milliseconds>
    • --headful (debug)
    • --no-sandbox (sometimes required in containers/CI)
    • --user-data-dir <dir> (login/session; use a dedicated profile directory)
Show full SKILL.md (195 more words)Show less

Workflow

  1. Confirm the user explicitly invoked the skill (use the skill web-to-markdown).
  2. Validate URL(s) start with http:// or https://.
  3. Ensure web2md is installed:
    • Run: command -v web2md
    • If missing, instruct the user to install it:
      • If available via npm: npm install -g web2md
      • If from source: Clone the repository, then run npm install && npm run build && npm link
  4. Convert:
    • Single URL → file:
      • web2md '<url>' --out ./page.md
    • Single URL → auto-named file in directory:
      • mkdir -p ./out && web2md '<url>' --out ./out/
    • Human verification / login walls (interactive):
      • mkdir -p ./out && web2md '<url>' --interactive --user-data-dir ./tmp/web2md-profile --out ./out/
      • Then: complete the check in the browser window and press Enter in the terminal to continue.
    • Print to stdout:
      • web2md '<url>' --print
    • Multiple URLs (batch):
      • Create output dir (e.g. ./out/) then run one web2md command per URL using --out ./out/
  5. Validate output:
    • If writing files, verify they exist and are non-empty (e.g. ls -la <path> and wc -c <path>).
  6. Return:
    • The saved file path(s), or the Markdown (stdout mode).
  • For most pages: --wait-until networkidle2
  • For heavy apps: start with --wait-until domcontentloaded --wait-ms 2000, then add --wait-for 'main' (or another stable selector) if needed.

© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in cli-tool/components/skills/development/web-to-markdown of davila7/claude-code-templates.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit c0ca7da

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Web To Markdown next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Web To Markdown compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Web To Markdown this skilldavila7/claude-code-templates33k1 repos~846Automated safety check: PassMIT
Md2pdf Exportwentorai/Research-Claw858—~2.1kAutomated safety check: NotesCustom licence
Jpagecode2rich/jpage175—~3.2kAutomated safety check: NotesMIT
Mdzillapi0/mdzilla110—~761Automated safety check: PassMIT
Slidev CLI Skilldskilld-dev/vue-ecosystem-skills181—~1.1kAutomated safety check: PassMIT
Opendataloader PDFchujianyun/skills742—~827Automated safety check: PassCustom licence

Similar skills

  • Md2pdf Export

    wentorai/Research-Claw

    Convert Markdown files to PDF, PNG, or JPEG using headless Chrome (Puppeteer), following the same methodology as VS Code's Markdown Preview Enhanced extension.

    858 GitHub stars~2.1k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check: notes
  • Jpage

    code2rich/jpage

    即页(jpage)统一技能:生成 HTML/Markdown 内容、制作 reveal.js 幻灯片、使用内容模板市场风格、上传到即页并管理文件。所有内容生产与文件管理操作都通过本技能完成。

    175 GitHub stars~3.2k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check: notes
  • Mdzilla

    pi0/mdzilla

    Browse, search, and export documentation from any source using the mdzilla CLI.

    110 GitHub stars~761 tokensUpdated 6 mo ago
    Documents & OfficeAuto-check passed
  • Slidev CLI Skilld

    skilld-dev/vue-ecosystem-skills

    Build, present, and ship Slidev decks with @slidev/cli. An agent skill from skilld-dev/vue-ecosystem-skills.

    181 GitHub stars~1.1k tokensUpdated 17 days ago
    Documents & OfficeAuto-check passed
  • Opendataloader PDF

    chujianyun/skills

    PDF 数据提取工具。当用户提到"PDF 提取"、"PDF 转 Markdown"、"PDF 解析"、"提取 PDF 内容"、"PDF 转 JSON"、"RAG PDF"时使用。OpenDataLoader PDF 是目前基准测试第一的 PDF 解析器,支持本地模式(快速、确定)和混合 AI 模式(复杂表格、扫描件、公式),输出 Markdown、JSON(带边界框)、HTML。适用于需要从…

    742 GitHub stars~827 tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Mdx Sanitizer

    curiositech/some_claude_skills

    Sanitize MDX content for Docusaurus builds. An agent skill from curiositech/some_claude_skills.

    244 GitHub stars~1.2k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check: notes

More from davila7/claude-code-templates

All 479 skills in this repo
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    33k GitHub starsUsed in 11 repos~3.5k tokens
    Auto-check: notes
  • Neuropixels Data Analysis

    davila7/claude-code-templates

    Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.

    33k GitHub starsUsed in 9 repos~2.8k tokens
    Auto-check passed
  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    33k GitHub starsUsed in 9 repos~5.1k tokens
    Auto-check: notes
  • Brand Voice Content Creator

    davila7/claude-code-templates

    Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.

    33k GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • CAPA Officer

    davila7/claude-code-templates

    Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.

    33k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    33k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Works with

Questions about Web To Markdown

What does Web To Markdown do?

Use ONLY when the user explicitly says: 'use the skill web-to-markdown ...' (or 'use a skill web-to-markdown ...'). Web To Markdown is an agent skill from davila7/claude-code-templates.').

When should I use Web To Markdown?

Web To Markdown fits situations like: explicitly says: use the skill web-to-markdown ... (or use a skill web-to-markdown ...); tasks that involve Markdown; tasks that involve Plain language and style rules.

How do I install Web To Markdown in Claude Code?

Run `npx skills add davila7/claude-code-templates --skill web-to-markdown -a claude-code`. Or copy the skill folder (cli-tool/components/skills/development/web-to-markdown in davila7/claude-code-templates) into .claude/skills/web-to-markdown in your project. Claude Code loads it when a task matches its description.

How do I install Web To Markdown in Codex?

Run `npx skills add davila7/claude-code-templates --skill web-to-markdown -a codex`. Or copy the skill folder (cli-tool/components/skills/development/web-to-markdown in davila7/claude-code-templates) into .agents/skills/web-to-markdown in your project. Codex loads it when a task matches its description.

Can I use Web To Markdown in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill web-to-markdown -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/web-to-markdown, .gemini/skills/web-to-markdown, .github/skills/web-to-markdown and .opencode/skills/web-to-markdown in your project.

What does Web To Markdown need to run?

Going by SKILL.md and its folder, Web To Markdown needs the command-line tools its instructions call (npm). Our summary lists: Node.js.

Does Web To Markdown access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Web To Markdown safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Web To Markdown use?

Web To Markdown is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Web To Markdown use?

About 846 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Web To Markdown?

Skills that share tags, products or a category with Web To Markdown: Md2pdf Export (wentorai/Research-Claw, 858 stars), Jpage (code2rich/jpage, 175 stars), Mdzilla (pi0/mdzilla, 110 stars) and Slidev CLI Skilld (skilld-dev/vue-ecosystem-skills, 181 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Web To Markdown?

davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,512 GitHub stars. The repository holds 479 skills in this directory. The repository was last updated on October 10, 2026.

Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.