baoyu-url-to-markdown

baoyu-url-to-markdown is a skill for Codex from appleweiping/WEIPING_WIKI. It costs 52 tokens per session (1,026 once invoked), scanned A, a copy of baoyu-url-to-markdown, MIT.

A webpage-saving add-on that opens a URL in Chrome and converts the page into clean Markdown, a plain-text format often used for notes and documentation. It can capture pages automatically or wait for a user signal when login or interaction is needed.

In plain words
What is it for?
It helps save articles, papers, news, and knowledge-base pages as Markdown, including pages that require signing in or interacting first.
Why use it?
It removes page clutter and preserves the useful structure of a webpage in a format that is easier to store and edit.

Skill for Codex

Written for Codex: installed under .codex/.

Good fit It helps save articles, papers, news, and knowledge-base pages as Markdown, including pages that require signing in or interacting first.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/appleweiping/weiping_wiki/baoyu-url-to-markdown
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.

Any agent
npx skills add appleweiping/WEIPING_WIKI --skill baoyu-url-to-markdown
Clone the repo
git clone --depth 1 https://github.com/appleweiping/WEIPING_WIKI

Made for: 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 baoyu-url-to-markdown

README.md
[![agentmods](https://agentmods.dev/badge/skills/appleweiping/weiping_wiki/baoyu-url-to-markdown/github.svg)](https://agentmods.dev/skills/appleweiping/weiping_wiki/baoyu-url-to-markdown)
Your own site
<a href="https://agentmods.dev/skills/appleweiping/weiping_wiki/baoyu-url-to-markdown"><img src="https://agentmods.dev/badge/skills/appleweiping/weiping_wiki/baoyu-url-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 baoyu-url-to-markdown

Your own site · 80×15
<a href="https://agentmods.dev/skills/appleweiping/weiping_wiki/baoyu-url-to-markdown"><img src="https://agentmods.dev/badge/skills/appleweiping/weiping_wiki/baoyu-url-to-markdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,026 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% 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.1 $0.00052 $0.01026
Opus 5.5 $0.00021 $0.00410
Sonnet 5.5 $0.00010 $0.00205
Haiku 4.5 $0.00005 $0.00103

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

Security

Grade A, and why

baoyu-url-to-markdown scanned grade A with 0 findings 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 3mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/cdp.ts, scripts/constants.ts, scripts/html-to-markdown.ts, …), 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

91% identical to baoyu-url-to-markdown — 23 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.

.codex/skills/baoyu-url-to-markdown/SKILL.md · 121 lines

How it starts

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

URL to Markdown

Fetches any URL via Chrome CDP and converts HTML to clean markdown.

Script Directory

Important: All scripts are located in the scripts/ subdirectory of this skill.

Agent Execution Instructions:

  1. Determine this SKILL.md file's directory path as SKILL_DIR
  2. Script path = ${SKILL_DIR}/scripts/<script-name>.ts
  3. Replace all ${SKILL_DIR} in this document with the actual path

Script Reference:

Script Purpose
scripts/main.ts CLI entry point for URL fetching

Preferences (EXTEND.md)

Use Bash to check EXTEND.md existence (priority order):

# Check project-level first
test -f .baoyu-skills/baoyu-url-to-markdown/EXTEND.md && echo "project"

# Then user-level (cross-platform: $HOME works on macOS/Linux/WSL)
test -f "$HOME/.baoyu-skills/baoyu-url-to-markdown/EXTEND.md" && echo "user"

┌────────────────────────────────────────────────────────┬───────────────────┐ │ Path │ Location │ ├────────────────────────────────────────────────────────┼───────────────────┤ │ .baoyu-skills/baoyu-url-to-markdown/EXTEND.md │ Project directory │ ├────────────────────────────────────────────────────────┼───────────────────┤ │ $HOME/.baoyu-skills/baoyu-url-to-markdown/EXTEND.md │ User home │ └────────────────────────────────────────────────────────┴───────────────────┘

┌───────────┬───────────────────────────────────────────────────────────────────────────┐ │ Result │ Action │ ├───────────┼───────────────────────────────────────────────────────────────────────────┤ │ Found │ Read, parse, apply settings │ ├───────────┼───────────────────────────────────────────────────────────────────────────┤ │ Not found │ Use defaults │ └───────────┴───────────────────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 121 lines

Files

What ships with it

5 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. 3mo ago First seen · 121 lines · 52 tokens per session scan A fa0ff78f4414

Subscribe to this mod's changes

baoyu-url-to-markdown is a skill published in the GitHub repository appleweiping/WEIPING_WIKI (116 stars, last pushed 3mo ago), licensed MIT. It adds 52 tokens to every session and 1,026 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to baoyu-url-to-markdown, differing in 23 lines, and is treated as a copy.

Related

baoyu-url-to-markdown compared with skills from other repositories

baoyu-url-to-markdown next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
baoyu-url-to-markdownappleweiping/WEIPING_WIKISkill1163mo agoMITA52Codex
pinchtab-mcppinchtab/pinchtabSkill11k6d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3ktodayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.4k3d agoMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
browser_cdpmateaix/mateclawSkill1.2ktodayApache-2.0A44Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill1.1ktodayMITA40Claude Code