klars-ai

Agentobs — AI skill for Claude Code

AI community

Stop your AI coding agent before it overspends.

How to install Agentobs

This entry records only its repository, not the path inside it, so there is no exact command to give. Open klars-ai/agentobs and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agentobs does

Stop your AI coding agent before it overspends. Budget limits, guardrails and cost tracking for Claude Code - local-first, no account.

Alternatives in AI

  • Claude Usage Tracker — Native macOS menu bar app for tracking Claude AI usage limits in real-time 2.2k ★
  • Token Monitor — Local-first desktop widget for tracking token usage, costs, and limits across 32+ AI coding tools—including Cl 1.8k ★
  • TokenTracker — Local-first AI token usage & cost tracker for 31 coding tools incl 1.4k ★

README

AgentObs

**Your agent is about to run `rm -rf /`.** **Every other tool will tell you about it afterwards.**

[![npm](https://img.shields.io/npm/v/@klars/agentobs?color=2a78d6&label=npm)](https://www.npmjs.com/package/@klars/agentobs) [![License: MIT](https://img.shields.io/badge/License-MIT-black.svg)](LICENSE) [![Node](https://img.shields.io/badge/node-%E2%89%A522.5-1baf7a)](https://nodejs.org)

[Website](https://agents.klars.ai) · [npm](https://www.npmjs.com/package/@klars/agentobs) · [Changelog](CHANGELOG.md) · [Contributing](CONTRIBUTING.md) · [Limits](DISCLAIMER.md)


The AgentObs dashboard: spend for the week, tool call and error-rate tiles with trend sparklines, an activity chart, and tables of tools and sessions.

Enforces more than a dollar figure

Most Claude Code tools are read-only — they tell you what happened *after* it happened. A couple can block on cumulative dollars. AgentObs is a control plane: it enforces token budgets, rolling rate-limit windows, command policy and scoped approvals, all before a call runs.

$ agentobs budget set --daily 5 --block
$ agentobs policy test Bash "rm -rf ./build"

  Decision   BLOCK
  Rule       no-recursive-force-delete
Terminal demo: agentobs policy test blocks an rm -rf command, then agentobs stats shows the cost, calls, errors and blocked totals.
Cost tools Security hooks AgentObs
Cost & token reporting ✅ ❌ ✅
W