memory-optimization-workflow
/memory-optimization-workflow
Use when deciding the lowest-cost context path for a mixed corpus, especially when choosing among direct reading, helper conversion, graph build, graph update, or graph query.
- Author
- yeaight7 ↗
- Repository
- agent-powerups ↗
- Licence
- Apache-2.0
- Last repository change
- 27.09.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.09.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Use when deciding the lowest-cost context path for a mixed corpus, especially when choosing among direct reading, helper conversion, graph build, graph update, or graph query.
Original author description
Use when deciding the lowest-cost context path for a mixed corpus, especially when choosing among direct reading, helper conversion, graph build, graph update, or graph query.
How it works
- Overview
- When to Use
- Required Checks
- Fast Routing
- Decision Rules
- Escalation Ladder
- Common Failure Modes
- Verification
- References
SKILL.md preview
--- name: memory-optimization-workflow description: Use when deciding the lowest-cost context path for a mixed corpus, especially when choosing among direct reading, helper conversion, graph build, graph update, or graph query. --- # Memory Optimization Workflow ## Overview Minimize token spend, reread cost, and unnecessary rebuilds. `graphify` is the main optimization path for repeated work. Helper tools exist to make hard sources cheaper before graph or direct reading. ## When to Use - mixed corpus and the cheapest inspection path is unclear - repeated questions over the same files - need to choose between direct read, conversion, graph build, update, or query - want to reduce repeated large-context rereads Do not use for: - tiny single-file questions where direct reading is already cheapest - cases where the user explicitly wants raw-file inspection only ## Required Checks ```powershell apx check graphify apx check markitdown-file-intake apx check defuddle ``` Stop and report missing tools. Do not auto-install without approval. ## Fast Routing | Situation | Cheapest path | |---|---| | small readable text corpus, one question | read directly | | PDF, Office doc, or other binary-like source | `markitdown-file-intake` | | noisy web page or article | `defuddle` | | repeated questions across same corpus | build with `graphify` | | existing graph plus changed sources | `graphify --update` | | existing graph plus new question | query graph first | ## Decision Rules - prefer direct reading for small plain-text scope - prefer Markdown over binary or chrome-heavy formats - prefer graph query over full reread when a graph already exists - prefer incremental update over rebuild - keep helper tools secondary to the main graph path - keep Obsidian optional; it is not part of the optimization decision unless the user wants vault browsing ## Escalation Ladder 1. Direct read if scope is already small and readable. 2. Convert only if format is the main source of waste. 3. Build graph memory when questions will repeat or corpus is broad. 4. Update existing graph when sources changed. 5. Query existing graph before any broad reread. ## Common Failure Modes - building a graph for a tiny one-shot question - rereading large corpora after a graph already exists - converting already-readable Markdown or code - rebuilding instead of updating - making helper tools feel primary instead of supportive ## Verification - [ ] Required tool checks ran; missing tools were reported, not auto-installed - [ ] The chosen path matches the routing table — direct read for small readable scope - [ ] No graph was built for a tiny one-shot question - [ ] An existing graph was queried or updated instead of rereading the corpus - [ ] Helpers stayed secondary to the main graph path ## References - [`../../references/HELPER_TOOLS.md`](../../references/HELPER_TOOLS.md) - [`../../references/GRAPHIFY_PROVENANCE.md`](../../references/GRAPHIFY_PROVENANCE.md)
Versions
The database has no other skills named memory-optimization-workflow.
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version d1d1c413d8dd (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100memory-build-workflow
Use when a user needs to build or refresh persistent graph memory from a mixed corpus and the right path may include graphify, incremental update, or helper conversion before ingestion. - 100memory
Read-side memory operations on the knowledge graph: search past decisions and patterns, load session context, view decision timelines, render Mermaid graph visualizations. Subcommands: search, load, history, viz, status. Use when finding or reviewing what memory already holds.… - 100memory-query-workflow
Use when a graph already exists and the user needs retrieval, tracing, explanation, or gap detection from graph memory before reopening the full corpus. - 100karpathy-graph-query
Stage 4 of the karpathy-graph pipeline. Answer multi-hop questions from a knowledge graph by retrieving a bounded subgraph with edge citations, and ground or refute claims against actual graph paths. Use when the user asks a question that spans several facts, asks how two things… - 100mcp-server-memory
Use this skill when installing, configuring, and executing tools with the persistent knowledge-graph entity and relation memory MCP server. - 100laqrumcode-web-ui
Open the laqrumcode read-only web UI to explore the memory graph (dashboard, memory/concept browsers, graph explorer) in a browser. Use when the user asks to see/visualize/inspect what laqrumcode has stored.