Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add xujunfa/coding-agents-quota
Or install specific skill: npx add-skill https://github.com/xujunfa/coding-agents-quota
# Description
Query AI coding agent quotas (Minimax, Zhipu, QWen). Login once, then check usage via API or CLI.
# SKILL.md
name: coding-agents-quota
description: "Query AI coding agent quotas (Minimax, Zhipu, QWen). Login once, then check usage via API or CLI."
metadata: {"clawdbot":{"emoji":"π°","requires":{"bins":["node","npm"]}}}
Coding Agents Quota
Query usage quotas for AI coding agents.
Supported Providers
- β Minimax (MiniMax M2/M2.1)
- π Zhipu (GLM-4)
- π QWen (Qwen Code)
Usage
First Time Setup
Login to save authentication cookies:
cd ~/.clawdbot/skills/coding-agents-quota
npm run login minimax
Check Quota
npm run status minimax
Output Example
π Minimax Quota Status
==================================================
π€ Model: MiniMax-M2
π° Prompts: 1260 / 1500
π Used: 84.0%
π
Period: 1/29/2026, 12:00:00 AM - 1/29/2026, 5:00:00 AM
==================================================
π Last Updated: 1/29/2026, 1:20:27 AM
Development
# Install dependencies
npm install
# Build TypeScript
npm run build
# Login
npm run login minimax
# Check status
npm run status minimax
API
The skill uses the provider's APIs:
- Minimax: https://www.minimaxi.com/v1/api/openplatform/coding_plan/remains
Authentication is stored in auth/minimax_cookies.json (gitignored).
# README.md
coding-agents-quota
Query AI coding agent quotas across multiple providers.
Supported Providers
- β Minimax (MiniMax M2.1)
- π Zhipu (GLM-4)
- π QWen (Qwen Code)
Installation
npm install
Usage
Login
First, login to save your session cookies:
# Login to Minimax
npm run login minimax
# Or run interactive login
npm run login
Check Quota
# Check Minimax quota
npm run status minimax
Project Structure
coding-agents-quota/
βββ src/
β βββ commands/
β β βββ login.ts # Login command
β β βββ status.ts # Status command
β βββ providers/
β β βββ base.ts # Provider interface
β β βββ minimax.ts # Minimax implementation
β βββ index.ts # CLI entry point
βββ cookies/ # Saved session cookies (not tracked by git)
βββ package.json
How It Works
-
Login: Opens a browser window for you to log in to the provider's website. Session cookies are saved for future use.
-
Status: Loads saved cookies, opens the browser, navigates to the quota page, and extracts your current usage.
Development
# Run in development mode
npm run dev status minimax
# Build for production
npm run build
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.