e2e-skills-hub:clean

e2e-skills-hub:clean is a skill for Claude Code from Try-catch-finally-awesome/e2e-skills-hub. It costs 25 tokens per session (1,005 once invoked), scanned C, original, MIT.

A cleanup command for deleting generated end-to-end testing skills and their configuration files from a project. End-to-end tests check a complete user flow through an application.

In plain words
What is it for?
Use it to clean generated E2E skills, project settings, metadata, and related files from the project or user skill directory.
Why use it?
It removes generated testing files and empty directories after showing what will be deleted and, unless confirmed, asking for approval.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Part of the e2e-skills-hub plugin — 11 skills, 1 MCP server shipped together

Good fit Use it to clean generated E2E skills, project settings, metadata, and related files from the project or user skill directory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/try-catch-finally-awesome/e2e-skills-hub/clean
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 Try-catch-finally-awesome/e2e-skills-hub --skill clean
Clone the repo
git clone --depth 1 https://github.com/Try-catch-finally-awesome/e2e-skills-hub

Made for: Claude Code.

Or install e2e-skills-hub, the plugin that ships this one along with the rest of its 11 skills, 1 MCP server.

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 e2e-skills-hub:clean

README.md
[![agentmods](https://agentmods.dev/badge/skills/try-catch-finally-awesome/e2e-skills-hub/clean/github.svg)](https://agentmods.dev/skills/try-catch-finally-awesome/e2e-skills-hub/clean)
Your own site
<a href="https://agentmods.dev/skills/try-catch-finally-awesome/e2e-skills-hub/clean"><img src="https://agentmods.dev/badge/skills/try-catch-finally-awesome/e2e-skills-hub/clean/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 e2e-skills-hub:clean

Your own site · 80×15
<a href="https://agentmods.dev/skills/try-catch-finally-awesome/e2e-skills-hub/clean"><img src="https://agentmods.dev/badge/skills/try-catch-finally-awesome/e2e-skills-hub/clean.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,005 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00025 $0.01005
Opus 5 $0.00013 $0.00502
Sonnet 5 $0.00005 $0.00201
Haiku 4.5 $0.00003 $0.00101

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

Security

Grade C, and why

e2e-skills-hub:clean scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

Bash: rm -rf "{skills_dir}/e2e-orchestrator"
skills/clean/SKILL.md · 127 lines

How it starts

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

/e2e-skills-hub:clean — 清理所有 Skills

用法

/e2e-skills-hub:clean
/e2e-skills-hub:clean --confirm

参数

参数 类型 必填 默认值 说明
--confirm boolean false 跳过交互式确认,直接执行清理

执行步骤

步骤 1: 定位 Skills 存储目录

  1. 按优先级搜索已生成的 Skills:

    • 项目级: {项目根目录}/.claude/skills/e2e/
    • 用户级: ~/.claude/skills/e2e/{项目名}/
  2. 如果两个位置都未找到:

    当前项目没有已生成的 E2E Skills,无需清理。
    

    终止执行。

步骤 2: 盘点待清理内容

  1. 扫描目录下所有文件:

    Glob: {skills_dir}/**/*
    
  2. 统计待清理内容:

    • SKILL.md 文件数量
    • config/projects.yaml 是否存在
    • metadata.json 是否存在
    • 其他文件
  3. 展示待清理内容清单:

    以下文件将被删除:
      {skills_dir}/e2e-orchestrator/SKILL.md
      {skills_dir}/e2e-code-tracer/SKILL.md
      {skills_dir}/e2e-testcase-generator/SKILL.md
      {skills_dir}/e2e-playwright-runner/SKILL.md
      {skills_dir}/e2e-error-fixer/SKILL.md
      {skills_dir}/e2e-report-generator/SKILL.md
      {skills_dir}/config/projects.yaml
      {skills_dir}/metadata.json
    
    共 {n} 个文件,{m} 个目录将被清理。
    

步骤 3: 确认清理

  1. 如果未指定 --confirm

    ⚠ 此操作将删除当前项目所有已生成的 E2E Skills 和配置文件。
    此操作不可撤销。确认清理? (y/n)
    

    等待用户回复:

    • 用户确认 → 继续步骤 4
    • 用户取消 → 输出 已取消清理操作。 终止执行
  2. 如果指定了 --confirm,直接继续

步骤 4: 执行清理

  1. 删除所有 SKILL.md 文件和空目录:

    Bash: rm -rf "{skills_dir}/e2e-orchestrator"
    Bash: rm -rf "{skills_dir}/e2e-code-tracer"
    Bash: rm -rf "{skills_dir}/e2e-testcase-generator"
    Bash: rm -rf "{skills_dir}/e2e-playwright-runner"
    Bash: rm -rf "{skills_dir}/e2e-error-fixer"
    Bash: rm -rf "{skills_dir}/e2e-report-generator"
    
  2. 删除配置文件:

    Bash: rm -rf "{skills_dir}/config"
    
  3. 删除元数据文件:

    Bash: rm -f "{skills_dir}/metadata.json"
    
  4. 如果 skills 目录为空,删除目录本身:

    Bash: rmdir "{skills_dir}" 2>/dev/null || true
    

步骤 5: 输出结果

✓ 清理完成
  已删除 {n} 个 SKILL.md 文件
  已删除配置文件 (projects.yaml, metadata.json)
  已清理目录 {skills_dir}

提示: 如需重新初始化,请运行 /e2e-skills-hub:init

输出

  • 清理确认结果和已删除文件清单

Read the full file on GitHub · 127 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 · 127 lines · 25 tokens per session scan C 5c10a6ffecc8

Subscribe to this mod's changes

e2e-skills-hub:clean is a skill published in the GitHub repository Try-catch-finally-awesome/e2e-skills-hub (3 stars, last pushed 5mo ago), licensed MIT. It adds 25 tokens to every session and 1,005 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

test-warp-ui

Guides testing Warp UI features and changes using the computer use tool. Use this skill only when computer-use testing was requested (explicit request or accepted offer) and the computeruse tool is available to the agent. Covers launching Warp and verifying UI behavior.

warpdotdev/warp · 55 tokens

test-electron-app

Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…

PostHog/posthog-foss · 112 tokens

pyats-dynamic-test

Generate and execute deterministic pyATS aetest validation scripts - interface state, OSPF neighbors, BGP paths, ping matrices, and custom compliance tests. Use when writing a network test, validating post-change state, running pass/fail checks, or building automated regression tests.

automateyournetwork/netclaw · 61 tokens

test-loop

Plan, generate, and heal an executable E2E test suite from approved acceptance criteria (web and mobile).

HoangNguyen0403/agent-skills-standard · 25 tokens

playwright-cli

Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or…

testdino-hq/playwright-skill · 64 tokens