Skip to content
Agentmart
Submit a tool

debug-playground-companion

Debug the Learning Context System playground and CLI flows.

Skill by IGMED01

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/igmed01-debug-playground-companion

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Debug the Learning Context System playground and CLI flows. Use when `select`, `teach`, or `recall` behave unexpectedly; when chunks are missing or suppressed; when Engram recall is empty or recovered memory is not selected; when token budget, changed files, or score signals need explanation; or when the user wants a minimal reproduction plus a teaching-oriented root cause.

Use cases: finance

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/debug-playground-companion

What's inside

Skill name
debug-playground-companion
Description
Debug the Learning Context System playground and CLI flows. Use when `select`, `teach`, or `recall` behave unexpectedly; when chunks are missing or suppressed; when Engram recall is empty or recovered memory is not selected; when token budget, changed files, or score signals need explanation; or when the user wants a minimal reproduction plus a teaching-oriented root cause.
License
MIT
Instructions
61 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Debug Playground Companion

## Core behavior

- Reproduce with the smallest existing playground command before editing code.
- Prefer the repo's built-in playground scripts over ad-hoc commands.
- Compare normal output and `--debug` output before changing heuristics.
- Separate workspace-context problems from Engram-memory problems early.
- End with root cause, smallest fix, validation, and one tiny practice step.

## Fast triage

1. **Selection-only problem**
   - Run `cmd /c npm.cmd run playground:select`
   - Then run `cmd /c npm.cmd run playground:select:debug`
2. **Synthetic teaching problem**
   - Run `cmd /c npm.cmd run playground:teach:synthetic`
   - Use this path when the behavior should be deterministic and should not depend on historical memory.
3. **Memory or recall problem**
   - Run `cmd /c npm.cmd run playground:recall:debug`
   - Then run `cmd /c npm.cmd run playground:teach:memory:debug`
4. **Environment problem**
   - If PowerShell blocks `npm.ps1`, use `cmd /c npm.cmd ...` or `node ...` directly.

## Decision rules

- Stay in the synthetic playground when the issue is about the auth example, teaching wording, or deterministic selection behavior.
- Move to the memory-backed playground when the issue mentions Engram, empty recall, query quality, recovered memory, or recalled chunks being suppressed.
- If memory is recovered but not selected, inspect `Selected recalled ids`, `Suppressed recalled ids`, and `Suppression reasons` before changing query generation.
- Fix the smallest layer first instead of refactoring broadly.

## Symptom to file map

- Recall query quality or fallback order -> `src/memory/recall-queries.js`
- Recall retry or merge behavior -> `src/memory/teach-recall.js`
- Chunk scoring, suppression, or token budget effects -> `src/context/noise-canceler.js`
- Debug presentation or missing diagnostics -> `src/cli/formatters.js`
- CLI option wiring -> `src/cli/app.js`
- Playground entrypoints or discoverability -> `package.json`, `docs/usage.md`
- Regression coverage -> `test/run-tests.js`

## Required output

1. Reproduction
2. Root cause
3. Smallest fix
4. Validation
5. Change
6. Reason
7. Concepts
8. Practice

## Pay extra attention to

- `workspace` vs `engram` chunk origin
- `token-budget-exceeded` versus `score-below-threshold`
- `generic-doc-noise` and `generic-test-noise`
- recovered memory ids that never survive final selection
- deterministic reproduction before changing heuristics

From IGMED01/Nexus-Context-Orchestration-Engine-for-LLM-Systems, MIT.

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Mar 17, 2026 (7 months ago)
Last release
Apr 2, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from IGMED01

Cite this page

debug-playground-companion skill. Agent Mart. https://agentmart.dev/skills/igmed01-debug-playground-companion (last updated 2026-10-24)