memory-optimizer-agent SKILL.md skillA

memory-optimizer-agent from alamoooooooo/alamo_hub is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add alamoooooooo/alamo_hub/memory-optimizer-agent@git:20260703.f96219c

Pins git:20260703.f96219c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
alamoooooooo/alamo_hub
Path
packages/memory_hotspot_repair_kernel/memory-optimizer-agent/SKILL.md
Versions recorded
1
Latest version
git:20260703.f96219c, committed Jul 3, 2026
Size
5,358 bytes
Repository stars
5
License
Apache-2.0

Orchestrate a bounded memory-optimization loop over a codebase by chaining memory-check, memory-fix, smoke validation, and memory-review until the main memory risks are reduced or the stop conditions are met. Use when a user wants one dedicated mini-agent to drive check-fix-smoke-review cycles, converge on practical memory improvements, and stop safely without infinite optimization loops.

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

# Memory Optimizer Agent

Act like a dedicated mini-agent that coordinates `memory-check`, `memory-fix`, and `memory-review`. Optimize for safe convergence, not for endless looping.

This skill is the host-adapter and orchestration layer. Keep reusable memory-hotspot policy in the underlying skills and their `references/` files, not in the orchestration prompts.

## Core Policy

- Run a bounded loop, not an infinite one.
- Preserve behavior and contracts unless the user explicitly asks for broader change.
- Treat correctness and validation failures as higher priority than further optimization.
- Prefer one meaningful fix over many speculative edits.

## Default Loop

1. Run `memory-check`.
2. Select the highest-value fix target.
3. Run `memory-fix`.
4. Run focused validation:
   - `py_compile` or equivalent syntax checks
   - targeted smoke or bounded config when available
5. Run `memory-review`.
6. Decide whether another round is justified.
7. If yes, do one more `fix -> validate -> review` round.
8. Stop and summarize.

In the executable orchestrator, every round re-runs `check` so the next fix is based on the current code state rather than the original hotspot report.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add alamoooooooo/alamo_hub/memory-optimizer-agent@sha256:14b0bddda585f12d

The line at the top of this page pins the label git:20260703.f96219c, 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_ig2yes7iafk7ukvx.svg)](https://markdownregistry.com/a/art_ig2yes7iafk7ukvx)

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

Versions

The registry has recorded 1 version of this file, committed on Jul 3, 2026.

versioncommittedcommitsizeaudit
git:20260703.f96219c latest2026-07-03 f96219c 5,358 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 (5358 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

alamoooooooo/alamo_hub · 5 stars · license Apache-2.0 · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ig2yes7iafk7ukvx
GET https://markdownregistry.com/api/v1/resolve?ref=alamoooooooo/alamo_hub/memory-optimizer-agent
GET https://markdownregistry.com/api/v1/blob/14b0bddda585f12d2dfd398789150f48292f1ff129160326f561e959076e2029

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 alamoooooooo/alamo_hub

AGENTS.md AGENTS.md file
alamoooooooo/alamo_hub · AGENTS.md
git:20261021.563e1c7 · audit A · 5 stars
llms.txt llms.txt file
alamoooooooo/alamo_hub · llms.txt
git:20261021.6cb8018 · audit A · 5 stars
coursecoach SKILL.md skill
alamoooooooo/alamo_hub · packages/coursecoach/coursecoach/SKILL.md · 自适应学习助教,从零生成并持续运营一门可交互课程。适用于任意主题(编程、语言、乐器、会计、烘焙、考证等),不限于 AI/技术。当用户说「我想学 XX」「帮我做一个 XX 的课程 / 学习计划 /…
git:20261020.9e6a3bc · audit A · 5 stars
code-architect SKILL.md skill
alamoooooooo/alamo_hub · packages/engineering_subagent_workflow_kernel/code-architect/SKILL.md · Produce an evidence-grounded implementation architecture for an existing codebase. Use when the user asks for an…
git:20261020.62a8ddd · audit A · 5 stars
code-explorer SKILL.md skill
alamoooooooo/alamo_hub · packages/engineering_subagent_workflow_kernel/code-explorer/SKILL.md · Trace existing code paths and explain repository behavior with precise source evidence. Use when the user asks how code…
git:20261020.62a8ddd · audit A · 5 stars
code-reviewer SKILL.md skill
alamoooooooo/alamo_hub · packages/engineering_subagent_workflow_kernel/code-reviewer/SKILL.md · Review code changes for correctness defects, regressions, security risks, unsafe behavior, and missing tests. Use when…
git:20261020.62a8ddd · audit A · 5 stars
code-simplifier SKILL.md skill
alamoooooooo/alamo_hub · packages/engineering_subagent_workflow_kernel/code-simplifier/SKILL.md · Simplify recently changed or explicitly scoped code while preserving observable behavior. Use when the user asks to…
git:20261020.62a8ddd · audit A · 5 stars
pr-test-analyzer SKILL.md skill
alamoooooooo/alamo_hub · packages/engineering_subagent_workflow_kernel/pr-test-analyzer/SKILL.md · Analyze whether tests cover the behavior changed by a commit, branch, PR, patch, or working tree. Use when the user…
git:20261020.62a8ddd · audit A · 5 stars
github-sync-agent SKILL.md skill
alamoooooooo/alamo_hub · packages/github_sync_workflow_kernel/github-sync-agent/SKILL.md · Coordinate an end-to-end GitHub synchronization workflow over a target repository by discovering the real repo root…
git:20260721.a03daa2 · audit A · 5 stars
memory-check SKILL.md skill
alamoooooooo/alamo_hub · packages/memory_hotspot_repair_kernel/memory-check/SKILL.md · Review code for memory-risk patterns, likely out-of-memory failure points, wasteful data movement, and stack-specific…
git:20260703.f96219c · audit A · 5 stars
memory-fix SKILL.md skill
alamoooooooo/alamo_hub · packages/memory_hotspot_repair_kernel/memory-fix/SKILL.md · Apply safe, targeted fixes for memory bottlenecks based on a memory review report or direct code inspection. Use when a…
git:20260703.f96219c · audit A · 5 stars
memory-review SKILL.md skill
alamoooooooo/alamo_hub · packages/memory_hotspot_repair_kernel/memory-review/SKILL.md · Review code changes after a memory-oriented fix using Codex-style general code review as the baseline, then add…
git:20260703.f96219c · audit A · 5 stars

Every file in alamoooooooo/alamo_hub

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