Skip to content
Development
Skill

/memory-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.

From plugin
agent-powerups
8114 skills46 agents54 commands

Claude Code

$ npx -y skills add yeaight7/agent-powerups --skill memory-query-workflow --agent claude-code

SKILL.md

memory-query-workflow.SKILL.md
name: memory-query-workflow
description: Use when a graph already exists and the user needs retrieval, tracing, explanation, or gap detection from graph memory before reopening the full corpus.

Memory Query Workflow

Overview

Use existing graph memory first.

Query the graph before rereading source files unless the graph is missing, stale, or too weak for the question.

Required Check

apx check graphify

Required State

  • existing `graphify-out/graph.json`

Routing

| Question shape | Action | |---|---| | broad question about connected concepts | `graphify query` | | trace between two concepts, files, or systems | `graphify path` | | explain one concept or node in context | `graphify explain` | | no graph exists | switch to `memory-build-workflow` | | graph exists but corpus changed | recommend `graphify --update` before trusting results |

Core Rules

  • prefer graph retrieval over full-corpus reread
  • say explicitly when the graph is missing, stale, sparse, or weakly matched
  • do not overclaim beyond what graph nodes and edges support
  • when graph coverage is weak, use the graph result to target the next direct read instead of restarting broad exploration

Minimal Workflow

1. Confirm `graphify-out/graph.json` exists. 2. Choose `query`, `path`, or `explain` based on question shape. 3. Answer from graph evidence first. 4. If result quality is weak, say why: missing graph, stale graph, low coverage, or weak node match. 5. Escalate to build/update or targeted reread only when needed.

Common Failure Modes

  • skipping graph lookup and rereading everything
  • hiding that the graph is stale or incomplete
  • using `query` for a question that clearly needs a path trace
  • treating no-result output as proof the corpus lacks the concept

Verification

  • [ ] Graph existence was confirmed before any query ran
  • [ ] The command matched the question shape: query for breadth, path for traces, explain for one node
  • [ ] The answer is grounded in graph nodes and edges — no overclaiming
  • [ ] Staleness, sparseness, or weak node matches were stated explicitly
  • [ ] Escalation to build, update, or targeted reread happened only when graph evidence was insufficient

Reference

  • [`../graphify/UPSTREAM.md`](../graphify/UPSTREAM.md)
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 skills on agent-powerups.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills13d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react4d252k
@facebook@facebookInstall Skill

Questions about memory-query-workflow.

Which coding agents can use memory-query-workflow?
memory-query-workflow installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.