web-page-to-raw

web-page-to-raw is a skill for Claude Code, Codex from pbeens/obsidian-agents.md. It costs 84 tokens per session (603 once invoked), scanned A, original, MIT.

A tool for saving a web page as a text-focused Markdown note. It opens hidden content such as accordions, tabs, flyouts, and expandable sections, while keeping headings, tables, and links and leaving out decorative graphics.

In plain words
What is it for?
Use it to save a webpage or URL into a raw notes folder for later processing, including pages with expandable content or Reddit discussions.
Why use it?
It captures information that may be hidden behind page controls and avoids losing useful text or filling the saved note with layout and image clutter.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to save a webpage or URL into a raw notes folder for later processing, including pages with expandable content or Reddit discussions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pbeens/obsidian-agents.md/web-page-to-raw
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 pbeens/obsidian-agents.md --skill web-page-to-raw
Clone the repo
git clone --depth 1 https://github.com/pbeens/obsidian-agents.md

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-page-to-raw

README.md
[![agentmods](https://agentmods.dev/badge/skills/pbeens/obsidian-agents.md/web-page-to-raw/github.svg)](https://agentmods.dev/skills/pbeens/obsidian-agents.md/web-page-to-raw)
Your own site
<a href="https://agentmods.dev/skills/pbeens/obsidian-agents.md/web-page-to-raw"><img src="https://agentmods.dev/badge/skills/pbeens/obsidian-agents.md/web-page-to-raw/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 web-page-to-raw

Your own site · 80×15
<a href="https://agentmods.dev/skills/pbeens/obsidian-agents.md/web-page-to-raw"><img src="https://agentmods.dev/badge/skills/pbeens/obsidian-agents.md/web-page-to-raw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 603 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.00084 $0.00603
Opus 5 $0.00042 $0.00302
Sonnet 5 $0.00017 $0.00121
Haiku 4.5 $0.00008 $0.00060

Measured 11d ago against content hash 330263dd5c20, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

web-page-to-raw 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 11d ago.

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.

skills/web-page-to-raw/SKILL.md · 66 lines

How it starts

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

Web Page to Raw

Use this skill to turn a web page into a text-first raw note in _raw/.

Purpose

Capture the page's text content faithfully for later vault ingestion while avoiding image bloat and lost hidden text.

Core Rules

  • Expand all flyouts, accordions, details/summary sections, tabs, load-more panels, and similar hidden content before capturing.
  • Keep expanding until no new text appears.
  • Do not summarize, interpret, or rewrite the page content.
  • Preserve headings and tables.
  • Ignore decorative graphics, icons, and layout images.
  • Do not try to preserve column-based page layout; retain tables only when the source uses real tables.
  • Keep hyperlinks as links.
  • Capture visible page text in a raw, source-first form.
  • For Reddit pages, expand all visible comment threads, nested replies, and "more replies" / load-more controls until the conversation tree no longer reveals new text.
  • If a section cannot be expanded, note that explicitly in the raw file.

Capture Workflow

  1. Open the URL.
  2. Inspect for expandable sections and click every content-bearing control.
  3. Revisit the page after expansions to ensure no additional text is hidden.
  4. Capture the visible content into a Markdown note in _raw/.
  5. Use a readable title-based filename with filesystem-safe characters.
  6. Include source URL and capture date in frontmatter.
  7. Omit images unless the user explicitly asks for them.

Raw Note Structure

Prefer this structure in the captured note:

  • frontmatter with source, captured, and title
  • H1 title
  • section headings that mirror the page
  • bullet lists and Markdown tables where appropriate
  • short notes for any hidden sections that could not be expanded
  • when a page is a discussion thread, include the post and the visible comments without summarizing them

Quality Checks

  • Confirm the raw note contains the page's main headings and visible body text.
  • Confirm tables survived as Markdown tables.
  • Confirm no images were copied into _raw/.
  • Confirm any hidden sections were expanded or noted.
  • For Reddit captures, confirm nested comments and visible reply branches were included, not just the top-level post and first comment layer.

Read the full file on GitHub · 66 lines

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. 11d ago First seen · 66 lines · 84 tokens per session scan A 330263dd5c20

Subscribe to this mod's changes

web-page-to-raw is a skill published in the GitHub repository pbeens/obsidian-agents.md (20 stars, last pushed 4mo ago), licensed MIT. It adds 84 tokens to every session and 603 once invoked, about $0.0004 per session on Opus 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-08-30.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

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

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens