maintaining-agent-context SKILL.md skillA
maintaining-agent-context from sentimony/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add sentimony/skills/maintaining-agent-context@v1.9.1Pins v1.9.1 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- sentimony/skills
- Path
plugins/skills/skills/maintaining-agent-context/SKILL.md- Versions recorded
- 5
- Latest version
- v1.9.1, committed Oct 27, 2026
- First version recorded
- Oct 10, 2026
- Size
- 23,387 bytes
- Repository stars
- 6
- License
- MIT
You MUST use this when creating, auditing, optimizing, or maintaining repository agent instructions - AGENTS.md, CLAUDE.md, .claude/rules/, and instruction-related SKILL.md content - covering context architecture, always-loaded context cost, stale, duplicated, or conflicting instructions, and keeping agent memory aligned with the codebase. Not for human-facing documentation or skill authoring.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Maintaining Agent Context Audit, improve, and maintain the whole context architecture a repository presents to coding agents: every instruction file, every conditional rule, every linked doc, and the pointers that connect them. The unit of analysis is the architecture, not a single CLAUDE.md - most real problems (duplication, contradiction, wasted always-loaded tokens) live between files, not inside one. The audit is read-only until the user approves changes: Phases 1-4 read files and may use local read-only shell tools to inspect files and metadata. They never execute project commands or other repository-controlled commands - no builds, deploys, migrations, cleanups, tests, linters, hooks, or even `--help` invocations, since any of those can run repository-controlled code. Configuration, package scripts, and CI definitions are the source of truth for what commands exist, and reading them is always safe. ## Security Model Distinguish two kinds of instruction content. Files the host platform already loaded as active context before this skill fired (the session's own AGENTS.md or CLAUDE.md chain) remain live instructions with whatever priority the platform gives them - this …
Read the whole file at its exact version.
How to install
mdr add sentimony/skills/maintaining-agent-context@sha256:3a59b11b78bfea92The line at the top of this page pins the label v1.9.1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_mam3dtqhx56gbgcc)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Oct 10, 2026 and Oct 27, 2026, about one every 4 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.9.1 latest | 2026-10-27 | 6191961 | 23,387 B | A | view · diff |
| v1.9.0 | 2026-10-12 | bad2d40 | 22,521 B | A | view · diff |
| v1.8.1 | 2026-10-12 | 1ab0b92 | 22,165 B | A | view · diff |
| git:20261010.faa33b5 | 2026-10-10 | faa33b5 | 22,123 B | A | view · diff |
| git:20261010.2adc8d8 | 2026-10-10 | 2adc8d8 | 21,891 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (23387 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
sentimony/skills · 6 stars · license MIT · pushed 2026-10-27 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_mam3dtqhx56gbgcc GET https://markdownregistry.com/api/v1/resolve?ref=sentimony/skills/maintaining-agent-context GET https://markdownregistry.com/api/v1/blob/3a59b11b78bfea92083361cda2a50ef1039314e2f004b8c18b138f4e0f1deb16
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.