Xpersona
R

Reivo

CLAWHUB · Unverified

Track AI agent costs in real-time, set budget limits, and auto-detect runaway loops. Smart routing reduces costs 40-60%. Works with OpenAI, Anthropic, and Go... Skill: Reivo Owner: tazsat0512 Summary: Track AI agent costs in real-time, set budget limits, and auto-detect runaway loops. Smart routing reduces costs 40-60%. Works with OpenAI, Anthropic, and Go... Tags: agent-safety:0.1.0, budget:0.1.0, cost-optimization:0.1.0, latest:0.4.4, llm:0.1.0, proxy:0.1.0, routing:0.1.0 Version history: v0.4.4 | 2026-04-03T08:42:00.664Z | user Fix required binaries (add node, remove jq/p

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17b5z04vwqxmvgs7z6t9qebcd83mz2q:reivo
  1. Node.js workspace detected. Install dependencies securely: run `npm ci --ignore-scripts` to prevent post-install lifecycle triggers from running arbitrary code, then selectively audit the dependency tree.
  2. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  3. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-tazsat0512-reivo/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

82,992 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: reivo
description: Track AI agent costs in real-time, set budget limits, and auto-detect runaway loops. Smart routing reduces costs 40-60%. Works with OpenAI, Anthropic, and Google models. Free to use — just route your API calls through the Reivo proxy.
homepage: https://reivo.dev
user-invocable: true
metadata: {"openclaw": {"emoji": "💰", "homepage": "https://reivo.dev", "requires": {"env": ["REIVO_API_KEY"], "bins": ["curl", "node"]}, "primaryEnv": "REIVO_API_KEY", "envVars": [{"name": "REIVO_API_KEY", "required": true, "description": "Reivo API key (starts with rv_). Get one free at https://reivo.dev"}], "os": ["darwin", "linux"], "author": "tazsat0512"}}
---

# Reivo — AI Agent Cost Optimizer

You are now equipped with Reivo, a cost optimization and protection layer for AI API calls.

## What Reivo Does

Reivo is a transparent proxy that sits between your agent and the LLM provider. It:
- **Routes to cheaper models** — analyzes each request and picks the cheapest model that delivers the same quality (40-60% cost reduction)
- **Tracks costs** per session, agent, and model in real-time
- **Enforces budget limits** — blocks requests when spending exceeds the limit
- **Detects runaway loops** — auto-stops agents stuck in infinite loops (hash match + TF-IDF cosine similarity)
- **Anomaly detection** — EWMA-based spike detection flags abnormal usage patterns
- **Graceful degradation** — 4-level progressive response (normal → aggressive routing → new sessions only → blocked)
- **Sends Slack alerts** — budget warnings, loop detection, and anomaly notifications

The guardrail engine is open source: [reivo-guard](https://github.com/tazsat0512/reivo-guard) (TypeScript + Python).

## Configuration

The user's Reivo API key is available as `$REIVO_API_KEY`.

**Proxy base URLs** (use these instead of direct provider URLs):
- OpenAI: `https://proxy.reivo.dev/openai/v1`
- Anthropic: `https://proxy.reivo.dev/anthropic/v1`
- Google: `https://proxy.reivo.dev/google/v1beta`

**Dashboard:** https://app.reivo.dev

## Available Commands

When the user asks about costs, budgets, or Reivo, use the following:

### Check Costs

When the user asks "how much am I spending?", "show costs", "cost report", or similar:

```bash
curl -s -H "Authorization: Bearer $REIVO_API_KEY" \
  "https://app.reivo.dev/api/v1/overview?days=7"
```

Present the response as:
- Total spend for the period
- Daily cost breakdown (as a simple text chart)
- Top models by cost
- Request count

### Check Defense Status

When the user asks "budget status", "am I safe?", "loop status", or similar:

```bash
curl -s -H "Authorization: Bearer $REIVO_API_KEY" \
  "https://app.reivo.dev/api/v1/defense-status"
```

Present as:
- Budget: $X.XX / $Y.YY (Z%) with visual progress bar
- Loops detected: N today, N this week
- Requests blocked: N today, N this week

### Get Optimization Tips

When the user asks "how can I save?", "optimization tips", "reduce costs", or similar:

```bash
curl -s -H "Author

README.md

# Reivo — AI Agent Cost Optimizer (OpenClaw Skill)

[![ClawHub](https://img.shields.io/badge/ClawHub-reivo-blue)](https://clawhub.org/skills/reivo)
[![Version](https://img.shields.io/badge/version-0.4.0-green)](https://clawhub.org/skills/reivo)

Track AI agent costs in real-time, set budget limits, and auto-detect runaway loops. Smart routing reduces costs 40-60%.

## Install

```bash
clawhub install reivo
```

## Requirements

- `REIVO_API_KEY` environment variable (get one free at [reivo.dev](https://reivo.dev))
- `curl` (pre-installed on macOS/Linux)

## Commands

| Command | Description |
|---------|-------------|
| `status [days]` | Cost overview for the last N days (default: 7) |
| `budget status` | Show budget usage with progress bar |
| `budget set <amount>` | Set budget limit (e.g. `budget set 50`) |
| `budget clear` | Remove budget limit |
| `defense` | Defense status: loops detected, requests blocked, anomalies |
| `optimize` | Get cost reduction tips with estimated savings |
| `mode <mode>` | Set routing mode: `aggressive`, `balanced`, or `quality` |
| `month` | Monthly report (cost, requests, model/agent breakdown) |
| `slack <webhook-url>` | Configure Slack notifications |
| `share` | Generate a shareable savings summary |
| `on` / `off` | Show proxy enable/disable instructions |

## How It Works

Reivo is a transparent proxy between your agent and the LLM provider:

```
Your Agent → Reivo Proxy → LLM Provider (OpenAI / Anthropic / Google)
                 ↓
          Budget check, loop detection, model routing
```

- **Smart routing**: Analyzes each request and picks the cheapest model that delivers the same quality
- **Budget enforcement**: Blocks requests when spending exceeds the limit
- **Loop detection**: Hash match + TF-IDF cosine similarity detects agents stuck in infinite loops
- **Anomaly detection**: EWMA-based spike detection flags abnormal usage patterns
- **Graceful degradation**: 4-level progressive response as budget pressure increases

## Self-Hosted Guardrails

The guardrail engine is open source:

```bash
pip install reivo-guard    # Python
npm install reivo-guard    # TypeScript
```

[reivo-guard on GitHub](https://github.com/tazsat0512/reivo-guard) — budget enforcement, loop detection, anomaly detection, CUSUM drift detection, and more. MIT licensed.

The managed [Reivo](https://reivo.dev) service adds smart routing, a dashboard, and Slack notifications on top.

## Privacy

Reivo does **not** store prompt or completion content. Only metadata is retained: model name, token counts, cost, latency, timestamp, session/agent IDs, and an irreversible prompt hash.

## Links

- [Reivo Dashboard](https://app.reivo.dev)
- [reivo-guard (OSS)](https://github.com/tazsat0512/reivo-guard)
- [ClawHub Page](https://clawhub.org/skills/reivo)

## License

MIT

_meta.json

{
  "ownerId": "kn76c1zzty13058tvwym7zp2cx83m7r4",
  "slug": "reivo",
  "version": "0.4.4",
  "publishedAt": 1775205720664
}

skill-card.md

## Description:

Track AI agent costs in real time, set budget limits, and detect runaway loops while routing OpenAI, Anthropic, and Google model traffic through the Reivo proxy.

This skill is ready for commercial/non-commercial use.

## Publisher:

[tazsat0512](https://clawhub.ai/user/tazsat0512)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and external users use Reivo to monitor AI API spending, configure budget limits, receive cost and defense status, route provider requests through Reivo, and get optimization guidance for OpenAI, Anthropic, and Google model usage.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill routes AI-provider traffic through Reivo and shares usage metadata with that service.

Mitigation: Install only when that routing and metadata sharing match the user's data-handling requirements.

Risk: Budget, routing mode, and Slack webhook changes are authenticated account-level settings changes.

Mitigation: Require the user to confirm exact values before running commands that change those settings.

Risk: Optional self-hosted guardrail installs can depend on external package versions.

Mitigation: Prefer pinned package versions when installing self-hosted guardrail components.

## Reference(s):

- [Reivo homepage](https://reivo.dev)
- [Reivo dashboard](https://app.reivo.dev)
- [Reivo ClawHub page](https://clawhub.ai/tazsat0512/skills/reivo)
- [reivo-guard open-source guardrail engine](https://github.com/tazsat0512/reivo-guard)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown-style status reports, setup guidance, shell commands, and JSON configuration examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires REIVO_API_KEY and may call Reivo dashboard or proxy APIs when the generated commands are run.]

## Skill Version(s):

0.4.4 (source: evidence.release.version and package.json)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

package.json

{
  "name": "@reivo/openclaw-skill",
  "version": "0.4.4",
  "description": "Track AI agent costs, set budget limits, and auto-detect runaway loops. Smart routing reduces costs 40-60%.",
  "main": "setup.js",
  "scripts": {
    "setup": "node setup.js",
    "test": "node test/formatter.test.js && node test/dashboard-client.test.js"
  },
  "dependencies": {},
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/tazsat0512/reivo.git",
    "directory": "skills/reivo"
  },
  "keywords": [
    "openclaw",
    "ai-costs",
    "budget",
    "guardrails",
    "loop-detection",
    "llm-proxy"
  ]
}

Sponsored

Ads related to Reivo and adjacent AI workflows.