usage-limits

Enforce and track Telegram user AI usage limits via HTTP requests.

19|5|Updated Nov 23, 2025
One-click install
npx skills add https://github.com/Nir-Bhay/markups --skill usage-limits
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: usage-limits
Source: https://github.com/Nir-Bhay/markups/tree/main/.agents/skills/usage-limits
Command: npx skills add https://github.com/Nir-Bhay/markups --skill usage-limits

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents users from exceeding AI usage limits, ensuring fair access and controlling costs by automatically checking and enforcing daily quotas.

Core Features & Use Cases

  • Real-time Limit Checking: Verifies user AI usage against predefined limits before processing requests.
  • Automated Enforcement: Blocks requests and informs users when their limits are exceeded.
  • Usage Tracking: Records AI model usage for accurate billing and monitoring.
  • Use Case: When a Telegram user sends a message that requires AI processing, this Skill first checks if they have remaining daily AI usage. If they do, it allows the request to proceed and logs the usage; if not, it immediately informs the user they've hit their limit and stops further processing.

Quick Start

Check the AI usage limit for the current Telegram user and proceed with the request if allowed.

Frequently Asked Questions about usage-limits

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce daily AI usage limits for Telegram users?

You can enforce daily AI usage limits for Telegram users by intercepting messages, checking user quotas via HTTP requests to an agent-brain service, and blocking requests when limits are exceeded. This ensures fair access and controls AI costs.

How does rate limiting work with an agent-brain service for Telegram bots?

Rate limiting with an agent-brain service works by intercepting Telegram messages, verifying AI usage against predefined daily limits, and either allowing processing, warning about near-limit status, or blocking requests if quotas are exhausted.

Can I track AI model usage and costs for Telegram users automatically?

Yes, you can track AI model usage and costs automatically by logging AI model usage after successful response processing. This records interactions for accurate billing and ongoing API monitoring without manual intervention.

What happens when a Telegram user reaches their daily AI usage limit?

When a Telegram user reaches their daily AI usage limit, the system blocks further processing and immediately informs the user they have hit their quota, stopping the request before it reaches the AI model.

Do I need an agent-brain service to monitor API usage limits on Telegram?

Yes, an agent-brain service is required to monitor API usage limits on Telegram. The Skill interacts with this service via HTTP requests to check user limits and log AI model usage after successful responses.