Analyze Trajectory
yologdev/yoyo-evolve
Diagnoses a recurring failure such as a stuck task, repeated CI error or frequent reverts by sending sub-agents through the logs and returning one root-cause diagnosis.
UTILITY SKILL — Two-mode context-window management. An agent skill from jonathan-vella/apex.
$ npx skills add jonathan-vella/apex --skill apex-context-management -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install jonathan-vella/apex apex-context-management --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/jonathan-vella/apex.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/apex-context-management .claude/skills/apex-context-management && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "apex-context-management" agent skill from https://github.com/jonathan-vella/apex/tree/main/.github/skills/apex-context-management into .claude/skills/apex-context-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "apex-context-management", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/jonathan-vella/apex/tree/main/.github/skills/apex-context-managementType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add jonathan-vella/apex --skill apex-context-management -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install jonathan-vella/apex apex-context-management --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jonathan-vella/apex.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/apex-context-management .agents/skills/apex-context-management && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "apex-context-management" agent skill from https://github.com/jonathan-vella/apex/tree/main/.github/skills/apex-context-management into .agents/skills/apex-context-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "apex-context-management", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jonathan-vella/apex --skill apex-context-management -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install jonathan-vella/apex apex-context-management --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jonathan-vella/apex.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/apex-context-management .cursor/skills/apex-context-management && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "apex-context-management" agent skill from https://github.com/jonathan-vella/apex/tree/main/.github/skills/apex-context-management into .cursor/skills/apex-context-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "apex-context-management", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/jonathan-vella/apex.git --path .github/skills/apex-context-management--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add jonathan-vella/apex --skill apex-context-management -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install jonathan-vella/apex apex-context-management --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jonathan-vella/apex.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/apex-context-management .gemini/skills/apex-context-management && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "apex-context-management" agent skill from https://github.com/jonathan-vella/apex/tree/main/.github/skills/apex-context-management into .gemini/skills/apex-context-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "apex-context-management", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install jonathan-vella/apex apex-context-managementInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add jonathan-vella/apex --skill apex-context-management -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/jonathan-vella/apex.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/apex-context-management .github/skills/apex-context-management && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "apex-context-management" agent skill from https://github.com/jonathan-vella/apex/tree/main/.github/skills/apex-context-management into .github/skills/apex-context-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "apex-context-management", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jonathan-vella/apex --skill apex-context-management -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install jonathan-vella/apex apex-context-management --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jonathan-vella/apex.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/apex-context-management .opencode/skills/apex-context-management && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "apex-context-management" agent skill from https://github.com/jonathan-vella/apex/tree/main/.github/skills/apex-context-management into .opencode/skills/apex-context-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "apex-context-management", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
apex-context-managementUTILITY SKILL — Two-mode context-window management. An agent skill from jonathan-vella/apex.
Apex Context Management is an agent skill from jonathan-vella/apex. UTILITY SKILL — Two-mode context-window management. RUNTIME: artifact compression (full/summarized/minimal) used by orchestrator and codegen agents. AUDIT: post-mortem analysis of Copilot debug logs (token profiling, redundancy + hand-off gap detection) used by 11-Context Optimizer. WHEN: "context optimization", "token budget", "runtime compression", "log parsing". DO NOT USE FOR: infra, IaC code, deployments.
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts and reference files (for example `references/analysis-methodology.md`, `references/audit-setup.md` and `references/compression-templates.md`). Compatibility notes: Audit mode requires Python 3.14 for log parser script
It sits in Agent Workflows, covering Context engineering. The repository describes itself as: APEX turns Azure platform engineering requirements into verified, deploy-ready IaC — powered by GitHub Copilot agents, real-time pricing, and built-in compliance. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit b8e5908. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Audit mode requires Python 3.14 for log parser script
From compatibility in the SKILL.md frontmatter.
Apex Context Management loads about 1.8k tokens when it runs, and up to ~16k if it reads all its reference files. Until then it costs about 110 tokens; SKILL.md has 595 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from jonathan-vella/apex at commit b8e5908, republished under its MIT licence (© jonathan-vella). 595 words, ~1,788 tokens.
.claude/skills/apex-context-management/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.Unified context-window management with two distinct lifecycles:
The two modes do not depend on each other — pick the section that matches your need.
Replaces the legacy
context-shreddingskill.
| Tier | Context Usage | Strategy |
|---|---|---|
full | < 60% | Load entire artifact — no compression |
summarized | 60-80% | Load key H2 sections only |
minimal | > 80% | Load compact decisions; retain required safety evidence losslessly |
Percentages are advisory; absolute input-token counts override them.
GPT-6 Sol/Luna, GPT-6.1 Sol and GPT-5.6 Terra hard-checkpoint at ≥300K input; Claude Opus 5.5, Claude Sonnet 5.5 and MAI-Code at ≥160K. When
hit, emit a compaction message and prefer the minimal artifact tier.
Required missing guidance and safety evidence must still be recovered.
These are repository trip-wires, not verified model API limits; use the
active harness limit when known and do not infer it from a model name.
Full per-model table, checkpoint procedure, and
background context (nordic-foods saturation event) in
references/hard-checkpoints.md.
references/compression-templates.md1. Estimate current context usage (rough: 1 token ≈ 4 chars)
2. Check the active harness model limit; if unavailable, report it as unknown
3. Calculate usage percentage and check hard-checkpoint table
4. Select tier:
< 60% → full (no compression needed)
60-80% → summarized (key sections only)
> 80% → minimal (decision summaries only)
5. Load the artifact tier; skills remain single-tier and safety inputs remain completeSkills are single-tier — one file per skill, no digest / minimal variants.
Reuse each SKILL.md while unchanged and available in context; reload missing
required guidance after compaction, edits, or a new chat. Defer references/*.md until
the SKILL.md body explicitly points to one. Full protocol in
references/skill-loading.md.
Replaces the legacy
context-optimizerskill.
Structured methodology for auditing how GitHub Copilot agents consume their context window. Identifies waste, recommends hand-off points, and produces prioritised optimisation reports.
applyTo glob patternsCapabilities cover log parsing, turn-cost profiling, redundancy detection,
hand-off gap analysis, instruction audit, and structured report generation.
Prerequisites: Python 3.14, VS Code Copilot Chat debug logs, and
.github/agents/*.agent.md (or equivalent). Full capability matrix,
portability checklist, and debug-log discovery in
references/audit-setup.md.
For the complete methodology — log format reference (ccreq line parsing,
request types, latency heuristics), Steps 1-5 (log parsing → optimisation
recommendations), common optimisation patterns, and baseline comparison
workflow (Phase 0 + Phase 6) — read
references/analysis-methodology.md.
See templates/optimization-report.md
for the full output template.
Operational procedures (load only the requested one):
For definition scorecards, static authoring-asset assessments, and their design history,
use apex-agent-authoring. This skill owns
log capture, context audit, and runtime compression, not authoring assessment procedures.
Load on demand:
| Reference | Mode | When to Load |
|---|---|---|
references/compression-templates.md | Runtime | Per-artifact H2 sections per tier |
references/hard-checkpoints.md | Runtime | Hitting a model token threshold or wiring agent checkpoint logic |
references/skill-loading.md | Runtime | Multi-skill loads / clarifying single-tier load protocol |
references/token-estimation.md | Audit | Estimating token counts for context optimisation |
references/analysis-methodology.md | Audit | Log format, 5-step methodology, optimisation patterns, baseline comparison |
references/audit-setup.md | Audit | Prerequisites, enabling debug logs, audit capabilities, portability |
scripts/parse-chat-logs.py | Audit | Log parser producing structured JSON |
templates/optimization-report.md | Audit | Report output template |
© jonathan-vella, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 11 other files (scripts, references) in .github/skills/apex-context-management of jonathan-vella/apex.
Open the folder on GitHubat commit b8e5908
Apex Context Management next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Apex Context Management this skilljonathan-vella/apex | 217 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Analyze Trajectoryyologdev/yoyo-evolve | 1.9k | — | ~3.6k | Automated safety check: Pass | MIT | |
| AWS Secrets Manageraws/agent-toolkit-for-aws | 2.8k | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Context Mode Output Sandboxmksglu/context-mode | 26k | — | ~4.1k | Automated safety check: Pass | Custom licence | |
| Memori Long-Term MemoryMemoriLabs/Memori | 17k | — | ~2k | Automated safety check: Notes | Custom licence | |
| Picoclaw Skill Creatorsipeed/picoclaw | 30k | — | ~4.4k | Automated safety check: Pass | MIT |
yologdev/yoyo-evolve
Diagnoses a recurring failure such as a stuck task, repeated CI error or frequent reverts by sending sub-agents through the logs and returning one root-cause diagnosis.
aws/agent-toolkit-for-aws
Secret safety for AWS Secrets Manager, secret management, credentials, API keys, tokens, and passwords.
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
MemoriLabs/Memori
Connects Claude Code to Memori Cloud for long-term memory, recalling stored context before substantive replies and saving new context afterward.
sipeed/picoclaw
Guidance for creating, updating and reviewing Picoclaw skills, from the SKILL.md structure to organizing bundled scripts, references and assets.
cocoindex-io/cocoindex-code
Semantic code search and index management with the ccc CLI: the agent initializes, indexes and queries the project by concept, filtering by language or path.
jonathan-vella/apex
WORKFLOW SKILL — Debug Azure production issues: Container Apps, Functions, App Service, AKS, VMs and messaging, with KQL log analysis.
jonathan-vella/apex
ANALYSIS SKILL — Azure Policy discovery: effective assignments (incl.
jonathan-vella/apex
UTILITY SKILL — Python diagram generation for Azure architectures, WAF/cost/compliance charts, ERDs, swimlanes, timelines, and wireframes.
jonathan-vella/apex
WORKFLOW SKILL — Manual-only discovery and import of existing Azure resources into Terraform management.
jonathan-vella/apex
ANALYSIS SKILL — Manual-only audit of Anthropic Claude Opus 5.5 / Sonnet 5.5 and OpenAI GPT-6 / GPT-5.6 prompting guidance and APEX conventions.
jonathan-vella/apex
WORKFLOW SKILL — Creates, restructures, and audits GitHub Copilot .agent.md and .prompt.md files with correct frontmatter, handoffs, model policy, context budgets, and validation.
Categories
UTILITY SKILL — Two-mode context-window management. An agent skill from jonathan-vella/apex. Apex Context Management is an agent skill from jonathan-vella/apex. UTILITY SKILL — Two-mode context-window management.
Apex Context Management fits situations like: tasks that involve Context engineering.
Run `npx skills add jonathan-vella/apex --skill apex-context-management -a claude-code`. Or copy the skill folder (.github/skills/apex-context-management in jonathan-vella/apex) into .claude/skills/apex-context-management in your project. Claude Code loads it when a task matches its description.
Run `npx skills add jonathan-vella/apex --skill apex-context-management -a codex`. Or copy the skill folder (.github/skills/apex-context-management in jonathan-vella/apex) into .agents/skills/apex-context-management in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jonathan-vella/apex --skill apex-context-management -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/apex-context-management, .gemini/skills/apex-context-management, .github/skills/apex-context-management and .opencode/skills/apex-context-management in your project.
Going by SKILL.md and its folder, Apex Context Management needs Python for the scripts in its folder. Our summary lists: Python 3. Compatibility (from SKILL.md): Audit mode requires Python 3.14 for log parser script.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Apex Context Management is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 14k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Apex Context Management: Analyze Trajectory (yologdev/yoyo-evolve, 1.9k stars), AWS Secrets Manager (aws/agent-toolkit-for-aws, 2.8k stars), Context Mode Output Sandbox (mksglu/context-mode, 26k stars) and Memori Long-Term Memory (MemoriLabs/Memori, 17k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
jonathan-vella (a GitHub user) maintains it in jonathan-vella/apex, which has 217 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on October 10, 2026.
Source: jonathan-vella/apex on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.