memory-optimization SKILL.md skillA

memory-optimization from drayline/rootnode-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add drayline/rootnode-skills/memory-optimization@v6.0.0

Pins v6.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
drayline/rootnode-skills
Path
plugins/rootnode-projects/skills/memory-optimization/SKILL.md
Versions recorded
2
Latest version
v6.0.0, committed Nov 3, 2026
First version recorded
Nov 1, 2026
Size
22,962 bytes
Repository stars
40
License
a license file GitHub does not identify

Rebalances context across Memory, Custom Instructions, knowledge files, and User Preferences in Claude Projects. Audits Memory for redundancy, staleness, and misplacement; prescribes optimization including Codification of stable Memory patterns into explicit User Preferences or Project CI rules. Use when user says "optimize my memory," "what should be in my memory," "trim my knowledge files," "reduce my context usage," "rebalance my project," "what should be in my preferences vs memory," or…

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

# Context Layer Optimization for Claude Projects

> **Calibration:** Tier 2 (Sonnet-graceful) — designed against Opus 5.5 + Sonnet 5.5 dual-primary. Runs on Haiku 5.5 at `high` effort with less depth on multi-dimensional analysis; fallback-graceful on Opus 5 / Sonnet 5; legacy-graceful on Sonnet 4.6. Start at the model's default effort (`medium` on Opus 5.5 and Sonnet 5.5 in Claude Code; `high` for Sonnet 5.5 on the Claude API) and re-run an effort sweep on your own evals rather than carrying a setting over. See repository README for model compatibility.

Rebalances context across Memory, Custom Instructions, knowledge files, and User Preferences in Claude Projects. Produces Memory edit prescriptions, knowledge file trimming recommendations, codification prescriptions for promoting stable patterns to explicit instructions, and cross-layer alignment findings.

## Critical Rule: User Confirmation Before Memory Edits

**Never execute Memory edits without presenting the full prescription and receiving explicit user confirmation.** Memory is persistent and personal — this skill recommends, the user decides.

**Confirmation protocol (every engagement):**
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add drayline/rootnode-skills/memory-optimization@sha256:34e963a9046ece45

The line at the top of this page pins the label v6.0.0, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_63kpdkn6v6pbd5lf.svg)](https://markdownregistry.com/a/art_63kpdkn6v6pbd5lf)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Nov 1, 2026 and Nov 3, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
v6.0.0 latest2026-11-03 7bd17b8 22,962 BA view · diff
v5.0.02026-11-01 f34b7ac 22,909 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (22962 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

GitHub

drayline/rootnode-skills · 40 stars · license a license file GitHub does not identify · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_63kpdkn6v6pbd5lf
GET https://markdownregistry.com/api/v1/resolve?ref=drayline/rootnode-skills/memory-optimization
GET https://markdownregistry.com/api/v1/blob/34e963a9046ece4573666f05b0604a6879af65671a6fb866cc6ed847bba0b6f2

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.

More from drayline/rootnode-skills

CLAUDE.md CLAUDE.md file
drayline/rootnode-skills · CLAUDE.md
git:20260725.01ef63f · audit A · 40 stars
cc-design SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-code/skills/cc-design/SKILL.md · Designs Claude Code prompts and CC environments. Produces CLAUDE.md drafts, agent topologies, scope-authorization…
v6.0.0 · audit A · 40 stars
repo-hygiene SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-code/skills/repo-hygiene/SKILL.md · Audits Claude Code repositories. Two-phase workflow — Phase 1 sweeps 14 hygiene categories (permissions, hooks…
v6.0.0 · audit A · 40 stars
critic-gate SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-governance/skills/critic-gate/SKILL.md · Independent re-derivation gate for proposed changes during autonomous execution. Evaluates a change (code diff, config…
v6.0.0 · audit A · 40 stars
handoff-trigger-check SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-governance/skills/handoff-trigger-check/SKILL.md · Evaluates whether work-in-design is ready to hand off from a chat design conversation to autonomous execution (Claude…
v6.0.0 · audit A · 40 stars
mode-router SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-governance/skills/mode-router/SKILL.md · Selects the active profile from triggering context. Evaluates a rule set against inputs (current time, calendar state…
v6.0.0 · audit A · 40 stars
profile-builder SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-governance/skills/profile-builder/SKILL.md · Conversational profile builder. Produces validated JSON config files for any rootnode Skill that consumes…
v6.0.0 · audit A · 40 stars
session-handoff SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-governance/skills/session-handoff/SKILL.md · Produces structured markdown session continuation documents for multi-session workflows. Captures active work streams…
v6.0.0 · audit A · 40 stars
anti-pattern-detection SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-projects/skills/anti-pattern-detection/SKILL.md · Detects seven structural anti-patterns in Claude Projects that cause unpredictable output, ignored instructions, and…
v6.0.0 · audit A · 40 stars
context-budget SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-projects/skills/context-budget/SKILL.md · Analyzes Claude Project context budget under the automatic-RAG-by-window model: knowledge files vs. threshold-exempt…
v6.0.0 · audit A · 40 stars
full-stack-audit SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-projects/skills/full-stack-audit/SKILL.md · Comprehensive audit of a user's entire Claude environment — combines Project audit (six-dimension Project Scorecard…
v6.0.0 · audit A · 40 stars
global-audit SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-projects/skills/global-audit/SKILL.md · Audits and optimizes the five global Claude layers (User Preferences, Styles, Global Memory, Skills, MCP Connectors)…
v6.0.0 · audit A · 40 stars

Every file in drayline/rootnode-skills

Other files named memory-optimization

memory-optimization SKILL.md skill
eric-cielo/moflo · .claude/skills/memory-optimization/SKILL.md · Tune moflo's memory stack for speed, RAM, and index quality. Covers HNSW parameters (M, efConstruction, ef), vector…
git:20260515.d04f7b2 · audit A · 19 stars

Browse by kind, by grade A, or by owner.