swananan/ghostscope/ghostscope-e2e-runner
Claude Code and agent skill by swananan/ghostscope
- community
Checking that the SKILL.md file is still in the repository.
Run GhostScope e2e through the project runner service API, including explicit topology runs, with direct topology-aware `cargo test` only as a fallback when the runner is unavailable. Use when the user asks to execute e2e tests, run a specific test case, run tests for a specific repo path, diagnose e2e failures, handle sudo or permission issues around eBPF test execution, or run container-topology e2e scenarios.
Install
npx vskill@latest install swananan/ghostscope/ghostscope-e2e-runnerSKILL.md
GhostScope E2E Runner
Overview
Execute GhostScope e2e with the project-standard runner service and explicit topology requests. Use scripts/e2e/runner/ for the HTTP runner service flow. Use direct cargo test with sandbox environment variables only as a fallback when the runner service is unavailable or when the user explicitly asks for the raw CI-style commands. This skill is the default path for both standard and container-topology GhostScope e2e execution. Prefer the HTTP runner service path first, then fall back to local commands only when the service path is unavailable.
Core Commands
Use repository root /mnt/500g/code/ghostscope unless the user gives another path.
Start runner service (user can run with sudo when required):
Run one case through service:
Run one case with explicit sandbox topology through the runner API:
Run one case with explicit topology and GhostScope debug logs through the runner API:
Run full e2e set (no case filter):
Run full e2e for the primary container topologies through the runner API:
Run host-PID same-sandbox smoke through the runner API:
Fallback local topology commands:
Check service health:
Execution Flow
- For routine feature completion, run the full verification set in this order:
- standard e2e through this skill, using the runner service API
- full e2e for
host -> docker-privatethrough the runner service API withtopology - full e2e for
docker-private -> same docker-privatethrough the runner service API withtopology - smoke e2e for
docker-host -> same docker-hostthrough the runner service API withtopology - use direct
sudo env ... cargo testonly when the runner service is unavailable or when the user explicitly asks for the raw CI-style commands
- Check
/healthbefore submitting runs when the user expects service mode. - Submit
POST /runsfor standard host-host runs:
repowhen the checkout path is not the default repo.test_casewhen the user asks for a single case.sudo: truefor eBPF tests that require elevated privileges.
- For cross-environment PID scenarios and container-topology verification, submit directly to the runner API with a
topologyobject:
ghostscope:host|docker-private|docker-hosttarget:host|docker-private|docker-hosttarget_mode:same|child-container(usechild-containeronly withdocker-private -> docker-private)- Optional
logging.level:error|warn|info|debug|trace - If
topologyis omitted, the run defaults tohost -> host - If
logging.levelis set, the e2e helper enables GhostScope file+console logging for that run
- Wait for final status and report:
- job id
- status and exit code
- failing test name and first actionable error
- Avoid silent fallback on test failures:
- treat failed service test run as real failure, not transport failure.
Failure Handling
If output contains GhostScope needs elevated privileges to load eBPF programs:
- confirm service was started with sudo or environment has required capabilities.
- rerun with
E2E_SUDO=1.
If output shows sudo: a password is required:
- ask user to start the runner service as root/sudo in their terminal.
- or ask user to provide a non-interactive sudo setup if they specifically need the local fallback commands.
If output contains invalid repo path or missing Cargo.toml:
- correct
E2E_REPO_DIRor serviceDEFAULT_REPO_DIR.
References
Use quick-reference.md for command templates and environment variables.
Security
- Security scanPassed, 91 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ghostscope-e2e-runner/SKILL.md
Popularity
- Repository stars
- 120
- Repository forks
- 11
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.
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
[](https://verified-skill.com/skills/swananan/ghostscope/ghostscope-e2e-runner)