BeClaude

usage-guard

New
3GitHub TrendingGeneralby shirley-xue-2025

Proactive 5h usage guard for Claude Code (macOS). Pause before extra wallet on long batch/subagent runs. Account-level window visibility. /usage-guard skill + daemon. Not affiliated with Anthropic.

First seen 6/12/2026

Summary

This skill provides a proactive usage guard for Claude Code on macOS, pausing execution before incurring extra wallet costs during long Fable 5 or subagent runs.

  • It helps developers control spending by automatically monitoring usage and prompting confirmation before continuing expensive operations.

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file

Add the configuration to .claude/skills/usage-guard.md

3
Invoke in Claude Code
/usage-guard

Use Cases

Prevent unexpected charges when running long automated agent workflows that might exceed budget.
Pause and review usage before continuing a complex multi-step task with subagents.
Avoid cost overruns during extended debugging sessions that spawn many subagent calls.
Get a usage checkpoint before executing a high-cost operation like a large code refactor.
Monitor cumulative token usage across multiple Claude Code sessions in a single day.
Enforce a spending limit by automatically pausing when usage approaches a threshold.

Usage Examples

1

/usage-guard start --threshold 5.00

2

/usage-guard status

3

Run a long analysis with usage guard enabled to avoid surprise costs.

View source on GitHub
agent

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is usage-guard?

This skill provides a proactive usage guard for Claude Code on macOS, pausing execution before incurring extra wallet costs during long Fable 5 or subagent runs. It helps developers control spending by automatically monitoring usage and prompting confirmation before continuing expensive operations.

How to install usage-guard?

To install usage-guard: create the skills directory (mkdir -p .claude/skills), then add the config to .claude/skills/usage-guard.md. Finally, /usage-guard in Claude Code.

What is usage-guard best for?

usage-guard is a community categorized under General. It is designed for: agent. Created by shirley-xue-2025.

What can I use usage-guard for?

usage-guard is useful for: Prevent unexpected charges when running long automated agent workflows that might exceed budget.; Pause and review usage before continuing a complex multi-step task with subagents.; Avoid cost overruns during extended debugging sessions that spawn many subagent calls.; Get a usage checkpoint before executing a high-cost operation like a large code refactor.; Monitor cumulative token usage across multiple Claude Code sessions in a single day.; Enforce a spending limit by automatically pausing when usage approaches a threshold..