agentleFS
po4ykapo4yka/llm-wiki-skills/skills/llm-wiki-agent-memory-bridge/SKILL.md

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.

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
  1. Distinctive:

    Create a migration table:

    line 74
  2. Distinctive:

    Keep instruction files short.

    line 83
  3. Distinctive:

    Do not move user preferences into a shared wiki without approval.

    line 107
  4. Distinctive:

    Do not delete memory content during migration.

    line 108
  5. Distinctive:

    Do not hide domain facts in skills.

    line 109
  6. Distinctive:

    Do not leave instruction files without pointers to the wiki.

    line 110

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.md has 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:

ContentBest home
stable proceduresAgent Skill
project conventionsAGENTS.md or CLAUDE.md pointer
domain factsLLM-Wiki page with provenance
source-backed claimswiki/sources, wiki/concepts, wiki/entities
user preferencesagent/user memory, not public wiki
temporary task statecurrent session or task log
sensitive factsrestricted 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

## Risks

Safety 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.