web-markdown-fetch

web-markdown-fetch is a skill for Claude Code, Codex from InDreamer/telegram-codex-bridge. It costs 96 tokens per session (1,151 once invoked), scanned A, a copy of web-markdown-fetch, MIT.

A procedure for retrieving web pages as clean Markdown or text instead of noisy webpage markup. It tries several page-cleaning services in a fixed order and can save the retrieved content and images locally.

In plain words
What is it for?
Use it when researching a URL, extracting readable page content, handling Cloudflare-prone pages, or saving downloaded images for later inspection.
Why use it?
It makes web pages easier for an agent to read and summarize, including pages that are difficult to access directly.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/indreamer/telegram-codex-bridge/web-markdown-fetch
Any agent
npx skills add InDreamer/telegram-codex-bridge --skill web-markdown-fetch
Clone the repo
git clone --depth 1 https://github.com/InDreamer/telegram-codex-bridge

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-markdown-fetch

README.md
[![agentmods](https://agentmods.dev/badge/skills/indreamer/telegram-codex-bridge/web-markdown-fetch.svg)](https://agentmods.dev/skills/indreamer/telegram-codex-bridge/web-markdown-fetch)
Your own site
<a href="https://agentmods.dev/skills/indreamer/telegram-codex-bridge/web-markdown-fetch"><img src="https://agentmods.dev/badge/skills/indreamer/telegram-codex-bridge/web-markdown-fetch.svg" alt="Measured on agentmods" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,151 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00096 $0.01151
Opus 5 $0.00048 $0.00575
Sonnet 5 $0.00019 $0.00230
Haiku 4.5 $0.00010 $0.00115

Measured 4d ago against content hash fda2974b9278, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

web-markdown-fetch 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/fetch_markdown.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

curl -L "https://markdown.new/https://example.com"
Origin

This is a copy

100% identical to web-markdown-fetch — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/web-markdown-fetch/SKILL.md · 113 lines

How it starts

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

Web Markdown Fetch

Core Rule

When reading any target URL, apply these methods in strict order:

  1. https://markdown.new/<full-url>
  2. https://defuddle.md/<full-url>
  3. https://r.jina.ai/<full-url>
  4. Scrapling fallback (scrapling extract ...)

Do not jump to Scrapling before trying the three mirror prefixes. For successful mirrors, keep evaluating in-order and select the best complete candidate; do not stop at the first partial success.

Treat asset handling as mandatory:

  1. Persist fetched markdown and discovered images under a per-session agent asset directory.
  2. Keep image assets enabled by default; --no-save-assets is allowed only if the user explicitly requests disabling image persistence.
  3. For image-analysis requests in pi, use read on the downloaded local image files first before any external vision fallback.

Pi Adaptation

This skill is adapted for pi package loading.

  • When this repo is loaded as a pi package, the skill can be invoked as /skill:web-markdown-fetch <url>.
  • Do not assume Codex-only session variables or Codex-only directories.
  • The bundled helper auto-detects Pi/Codex/generic session ids when available, then falls back to a workspace-derived session id.
  • Saved image files are meant to be opened locally with pi's read tool.

Workflow

  1. Normalize the input URL. If the scheme is missing, prepend https://.
  2. Try markdown.new first.
  3. If the output is empty, blocked, timed out, or clearly wrong, try defuddle.md.
  4. If that still fails, try r.jina.ai.
  5. For usable mirror outputs, score all candidates and pick the most complete one.
  6. If all three fail, run Scrapling CLI fallback.
  7. Save fetched markdown and discovered markdown-image assets to a temp directory keyed by the current agent session when detectable; otherwise use the workspace-derived fallback id.
  8. Explicitly report the resolved asset directory path and the image save count (images_saved/images_discovered).
  9. If the user asks for visual details such as a diagram, chart, or screenshot, inspect saved local image files first with read.
  10. Do not call external vision services first for image interpretation; only use them as fallback when local image reading is unavailable or explicitly requested by the user.
  11. After each successful fetch, report a completeness score (0-100) and whether it is full (is_full=true/false).
  12. Return the extracted content and explicitly state which method succeeded.
  13. If Scrapling reports SSL certificate verification errors, retry Scrapling with --no-verify.

Read the full file on GitHub · 113 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 113 lines · 96 tokens per session scan A fda2974b9278

Subscribe to this mod's changes

web-markdown-fetch is a skill published in the GitHub repository InDreamer/telegram-codex-bridge (26 stars, last pushed 3mo ago), licensed MIT. It adds 96 tokens to every session and 1,151 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to web-markdown-fetch, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

langbot-eba-adapter-dev

Build, refactor, and test LangBot platform adapters for the Event-Based Agents architecture. Use when adding or migrating Telegram, Discord, or other messaging platform adapters to the EBA adapter layout, validating unified event/message conversion, writing live adapter probes, or using standalone plugin runtime plus…

langbot-app/LangBot · 73 tokens

langbot-plugin-dev

Develop, debug, and test LangBot plugins. Use when creating new LangBot plugins, fixing plugin bugs, setting up a LangBot test environment, or testing plugins via WebSocket. Covers plugin component architecture (EventListener, Command, Tool), the plugin SDK API (invokellm, getllmmodels, sendmessage, plugin storage)…

langbot-app/LangBot · 110 tokens

langbot-dev

Develop, build, and debug the LangBot core backend and web frontend. Use when working inside the LangBot repository — backend (Python/Quart, src/langbot/pkg), the Vite/React web UI, HTTP API controllers/services, Alembic migrations, or the MCP server. Covers the dev environment (uv, pnpm), repo layout, the API auth…

langbot-app/LangBot · 136 tokens

langbot-mcp-ops

Operate a LangBot instance through its built-in MCP (Model Context Protocol) server. Use when an AI agent needs to manage LangBot — list/create/update/delete bots, pipelines, models, knowledge bases, MCP servers, and skills — over MCP instead of raw HTTP. Covers the /mcp endpoint, API-key auth (web-UI lbk keys and the…

langbot-app/LangBot · 125 tokens

langbot-space-ops

Browse and search the LangBot Space marketplaces (plugins, MCP servers, skills) through the Space MCP server. Use when an AI agent needs to discover LangBot extensions on space.langbot.app over MCP. Covers the /mcp endpoint, Personal Access Token (PAT) auth, the tool surface, and client configuration. Triggers on…

langbot-app/LangBot · 101 tokens

langbot-testing

Test LangBot WebUI and core product flows with an automated browser and backend logs. Use when validating the configured LangBot frontend, pipeline Debug Chat, model provider setup and test buttons, bot and knowledge-base UI flows, or troubleshooting failed LangBot end-to-end tests.

langbot-app/LangBot · 58 tokens