Skip to content
Back to skills

Agentcat Usage

CSecurity

Use when a user asks an AI agent to report local Agent Cat usage, inspect Codex/Claude/Gemini token activity, or verify whether Agent Cat connectors are installed and collecting data.

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 9, 2026
developmentgobashsqlgitapi

Works with

  • claude code
  • cli
  • api

Security analysis

C71/100
  • criticalPipes output to a shell interpreter
  • mediumUses curl or wget to download content
  • criticalDownloads and executes remote scripts — classic supply chain attack

Pro shows the line behind each finding and how to fix it

Scanned October 9, 2026

npx -y skills add yong076/agentcat-connectors --skill agentcat-usage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agentcat Usage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agentcat Usage
[![Security: C — Skills Directory](https://www.skillsdirectory.com/api/skills/yong076-agentcat-usage/badge)](https://www.skillsdirectory.com/skills/yong076-agentcat-usage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agentcat-usage
description: Use when a user asks an AI agent to report local Agent Cat usage, inspect Codex/Claude/Gemini token activity, or verify whether Agent Cat connectors are installed and collecting data.
---

# Agent Cat Usage

Use the local `agentcat` command instead of guessing provider usage.

## Workflow

1. Check installation:

   ```bash
   command -v agentcat
   ```

2. Read a normalized snapshot:

   ```bash
   agentcat snapshot --json
   ```

3. If the command is missing, tell the user to install Agent Cat Connectors:

   ```bash
   curl -fsSL https://raw.githubusercontent.com/yong076/agentcat-connectors/main/install.sh | bash
   ```

## Interpretation

- Codex totals come from local `~/.codex/state_*.sqlite`.
- Codex remaining quotas appear under `providers.codex.limits.quotas[]` when `~/.codex/auth.json` can call the Codex usage API.
- Claude totals come from `~/.claude/stats-cache.json`, hooks, and Claude Code OAuth usage when available.
- Claude remaining quotas appear under `providers.claude.limits.quotas[]`, including 5-hour, 7-day, model, and monthly extra credit entries when the provider exposes them.
- Gemini totals appear after Gemini CLI runs with local telemetry enabled.
- Gemini remaining request quotas appear under `providers.gemini.limits.quotas[]` when Google-login Gemini CLI OAuth credentials can call Code Assist quota APIs.
- Current CPU and memory usage come from `activity`. Memory is process RSS from `/bin/ps`, exposed as `activity.processes[].memoryBytes` and grouped as `activity.memoryBytesByProvider`.
- Report exact provider quota/capacity only when the snapshot includes `remaining`, `limit`, or `remainingPercent`. Otherwise say unavailable.
- Do not report prompt content. Agent Cat snapshots are intended to contain metadata only.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.