ContextGuard

Community

Optimize LLM context usage and cost.

Authorsky770825
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps manage and optimize the token usage within LLM conversations, preventing excessive costs and ensuring efficient context window utilization.

Core Features & Use Cases

  • Context Monitoring: Real-time tracking of token consumption and usage percentage.
  • Smart Compaction Suggestions: Recommends when and how to compact conversation history.
  • Token Optimization: Provides actionable advice to reduce token count.
  • Cost Dashboard: Visualizes token usage and estimated costs.
  • Use Case: If your LLM session is approaching its token limit, ContextGuard will alert you and suggest actions like summarizing older messages or starting a new session to avoid errors and save costs.

Quick Start

Check the current context usage status by typing /context status.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ContextGuard
Download link: https://github.com/sky770825/openclaw-console-hub/archive/main.zip#contextguard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.