Agent skill

Claude Code Usage

by sundial-org in sundial-org/awesome-openclaw-skills

Check Claude Code OAuth usage limits (session & weekly quotas).

No licenceAuto-check: notesBackend & APIs

Install Claude Code Usage

skills CLI
$ npx skills add sundial-org/awesome-openclaw-skills --skill claude-code-usage -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sundial-org/awesome-openclaw-skills claude-code-usage --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sundial-org/awesome-openclaw-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/claude-code-usage .claude/skills/claude-code-usage && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
claude-code-usage
GitHub stars
663
Token cost
~1.5k tokens
SKILL.md length
442 words
Files
8 (incl. scripts)
Skills in repo
362
Repo updated
First seen
Licence
None found

At a glance

Check Claude Code OAuth usage limits (session & weekly quotas).

  • Works in 6 steps: Retrieves OAuth token from system keychain → Queries… → Parses five_hour and seven_day… → …
  • User asks about Claude Code usage
  • SKILL.md covers Quick Start, Usage, Output and Features, plus 7 more sections
  • Runs Shell scripts from its folder; calls jq, apt and dnf

What it does

Claude Code Usage is an agent skill from sundial-org/awesome-openclaw-skills. Check Claude Code OAuth usage limits (session & weekly quotas). Use when user asks about Claude Code usage, remaining limits, rate limits, or how much Claude usage they have left. Includes automated session refresh reminders and reset detection monitoring.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts (for example `CRON_SETUP.md`, `README.md` and `scripts/claude-usage.sh`).

It sits in Backend & APIs, covering Rate limiting and OAuth and OpenID Connect. The repository describes itself as: Top OpenClaw skills, with the most popular and useful ones.

When your agent uses it

  • User asks about Claude Code usage
  • Remaining limits
  • How much Claude usage they have left

Example prompts

  • “/claude-code-usage”

Requirements

  • A Bash shell

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Retrieves OAuth token from system keychain
  2. Queries api.anthropic.com/api/oauth/usage with OAuth bearer token
  3. Parses five_hour and seven_day utilization metrics
  4. Calculates time remaining until reset
  5. Formats output with progress bars and status indicators
  6. Caches result for 60 seconds (configurable)

What it can do on your machine

Read from SKILL.md and the folder at commit b80cde2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 5 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • jq
    • apt
    • dnf

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Claude Code Usage loads about 1.5k tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 442 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:247
    sudo apt install libsecret-tools
  • NoteRuns commands with sudoSKILL.md:250
    sudo dnf install libsecret

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 442 words (~1,528 tokens).

“Check your Claude Code OAuth API usage limits for both session (5-hour) and weekly (7-day) windows.”

— opening of SKILL.md by sundial-org
name
claude-code-usage

Read the full SKILL.md on GitHub

Files

SKILL.md and 7 other files (scripts) in skills/claude-code-usage of sundial-org/awesome-openclaw-skills.

  • SKILL.md
  • CRON_SETUP.md
  • README.md
  • scripts/claude-usage.sh
  • scripts/monitor-and-notify.sh
  • scripts/monitor-usage.sh
  • scripts/session-reminder.sh
  • scripts/setup-monitoring.sh

Open the folder on GitHubat commit b80cde2

Compare with similar skills

Claude Code Usage next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Claude Code Usage compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Claude Code Usage this skillsundial-org/awesome-openclaw-skills663—~1.5kAutomated safety check: NotesNone
Better Auth Security Best PracticesEpicenterHQ/epicenter4.8k—~896Automated safety check: PassCustom licence
Frappe Core APIImpertio-Studio/Frappe_Claude_Skill_Package1871 repos~3.2kAutomated safety check: PassMIT
Frappe Errors APIImpertio-Studio/Frappe_Claude_Skill_Package1871 repos~4kAutomated safety check: PassMIT
Azure APIM Policy Authoringthomast1906/github-copilot-agent-skills202—~1.5kAutomated safety check: PassMIT
Slack APIslackapi/slack-skills-plugin144—~3.3kAutomated safety check: PassMIT

Similar skills

  • Better Auth security hardening: rate limits, secrets, CSRF, trusted origins, cookies, sessions, OAuth tokens, and audit logging.

    4.8k GitHub stars~896 tokensUpdated today
    Backend & APIsAuto-check passed
  • Frappe Core API

    Impertio-Studio/Frappe_Claude_Skill_Package

    A skill your agent uses when building ERPNext/Frappe API integrations (v14/v15/v16) including REST API, RPC API, authentication, webhooks, and rate limiting.

    187 GitHub starsUsed in 1 repo~3.2k tokens
    Backend & APIsAuto-check passed
  • Frappe Errors API

    Impertio-Studio/Frappe_Claude_Skill_Package

    A skill your agent uses when debugging or handling API errors in Frappe/ERPNext v14/v15/v16.

    187 GitHub starsUsed in 1 repo~4k tokens
    Backend & APIsAuto-check passed
  • Azure APIM Policy Authoring

    thomast1906/github-copilot-agent-skills

    Generates Azure API Management policy XML for authentication, rate limiting, CORS, error handling and transformations, consulting Azure best-practice and documentation tools first.

    202 GitHub stars~1.5k tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed
  • Slack API

    slackapi/slack-skills-plugin

    Official

    A skill your agent uses when a developer asks which Slack Web API method does something, needs a method's OAuth scopes or token type, wants to call or test a family.method endpoint…

    144 GitHub stars~3.3k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Apiker

    hodgef/apiker

    Develop, review, and extend the Apiker library — a framework for building serverless REST APIs on Cloudflare Workers + Durable Objects.

    127 GitHub stars~1.4k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed

More from sundial-org/awesome-openclaw-skills

All 362 skills in this repo
  • UI UX Pro Max

    sundial-org/awesome-openclaw-skills

    UI/UX design intelligence and implementation guidance for building polished interfaces.

    663 GitHub starsUsed in 2 repos~657 tokens
    Auto-check passed
  • Web Deploy GitHub

    sundial-org/awesome-openclaw-skills

    Create and deploy single-page static websites to GitHub Pages with autonomous workflow.

    663 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Clawd Modifier

    sundial-org/awesome-openclaw-skills

    Modify Clawd, the Claude Code mascot. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~625 tokensUpdated 7 mo ago
    Auto-check passed
  • Figma

    sundial-org/awesome-openclaw-skills

    Professional Figma design analysis and asset export. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~1.7k tokensUpdated 7 mo ago
    Auto-check: notes
  • Edge Tts

    sundial-org/awesome-openclaw-skills

    Text-to-speech conversion using node-edge-tts npm package for generating audio from text.

    663 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Habit Flow

    sundial-org/awesome-openclaw-skills

    AI-powered atomic habit tracker with natural language logging, streak tracking, smart reminders, and coaching.

    663 GitHub stars~3.1k tokensUpdated 7 mo ago
    Auto-check passed

Categories

Questions about Claude Code Usage

What does Claude Code Usage do?

Check Claude Code OAuth usage limits (session & weekly quotas). Claude Code Usage is an agent skill from sundial-org/awesome-openclaw-skills. Check Claude Code OAuth usage limits (session & weekly quotas).

When should I use Claude Code Usage?

Claude Code Usage fits situations like: user asks about Claude Code usage; remaining limits; how much Claude usage they have left.

How do I install Claude Code Usage in Claude Code?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill claude-code-usage -a claude-code`. Or copy the skill folder (skills/claude-code-usage in sundial-org/awesome-openclaw-skills) into .claude/skills/claude-code-usage in your project. Claude Code loads it when a task matches its description.

How do I install Claude Code Usage in Codex?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill claude-code-usage -a codex`. Or copy the skill folder (skills/claude-code-usage in sundial-org/awesome-openclaw-skills) into .agents/skills/claude-code-usage in your project. Codex loads it when a task matches its description.

Can I use Claude Code Usage in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sundial-org/awesome-openclaw-skills --skill claude-code-usage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/claude-code-usage, .gemini/skills/claude-code-usage, .github/skills/claude-code-usage and .opencode/skills/claude-code-usage in your project.

What does Claude Code Usage need to run?

Going by SKILL.md and its folder, Claude Code Usage needs a shell for the scripts in its folder and the command-line tools its instructions call (jq, apt and dnf). Our summary lists: A Bash shell.

Does Claude Code Usage access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Claude Code Usage safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Claude Code Usage use?

No licence was found for Claude Code Usage or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Claude Code Usage use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Claude Code Usage?

Skills that share tags, products or a category with Claude Code Usage: Better Auth Security Best Practices (EpicenterHQ/epicenter, 4.8k stars), Frappe Core API (Impertio-Studio/Frappe_Claude_Skill_Package, 187 stars), Frappe Errors API (Impertio-Studio/Frappe_Claude_Skill_Package, 187 stars) and Azure APIM Policy Authoring (thomast1906/github-copilot-agent-skills, 202 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Claude Code Usage?

sundial-org (a GitHub organization) maintains it in sundial-org/awesome-openclaw-skills, which has 663 GitHub stars. The repository holds 362 skills in this directory. The repository was last updated on March 7, 2026.

Source: sundial-org/awesome-openclaw-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.