stay-within-limits

Manage long-running agent tasks within 5-hour and weekly usage limits.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/lapaixkemsdortshlee-svg/AyitiMarket --skill stay-within-limits
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stay-within-limits
Source: https://github.com/lapaixkemsdortshlee-svg/AyitiMarket/tree/main/.agents/skills/stay-within-limits
Command: npx skills add https://github.com/lapaixkemsdortshlee-svg/AyitiMarket --skill stay-within-limits

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps agents avoid exhausting 5-hour or weekly usage windows during long or parallel work, so tasks can continue safely without losing budget mid-run.

Core Features & Use Cases

  • Checks usage before substantial work and between waves.
  • Limits default parallel execution to small waves for controlled progress.
  • Pauses when usage reaches the stop threshold and resumes only after rechecking the real window.
  • Use it for long coding sessions, PR babysitting, broad reviews, refactors, and research tasks.

Quick Start

Use the stay-within-limits skill to plan and manage a long-running coding task while checking usage between waves and pausing near the limit.

Frequently Asked Questions about stay-within-limits

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent long-running Claude Code agents from hitting usage limits?

To manage long-running Claude Code agents and prevent hitting usage limits, use wave-based execution with usage checks before each wave and a 95% stop threshold to pause safely before exhausting your 5-hour or weekly budget window.

What is wave-based execution for parallel coding agents?

Wave-based execution for parallel coding agents is a process where tasks run in small capped parallel batches. It checks usage limits between waves to ensure controlled progress and safe pause/resume behavior during long refactoring or research tasks.

How do I safely pause and resume long coding tasks without losing progress?

To safely pause and resume long coding tasks without losing progress, use self-contained resume prompts that revalidate the current state. The agent pauses at a 95% usage threshold and only resumes after rechecking the real usage window.

Can I use parallel agents for broad refactors without exceeding my weekly budget?

You can use parallel agents for broad refactors without exceeding your weekly budget by capping default parallel execution to small waves. The agent checks usage between waves and pauses at a 95% stop threshold to stay within limits.

When should I implement usage checks during multi-agent research tasks?

You should implement usage checks during multi-agent research tasks before starting substantial work and between every execution wave. This ensures the process pauses near the 5-hour or weekly limit and only resumes after rechecking the real window.