a6-plugin-limit-count

Configure APISIX limit-count plugin rate limits across routes and consumers with a6.

1|2|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/api7/a6 --skill a6-plugin-limit-count-api7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: a6-plugin-limit-count
Source: https://github.com/api7/a6/tree/main/skills/a6-plugin-limit-count
Command: npx skills add https://github.com/api7/a6 --skill a6-plugin-limit-count-api7

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configuring rate limits for APISIX can be complex without a guided workflow. This skill streamlines the setup of the limit-count plugin, enabling consistent enforcement of quotas across routes and consumers.

Core Features & Use Cases

  • Core Fields: count, time_window, key_type, key, policy, show_limit_quota_header, group, rejected_code.
  • Redis support: redis and redis-cluster backends for distributed counters, enabling shared quotas across nodes.
  • Use Case: enforce per-consumer limits across multiple routes or implement global rate limits for an API.

Quick Start

Create a sample route with the limit-count plugin configured for 100 requests per minute per consumer using a6.

Frequently Asked Questions about a6-plugin-limit-count

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

FAQPage Schema
How do I configure APISIX limit-count for per-consumer rate limits?

Configure APISIX limit-count rate limits by setting required fields like count and time_window, then specifying key_type and key as consumer to enforce per-consumer quotas across routes using a6.

Can I use Redis cluster for APISIX rate limiting in multi-node environments?

Yes, APISIX rate limiting supports redis and redis-cluster policy backends to maintain distributed counters, enabling shared quotas across multiple nodes in your environment.

What are the required fields for APISIX limit-count plugin configuration?

The required fields for APISIX limit-count configuration are count and time_window. You can also define advanced options like policy, rejected_code, show_limit_quota_header, and group.

How do I apply global rate limits to an API route in APISIX?

Apply global rate limits to an API route by configuring the limit-count plugin with a global key, setting the count and time_window thresholds to cap total requests across all consumers.

Does APISIX limit-count support limiting requests by IP address?

Yes, APISIX limit-count supports per-IP rate limiting by configuring the key_type and key fields to target the IP address, restricting request quotas for individual clients.