Borrowing it
Nothing to install: this file belongs to strands-rl/strands-sglang. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/strands-rl/strands-sglang/main/.claude/commands/run-integration-tests.mdgit clone --depth 1 https://github.com/strands-rl/strands-sglangWrote 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.
[](https://agentmods.dev/commands/strands-rl/strands-sglang/run-integration-tests)<a href="https://agentmods.dev/commands/strands-rl/strands-sglang/run-integration-tests"><img src="https://agentmods.dev/badge/commands/strands-rl/strands-sglang/run-integration-tests.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00349 |
| Opus 5 | $0.00000 | $0.00175 |
| Sonnet 5 | $0.00000 | $0.00070 |
| Haiku 4.5 | $0.00000 | $0.00035 |
Grade A, and why
run-integration-tests 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 6d 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.
What it actually says
Run integration tests in an isolated temporary venv created with uv.
Integration tests require a running SGLang server. Before running any commands, ask the user:
-
"What is the SGLang server base URL?" — offer these options:
http://localhost:30000(default — assumes local or SSH-tunneled server)- Let the user provide a custom URL
-
"Which tool parser?" — offer these options:
hermes(default — for Hermes/Qwen models)qwen_xml(XML format for Qwen models)glm(GLM models)
Then proceed:
- Create a temporary venv at
/tmp/strands-sglang-test-venvusinguv venv /tmp/strands-sglang-test-venv --python 3.12 -q - Install the package with dev dependencies:
uv pip install -e . --group dev --python /tmp/strands-sglang-test-venv/bin/python -q - Run integration tests with the confirmed URL and tool parser:
/tmp/strands-sglang-test-venv/bin/python -m pytest tests/integration/ -v --tb=short --sglang-base-url=<URL> --tool-parser=<PARSER> $ARGUMENTS
VLM tests are automatically skipped if the server is running a text-only model (auto-detected via PretrainedConfig). No extra dependencies (torch, torchvision) are needed.
IMPORTANT: Never use the active shell's python/pytest — it may point to a different venv. Always use the temporary venv's python.
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.
- 6d ago First seen · 24 lines · 0 tokens per session scan A fc8e105e785d
run-integration-tests is a command published in the GitHub repository strands-rl/strands-sglang (78 stars, last pushed 6d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 349 tokens. 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.
Other commands, from other repositories
python-audit
Run ruff, mypy/pyright, vulture, complexipy/radon and pytest, then report prioritized fixes. TRIGGER WHEN: the user asks to audit a Python codebase across lint, types, complexity, dead code and coverage, or to prepare a codebase for release review. DO NOT TRIGGER WHEN: only one dimension is in scope: restructuring…
python-scaffold
Generate a fresh project skeleton, tests and lint config included. TRIGGER WHEN: the user asks to start a new Python project, bootstrap FastAPI/Django/CLI/library structure, or set up uv+pytest+ruff from scratch. DO NOT TRIGGER WHEN: adding to an existing project (use python-engineer).
validate-content
Run all content validators locally — same gates the CI workflow pack-content.yml enforces.
comprehensive-unit-testing-with-pytest
Aims for high test coverage using pytest, testing both common and edge cases.
tdd
Test-driven development for Go or Python — write tests first, implement, verify 80%+ coverage, then fill gaps. Covers unit, integration, E2E, and coverage analysis.
verify
Run comprehensive verification on current Python codebase state.