Smoke
Run the clawback end-to-end smoke test. Starts a mock upstream, spawns the proxy against it, exercises path-mode and hash-mode requests, walks the admin API, and prints the persisted state. Use when verifying the proxy still works after changes.From its SKILL.md
npx -y skills add zapgun-ai/clawback --skill smokeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 5 stars5 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.
SKILL.md
1.3 KB, 256 tokens by cl100k_base, as published. Nobody here has run it
clawback smoke test
Run .skills/smoke/scripts/smoke.sh from the project root:
.skills/smoke/scripts/smoke.sh
Environment variables (optional):
CLAWBACK_SMOKE_DIR— temp dir for state file (default/tmp/clawback-smoke)CLAWBACK_SMOKE_UPSTREAM_PORT— mock upstream port (default8899)CLAWBACK_SMOKE_PROXY_PORT— clawback proxy port (default8898)
What the script verifies:
- Mock Anthropic upstream serves responses with realistic rate-limit headers.
- Path-mode request (
/my-agent/v1/messages) strips the agent id and captures session state keyed bymy-agent. - Hash-mode request (
/v1/messages) captures session state keyed by SHA256 of{system, tools}. GET /_proxy/sessionslists both sessions with captured metadata.GET /_proxy/healthreturns an ok status with config snapshot.DELETE /_proxy/sessions/:idremoves one session.- The persisted JSON state file reflects the remaining session.
The script traps EXIT to clean up both background processes.
What ships with it: 1 file
13.8 KB alongside SKILL.md, 1 of them executable
scripts/
- smoke.shruns13.8 KB