Agent skill
size_guard
Enforce line budgets and rotate or split large context files.
Install this agent skill to your Project
npx add-skill https://github.com/CheekyCodexConjurer/quant-lab/tree/main/.codex/skills/size_guard
Metadata
Additional technical details for this skill
- short description
- Line budget guard
SKILL.md
Purpose
Keep context-heavy files within line limits for fast loading.
Steps
- Read
.agent-docs/memory/LINE_BUDGETS.yaml. - Rotate or split files that exceed budgets.
- Update indexes to reference new parts.
- Record the action in the Action Log.
Guardrails
- Preserve history by archiving before splitting.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
action_logger
Keep an audit trail of changes, commands, and verification.
size_guard
Enforce line budgets and rotate or split large context files.
analyze_repo_capabilities
Detect repo tooling and patterns, then record a dynamic manifest.
safety_validation
Validate changes against .agentignore before commit.
safe_refactor_migration
Plan and execute large refactors with shadow mode and rollback.
command_guard
Enforce .agentpolicy rules before executing commands.
Didn't find tool you were looking for?