Xpersona
X

xerg

CLAWHUB · Unverified

Audit and reduce AI agent runtime spend in dollars. Use for AI costs, agent spend, token waste, runtime attribution, detector coverage, and FinOps. Works with OpenClaw, Hermes, QM, Claude Code, Cursor, and generic event ingest.

62
Rank
84
Safety
3.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 3.2K downloads reported by the source. Last updated 10/9/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 s1744aaf2z3hps1qjj909r2ctd83y71m:xerg
  1. Install using `clawhub skill install s1744aaf2z3hps1qjj909r2ctd83y71m:xerg` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/xerg/xerg before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-xerg-xerg/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

155,248 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: xerg
description: Audit and reduce AI agent runtime spend in dollars. Use for AI costs, agent spend, token waste, runtime attribution, detector coverage, and FinOps. Works with OpenClaw, Hermes, QM, Claude Code, Cursor, and generic event ingest.
homepage: https://xerg.ai
metadata:
  xerg:
    homepage: https://xerg.ai
    links:
      skill: https://xerg.ai/skill.md
      documentation: https://xerg.ai/docs
      status: https://status.xerg.ai
    install:
      - kind: node
        package: "@xerg/cli@0.35.2"
        bins:
          - xerg
    envVars:
      - name: XERG_API_KEY
        required: false
        description: Advanced CI-only credential for non-interactive hosted push and MCP setup.
      - name: XERG_API_URL
        required: false
        description: Optional override for the Xerg API endpoint; defaults to https://api.xerg.ai.
      - name: XERG_AGENT_HOST
        required: false
        description: Best-effort bounded host hint for an explicitly approved hosted pairing or push; not authentication.
    dependencies:
      - name: "@xerg/cli"
        type: npm
        url: https://www.npmjs.com/package/@xerg/cli
      - name: fly
        type: other
        url: https://fly.io/docs/flyctl/
---

# Xerg

Reviewed CLI version: **0.35.2**.

The reviewed CLI pin is independent of the skill's release version. It selects an already-published, compatible package; a newer skill or package release does not itself authorize changing this pin.

Use this exact version for every skill-directed CLI action. The npm commands below select it explicitly; bare `xerg` examples are shorthand only for an explicitly approved installation whose `xerg --version` equals the reviewed version. Stop on a mismatch and request approval for the pinned installation; do not silently upgrade, use a mutable dist-tag, or fall back to another installed version. This pins the top-level CLI package, not its transitive dependencies or cryptographic integrity. Installation, local inspection, and hosted writes still require their separate permissions. Use browser pairing instead of requesting or displaying credential contents; the approved CLI manages its own authentication state.

Remote OpenClaw collection is available through the reviewed CLI 0.35.2, which includes the remote-command and archive security corrections. Obtain explicit permission for the exact host or Railway service and evidence paths before connecting or copying data. Use existing operator-managed authentication; never request credential contents in chat. Run the pinned doctor with the approved remote selection, verify its version, and preserve its shell-safe audit recommendation unchanged. Remote access does not authorize configuration changes or hosted upload. Prefer an approved local export when remote access is unavailable.

Xerg is a local-first CLI for finding wasted AI runtime spend. Runtime audits separate three evidence-strict monetary findings from seven neutral signals, report detec

README.md

# Xerg

Reviewed CLI version: **0.35.2**.

This already-published CLI pin is reviewed independently of the skill's release version. New skill or package releases do not authorize an automatic pin change.

This skill uses the exact reviewed CLI version, including doctor-generated follow-up commands. Bare `xerg` examples below require an explicitly approved installation verified with `xerg --version` against that version. Stop on a mismatch; do not silently upgrade or substitute another version. The pin selects the top-level npm package, not its transitive dependencies or cryptographic integrity. Permission to install, inspect local data, or upload remains separate.

Remote OpenClaw collection is available through the reviewed CLI 0.35.2, which includes the remote-command and archive security corrections. Obtain explicit permission for the exact host or Railway service and evidence paths before connecting or copying data. Use existing operator-managed authentication; never request credential contents in chat. Run the pinned doctor with the approved remote selection, verify its version, and preserve its shell-safe audit recommendation unchanged. Remote access does not authorize configuration changes or hosted upload. Prefer an approved local export when remote access is unavailable.

Find wasted AI spend in OpenClaw, Hermes, QM, Claude Code, Cursor, and any framework that can export a JSON event payload.

Xerg is a local-first CLI for auditing AI spend in dollars, not raw token counts. It reads OpenClaw logs/transcripts or an independent sanitized trace capture, Hermes v0.17-v0.20.1 `state.db` with optional observer/certified trace enrichment, QM snapshots, Claude Code transcripts, and Cursor usage exports — plus event payloads from any framework via `xerg ingest` — separates three evidence-strict monetary findings from seven neutral signals, reports what each detector assessed, and lets you measure compatible fixes with `--compare`.

Everything runs locally by default. The CLI is publicly installable from npm as `@xerg/cli`, but it is not open source. No account is required for local audits. A Free hosted workspace keeps the last 30 days of pushed audits and groups related incremental snapshots into expandable series; hosted MCP is included with Team, Growth, Scale, and Enterprise.

Hosted pricing uses Monthly Audited Agent Spend from known spend in explicitly pushed runtime audits: Free through $2,000 per UTC month, Team at $99 through $10,000, Growth at $299 through $50,000, Scale at $799 through $250,000, and custom Enterprise above $250,000. Team, Growth, and Scale have identical capabilities. Historical imports, duplicate-review spend, and unpriced usage do not count toward MAAS.

The `npx @xerg/cli@0.35.2` path may fetch and execute the exact published npm package before running Xerg. After explicit approval, install it once with `npm install -g @xerg/cli@0.35.2` if you prefer a global installation.

## Installation and discovery

| Host or s

_meta.json

{
  "ownerId": "kn7b8h0xdg0zvan84e32avxp018248b2",
  "slug": "xerg",
  "version": "0.35.5",
  "publishedAt": 1791513558361
}

skill-card.md

## Description:

Audits AI agent runtime spending, attributes costs, and identifies evidence-backed opportunities to reduce waste.

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

Developers and operators use Xerg to audit AI agent runtime spend, assess detector and pricing coverage, investigate supported waste findings, and compare costs after changes.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The pinned, non-open-source npm CLI can read approved local AI runtime logs or databases.

Mitigation: Review the selected data sources and package before granting separate permission to fetch the CLI and inspect local evidence.

Risk: Remote collection or a hosted push could expose runtime information outside the local machine.

Mitigation: Approve the exact remote host and evidence paths separately; keep local audit, hosted pairing, and upload as distinct approvals, and preview push data with a dry run.

Risk: Estimated or unpriced runtime spending may be mistaken for an authoritative provider bill.

Mitigation: Report pricing and detector coverage, separate neutral signals from waste findings, and avoid presenting modeled costs as invoice totals.

## Reference(s):

- [Xerg documentation](https://xerg.ai/docs)
- [Xerg skill documentation](https://xerg.ai/skill.md)
- [Xerg CLI package](https://www.npmjs.com/package/@xerg/cli)
- [Hermes analysis guide](https://xerg.ai/docs/hermes-analysis)
- [ClawHub skill listing](https://clawhub.ai/xerg/skills/xerg)

## Skill Output:

**Output Type(s):** [Text, Markdown, Shell commands, Guidance]

**Output Format:** [Markdown summaries and CLI commands; JSON audit reports when requested]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Spend estimates depend on pricing and detector coverage; findings and neutral signals remain distinct.]

## Skill Version(s):

0.35.5 (source: ClawHub release metadata; reviewed CLI pin: 0.35.2)

## 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.

Sponsored

Ads related to xerg and adjacent AI workflows.