durable-context-maintenance

durable-context-maintenance is a skill for Codex from markoblogo/abvx-agent-skills. It costs 81 tokens per session (870 once invoked), scanned A, original, MIT.

A maintenance guide for keeping repository instructions and reference documents accurate after the code or development process changes. This includes files such as AGENTS.md, architecture notes, test instructions, and deployment guides.

In plain words
What is it for?
Reviewing changed code against repository context, finding stale or missing guidance, and updating the right documents. It covers context stored in locations such as docs/ai/ and process/context/.
Why use it?
It prevents coding agents from following outdated instructions or repeatedly rediscovering how the repository works. It also helps decide whether a lesson belongs in documentation, memory, a checklist, a skill, a script, or an evaluation.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md.

Good fit Reviewing changed code against repository context, finding stale or missing guidance, and updating the right documents. It covers context stored in locations such as docs/ai/ and process/context/.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/markoblogo/abvx-agent-skills/durable-context-maintenance
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add markoblogo/abvx-agent-skills --skill durable-context-maintenance
Clone the repo
git clone --depth 1 https://github.com/markoblogo/abvx-agent-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for durable-context-maintenance

README.md
[![agentmods](https://agentmods.dev/badge/skills/markoblogo/abvx-agent-skills/durable-context-maintenance/github.svg)](https://agentmods.dev/skills/markoblogo/abvx-agent-skills/durable-context-maintenance)
Your own site
<a href="https://agentmods.dev/skills/markoblogo/abvx-agent-skills/durable-context-maintenance"><img src="https://agentmods.dev/badge/skills/markoblogo/abvx-agent-skills/durable-context-maintenance/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for durable-context-maintenance

Your own site · 80×15
<a href="https://agentmods.dev/skills/markoblogo/abvx-agent-skills/durable-context-maintenance"><img src="https://agentmods.dev/badge/skills/markoblogo/abvx-agent-skills/durable-context-maintenance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 870 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.00870
Opus 5 $0.00041 $0.00435
Sonnet 5 $0.00016 $0.00174
Haiku 4.5 $0.00008 $0.00087

Measured yesterday against content hash 7540162dbede, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

durable-context-maintenance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/durable-context-maintenance/SKILL.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Durable Context Maintenance

Durable context should evolve with the repo. Otherwise every session pays for stale or missing knowledge.

Goal

Keep repo-local context accurate, compact, and routable after the codebase changes.

What Counts As Durable Context

  • repo architecture summaries;
  • test and verification docs;
  • deployment or infrastructure flow notes;
  • context entrypoints under docs/ai/, process/context/, or equivalent;
  • startup guidance in AGENTS.md when it describes stable repo behavior.

If a lesson may belong in memory, a checklist, SKILL.md, a script, or an eval instead of repo docs, run agent-learning-layer-triage first and update durable context only when the chosen layer is repo-local documentation.

If durable context is becoming too expensive to resend but still needs repeated factual recall, use doc-to-lora-evaluator to decide whether parametric document memory is worth testing instead of simply adding more startup prose.

Maintenance Workflow

  1. Read the current context entrypoints first.
  2. Inspect the code or workflow changes that may have invalidated them.
  3. Classify each affected doc:
    • still accurate;
    • stale;
    • missing a new topic;
    • too large and should split;
    • duplicated elsewhere.
  4. Update only the owning durable docs.
  5. If discovery paths changed, update the top-level routing file too.
  6. Validate that the revised read order is still small and obvious.

Task Closeout Audit

After meaningful project work, check for context drift and retained leftovers. This audit produces proposals; it does not expand the task's authority.

  • docs_drift: identify README, runbook, or context entries invalidated by the change;
  • agent_rules: note relevant rules used or skipped with a reason;
  • memory_handoff: propose a handoff when another session needs state; update memory only when explicitly requested by the user;
  • leftovers: list temporary files, debug scripts, generated artifacts, and old plans for keep/remove decisions;
  • risk_color: green for recoverable temporary data, yellow for user/project data needing confirmation, red for protected system/runtime data excluded from cleanup proposals;
  • closeout_receipt: record changed, verified, skipped_with_reason, and follow_up.

Read the full file on GitHub · 91 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +18 lines 7540162dbede
  2. 9d ago First seen · 73 lines · 81 tokens per session scan A 3ee2d86007e4

Subscribe to this mod's changes

durable-context-maintenance is a skill published in the GitHub repository markoblogo/abvx-agent-skills (16 stars, last pushed today), licensed MIT. It adds 81 tokens to every session and 870 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.