# mcprune

> mcprune — hamr0-mcprune. Use this tool when you need to optimize Playwright accessibility snapshots for LLM agents, reducing token count by 75-95% while preserving all references. It solves the problem of excessive data size in snapshots, making them more efficient for processing. The tool takes Playwright snapshots as input and outputs pruned snapshots, ideal for use in git-based workflows.

Canonical page: https://skillsregistry.net/skills/hamr0-mcprune  
JSON: https://api.skillsregistry.net/v1/skills/hamr0-mcprune

## Description

MCP middleware that prunes Playwright accessibility snapshots for LLM agents. Zero ML, 75-95% token reduction, all refs preserved.

## Trust

- **Trust score (0–1):** 0.65
- **Verification tier:** scanned
- **Last scanned:** 2026-09-01

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **Category:** browser-automation
- **Updated:** 2026-09-20

## Source

- **Source listing:** [GitHub](https://github.com/hamr0/mcprune)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "hamr0-mcprune"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/hamr0-mcprune` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/hamr0-mcprune/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
