Install any skill in seconds. Free to start, no credit card required.
Get Started Free →borghei/context-engine
Context management engine for AI coding agents.
Passed 18 of 22 test cases with the skill, and 8 of 22 without it.
and 13 more in the full report
10 fixed8 passed either way4 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
We need to analyze token usage and relevance across source files in `src/` to optimize our context budget. We are tempted to write a custom script using cloc or tiktoken. Assuming 'just draft it', which CLI tool from the toolkit should we run to analyze `src/` with a 128000 budget and receive JSON output?
| Checked | Without skill | With skill |
|---|---|---|
| Recommends executing context_analyzer.py on the src/ directory. | Missed | Passed |
| Includes the `--budget 128000` flag in the command execution. | Missed | Passed |
The instructions your model reads when the skill loads.
Context Engine provides production-grade patterns for managing what AI agents know, remember, and retrieve. It covers the full lifecycle: ingestion of project knowledge, optimal packing of context windows, persistent memory across sessions, and retrieval-augmented generation for large codebases. The difference between a useful agent and a hallucinating one is context management.
Before designing or analyzing, confirm these inputs. If any is unknown or vague, ASK — do not assume:
--budget and which packing strategy applies)Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.
| Tool | Purpose | Command |
|---|---|---|
context_analyzer.py | Analyze files/prompts for token usage, relevance, and optimization suggestions | python scripts/context_analyzer.py src/ --budget 128000 --json |
context_pruner.py | Prune low-relevance content, redundancy, and verbose patterns from context | python scripts/context_pruner.py src/main.py --aggressive --json |
memory_indexer.py | Index and search a memory/knowledge base with TF-IDF relevance scoring | python scripts/memory_indexer.py docs/ --query 'auth middleware' --top 5 |
test cases passed, vs 8 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.