memory-lint
Health-check the auto-memory dir (MEMORY.md + topic files).
Skill by agent-rails
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/agent-rails-memory-lint
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/memory-lint
What's inside
- Skill name
memory-lint- Description
- Health-check the auto-memory dir (MEMORY.md + topic files). Surfaces bloat, low-confidence/expired prune candidates, project->global promote candidates, mis-scoped globals, stale facts, and duplicates. Read-only — never auto-edits. Use when user asks for "memory lint", "memory audit", "memory health", "prune memory", "is MEMORY.md too big", or as a weekly/monthly cadence task. Sibling of wiki-lint (which covers the wikis, NOT auto-memory).
- License
- Apache-2.0
- Instructions
- 63 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
Health-check the auto-memory dir and surface drift/bloat before it forces a panic compaction. Operationalizes the [[memory-lifecycle]] discipline (confidence / scope / evidence / TTL / promote — adopted from ECC's instinct model, human-gated). Auto-memory analog of `wiki-lint`; the two do not overlap. ## Target `~/.claude/projects/-Users-youruser/memory/` — `MEMORY.md` (the always-loaded index) + the `*.md` topic files. Nothing else. ## What the lint checks Run all passes. **Read-only.** Never edits or deletes — surfaces findings for the user to triage. ### 1. Bloat pass (highest leverage) - `MEMORY.md` byte size vs the **24.4KB harness load limit**. Flag `[BLOAT]` if > 17KB (content beyond ~24.4KB is silently dropped at load — surface the actual risk). - List the 10 longest `MEMORY.md` index lines (candidates to compress to a one-line hook + push detail into the topic file). - Flag any index line whose detail clearly duplicates its topic file (the line should be a hook, not a copy). ### 2. Confidence / TTL prune pass - Topic files with `confidence < 0.6` AND `review` date in the past → `[PRUNE]` candidate (confirm-or-delete). - `confidence < 0.6` with no `review` date → `[TTL-MISSING]` (set a review date). - Files missing lifecycle frontmatter (`scope`/`confidence`) → `[LIFECYCLE-MISSING]`, count only (retrofit-on-touch, don't block). ### 3. Scope / promote pass - `project:<repo>` facts referenced by — or clearly relevant to — a 2nd repo → `[PROMOTE]` candidate (raise to `scope: global`, bump confidence). This is the ECC promote-on-2-projects rule; pairs with workflow-miner. - `scope: global` (or unscoped) entries that are actually about one repo → `[SCOPE-FIX]` candidate (re-scope `project:<repo>` to keep the index lean). ### 4. Staleness pass (verify-before-recommend) - Project memories naming a specific file / flag / PR / branch: spot-check the highest-confidence load-bearing ones — if the named artifact no longer exists (git/gh/k8s), flag `[STALE]`. Do NOT exhaustively verify all; sample the load-bearing claims per the primary-source rule. - Memories with an explicit "DONE/MERGED/RELEASED" terminal state that are no longer actionable → `[ARCHIVE]` candidate (collapse to a one-line hook or drop). ### 5. Duplication pass - Entries whose `description`/topic overlap materially → `[MERGE]` candidate. List the pair + which is canonical. ## Execution 1. Read `MEMORY.md` + stat all topic files (sizes, frontmatter). 2. Run the five passes (read-only). 3. Print a summary table: ``` | Pass | Count | Worst offender | |------|-------|----------------| | Bloat | MEMORY.md NkB (limit 24.4) | <longest line> | | Prune | N | <file> | | Promote | N | <file> | | Scope-fix | N | <file> | | Stale | N | <file> | | Merge | N | <pair> | ``` 4. Print full findings per pass with `file` / `MEMORY.md:line` so the user can navigate. 5. Do NOT auto-edit, delete, or promote. Surface only. 6. End with the top-5 highest-leverage triage actions (lead with bloat if MEMORY.md is near the limit). ## Cadence Run monthly, paired with `tool-pruning-loop`; or on-demand when MEMORY.md approaches the load limit. Cheap, read-only. ## Non-goals - Does NOT auto-fix, prune, or promote — surfaces for human gate (we keep promotion human-gated; we did NOT adopt ECC's auto-capture/auto-evolve). - Does NOT touch the wikis — that is `wiki-lint`. - Does NOT add an observer/background-capture loop — our failure mode is over-capture, not under-capture.
From agent-rails/agentic-fabric, Apache-2.0.
More from agent-rails/agentic-fabric
- 0.529score
pr-sizer
agent-rails
Classify a pull request against the PR size rubric and, for too-large PRs, spawn a sub-agent to propose concrete split plans.
SkillBFreshness: BClaude Code +9 - 0.524score
draft-pr-fixes
agent-rails
Draft cross-vendor patches addressing findings from a prior PR review.
SkillBFreshness: BClaude Code +9 - 0.524score
daily-report
agent-rails
Generate end-of-day report from GitHub, Slack, and K8s activity.
SkillBFreshness: BClaude Code +9 - 0.524score
review-pr
agent-rails
Review a GitHub PR using the your-pr-reviewer agent with wiki-backed institutional knowledge.
SkillBFreshness: BClaude Code +9 - 0.521score
security-signal-amplifier
agent-rails
Amplify external AI/MCP security advisories into the right channels for your org — summarize the advisory, cross-post to
SkillBFreshness: BClaude Code +9 - 0.479score
self-review
agent-rails
Multi-lens local self-review of a branch (pre-PR) or any remote PR.
SkillCFreshness: CClaude Code +9 - 0.474score
proactive-delegation
agent-rails
Patterns for delegating independent subtasks to subagents when planning multi-part tasks.
SkillCFreshness: CClaude Code +9 - 0.474score
standup
agent-rails
Generate daily standup summaries for Slack from git commits and GitHub activity.
SkillCFreshness: CClaude Code +9 - 0.474score
ci-investigation
agent-rails
Investigate CI/CD failures on PRs using subagents for parallel log analysis.
SkillCFreshness: CClaude Code +9 - 0.474score
first-principles
agent-rails
Run a first-principles derivation pass before adopting a framework, tool, pattern, or template.
SkillCFreshness: CClaude Code +9 - 0.474score
github-cli
agent-rails
GitHub CLI (gh) and API operations for branches, PRs, issues, releases, workflows, and GraphQL queries.
SkillCFreshness: CClaude Code +9 - 0.474score
github-pr-review
agent-rails
GitHub PR review operations using gh CLI and gh api.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 17, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/agent-rails/agentic-fabric
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from agent-rails
- 0.529score
pr-sizer
agent-rails
Classify a pull request against the PR size rubric and, for too-large PRs, spawn a sub-agent to propose concrete split plans.
SkillBFreshness: BClaude Code +9 - 0.524score
daily-report
agent-rails
Generate end-of-day report from GitHub, Slack, and K8s activity.
SkillBFreshness: BClaude Code +9 - 0.524score
draft-pr-fixes
agent-rails
Draft cross-vendor patches addressing findings from a prior PR review.
SkillBFreshness: BClaude Code +9 - 0.524score
review-pr
agent-rails
Review a GitHub PR using the your-pr-reviewer agent with wiki-backed institutional knowledge.
SkillBFreshness: BClaude Code +9 - 0.521score
security-signal-amplifier
agent-rails
Amplify external AI/MCP security advisories into the right channels for your org — summarize the advisory, cross-post to
SkillBFreshness: BClaude Code +9 - 0.479score
self-review
agent-rails
Multi-lens local self-review of a branch (pre-PR) or any remote PR.
SkillCFreshness: CClaude Code +9
Cite this page
memory-lint skill. Agent Mart. https://agentmart.dev/skills/agent-rails-memory-lint (last updated 2026-10-24)