# tps-meter Setup: TTFT & Tokens/s Status Line

> A guided, confirm-before-you-run setup for tps-meter, the free open-source plugin that shows time to first token and output tokens/s in Claude Code.

tps-meter Setup: TTFT & Tokens/s Status Line is a free AI agent skill on Agensi by Kada Liao, in Productivity. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Kada Liao](https://www.agensi.io/creators/kada-liao)
- Category: [Productivity](https://www.agensi.io/skills/productivity)
- Uses: 3
- Version: 1.1
- Last updated: 2026-10-21
- Security: scan passed (2026-10-21); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/tps-meter-setup-ttft-tokens-s-status-line
- Tags: productivity, ai-agents, llm-ops, claude-code, status-line, statusline, ttft, tokens-per-second

## About this skill

**tps-meter-setup** is an installer-style Agent Skill. It walks your coding agent through setting up
[tps-meter](https://github.com/kadaliao/claude-mods), a plugin for Claude Code that measures how fast
the model answers: **time to first token (TTFT)** and **output tokens per second** for every
main-conversation request. The numbers are written to a small JSON file, and the skill helps you show
them in your status line, for example:

`Opus | ⚡ 121 tok/s · TTFT 1.1s · avg 129 tok/s`

**What the skill does**
- Checks your Claude Code version and explains the risk: tps-meter uses an early-access function
  hook API and was tested by its author on Claude Code 2.1.296.
- Installs the plugin with `claude plugin marketplace add kadaliao/claude-mods` and
  `claude plugin install tps-meter@kadaliao`.
- Explains that metrics are written to `~/.claude/tps/<session_id>.json` (or
  `$CLAUDE_CONFIG_DIR/tps/`).
- Optionally installs an example status line script (requires `jq`) and merges the `statusLine`
  setting without clobbering your existing config.
- Verifies the file is being written, and covers update, uninstall and troubleshooting.

**Safety by design**
- The agent is instructed to tell you about every network access (GitHub) and every path it will
  write, and to get your confirmation before each step.
- It never overwrites an existing status line or settings entry without showing it to you first.
- No secrets, no telemetry, no binaries: the package is plain text (Markdown plus one shell script).

**Good to know**
- Early-access API: it may change between Claude Code releases. If it breaks, the status line simply
  shows nothing extra.
- Only the main conversation is measured, not subagents.
- Very short requests (under 50 tokens or 250 ms of streaming) produce no per-request rate; the last
  usable value is kept.

**What is included**
- `SKILL.md`: the step-by-step instructions
- `references/metrics.md`: what every metric and JSON field means
- `examples/statusline-command.sh`: example status line script
- `README.md`

**License and source:** MIT, Copyright (c) 2026 Kada Liao. Source: https://github.com/kadaliao/claude-mods

## Requires

- Git

## Known limitations

Early-access API, may break on Claude Code updates. Measures only the main conversation, not subagents. Very short requests (under 50 tokens or 250 ms) produce no per-request rate.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the tps-meter Setup: TTFT & Tokens/s Status Line skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does tps-meter Setup: TTFT & Tokens/s Status Line do?

A guided, confirm-before-you-run setup for tps-meter, the free open-source plugin that shows time to first token and output tokens/s in Claude Code.

### Which AI agents support tps-meter Setup: TTFT & Tokens/s Status Line?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use tps-meter Setup: TTFT & Tokens/s Status Line?

Connect your AI agent to Agensi through MCP, then ask it to use tps-meter Setup: TTFT & Tokens/s Status Line on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
