Skip to content
Development
Command

/memory-why

Show why a memory recall returned what it did -- BM25 vs vector vs hybrid provenance.

From plugin
ijfw
21422 skills37 agents22 commands1 MCP
$ npx -y skills add FerroxLabs/ijfw --agent claude-code

Command definition

memory-why.md
description: "Show why a memory recall returned what it did -- BM25 vs vector vs hybrid provenance."
allowed-tools: ["Read", "Bash"]

For a given recall, report which signals contributed. Agent prompt:

When the last `ijfw_memory_recall` / `ijfw_memory_search` call returned a hit, surface:

<match-id>
  BM25:       <score>   (matched terms: <tokens>)
  vector:     <cosine>  (model: <model or "disabled">)
  combined:   <merged score>
  snippet:    <first 160 chars>

If vectors are disabled (`IJFW_VECTORS=off` or library not installed): say *"Vectors disabled; result from keyword match only."* rather than showing a 0 cosine that looks negative.

Use this to debug why a recall did (or didn't) find something the user expected.

@ferroxlabs
Ships withijfw

IJFW — It Just F*cking Works. Ferrox Labs' local-first infrastructure for AI coding agents: shared memory, smart routing, multi-AI cross-audits, disciplined workflow.

21436 skills37 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
214
Star history of FerroxLabs/ijfw on GitHub, a chart by star-history.com

Other commands on ijfw.

compress

compress

Command

Compress a memory/context file into terse form. Saves ~40-50% tokens per session. Usage: /compress <filepath>

@ferroxlabs@ferroxlabsInstall Command
consolidate

consolidate

Command

Dream cycle -- promote patterns, prune stale, reconcile contradictions, optionally promote to global.

@ferroxlabs@ferroxlabsInstall Command
cross-audit

cross-audit

Command

Second-model review. Picks an auditor (codex/gemini/opencode/aider/copilot), excludes the caller, writes a prompt to paste, reads…

@ferroxlabs@ferroxlabsInstall Command
cross-critique

cross-critique

Command

Adversarial multi-angle critique. All three auditors fire in parallel (codex=technical, gemini=strategic, claude=ux).…

@ferroxlabs@ferroxlabsInstall Command
cross-research

cross-research

Command

Two-phase multi-model research. Phase A fans codex+gemini in parallel (benchmarks + citations angles); Phase B synthesises via…

@ferroxlabs@ferroxlabsInstall Command
doctor

doctor

Command

Run IJFW health check (files, MCP server, hooks, memory, caps, framing)

@ferroxlabs@ferroxlabsInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command