context-engineering — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited context-engineering (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
The context window is a budget, not a bucket. Every token must earn its place.
Models do not get smarter with more context — past a point they get worse. Irrelevant, stale, or redundant tokens cause context rot (degraded recall) and distraction (the model fixates on noise). Curate aggressively: the goal is the smallest set of high-signal tokens that lets the model succeed.
| Type | What it is | Sourcing strategy |
|---|---|---|
| Instructions | System prompt, role, rules, output format | Preload (stable, always needed) |
| Knowledge | Retrieved docs, facts, code | Just-in-time (fetch per query) |
| Tools | Tool/function schemas available | Scope to the task; don't expose all |
| Memory | Persistent cross-session facts | Ranked recall (importance + recency) |
| History | Prior turns in this session | Compress as it grows |
Getting the right knowledge in matters more than getting more in.
| Preload (put it in now) | Just-in-time (fetch when needed) |
|---|---|
| Small, stable, always-relevant | Large, conditional, or rarely needed |
| System rules, output schema, key conventions | Document bodies, search results, file contents |
| Core tool schemas | Niche tools gated behind a router |
Default to just-in-time. Preloading large content "to be safe" is the most common cause of context bloat. Give the agent the ability to fetch (a search tool, file reader) rather than the fetched payload.
Persistent project memory is the long-term store; working context is the active window. A memory store ranked by importance and recency decides what surfaces:
importance × recency and inject only the top entries — not the whole store.memory-system skill implements — load its ranked index, not every topic file.As history grows, replace verbose spans with dense summaries that preserve decisions and references.
context-compression skill for the phase-summary and checkpoint formats.| Problem | Cause | Fix |
|---|---|---|
| Model ignores buried instruction | Lost in the middle of long context | Put critical rules at start AND end |
| Answers degrade as context grows | Context rot from accumulated noise | Compress history; prune low-signal tokens |
| Model fixates on irrelevant detail | Distraction from off-topic chunks | Rerank harder; drop low-score retrieval |
| Stale fact used as current | Outdated memory/cache in window | Recency-filter; expire and refresh |
| Tool misuse / wrong tool | Too many tools exposed at once | Scope tools to the task; route to a subset |
| Contradictory guidance | Conflicting sources in context | Deduplicate; establish source precedence |
<instructions>, <retrieved_docs>, <history>) so the model can tell them apart.1. Start with the budget and the fixed instructions.
2. Pull relevant memory → rank by importance × recency → inject top-N.
3. Retrieve knowledge → rerank → dedupe → keep top-K within budget.
4. Add compressed history (summaries for old phases, verbatim for active).
5. Expose only the tools this task needs.
6. Check token count vs budget; if over, trim lowest-signal section.
7. Verify critical rules sit at the edges, not the middle.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.