Create md from browsermcp snapshot
Skill derailed-dash/dazbo-agent-skills/skills/create-md-from-browsermcp-snapshot
A collection of agentic skills developed for AI agents and assistants. These skills extend the capabilities of AI agents by providing specialised instructions, workflows, and templates for various tasks such as documentation maintenance, content creation, diagrams, and more.
npx -y skills add derailed-dash/dazbo-agent-skills --skill create-md-from-browsermcp-snapshotAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 16 stars16 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Extracts and converts BrowserMCP accessibility tree snapshots into clean, high-fidelity Markdown documents with correct structures (headings, lists, tables, blockquotes, formatting, and links).
SKILL.md
2.0 KB, as published. Nobody here has run it
Create Markdown from BrowserMCP Snapshot
This skill converts a raw accessibility tree snapshot captured by BrowserMCP (via the browser_snapshot tool) into a beautifully formatted, high-fidelity Markdown document.
When to Use
Use this skill when:
- You have captured a webpage's accessibility tree YAML using the BrowserMCP
browser_snapshottool. - You need to generate a structured, high-fidelity Markdown (
.md) representation of the page content. - You want to extract clean lists, tables, headers, blockquotes, and link destinations from the captured page layout.
Note: this skill complements browser navigation using the BrowserMCP tool. It is NOT intended to be used with other browser navigation tools, such as Playwright or the Antigravity built-in browser agent. Be sure to be explicit about what tools to use and what to avoid.
How it Works
The skill runs a Python parser that reads the captured accessibility tree YAML snapshot, builds a parent-child node hierarchy, and recursively converts the tags and properties into Markdown text.
Folder Structure
create-md-from-browsermcp-snapshot/
├── SKILL.md
└── scripts/
└── parse_snapshot.py
Execution Procedure
- Capture Snapshot: Navigate to the target URL using the BrowserMCP
browser_navigateand runbrowser_snapshotto output the accessibility tree. - Execute Parser: Run the python script
parse_snapshot.pypassing the absolute path of the captured snapshot text file as an argument and specifying the output Markdown path.
python3 ./create-md-from-browsermcp-snapshot/scripts/parse_snapshot.py --input <snapshot_path> --output <markdown_path> [--start-heading <heading_title>] [--end-marker <footer_text>]