efficientcontext/contextpilot/openclaw
Claude Code and agent skill by efficientcontext/contextpilot
- community
Checking that the SKILL.md file is still in the repository.
Optimize document ordering in LLM context for better retrieval performance
Install
npx vskill@latest install efficientcontext/contextpilot/openclawSKILL.md
ContextPilot Integration
You have ContextPilot enabled as a transparent proxy. All your LLM API requests are automatically routed through ContextPilot, which reorders documents in your context window for optimal retrieval performance.
What ContextPilot Does
When your request contains multiple documents (in system prompts or tool results), ContextPilot:
- Extracts documents from XML tags (
<documents>,<files>, etc.), numbered lists, separators, or markdown headers - Clusters documents by semantic similarity using hierarchical clustering
- Reorders documents to minimize attention distance between related content
- Reconstructs the request preserving the original format
Supported Document Formats
- XML tags:
<documents><document>...</document></documents>,<files><file>...</file></files> - Numbered:
[1] doc [2] doc [3] doc - Separator: docs separated by
---or=== - Markdown headers: sections split by
#or##headers
How to Verify
Check the X-ContextPilot-Result response header:
Configuration Headers
Send these headers with your API requests to control behavior:
| Header | Values | Default | |
|---|---|---|---|
X-ContextPilot-Enabled | true/false | true | |
X-ContextPilot-Mode | auto/xml_tag/numbered/separator/markdown_header | auto | |
X-ContextPilot-Scope | all/system/tool_results | all | |
X-ContextPilot-Alpha | float | 0.001 |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexamples/openclaw/SKILL.md
Popularity
- Repository stars
- 111
- Repository forks
- 6
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 22 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/efficientcontext/contextpilot/openclaw)