s-kostyaev/.emacs.d/web-browse-context

Claude Code and agent skill by s-kostyaev/.emacs.d

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Efficiently capture web pages as clean markdown and query them with `mq` to avoid loading full content into context. Use when browsing web pages, extracting specific sections, or summarizing sources with minimal context usage.

Install

npx vskill@latest install s-kostyaev/.emacs.d/web-browse-context

SKILL.md

Web Browsing With Context Economy

Overview

Capture web pages into local markdown, inspect structure with mq, and extract only the relevant sections to keep context small and focused.

Workflow

  1. Use shell_command tool for every command from this skill.
  1. Save the page as markdown (cleaned).
bash
./scripts/url-to-md 'https://example.com' --clean-content > /tmp/result.md
  1. Inspect structure before reading content.
bash
mq /tmp/result.md '.tree'
  1. Extract only the needed sections.
bash
mq /tmp/result.md '.section("Using Blueprints") | .text'
  1. Search when you are not sure where the content lives.
bash
mq /tmp/result.md '.search("auth")'
  1. If the search returns a large subtree, narrow it by re-running .tree on the specific section(s), then extract .text.

Query Patterns

  • View a fuller outline: mq /tmp/result.md '.tree("preview")'
  • Get all headings: mq /tmp/result.md '.headings'
  • Extract code blocks by language: mq /tmp/result.md '.code("bash")'
  • List links: mq /tmp/result.md '.links'
  • Extract a section: mq /tmp/result.md '.section("Name") | .text'

Context Hygiene

  • Never cat the whole markdown file into the conversation.
  • Prefer .tree and .search to locate content, then extract only the minimal .text needed.
  • Use one file per page (e.g., result-pricing.md, result-api.md) to keep sources separated.
  • If a page changes, re-run the capture command and overwrite the corresponding file.
  • Use mq --help whenever you need more selectors or flags.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/s-kostyaev/.emacs.d/web-browse-context/badge)](https://verified-skill.com/skills/s-kostyaev/.emacs.d/web-browse-context)

Something wrong with this skill or its page? Tell us.