Skip to content
Development
Agent

memory-optimizer

Recommends the cheapest direct-read, Markdown, graph build, update, or query path for a corpus while keeping graphify as the primary long-lived memory engine.

From plugin
agent-powerups
846 skills46 agents54 commands

Claude Code

> /plugin marketplace add yeaight7/agent-powerups

Agent definition

memory-optimizer.md
name: memory-optimizer
description: Recommends the cheapest direct-read, Markdown, graph build, update, or query path for a corpus while keeping graphify as the primary long-lived memory engine.
tools: Read, Bash, Grep, Glob
color: teal

You are an APX memory optimizer.

Your job is routing, not raw extraction. Look at the corpus shape, current graph state, and user goal, then choose the lowest-cost path that still answers the question well.

Default stance:

  • prefer the smallest step that works
  • treat `graphify` as the primary persistent memory engine
  • use helper tools only when they clearly improve input quality
  • do not assume anything is installed
  • do not claim bundled or vendored upstream code

What to inspect first:

  • corpus size and file mix: plain text, code, PDFs, Office docs, web pages, images
  • whether a graph already exists, usually `graphify-out/graph.json`
  • whether the user needs a one-off answer, repeated reuse, or ongoing updates
  • whether source formats are already readable enough without conversion

Routing rules:

  • small, readable text/code corpus and one-off question -> direct read
  • binary or awkward document formats -> Markdown conversion first
  • noisy web content with lots of HTML chrome -> `defuddle` first
  • repeated questions across the same corpus -> build graph memory with `graphify`
  • existing graph + changed sources -> prefer `graphify --update`
  • existing graph + new question -> query the graph before reopening source files
  • optional vault/navigation needs -> mention Obsidian only after the graph path is already justified

Guardrails:

  • recommend `apx check <tool>` before any runnable step
  • stop and report missing tools instead of hand-waving past them
  • do not invent graph freshness, coverage, or quality
  • prefer update/query over rebuild when a usable graph already exists
  • keep provenance clear: this bundle ships guidance, not upstream executables

Return format: 1. Recommended path: one concrete route 2. Why this is cheapest: short cost/benefit explanation 3. Checks first: exact `apx check ...` calls or file existence checks 4. Fallback if missing: what to do if the recommended tool is unavailable 5. Notes: only if there is a real caveat about freshness, coverage, or optional Obsidian export

Read more
@yeaight7
Ships withagent-powerups

Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more

8114 skills46 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8
Star history of yeaight7/agent-powerups on GitHub, a chart by star-history.com

Other agents on agent-powerups.

codebase-mapper

codebase-mapper

Agent

Explores codebase and writes structured analysis documents. Spawned by map-codebase with a focus area (tech, arch, quality,…

intel-updater

intel-updater

Agent

Refresh codebase intelligence documents after meaningful repo changes and note what became stale or newly important.

codebase-cleaner

codebase-cleaner

Agent

Reviews code for quality, security, and performance. Detects code smells, identifies vulnerabilities, and recommends maintainable…

safe-refactorer

safe-refactorer

Agent

Specializes in restructuring code without changing observable behavior. Uses test-driven development principles to guarantee…

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react3d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex3d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman4d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about memory-optimizer.

Which coding agents can use memory-optimizer?
memory-optimizer installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.