A Claude Code plugin that turns "this was solved before" from folklore into something you can actually query.
Every repo accumulates hard-won fixes in docs/solutions/ and then quietly forgets they exist. interlearn is the memory layer for that problem. It builds a cross-repo index of solution docs, gives you a fast search surface, and audits whether closed work actually left behind useful documentation.
If interflux is your reviewer and interpath is your artifact generator, interlearn is the institutional memory that keeps both from reinventing the same lessons every two weeks.
interlearn is intentionally simple: one indexing script, one skill, one hook.
scripts/index-solutions.shscansdocs/solutions/*.mdacross the Interverse monorepo, parses frontmatter (including mixed schemas), and writes:docs/solutions/INDEX.mdfor humansdocs/solutions/index.jsonfor tools
skills/interlearn/SKILL.mdprovides three operator modes:/interlearn:index/interlearn:search <query>/interlearn:audit
hooks/session-end.shrefreshes the index onSessionEndwhen you're in the monorepo, so the memory layer stays warm.
The design philosophy is straightforward: deterministic artifacts, path-derived module truth, and no hidden mutation.
First, add the interagency marketplace (one-time setup):
/plugin marketplace add mistakeknot/interagency-marketplaceThen install the plugin:
/plugin install interlearnThen:
- Build the index:
/interlearn:index - Find prior work:
/interlearn:search websocket timeout - Check coverage:
/interlearn:audit
The index is written to the monorepo root at docs/solutions/.
.claude-plugin/plugin.json -> plugin manifest
skills/interlearn/SKILL.md -> index/search/audit workflow
scripts/index-solutions.sh -> deterministic cross-repo index builder
hooks/hooks.json -> SessionEnd hook registration
hooks/session-end.sh -> background index refresh trigger
A few choices are deliberate:
- Shell-first implementation. No MCP server, no daemon, no compiled binary for this phase.
- Path is canonical module identity. Frontmatter
module:is too inconsistent to trust for grouping. - Schema-tolerant parsing. Handles
problem_typevscategory, and multiple date keys. - Fail-open hook behavior. Session teardown should never fail because indexing failed.
- No auto-commit. interlearn writes artifacts; humans decide when to commit them.
Right now the skill and hook target the Interverse monorepo path conventions (/root/projects/Interverse). That's intentional for operational reliability in the current environment.
Improved ranking heuristics, stronger coverage auditing, and tighter integration with planning/review workflows so relevant prior fixes are surfaced before new work drifts into duplicate effort.