report-limit

star 21

Max plan hit the wall? πŸ’€ Report your 5h window data β€” we're mapping the rate limit formula Anthropic won't publish

ww-w-ai By ww-w-ai schedule Updated 5/20/2026

name: report-limit description: 'Max plan hit the wall? πŸ’€ Report your 5h window data β€” we''re mapping the rate limit formula Anthropic won''t publish' when_to_use: Use when user hits a rate limit and wants to contribute data. Triggers on "report limit", "limit report", "rate limit report".

Report rate-limited 5-hour windows to GitHub Discussions. Pure rule-based β€” no LLM reasoning needed.

Help

ONLY show help if the user's argument literally contains the word "help" (e.g. /report-limit help). If no argument or any other argument is given, SKIP this section entirely and proceed to execution.

If the user provides "help" as argument, show usage summary and stop:

/report-limit β€” Report your rate limit data

Got rate limited? This skill automatically finds your blocked
5-hour windows from cached timeline data and opens a pre-filled
GitHub Discussion to ww-w-ai/claude-code-token-saver.

No manual input needed. Just run it and confirm in your browser.

Options:
  (nothing)     Auto-detect and report all rate-limited windows
  <date>        Report a specific date (e.g. /report-limit 2026-04-01)
  help          Show this help

Examples:
  /report-limit              Report all rate-limited windows
  /report-limit 2026-04-01   Report all 5h windows on April 1st

Do not run any analysis. Just display the help text and stop.

Execution

Before running, ask the user's plan if not already known. The prompt message MUST be in the user's language (detect from conversation context). The table content (Plan names, prices) stays in English since they are proper nouns.

Select your current Claude plan. The report will be generated based on your plan type.

(Translate the above message naturally into the user's language. Example Korean translation β†’ "ν˜„μž¬ Claude ν”Œλžœμ„ μ„ νƒν•΄μ£Όμ„Έμš”. μ„ νƒν•œ ν”Œλžœμ„ 기반으둜 리포트λ₯Ό μƒμ„±ν•©λ‹ˆλ‹€.")

# Plan Price
1 Pro $20/mo
2 Max 5x $100/mo
3 Max 20x $200/mo
4 Team Standard $20/seat/mo
5 Team Premium $100/seat/mo
6 Enterprise custom
7 Amazon Bedrock usage-based
8 Microsoft Foundry usage-based
9 Google Vertex AI usage-based

Enter number or name (e.g. "3" or "max200"):

Map user input to --plan values: 1=pro, 2=max100, 3=max200, 4=team, 5=team_premium, 6=enterprise, 7=bedrock, 8=foundry, 9=vertex

Run the standalone script with --plan and optionally --date:

node ${CLAUDE_PLUGIN_ROOT}/scripts/report-limit.js --plan <plan> [--date <YYYY-MM-DD>]

If the user provided a date argument (e.g. /report-limit 2026-04-01), pass it as --date 2026-04-01. This reports ALL 5h windows for that date, not just rate-limited ones.

If the user doesn't know or skips plan, run without --plan (reports as "unknown").

Unknown model handling (run inline, do NOT stop the skill)

μŠ€ν¬λ¦½νŠΈλŠ” scripts/model-pricing.json에 λ“±λ‘λ˜μ§€ μ•Šμ€ λͺ¨λΈμ„ λ§Œλ‚˜λ©΄ exit code 2둜 μ‹€νŒ¨ν•˜λ©΄μ„œ stderr에 ERROR:UNKNOWN_MODEL 블둝을 좜λ ₯ν•©λ‹ˆλ‹€. 이 경우 μ•„λž˜ 절차λ₯Ό 인라인으둜 μ²˜λ¦¬ν•œ λ’€ μ΄μ–΄μ„œ μ§„ν–‰ν•˜μ„Έμš”:

  1. stderr의 models: 쀄을 νŒŒμ‹±ν•΄ 미등둝 λͺ¨λΈ 이름 λͺ©λ‘μ„ μΆ”μΆœν•©λ‹ˆλ‹€.
  2. WebFetch둜 https://platform.claude.com/docs/en/about-claude/pricing#model-pricing을 가져와 각 λͺ¨λΈμ˜ input / output / cacheCreate5m / cacheCreate1h / cacheRead / contextWindowλ₯Ό ν™•μΈν•©λ‹ˆλ‹€.
  3. 6개 ν•„λ“œκ°€ λͺ¨λ‘ ν™•μΈλ˜λ©΄: scripts/model-pricing.json을 Readν•œ λ’€, κΈ°μ‘΄ μ—”νŠΈλ¦¬μ™€ λ™μΌν•œ ν˜•μ‹ { "input": N, "cacheCreate5m": N, "cacheCreate1h": N, "cacheRead": N, "output": N, "contextWindow": N }으둜 λͺ¨λΈλ§ˆλ‹€ ν•œ 쀄씩 Edit으둜 μΆ”κ°€ν•©λ‹ˆλ‹€. μΆ”μΈ‘/μœ λ„κ°’μ€ μ“°μ§€ λ§ˆμ„Έμš”.
  4. μ–΄λŠ ν•˜λ‚˜λΌλ„ νŽ˜μ΄μ§€μ—μ„œ ν™•μΈλ˜μ§€ μ•ŠμœΌλ©΄: JSON을 μž„μ˜λ‘œ μ±„μš°μ§€ 말고 μŠ€ν‚¬μ„ μ€‘λ‹¨ν•œ λ’€ μ‚¬μš©μžμ—κ²Œ μ•„λž˜ λ©”μ‹œμ§€λ₯Ό 좜λ ₯ν•˜μ„Έμš”.
    ⚠️ 미등둝 λͺ¨λΈ {λͺ¨λΈλͺ…}의 전체 가격 정보(특히 5m/1h μΊμ‹œ ν‹°μ–΄)λ₯Ό 곡식 νŽ˜μ΄μ§€μ—μ„œ 확인할 수 μ—†μŠ΅λ‹ˆλ‹€.
    ν”ŒλŸ¬κ·ΈμΈμ„ μ΅œμ‹  λ²„μ „μœΌλ‘œ μ—…λ°μ΄νŠΈν•΄ μ£Όμ„Έμš”:
      /plugin update claude-code-token-saver
    μ—…λ°μ΄νŠΈ 후에도 λ¬Έμ œκ°€ μ§€μ†λ˜λ©΄ https://github.com/ww-w-ai/claude-code-token-saver/issues 에 제보 λΆ€νƒλ“œλ¦½λ‹ˆλ‹€.
    
  5. (3번 성곡 μ‹œ) λ™μΌν•œ Bash λͺ…령을 κ·ΈλŒ€λ‘œ μž¬μ‹€ν–‰ν•©λ‹ˆλ‹€. fail-fast 덕뢄에 stale cacheκ°€ μ—†μœΌλ―€λ‘œ --forceλŠ” λΆˆν•„μš”ν•©λ‹ˆλ‹€.
  6. μž¬μ‹€ν–‰μ΄ μ„±κ³΅ν•˜λ©΄ κ·ΈλŒ€λ‘œ μ•„λž˜ μš”μ•½ 좜λ ₯ λ‹¨κ³„λ‘œ μ§„ν–‰ν•©λ‹ˆλ‹€.

The script outputs JSON to stdout. Parse the result and show the user a brief summary:

πŸ’€ Found {N} rate-limited window(s).

| Window | Cost | Requests |
|--------|------|----------|
| {date} {start}-{end} | ${cost} | {n} |

{If gistUrl: "πŸ“Ž Data uploaded: {gistUrl}"}
{If no gistUrl: "⚠️ GitHub CLI not authenticated. Run `gh auth login` first, or manually attach the zip file."}
{If zipFile: "πŸ“Ž Zip ready: {zipFile}"}

Discussion opened in browser. Review and submit.

Error Handling

  • If the script exits with code 1: "No cached data found. Run /usage-view first."
  • If the script exits with code 2: stderr contains ERROR:UNKNOWN_MODEL. Handle it inline via the "Unknown model handling" procedure above β€” do NOT treat as a fatal failure.
  • If the script exits with code 0 but windows is empty: "No rate-limited windows found."

Prerequisites

  • GitHub Discussion category "Rate Limits" must exist on ww-w-ai/claude-code-token-saver
  • gh CLI authenticated for gist upload (optional β€” falls back to local files)
Install via CLI
npx skills add https://github.com/ww-w-ai/claude-code-token-saver --skill report-limit
Repository Details
star Stars 21
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator