Agent skill
context_compactor
Compress long-run context into handoff, backlog, and action logs.
Install this agent skill to your Project
npx add-skill https://github.com/CheekyCodexConjurer/quant-lab/tree/main/.agent-docs/templates/.codex/skills/context_compactor
Metadata
Additional technical details for this skill
- short description
- Compact long-run context
SKILL.md
Purpose
Keep context small and recoverable across long sessions.
Steps
- Summarize current state into
HANDOFF.md. - Rotate or trim
AUTO_CONTEXT.md. - Update
BACKLOG.mdwith open items. - Respect
LINE_BUDGETS.yamllimits. - Record a compact Action Log entry.
Guardrails
- Do not remove evidence or required references.
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?