# Pi Auto

> Use this tool when you need to manage and optimize token usage across multiple coding agent backends, such as Claude Code, OpenAI Codex, and CursorAI. It solves problems of unequal usage, high costs, and downtime by providing load-balancing and high-availability modes with configurable priorities. With inputs for provider and strategy settings, and outputs for usage data and priority orders, Pi Auto streamlines token management and ensures efficient coding operations.

Canonical page: https://skillsregistry.net/skills/netandreus-pi-auto  
JSON: https://api.skillsregistry.net/v1/skills/netandreus-pi-auto

## Description

Tracks token usage and cost across multiple coding agent backends (Claude Code, OpenAI Codex, CursorAI) and provides tools to switch the active provider by strategy. Supports load-balancing to equalize usage across backends and high-availability mode with configurable priority order. Exposes eight tools for getting and setting providers, strategies, priorities, and usage data. Works as a Pi package for pi-coding-agent and as a standalone server with Cursor Agent.

## Trust

- **Trust score (0–1):** 0.98
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-28

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/netandreus-pi-auto)
- **Repository:** <https://github.com/netandreus/pi-auto>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "netandreus-pi-auto"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/netandreus-pi-auto` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/netandreus-pi-auto/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
