agentleFS
EnakoneschniyEnakoneschniy/claude-dev-stack/skills/budget-continue/SKILL.md

budget-continue

Skill5 starsChanged 8 months agoMITView on GitHub

Show 4-option continuation prompt when session budget is low. Options: remind later (CronCreate), auto-continue locally (Desktop task), auto-continue in cloud (Cloud task), continue now. Trigger when: budget warning fires, session limit reached, context is full, user sees budget warning.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the session budget warning fires, this skill presents a 4-option continuation menu and (when invoked inside a Claude Code session) can …

    line 12
  2. Distinctive:

    When the user selects this option inside a Claude Code session:

    line 28
  3. Distinctive:

    No scheduling action. Prints a message to continue with the current session.

    line 69
  4. Very specific:

    If stopped_at is present: resumes from that point using resume_file as context

    line 75
  5. Very specific:

    If no stopped work: runs maintenance tasks (check PRs, /gsd-next, /gsd-health)

    line 76
  6. Distinctive:

    When invoked as a skill inside a Claude Code session, scheduling tools (CronCreate, Desktop, Cloud) are directly available.

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Budget Continue Skill

When the session budget warning fires, this skill presents a 4-option continuation menu and (when invoked inside a Claude Code session) can schedule the appropriate follow-up action using native Claude Code tools.

Invocation

claude-dev-stack budget continue

Or invoke this skill directly: /budget-continue

The 4 Options

Option 1: Remind me later (CronCreate)

Creates a one-shot CronCreate reminder that fires in the current Claude Code session after a delay.

When the user selects this option inside a Claude Code session:

Use CronCreate to schedule a reminder:
  Title:    "Resume GSD session — budget warning"
  Prompt:   "/budget-continue"
  Schedule: "+1h"  (or user-chosen delay)
  Repeat:   false

Option 2: Auto-continue locally (Desktop task)

Creates a Desktop task that fires on the local machine after a delay and runs the GSD resume workflow.

When the user selects this option inside a Claude Code session:

Use the Desktop task tool:
  Prompt:   "/gsd-resume-work"
  Schedule: "+1h"  (or user-chosen delay)

Note: The machine must be on when the task fires. STATE.md is read to determine what to resume.

Option 3: Auto-continue in cloud (Cloud task)

Creates a Cloud task that runs on Anthropic infrastructure. Performs a fresh git clone and runs the GSD resume workflow autonomously — works even when the local machine is off.

When the user selects this option inside a Claude Code session:

Use the Cloud task tool:
  Repo:     (git remote origin URL — auto-detected)
  Prompt:   "/gsd-resume-work"
  Schedule: "+1h"  (or user-chosen delay)

Note: All state must be committed to git. GSD guarantees this via STATE.md.

Option 4: Continue now

No scheduling action. Prints a message to continue with the current session. Useful if the user decides to keep working and address the budget limit later.

What the scheduled task runs

Both Desktop and Cloud tasks run /gsd-resume-work, which reads .planning/STATE.md:

  • If stopped_at is present: resumes from that point using resume_file as context
  • If no stopped work: runs maintenance tasks (check PRs, /gsd-next, /gsd-health)

The loop.md template (if installed to .claude/loop.md) provides the full maintenance loop instructions for scheduled tasks.

Notes

  • Hooks cannot interactively invoke Claude Code tools — hence the CLI command for manual invocation.
  • When invoked as a skill inside a Claude Code session, scheduling tools (CronCreate, Desktop, Cloud) are directly available.
  • The budget warning message includes: Run: claude-dev-stack budget continue as a reminder.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.