Claude Usage logo

Claude Usage

Community
MagicCube
claude-usage

Check current Claude usage limits (session and weekly) with ASCII progress bars. Trigger when the user asks about usage, quota, limits, rate limits, how much Claude they've used, remaining capacity, or phrases like "check usage", "usage status", "how much quota left", "am I close to the limit", "用量", "额度", "配额".

Overview

PublisherMagicCube
Repositoryagentara
Skill nameclaude-usage
Stars
516
Forks
58
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by MagicCube on GitHub. Read the source before you install it.

Installation

Install the Claude Usage AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/MagicCube/agentara/tree/main/user-home/.claude/skills/claude-usage
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MagicCube/agentara.git /tmp/agentara
mkdir -p .claude/skills
cp -r /tmp/agentara/user-home/.claude/skills/claude-usage .claude/skills/claude-usage
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Claude Usage in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Claude Usage on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Claude Usage is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Usage — Claude Usage Monitor

Show the user their current Claude plan usage with ASCII progress bars.

Workflow

1. Fetch usage data

bash
curl -s http://localhost:1984/api/usage/claude

Parse the JSON response. The shape is:

json
{
  "usage": {
    "five_hour": { "utilization": 9, "resets_at": "2026-03-15T12:00:00Z" },
    "seven_day": { "utilization": 40, "resets_at": "2026-03-20T14:00:00Z" },
    "extra_usage": { "is_enabled": false, ... }
  }
}

2. Build ASCII progress bar

For a given utilization percentage, render a 20-char wide bar:

  • Filled char: █
  • Empty char: ░
  • Formula: filled = round(utilization / 5), empty = 20 - filled

Example for 40%: ████████░░░░░░░░░░░░ 40%

3. Format reset time

  • For five_hour.resets_at: show relative time like "Resets in 3 hr 6 min"
  • For seven_day.resets_at: show absolute time like "Resets Fri 2:00 PM"

4. Output

Present the result in this exact format:

Claude Usage

Session (5h rolling)
Resets in X hr Y min
████░░░░░░░░░░░░░░░░  20%

Weekly (7d rolling)
Resets Fri 2:00 PM
████████░░░░░░░░░░░░  40%

Extra usage: OFF

If extra usage is enabled, show Extra usage: ON instead.

5. Rules

  • Keep output compact — no extra commentary unless the user asks.
  • If utilization >= 80%, add a warning: ⚠ Running low!
  • If utilization >= 95%, add: 🚨 Almost depleted!
  • If the API call fails, tell the user the service is unreachable and suggest checking if the backend is running.

Frequently asked questions

What does the Claude Usage AI skill do?

Check current Claude usage limits (session and weekly) with ASCII progress bars. Trigger when the user asks about usage, quota, limits, rate limits, how much Claude they've used, remaining capacity, or phrases like "check usage", "usage status", "how much quota left", "am I close to the limit", "用量", "额度", "配额".

Why use Claude Usage on TypingMind?

Because you install it once and use it with any model. Claude Usage is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Claude Usage in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/MagicCube/agentara/tree/main/user-home/.claude/skills/claude-usage. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Claude Usage?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Claude Usage?

As many as you like. As long as a model supports skills, you can use Claude Usage with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Claude Usage AI skill free?

It is published on GitHub by MagicCube. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇