context-engineer

Analyze workspace context files and generate token-usage optimization reports.

10|2|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/cacheforge-ai/cacheforge-skills --skill context-engineer-cacheforge-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-engineer
Source: https://github.com/cacheforge-ai/cacheforge-skills/tree/main/skills/context-engineer
Command: npx skills add https://github.com/cacheforge-ai/cacheforge-skills --skill context-engineer-cacheforge-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes and reduces context window overhead by auditing workspace state to optimize token usage for AI agents.

Core Features & Use Cases

  • Analyze and audit key workspace files (SKILL.md, SOUL.md, MEMORY.md, AGENTS.md, TOOLS.md) to identify token bloat, redundancy, and optimization opportunities.
  • Generate a comprehensive context engineering report with per-file breakdown, efficiency score, and actionable recommendations.
  • Compare before/after snapshots to quantify token savings and improved context utilization.

Quick Start

Run a workspace analysis with python3 skills/context-engineer/context.py analyze --workspace ~/.openclaw/workspace to generate a context report.

Frequently Asked Questions about context-engineer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize context window token usage for AI workspace files?

To optimize context window token usage, you can audit workspace files like SKILL.md, SOUL.md, MEMORY.md, AGENTS.md, and TOOLS.md to identify token bloat and redundancy. This process generates a report with efficiency scores and actionable recommendations to reduce overhead.

What is context engineering and how does it improve AI agent efficiency?

Context engineering is the process of analyzing workspace state files to identify token bloat and redundancy. It improves AI agent efficiency by generating per-file breakdowns, computing efficiency scores, and providing optimization recommendations to maximize available context utilization.

How do I audit my workspace context files for token bloat and redundancy?

You can audit workspace context files for token bloat by running an analysis script that parses files like MEMORY.md and AGENTS.md. The audit estimates token counts, identifies redundant content, and outputs a comprehensive report with actionable optimization guidance.

Do I need any external dependencies to run a context window analysis?

No external dependencies are required to run a context window analysis. The tool operates in a Python 3 standard library-only environment, parsing workspace files to estimate token counts and compute efficiency scores without needing additional packages.

Can I compare before and after snapshots to quantify token savings?

Yes, you can compare before and after snapshots to quantify token savings. By analyzing workspace context files at different points, the tool calculates improved context utilization and generates reports detailing the exact token reductions achieved.

What's the best way to reduce token overhead in OpenClaw contexts?

The best way to reduce token overhead in OpenClaw contexts is to analyze key workspace files like SKILL.md and TOOLS.md to find redundancy. The analysis generates per-file breakdowns and actionable recommendations to systematically eliminate unnecessary tokens.