claude-tap: Skill for Claude Code

.agents/skills/e2e-test/SKILL.md

e2e-test is a skill for Claude Code from liaohch3/claude-tap. It costs 16 tokens per session (394 once invoked), scanned A, original, MIT.

A test workflow for running claude-tap end-to-end tests with pytest. End-to-end tests check that a complete feature works across its connected parts.

In plain words
What is it for?
Use it to run the full or selected claude-tap tests and investigate failures in the proxy, event-stream handling, trace files, HTML viewer, cleanup, or startup behavior.
Why use it?
It provides the commands and failure clues needed to verify core behavior after changes to tracing, streaming, viewers, cleanup, or signal handling.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is liaohch3/claude-tap's own configuration. It tells Claude Code how to work on claude-tap itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-tap configures →

About the project

claude-tap is a local proxy and trace viewer for AI coding agents, recording and displaying their API requests, prompts, tool calls, responses, context, and token usage. It helps developers inspect and compare agent runs from tools such as Claude Code, Codex CLI, Gemini CLI, Cursor CLI, and others, while the catalogue skills and instruction support work with the project.

liaohch3/claude-tap · 3,177 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to liaohch3/claude-tap. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/liaohch3/claude-tap/main/.agents/skills/e2e-test/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/liaohch3/claude-tap

Made for: Claude Code.

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-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/liaohch3/claude-tap/e2e-test.svg)](https://agentmods.dev/skills/liaohch3/claude-tap/e2e-test)
Your own site
<a href="https://agentmods.dev/skills/liaohch3/claude-tap/e2e-test"><img src="https://agentmods.dev/badge/skills/liaohch3/claude-tap/e2e-test.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 394 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00016 $0.00394
Opus 5 $0.00008 $0.00197
Sonnet 5 $0.00003 $0.00079
Haiku 4.5 $0.00002 $0.00039

Measured 8d ago against content hash 1c74fd5f1c24, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

e2e-test 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 8d 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.

.agents/skills/e2e-test/SKILL.md · 41 lines

What it actually says

claude-tap E2E Test

Run this skill after modifying core logic in claude-tap, especially:

  • Proxy handler / SSE reassembly (__init__.py)
  • TraceWriter (JSONL writing, flush behavior)
  • HTML viewer generation (viewer.html, _generate_html_viewer)
  • LiveViewerServer (SSE streaming)
  • Signal handling / graceful shutdown
  • Manual update command / trace cleanup

Steps

  1. Run the full test suite:
uv run pytest tests/test_e2e.py -v --timeout=120

Or run a single test:

uv run pytest tests/test_e2e.py::test_e2e -v           # Full E2E pipeline
uv run pytest tests/test_e2e.py::test_trace_cleanup -v  # Trace cleanup
uv run pytest tests/test_e2e.py::test_startup_does_not_contact_pypi -v  # No startup update network
  1. Read the output. Each test prints PASSED or FAILED.

  2. If tests fail, check:

    • test_e2e fails: Core proxy pipeline issue. Check proxy_handler, _handle_streaming, TraceWriter.write.
    • test_trace_cleanup fails: Manifest logic issue. Check _load_manifest, _cleanup_traces, _register_trace.
    • test_startup_does_not_contact_pypi fails: Startup made an unexpected update-related network request.
    • test_live_viewer_ fails*: Viewer HTML issues. Check viewer.html for preserveDetail chain, updateNavButtons.
    • Timeout: May be a network/port issue, not a claude-tap bug.
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. 8d ago First seen · 41 lines · 16 tokens per session scan A 1c74fd5f1c24

Subscribe to this mod's changes

e2e-test is a skill published in the GitHub repository liaohch3/claude-tap (3,177 stars, last pushed 12d ago), licensed MIT. It adds 16 tokens to every session and 394 once invoked, about $0.0001 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

prodtest

Senior-QA test pass on a newly implemented feature. Detects the project's real test stack, writes unit and functional/integration tests, then drives the running app with Playwright for end-to-end coverage, saving screenshots to a gitignored folder for human review. Asks upfront whether found bugs should be fixed or…

nazmulnahid-git/Ai-Stack · 90 tokens

atf-testing

Build ServiceNow Automated Test Framework tests and suites — impersonation, form steps, assertions, server-side script steps, test parameters, and execution via snowcreateatftest / snowexecuteatftest.

serac-labs/serac · 45 tokens

lamina-verify

Verify graph-backed product Missions after ordinary implementation work or when explicitly invoked as lamina-verify. Run isolated Persona and live UI audits; explicit verification is source-read-only.

aryaniyaps/lamina · 39 tokens

recipe-eval-prompt

Compares original and optimized prompts through repeated blind paired execution in git worktrees. Use when evaluating prompt improvement effects or learning prompt engineering through concrete examples.

shinpr/rashomon · 36 tokens

acceptance

A skill for writing, running, and repairing human-written acceptance checks stored in an `acceptance/ACCEPTANCE.md` file. Acceptance checks are executable tests of whether the finished result matches the requested outcome.

cryndoc/polisade-orchestrator · 129 tokens

rpi-explore-release

Run independent fresh-context exploratory charters against a fixed authorized release candidate, preserving the eight-maneuver safety and evidence contract.

juan294/cc-rpi · 31 tokens