Skip to content
Development
Skill

/debug-memory

Query and manage the executable feedback debug memory

From plugin
aiwg
227200 skills199 agents26 commands

Claude Code

$ npx -y skills add jmagly/aiwg --skill debug-memory --agent claude-code

SKILL.md

debug-memory.SKILL.md
namespace: aiwg
name: debug-memory
platforms: [all]
description: Query and manage the executable feedback debug memory
commandHint:
  category: code-quality

Debug Memory Command

Query, analyze, and manage the debug memory from executable feedback loops.

HITL authorization checkpoints

Before any confirmation below, read and apply [agent-loop authorization checkpoints](../../docs/hitl-authorization.md). Call `aiwg config authorization check --action-file "$ACTION_FILE" --target "$TARGET_REPO"` for host-classified effects. Only `auto-authorized` with a signed receipt skips that workflow prompt; retain existing prompts/refusals otherwise. Platform prompts are never bypassed. Limits, regression and threat overrides still require review.

Instructions

Manage the debug memory stored in `.aiwg/ralph/debug-memory/`:

Subcommand: query

Search debug memory for relevant past execution sessions.

1. Search `.aiwg/ralph/debug-memory/sessions/` for matching entries 2. Match by file path, error type, test name, or keyword 3. Display relevant sessions with fix attempts and outcomes 4. Highlight reusable patterns

Subcommand: patterns

Display learned patterns from past debug sessions.

1. Load `.aiwg/ralph/debug-memory/patterns/learned-patterns.yaml` 2. Show pattern frequency, success rate, and applicability 3. Suggest patterns applicable to current context

Subcommand: stats

Show aggregate statistics from debug memory.

1. Total sessions, pass rate, average attempts 2. Most common error types 3. Most effective fix patterns 4. Files with highest failure frequency

Subcommand: clear

Clear debug memory (with confirmation).

1. Prompt for confirmation 2. Archive current memory to `.aiwg/ralph/debug-memory/archive/` 3. Reset sessions and patterns

Arguments

  • `query [keyword]` - Search debug memory
  • `patterns` - Show learned patterns
  • `stats` - Show aggregate statistics
  • `clear` - Clear and archive debug memory
  • `--file [path]` - Filter by source file
  • `--error [type]` - Filter by error type
  • `--since [date]` - Filter by date

References

  • @$AIWG_ROOT/agentic/code/addons/agent-loop/schemas/debug-memory.yaml - Debug memory schema
  • @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/executable-feedback.md - Executable feedback rules
  • @$AIWG_ROOT/agentic/code/addons/agent-loop/docs/executable-feedback-guide.md - Guide
Read more
@jmagly
Ships withaiwg

Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.

227200 skills199 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
227
Star history of jmagly/aiwg on GitHub, a chart by star-history.com

Other skills on aiwg.

agent-loop-ext

agent-loop-ext

Crash-resilient external agent loop with state persistence and CI/CD integration

@jmagly@jmaglyInstall Skill
agent-loop

agent-loop

Detect requests for iterative autonomous agent loops and route to the appropriate loop executor

@jmagly@jmaglyInstall Skill
auto-test-execution

auto-test-execution

Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern

@jmagly@jmaglyInstall Skill
infer-completion-criteria

infer-completion-crite…

Infer measurable completion criteria for an agent-loop task from project docs, code, and AIWG standards when the user has not…

@jmagly@jmaglyInstall Skill

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.

skills11d309k
@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,…

ecc13d293k
@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…

react2d252k
@facebook@facebookInstall Skill

Questions about debug-memory.

Which coding agents can use debug-memory?
debug-memory 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.