Btp AI Core Usage Monitor — AI skill for Claude Code
A Python background agent that runs on SAP BTP Cloud Foundry and monitors daily AI Core capacity unit consumption.
How to install Btp AI Core Usage Monitor
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open SAP-samples/btp-ai-core-usage-monitor and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Btp AI Core Usage Monitor does
A Python background agent that runs on SAP BTP Cloud Foundry and monitors daily AI Core capacity unit consumption. When consumption approaches a configured monthly spending limit, it sends notifications via SMTP email or SAP Alert Notification Service (ANS).
Alternatives in AI
- Riteway — Simple, readable, helpful unit tests 1.2k ★
- Graymatter — 30 sec to give your AI agents persistent memory 460 ★
- onWatch — Open-source Go CLI that tracks AI API quota usage across 7 providers (Synthetic, Z.ai, Anthropic, Codex, GitHu 397 ★
README
AI Core Consumption Monitor
A Python background agent that runs on **SAP BTP Cloud Foundry** and monitors daily AI Core capacity unit consumption. When consumption approaches a configured monthly spending limit, it sends notifications via **SMTP email** or **SAP Alert Notification Service (ANS)**.
How It Works
┌─────────────────────────────────────────────────────────────┐
│ SAP BTP Cloud Foundry │
│ │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ ai-core-monitor (Python / Flask) │ │
│ │ │ │
│ │ APScheduler ──► run_monitoring_job() [daily 07:00] │ │
│ │ │ │ │
│ │ ▼ │ │
│ │ UAS Reporting API ──► fetch usage (OAuth2) │ │
│ │ │ │ │
│ │ ▼ │ │
│ │ Aggregate ai-core capacity_units │ │
│ │ │ │ │
│ │ ▼ │ │
│ │ Compare vs. SPENDING_LIMIT │ │
│ │ │ │ │
│ │ ├── < 60% → INFO (daily email if enabled) │ │
│ │ ├── ≥ 60% → WARNING email 🟡 │ │
│ │ └── ≥ 80% → ALERT email 🔴 │ │
│ │ │ │
│ │ Flask endpoints: /health /status /trigger │ │
│ └──────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────┘
**Metric tracked:** `serviceId=ai-core` + `measureId=capacity_units` — summed across all models (Claude, GPT, embedding models, etc.) f
Related Skills
Ceiling
A focused Windows AI capacity monitor for Codex, Claude, Cursor, Grok, Gemini, OpenCode, and Copilot.
Team Foundry
One shared context layer for Claude Code, Cursor, Gemini CLI, and Codex — so the whole team's AI tools build f
AI Consultants:Consult
Consult AI experts (Gemini, Codex, Mistral, Kimi, Qwen, GLM, Grok, DeepSeek, MiniMax) for coding questions. Us
Review Dcell Model
by Mjvolk3 - Reviews old Dcell implementation files, comparing with newer Dango model, noting changes over tim
Rtk Lite Cc
Lightweight CLI proxy that minimizes LLM token consumption — Claude Code only fork of rtk-ai/rtk
SynapseCode
Ultra-fast Code Graph & AST Pruning MCP Server for LLMs. Reduces context token consumption by 75%-90% in Claud
Related Agents
Usage Analyst
AI spending analyst that proactively monitors and reports on Cursor Enterprise team usage patterns, spending a
Code Reviewer Cross
Use to delegate code review to the cross-LLM DeepAgent reviewer (foundry-auditor) — useful when a second-opini
Deep Review Guard Bypass
Traces guard functions (permission, capacity, rate-limit, validation) to find any code path that reaches a pro