Overview
- Skill Key
- brucey0017-cloud/context-guardian
- Author
- brucey0017
- Source Repo
- openclaw/skills
- Version
- 1.0.1
- Source Path
- skills/brucey0017-cloud/context-guardian
- Latest Commit SHA
- 3186bb371d2e50a84c778e572c1332b312f11768
Proactive context monitoring with smart 3-level alerts. Know when to restart before quality degrades.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 context-guardian 技能。 若已安装,则直接安装 context-guardian 技能。
# Context Guardian 🛡️ **Your context guardian. Alerts before errors happen.** Proactive context monitoring that warns you at 60%, 70%, and 85% usage — before context pollution causes errors and hallucinations. --- ## Why You Need This **The Problem:** - Long conversations lead to context pollution - Quality degrades silently as context fills up - You don't know when to restart until it's too late - Errors and hallucinations increase after ~70% usage **The Solution:** - Continuous monitoring of context usage - Smart 3-level alerts (⚠️ 60%, 🟠 70%, 🔴 85%) - Actionable suggestions at each level - Prevents duplicate alerts --- ## Quick Start ### For Agents: Heartbeat Integration When you receive a heartbeat poll, include this check: 1. Call `session_status` tool to get current context usage 2. Parse the context percentage from the output 3. Compare against thresholds: 60% (warning), 70% (danger), 85% (critical) 4. If threshold exceeded and not a duplicate alert, display the appropriate alert message 5. Update state file to track alert history **Implementation:** ``` During heartbeat: 1. Get context usage from session_status 2. Check if usage >= 60%, 70%, or 85% 3. Load state from memory/context-guardian-state.json 4. Determine if alert should be sent (prevent duplicates) 5. If yes, display alert and update state ``` ### For Users: Enable in HEARTBEAT.md Add to your `HEARTBEAT.md`: ```markdown ## Context Monitoring - Check context usage - Alert if thresholds exceeded (60%, 70%, 85%) ``` The agent will automatically handle the rest. --- ## How It Works ### Monitoring The skill calls `session_status` to check your current context usage percentage. ### Alert Levels **⚠️ Warning (60%)** ``` ⚠️ Context: 60% Getting full. Consider wrapping up or starting fresh soon. ``` **🟠 Danger (70%)** ``` 🟠 Context: 70% Pollution risk rising. Recommend: • Finish current task • Start new session for next task • Or compress with context-optimizer ``` **🔴 Critical...
# Context Guardian 🛡️ **Your context guardian. Alerts before errors happen.** Proactive context monitoring with smart 3-level alerts (60%, 70%, 85%). Know when to restart before quality degrades. ## Features - 🛡️ **Proactive protection** against context pollution - 📊 **Real-time monitoring** with zero overhead - 🚨 **Smart 3-level alerts** (60%, 70%, 85%) - 🔧 **Highly configurable** thresholds and alert styles - 🤝 **Integrates** with context-optimizer and context-recovery ## Quick Start 1. Install: ```bash clawhub install context-guardian ``` 2. Add to `HEARTBEAT.md`: ```markdown ## Context Monitoring - Check context usage via context-guardian ``` 3. Done! You'll get alerts when context usage reaches thresholds. ## Why You Need This Long conversations lead to context pollution. Quality degrades silently as context fills up. You don't know when to restart until it's too late. Context Guardian monitors your context usage and alerts you **before** errors happen: - ⚠️ **60%** - Warning: Consider wrapping up - 🟠 **70%** - Danger: Finish current task, start fresh - 🔴 **85%** - Critical: High error risk, restart NOW ## Documentation See [SKILL.md](SKILL.md) for full documentation. ## License MIT
0xnyk
X Intelligence CLI — search, monitor, analyze, and engage on X/Twitter. TypeScript + Bun. AI agent skill.
heyixuan2
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).
jackculpan
Track flight prices from Google Flights with this OpenClaw skill. Search routes, monitor prices, and get alerts when prices drop.
openclaw-trade
openclaw trading assistant| openclaw trading skill | nof1.ai & openclaw [moltbot] collaboration | We get the best practices from alpha arena trading seasons and bring it to clawdbot All top AI agents, realtime monitoring and news research, gather info from private insiders and many other! Using Hyperliquid API.
xquik-dev
X (Twitter) automation skill for AI coding agents. Tweet search, user lookup, follower/following extraction, media download, reply/retweet/quote extraction, 40+ tools, account monitoring & trending topics. REST API, MCP server, HMAC webhooks. Works with Claude Code, Cursor, Codex, Copilot, Windsurf & 40+ agents.
mohsinkhadim59
Step-by-step guides for installing and running OpenClaw, an open-source AI agent, on Mac, Linux VPS, and AWS covering setup, security, messaging channels, Google integration, skills, and monitoring.