url-to-markdown

url-to-markdown is a skill for Codex from tranfu-labs/tranfu-skills. It costs 44 tokens per session (2,787 once invoked), scanned A, original, MIT.

A tool for capturing publicly available web pages and saving their content as Markdown or JSON.

In plain words
What is it for?
Use it to collect content from public X posts, YouTube subtitles, Hacker News pages, and other supported URLs.
Why use it?
It removes the need to copy content manually from supported websites, while excluding pages that require login or human verification.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: names the AskUserQuestion tool.

Good fit Use it to collect content from public X posts, YouTube subtitles, Hacker News pages, and other supported URLs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tranfu-labs/tranfu-skills/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 tranfu-labs/tranfu-skills --skill url-to-markdown
Clone the repo
git clone --depth 1 https://github.com/tranfu-labs/tranfu-skills

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 url-to-markdown

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tranfu-labs/tranfu-skills/url-to-markdown"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/url-to-markdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,787 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 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.00044 $0.02787
Opus 5.5 $0.00018 $0.01115
Sonnet 5.5 $0.00009 $0.00557
Haiku 4.5 $0.00004 $0.00279

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

Security

Grade A, and why

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 1mo ago.

The scan reads SKILL.md. This mod also ships 38 executable files (scripts/lib/adapters/generic/index.ts, scripts/lib/adapters/hn/index.ts, scripts/lib/adapters/index.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.

own-skills/url-to-markdown/SKILL.md · 214 lines

How it starts

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

URL to Markdown

Fetch a URL through the bundled url-to-markdown CLI (Chrome CDP + site-specific adapters) and convert the rendered page to clean Markdown or JSON.

Scope Guard

  • Require one HTTP or HTTPS URL.
  • Capture only pages that require no login or manual verification. NEVER ask the user to sign in, solve a CAPTCHA, or operate the browser.
  • Preserve the source content; do not summarize, rewrite, translate, or publish it.
  • Use the built-in x, youtube, hn, or generic adapter. Do not invent site-specific extraction logic outside the bundled CLI.
  • Write only the requested capture, optional media, debug artifacts, and the preference file created through the required first-time setup.
  • Treat --cdp-url and Chrome profile contents as user-supplied browser state. NEVER export, restore, or manage authentication state.

Guarded Procedure

CREATE A TODO LIST FOR THE TASKS BELOW, with one TODO for each numbered stage, then execute stages 1–7 in order.

  1. Resolve {baseDir}, the bundled reader path, and the preference-file candidates. If a bundled Skill resource is missing, stop and report its path.
  2. Resolve preferences using Preferences. If no EXTEND.md exists, run the blocking first-time setup, save the selected values, then resume this procedure.
  3. Validate the URL and construct a non-conflicting output path using Output Path Generation. If the URL is missing or is not HTTP/HTTPS, stop and request a valid URL.
  4. Resolve Bun, Chrome, and CLI dependencies as specified in CLI Setup. Select the adapter automatically unless the user explicitly requests a supported adapter. Apply explicit CLI arguments before preferences, and preferences before defaults.
  5. Run the non-interactive capture with --quiet when saving via --output, then immediately apply the Agent Quality Gate. If the CLI reports a login or verification wall, or the saved content is a login, CAPTCHA, shell, or low-quality result, delete any unusable capture, report that the page is unsupported, and stop. NEVER retry through login or manual browser interaction.
  6. Apply the media workflow in references/adapters.md. If preferences say ask, prompt only when the saved Markdown contains remote image or video URLs, including a Frontmatter coverImage.
  7. Confirm that the saved title and body match the target page, then report the output path, selected adapter, media result, and any unverified limitation. Produce that capture report and end.

Read the full file on GitHub · 214 lines

Files

What ships with it

51 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. 1mo ago First seen · 214 lines · 44 tokens per session scan A 28fb518f79aa

Subscribe to this mod's changes

url-to-markdown is a skill published in the GitHub repository tranfu-labs/tranfu-skills (2 stars, last pushed 24d ago), licensed MIT. It adds 44 tokens to every session and 2,787 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

interactive-login

Log a CLI in with a browser/device-code flow (aws sso, gh, glab, gcloud, …) and save the result to the keychain so later commands can request it through execute.credentials.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

cua-driver

Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.

davidondrej/skills · 68 tokens

open-design-browser

Inspect and exercise local HTML design artifacts and library prototype previews with the existing agent-browser CLI, including screenshots, interaction checks, and rendered DOM snapshots. Use when rendered evidence helps author or review a design; excludes browser installation, remote services, and unrelated browser…

compozy/compozy · 56 tokens

browser_cdp

A health check for Python code that produces a score, letter grade, and measures of issues such as complexity, duplication, dead code, dependencies, and architecture.

mateaix/mateclaw · 44 tokens