context-budget-check

Validate Copilot configuration file sizes against context budget targets.

Updated Mar 4, 2026
One-click install
npx skills add https://github.com/vndkubi/bootstrap-toolkits --skill context-budget-check
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: context-budget-check
Source: https://github.com/vndkubi/bootstrap-toolkits/tree/main/.github/skills/context-budget-check
Command: npx skills add https://github.com/vndkubi/bootstrap-toolkits --skill context-budget-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Context budgets for Copilot configurations can balloon, causing high co-loading and degraded model performance. This skill verifies all generated or modified .github/ configuration files stay within defined size targets and flags oversize files for remediation.

Core Features & Use Cases

  • Validate per-file type sizes against target and maximum thresholds to prevent bloat.
  • Simulate worst-case co-loading scenarios and provide actionable insights.
  • Generate a clear compliance report with recommendations for trimming or rearchitecting content.

Quick Start

Run context-budget-check after generating or updating Copilot config files to produce a compliance report and recommended fixes.

Frequently Asked Questions about context-budget-check

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

FAQPage Schema
How do I check if Copilot configuration files exceed context budget limits?▼

To check Copilot configuration files against context budget limits, validate per-file type sizes for targets like copilot-instructions.md and SKILL.md, then generate a compliance report flagging oversized content for trimming or splitting.

What is a Copilot context budget and why does file size matter?▼

A Copilot context budget is the token limit for configuration files like .instructions.md and .agent.md. When file sizes balloon, they cause high co-loading and degrade model performance, making size validation essential.

How do I validate worst-case context loading for .github configurations?▼

Validate worst-case context loading for .github configurations by simulating co-loading scenarios across all modified files to measure total token impact and identify files that exceed maximum size thresholds.

When should I run a context budget validation on my Copilot configs?▼

Run context budget validation immediately after generating or updating any .github Copilot configuration files to ensure they stay within defined size targets before causing model performance degradation.

What should I do if my copilot-instructions.md file is too large?▼

If your copilot-instructions.md file is too large, use the compliance report recommendations to either trim unnecessary content or split the oversized file into smaller, focused configuration files.