Skip to content
Back to skills

Test Tps

ASecurity

User-invoked benchmark for selected Pi provider/model. Measures TTFT, decode TPS, average TPS, latency, token usage, and aggregate percentiles. Use when user invokes test-tps.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 21, 2026
ai-agentsbashnode

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 21, 2026

npx -y skills add vraj-ai/skills --skill test-tps --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test Tps?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Test Tps
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vraj-ai-test-tps/badge)](https://www.skillsdirectory.com/skills/vraj-ai-test-tps)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: test-tps
version: 1.0.0
description: User-invoked benchmark for selected Pi provider/model. Measures TTFT, decode TPS, average TPS, latency, token usage, and aggregate percentiles. Use when user invokes test-tps.
disable-model-invocation: true
argument-hint: "[--runs N] [--warmup N] [--output-tokens N] [--provider ID] [--model ID] [--json]"
---

# Test TPS

Benchmark selected Pi model. Invocation spends provider quota and may incur cost.

## Run

Resolve this skill directory, then run:

```bash
node <skill-dir>/scripts/test-tps.mjs <arguments>
```

Defaults: `PI_PROVIDER`, `PI_MODEL`, current reasoning level, 3 measured runs, 1 warmup, 256 requested output tokens.

Report command output verbatim. Do not reinterpret `N/A` metrics. Prefill TPS is `N/A` unless provider telemetry exposes prompt-processing duration. TTFT is latency, not prefill duration. Requested output tokens are a prompt target because Pi's CLI exposes no generic per-request max-output flag.

## Rules

- Use current selected provider/model unless arguments override them.
- Preserve failed-run messages.
- Never print credentials or auth files.
- For stable comparisons, keep provider, model, reasoning, prompt, run count, and output target identical.

Files in this skill

  • SKILL.md1.2 KB
  • scripts/test-tps.mjs13.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.