跳到正文
cccskills
免费在 GitHub 公开

stay-within-limits

Manage long-running or parallel agent work around five-hour and weekly usage limits. Check consumption between batches, pause new work at 95 percent, preserve a clear handoff, and check actual usage again before resuming.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Use when long-running or parallel agent work must respect 5-hour and weekly usage limits by checking usage between waves, pausing near the cap, and resuming only when the window is clear.

查看安装方法

适用场景

  • Manage usage during long-running agent tasks
  • Check remaining capacity between parallel work batches
  • Resume paused work after checking usage limits

包含的文件(2)

  • SKILL.md3.3 KB
  • README.md2.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Stay Within Limits

Keep long-running agent work inside the current 5-hour and weekly usage windows. Check usage before launching substantial work and between waves of parallel subagents. If an active 5-hour or weekly limit is at or above 95%, pause new work until the window is clear enough to continue safely.

Core Loop

  1. Run a bounded wave of work. Default to at most 3 parallel subagents unless the user or host gives a different throttle.
  2. Wait for the wave to finish. Do not interrupt in-flight subagents just to save budget; that usually loses work.
  3. Check current 5-hour and weekly usage with the host's usage/budget tool.
  4. If either window is at or above 95%, stop launching work and schedule a self-contained resume when the relevant window should clear.
  5. On resume, re-check the real window or block before continuing. Do not trust elapsed wall-clock time alone.

Usage Signals

Prefer a first-party host usage tool when available. In Claude Code, use:

npx -y ccusage@latest blocks --active --json

Use the JSON to identify the active block start, current cost or percentage, and time remaining. On wake, compare the active block start timestamp with the previous one; a new timestamp is stronger evidence than "enough time passed."

If the tool reports cost instead of a direct percentage, convert through the current account limit when known. For Claude Max-style 5-hour blocks, some users prefer an earlier caution threshold around $500-550; treat that as a user-configured guardrail, not a universal rule. The default stop rule is still 95% of the active 5-hour or weekly limit.

Pausing And Resuming

When a wake/resume tool is available, schedule a wakeup for:

min(3600, secondsUntilWindowClears)

If the runtime clamps wake delays to 60-3600 seconds, chain wakeups for longer waits. Each wakeup should re-check usage, reschedule if still over budget, and continue only when the window is safely below the threshold.

Make wake prompts self-contained. Include:

  • The remaining plan.
  • The check-then-reschedule rule.
  • The 95% threshold and wave throttle.
  • The exact usage command or host usage tool to run.
  • The previous block/window identifier when available.
  • The next verification steps.
  • The next wave's handoff packets, including scope, verification commands, and stop conditions, if delegation will resume.

Choosing The Wait Mechanism

  • Use a wake/resume tool when the agent needs instructions attached to the future resume.
  • Use a background sleep or watcher for fixed timers and things a process can observe directly.
  • Use cron or recurring schedules only for recurring fresh-session work.

Avoid short-interval polling for things the host will notify you about, such as background task or subagent completion. For budget pauses, a prompt-cache miss after a long sleep is acceptable; preserving the limit matters more.

Reporting

If you pause, tell the user which window is over threshold, the observed usage, when you scheduled or expect the next check, and what work remains. Keep enough state in the wake prompt that the next turn can resume without relying on conversation momentum.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Guide public skill additions and updates through file placement, catalog documentation, installation discovery, integration settings, and validation. Distinguish ordinary skills from instruction-based, app-backed, and generated skills so each receives the appropriate checks.

中文简介正在准备中。当前显示英语简介。

  • Adding a public skill and its catalog page
  • Checking whether a skill can be discovered for installation
  • Adding optional managed AGENTS.md or CLAUDE.md instructions
BuilderIO/skills46062026年10月15日 更新

Monitor another AI agent’s work and independently investigate the same task. Compare the original request with actual changes and test evidence, report gaps and concrete follow-up steps, and make limited fixes when authorized.

中文简介正在准备中。当前显示英语简介。

  • Monitor an agent session until completion or a blocker
  • Audit a pull request against the original request
  • Compare findings from multiple agents
BuilderIO/skills46062026年10月15日 更新

an

免费

Open Agent-Native apps beside the conversation through Dispatch MCP, a connection for app tools. Create or edit content using the current screen and selection, then read saved results back to confirm the changes.

中文简介正在准备中。当前显示英语简介。

  • Opening Slides beside the conversation
  • Creating a presentation through natural-language requests
  • Making focused edits to selected elements
BuilderIO/skills46062026年10月15日 更新

Organize large coding tasks with Claude Fable directing lower-cost subagents. Delegate bounded research, edits, and tests, then have Fable verify evidence, resolve conflicting findings, integrate changes, and review the final result.

中文简介正在准备中。当前显示英语简介。

  • Split a large codebase investigation across subagents
  • Delegate independent, narrowly scoped code edits
  • Distribute targeted tests and log summaries
BuilderIO/skills46062026年10月15日 更新

Organize work so an expensive AI model handles planning, judgment, and final review while cheaper helper agents perform bounded research, coding, and testing. Define ownership and verification requirements, then inspect the evidence and integrate their results centrally.

中文简介正在准备中。当前显示英语简介。

  • Delegate broad codebase research to cheaper agents
  • Split coding tasks with clear file ownership
  • Distribute test runs and log analysis
BuilderIO/skills46062026年10月15日 更新

factory

免费

Configure a software delivery workflow that turns selected feedback and maintenance signals into verified, reviewed changes. Define information sources, schedules, working directories, and separate permissions for actions such as implementation, merging, deployment, and notifications.

中文简介正在准备中。当前显示英语简介。

  • Choose connected sources for feedback and maintenance signals
  • Set separate permissions for implementation, merging, and deployment
  • Configure supported schedules, worktrees, and notifications
BuilderIO/skills46062026年10月15日 更新

查看 BuilderIO 的全部技能

报告此技能的问题