← All skills
Tencent SkillHub Β· AI

Optimize Context

Automatically monitors and optimizes conversation context to prevent prompt size errors by extracting key points and clearing excess history.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Automatically monitors and optimizes conversation context to prevent prompt size errors by extracting key points and clearing excess history.

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, task_processing_config.json, systems/context-monitor-config.json, systems/context-monitor.js, skills/context-optimizer/config.json, skills/context-optimizer/optimize.js

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 7 sections Open source page

Overview

This package contains two powerful OpenClaw skills for automated context management: Context Optimizer - Automatically optimizes conversation context to prevent "prompt too large" errors Task Processor - Handles large tasks by automatically splitting them into smaller subtasks

Files Included

skills/context-optimizer/ - Main skill directory with all implementation files commands/optimize-context.js - Command handler for context optimization commands/optimize-context.json - Command configuration for context optimization commands/process-task.js - Command handler for processing large tasks commands/process-task.json - Command configuration for task processing systems/context-monitor.js - Background context monitoring system systems/context-monitor-config.json - Configuration for context monitoring task_processing_config.json - Global task processing configuration

Installation Instructions

Extract this package to your OpenClaw workspace: cd ~/.openclaw/workspace tar -xzf /path/to/context-optimizer-skill.tar.gz Install dependencies (if any are needed): cd ~/.openclaw/workspace/skills/context-optimizer npm install The skills should now be available in your OpenClaw system with: /optimize-context command for manual context optimization /process-task command for handling large tasks with automatic splitting

Context Optimizer

Automatically monitors conversation length Triggers optimization when message count exceeds thresholds Extracts key points and facts while clearing old context Prevents "prompt too large" errors

Task Processor

Detects large tasks that exceed token limits Automatically splits large tasks into smaller subtasks Processes subtasks sequentially while maintaining context Integrates with context optimization to prevent overflow

Automatic Monitoring

Continuous background monitoring of context length Configurable thresholds for automatic optimization Seamless integration with normal conversation flow

Configuration

Adjust settings in task_processing_config.json Modify thresholds for message counts and token limits Configure timing for automatic optimization triggers The skills are ready to use immediately after installation!

Category context

Agent frameworks, memory systems, reasoning layers, and model-native orchestration.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
3 Config2 Scripts1 Docs
  • SKILL.md Primary doc
  • skills/context-optimizer/optimize.js Scripts
  • systems/context-monitor.js Scripts
  • skills/context-optimizer/config.json Config
  • systems/context-monitor-config.json Config
  • task_processing_config.json Config