Durable context maintenance
Skill markoblogo/abvx-agent-skills/skills/durable-context-maintenance
Keep repo-local agent context accurate after code and workflow changes. Use when docs/ai, AGENTS.md, runbooks, or context entrypoints have drifted from the codebase, after major feature work, after architecture changes, or when an agent keeps rediscovering the same repo facts. Refresh durable context, split groups only when needed, and preserve compact read order.From its SKILL.md
npx -y skills add markoblogo/abvx-agent-skills --skill durable-context-maintenanceAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.9 KB, 513 tokens by cl100k_base, as published. Nobody here has run it
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.mdwhen 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
- Read the current context entrypoints first.
- Inspect the code or workflow changes that may have invalidated them.
- Classify each affected doc:
- still accurate;
- stale;
- missing a new topic;
- too large and should split;
- duplicated elsewhere.
- Update only the owning durable docs.
- If discovery paths changed, update the top-level routing file too.
- Validate that the revised read order is still small and obvious.
Update Triggers
Refresh durable context when:
- architecture or module boundaries changed;
- test commands or environments changed;
- a new durable workflow appeared;
- agents repeatedly rediscover the same repo facts;
- a compact startup file points to stale or renamed docs.
Splitting Rules
- Split a topic when it becomes too large or multiple sessions need only one slice.
- Do not split just to look organized.
- Keep one clear entrypoint per group with:
- scope;
- read-when rules;
- source paths;
- update triggers.
Guardrails
- Do not turn task history into durable context.
- Do not duplicate code comments, README text, and
docs/ai/prose unless the duplication serves routing. - Do not preserve stale guidance just because it reads well.
- After context-organization changes, mention what should be read first next time.
Final Report
Include what changed in the repo, which context docs were refreshed, what stayed stable, and the new preferred read order.
What ships with it: 2 files
1.6 KB alongside SKILL.md
agents/
- openai.yaml228 B
- SKILL_CARD.md1.4 KB