ck:context-engineering

Analyze context payloads and generate compaction steps for LLM workflows.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/mafvietnam/mafapp --skill ck-context-engineering-mafvietnam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:context-engineering
Source: https://github.com/mafvietnam/mafapp/tree/main/.claude/skills/context-engineering
Command: npx skills add https://github.com/mafvietnam/mafapp --skill ck-context-engineering-mafvietnam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Context usage management for LLM tasks, reducing unnecessary tokens and avoiding degradation.

Core Features & Use Cases

  • Guides context budgeting and compaction strategies for single and multi-agent workflows.
  • Provides references on memory systems and context optimization.
  • Supports evaluation of context health across token limits and usage quotas.

Quick Start

Provide a sample context payload to generate a health analysis and suggested compaction steps.

Frequently Asked Questions about ck:context-engineering

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

FAQPage Schema
How do I reduce wasted tokens in my LLM agent workflows?

To reduce wasted tokens in LLM workflows, you can apply context budgeting and safe compaction strategies to manage memory architectures across single- and multi-agent systems. This optimizes overall context window usage.

What is context window degradation and how do I evaluate it?

Context window degradation occurs when LLM performance drops due to exceeding token limits or inefficient memory usage. You can evaluate context health by generating a payload analysis to measure utilization and detect degradation.

How do I perform safe context compaction for multi-agent memory systems?

Safe context compaction for multi-agent memory systems is performed by applying token budgeting strategies and using included scripts to measure utilization. This ensures memory architectures are managed without losing critical workflow state.

Can I analyze a sample context payload to detect LLM token inefficiency?

Yes, you can analyze a sample context payload to detect LLM token inefficiency. Providing a sample payload generates a health analysis that suggests compaction steps and identifies usage waste across your token quotas.

Why does my multi-agent LLM system lose context during long tasks?

Multi-agent LLM systems lose context during long tasks due to unmanaged token limits and memory degradation. Implementing context budgeting and safe compaction strategies helps maintain context health and prevents usage overflow.

What is the best way to manage context budgets across multiple LLM agents?

The best way to manage context budgets across multiple LLM agents is to measure utilization and apply safe compaction strategies. This approach optimizes memory architectures and prevents context window degradation.