llm-wiki-agent-memory-bridge
Skill3 starsChanged 5 months agoMITView on GitHub
Decide what belongs in LLM-Wiki versus agent memory, AGENTS.md, CLAUDE.md, Auto Memory, Codex project memory, or other runtime memories. Use when instruction files are bloated, domain facts live in agent memory, or the user wants clean memory boundaries.
In this repository50 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llm-wiki-adr-memorySkill
- llm-wiki-archiveSkill
- llm-wiki-capture-pipelineSkill
- llm-wiki-chooseSkill
- llm-wiki-claim-anchorsSkill
- llm-wiki-company-flow-auditSkill
- llm-wiki-conflict-resolverSkill
- llm-wiki-critique-auditSkill
- llm-wiki-designSkill
- llm-wiki-doctorSkill
- llm-wiki-domain-packSkill
- llm-wiki-ecosystem-registrySkill
- llm-wiki-evalSkill
- llm-wiki-eval-toolingSkill
- llm-wiki-export-publishSkill
- llm-wiki-faqSkill
- llm-wiki-github-actionSkill
- llm-wiki-gitlab-operating-modelSkill
- llm-wiki-human-first-designSkill
- llm-wiki-implementation-deep-diveSkill
- llm-wiki-ingestion-stackSkill
- llm-wiki-interviewSkill
- llm-wiki-local-first-stackSkill
- llm-wiki-mcp-integrationSkill
- llm-wiki-migration-plannerSkill
- llm-wiki-model-policySkill
- llm-wiki-news-radarSkill
- llm-wiki-obsidian-hardeningSkill
- llm-wiki-orientSkill
- llm-wiki-paf-adoptionSkill
- llm-wiki-privacy-redactorSkill
- llm-wiki-provenanceSkill
- llm-wiki-refactorSkill
- llm-wiki-repo-docsSkill
- llm-wiki-retrieval-architectSkill
- llm-wiki-security-reviewSkill
- llm-wiki-setupSkill
- llm-wiki-skill-compilerSkill
- llm-wiki-skill-doctorSkill
- llm-wiki-source-refreshSkill
- llm-wiki-team-rolloutSkill
- llm-wiki-threat-modelSkill
- llm-wiki-trust-auditSkill
- llm-wiki-zero-to-working-wikiSkill
- wiki-ingestSkill
- wiki-lintSkill
- wiki-querySkill
- wiki-triageSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 74
Create a migration table:
- Distinctive: line 83
Keep instruction files short.
- Distinctive: line 107
Do not move user preferences into a shared wiki without approval.
- Distinctive: line 108
Do not delete memory content during migration.
- Distinctive: line 109
Do not hide domain facts in skills.
- Distinctive: line 110
Do not leave instruction files without pointers to the wiki.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
LLM-Wiki Agent Memory Bridge
Goal
Separate durable domain knowledge from runtime/project memory so agents load the right context at the right time.
When to use
AGENTS.md/CLAUDE.mdhas grown large because domain facts were pasted into instructions instead of the wiki.- A wiki page holds procedural agent prompts that belong in a Skill, not domain knowledge.
- Agent memory (Auto Memory, Codex project memory) duplicates or has drifted from existing wiki pages.
- You need to decide where a new piece of knowledge belongs: Skill, instruction file, or wiki.
- Onboarding a new agent (Claude Code, Codex, Cursor, OpenCode) to a project and need to map its existing memory surfaces first.
Inputs
AGENTS.md,CLAUDE.md, project memory files, agent settings.- Existing wiki/vault.
- Target agents: Claude Code, Codex, Cursor, OpenCode, etc.
- Desired mode: audit, plan, or apply.
Procedure
1. Inventory memory surfaces
Find:
- instruction files;
- agent memory files;
- skills;
- wiki pages;
- query logs;
- project docs;
- hidden or generated memory directories.
2. Classify memory items
Use this routing:
| Content | Best home |
| stable procedures | Agent Skill |
| project conventions | AGENTS.md or CLAUDE.md pointer |
| domain facts | LLM-Wiki page with provenance |
| source-backed claims | wiki/sources, wiki/concepts, wiki/entities |
| user preferences | agent/user memory, not public wiki |
| temporary task state | current session or task log |
| sensitive facts | restricted wiki or local-only memory |
3. Detect bloat and drift
Flag:
- giant instruction files full of domain knowledge;
- skills containing volatile facts;
- agent memory duplicating wiki pages;
- wiki pages containing procedural prompts;
- missing pointers from instruction files to wiki index;
- volatile facts (pricing, release notes, maintenance status) embedded directly in a skill or instruction file instead of a wiki page whose claims get re-verified against fresh sources before reuse.
4. Propose moves
Create a migration table:
| Item | Current location | Proposed home | Reason | Risk |
|---|---|---|---|---|5. Apply safe pointer pattern
Keep instruction files short. Replace long domain dumps with pointers such as:
For domain knowledge, read `wiki/index.md` first and then relevant linked pages.Output
## Memory boundary summary
## Memory surfaces found
## Misplaced content
## Proposed moves
## Instruction-file pointer updates
## RisksSafety gates
- Do not move user preferences into a shared wiki without approval.
- Do not delete memory content during migration; archive or link it.
- Do not hide domain facts in skills.
- Do not leave instruction files without pointers to the wiki.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

