Agent skill

context-engineering

Context window monitoring and budget management. Keeps orchestrator at 15-30% context usage while subagents get full 200k tokens. Provides warnings at thresholds, context-aware summarization triggers, and wave-level budget planning.

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexread-onlyMIT
Install
npx skills add a5c-ai/babysitter --skill context-engineering --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Version: 1.0.0
Declared author: babysitter-sdk
Allowed tools: ReadBash(*)
Path: library/methodologies/gsd/skills/context-engineering/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

- **Subagents**: Get full 200k tokens of fresh context per spawn. - **Context budget**: Plan how much context each wave of execution will consume. This skill provides: - Context window usage estimation for the current session - Warning injection at configurable thresholds (70%, 85%, 95%) - Orchestrator budget enforcement - Subagent context allocation recommendations - Context-aware summarization triggers - Stale context detection and pruning suggestions - Wave-level context budget planning ## Capabilities ### 1. Context Usage Estimation Estimate current context window usage based on conversation history size: ``` Tokens used: ~45,000 / 200,000 Usage: 22.5% Status: HEALTHY Next threshold: 70% (warning) at ~140,000 tokens ``` Estimation methods: - Character count / 4 (rough approximation) - Tool output tracking (each tool call adds to context) - File read accumulation tracking ### 2. Threshold Warnings Inject warnings at configurable thresholds: ``` [CONTEXT 70%] Warning: Context window at 70%. Consider summarizing completed work. [CONTEXT 85%] Critical: Context window at 85%. Spawn new subagent for remaining work. [CONTEXT 95%] Emergency: Context window at 95%. Wrap up immediately.

What's inside
Steps it walks through
  1. Capabilities
  2. 1. Context Usage Estimation
  3. 2. Threshold Warnings
  4. 3. Orchestrator Budget Enforcement
  5. 4. Subagent Context Allocation
  6. 5. Context-Aware Summarization
  7. 6. Stale Context Detection
  8. 7. Wave-Level Budget Planning
  9. Tool Use Instructions
  10. Checking Context Usage
  11. Injecting Warnings
  12. Planning Wave Budgets
  13. Process Integration
  14. Output Format
Ships with 1 file
  • README.md
More from babysitter
All skills →
About this skill
What does the context-engineering skill do?

Context window monitoring and budget management. Keeps orchestrator at 15-30% context usage while subagents get full 200k tokens. Provides warnings at thresholds, context-aware summarization triggers, and wave-level budget planning.

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill context-engineering --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going