r/ClaudeCode • • 7d ago

Built with Claude I made a Claude Code skill that makes you're limits visible to the Agent

I kept opening /usage to see how my usage limits looked, then I told the session so it could plan ahead and Stop/Checkpoint work especially with subagents. So I built a small tool that makes those numbers available to CC so it can do that automatically.

  • The installer sets up a compact status line which can read the Usage data. It reuses this to make it available to the skill!
  • Run /claude-usage-limits to ask Claude to explain the numbers or factor them into a longer task.

It uses the usage data Claude Code already provides through the existing Statusline api which means it needs no login or anything.

I just had this vibe coded quickly and just made the repo public. Id live Ideas and improvements! This literally was just made in 10 minutes!

The only downside is that you cannot easily use it with any status line as it needs a integration to it but if you already have a custom status line just ask claude to adapt the skill to integrate with yours!

I just made the repo public. If you try it, I’d love to hear how it works on your setup.

https://github.com/SnakebiteEF2000/claude-limit-awareness

0 Upvotes

5 comments sorted by

•

u/AutoModerator 7d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/jayjayEF2000 7d ago

For anyone wondering how I actually run this in practice and why it's been so useful for me, here is a quick breakdown of my setup:

  • Task Orchestration: I use a task-tracking system managed by an Orchestrator agent. It breaks my larger projects down into smaller tasks and hands them off to subagents (or separate sessions) using brief.md files.
  • Smart Pacing & Usage Checks: Once it delegates a task, the Orchestrator "sleeps" and waits for the subagents to finish. Every time one returns, it checks my current usage limits to decide if there's enough headroom to spin up another task.
  • **Session Management (**caffeinate + Cron): To keep my Mac awake across 5-hour working sessions, the Orchestrator manages caffeinate directly via shell commands. If it hits a point where it needs to pause before the 5-hour window is up (e.g., due to limits), it automatically schedules a cron job to wake itself back up once the limits reset so it can pick up right where it left off.

Basically, it turns the workflow into a self-regulating loop that maximizes my usage windows without me having to babysit it. Happy to answer any questions about the config!

2

u/Creative_Sluggish 7d ago

Will try and share feedback

1

u/SoutarsonJuny 6d ago

let us know if you already have a custom status line setup, wondering how smoothly the agent actually adapts the script to merge with an existing one

1

u/jayjayEF2000 6d ago

It injects only a few lines of code sortof as a hook