New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Routes website URLs through markdown.new for clean, extractable Markdown, with fallback rules for blocked pages.

skills.sh installs
1.2K
GitHub stars
1K
last updated
Jul 14, 2026
View on GitHub

What it does

  • Covers URL rewriting, Markdown extraction, and fallback to original URLs when markdown.new is blocked
  • Includes a read-only policy for docs, blog posts, changelogs, and GitHub discussions, plus a markdown-url.js CLI helper
  • Enforces skipping markdown.new for login, OAuth, checkout, paywalled, CAPTCHA-gated, and interactive pages
  • Defines block signals such as HTTP 401, 403, and 429, CAPTCHAs, and redirect loops that trigger a single retry limit

Install

$ npx -y skills add am-will/codex-skills --skill markdown-url -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

markdown.new URL Prefix

Whenever you need to visit a website URL, you must:

  1. rewrite it to go through https://markdown.new/, then
  2. visit the rewritten URL, and
  3. pull the Markdown content from that page for use in your answer/notes.

Rewrite Rule

  1. Normalize the destination into an absolute URL with a scheme (https:// preferred).
  2. Prefix it with https://markdown.new/ (do not drop the original scheme).

Examples

  • https://example.com -> https://markdown.new/https://example.com
  • https://example.com/docs?a=1#b -> https://markdown.new/https://example.com/docs?a=1#b
  • example.com -> https://markdown.new/https://example.com

Agent Workflow (Required)

When you would normally open a website to read it:

  1. Produce the rewritten markdown.new URL.
  2. Visit the rewritten URL first (not the original), but only when it is likely to work (see Policy below).
  3. Extract the page content from the Markdown view (the rendered Markdown and/or the raw Markdown).
  4. Use that extracted Markdown as the source for summaries, quotes, checklists, or copy/pasteable notes.

Details

Repository
github.com/am-will/codex-skills
Categories
Browser Automation & Scraping, AI Agents & LLM Apps

More from am-will/codex-skills

All 14

Similar to Markdown Url

More Browser Automation & Scraping