Ldm Memory System logo

Ldm Memory System

Community
Holden323
ldm-memory-system

设计、审查和整理由 Memory、项目文档、Skill 与索引组成的长期认知资产系统。用户说“搭建记忆系统”“清理 memory”“memory 体检”“整理知识库”“检查真源或失效指针”“Skill 太多了”时使用;不处理普通文件归档、会话交接、代码部署或一般项目清理。 Design, audit, and maintain a long-term cognitive asset system composed of Memory, project docs, Skills, and pointers. Triggered when the user says "build memory system," "clean up memory," "memory health check," "organize knowledge base," "check source of truth or stale pointers," or "too many skills"; not used for ordinary file archiving, session handoff, code deployment, or general project cleanup.

Overview

PublisherHolden323
Repositoryldm-skill
Skill nameldm-memory-system
Stars
44
Forks
5
Bundled files
13
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 13 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Holden323 on GitHub. Read the source before you install it.

Installation

Install the Ldm Memory System AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Holden323/ldm-skill/tree/main/skills/ldm-memory-system
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Holden323/ldm-skill.git /tmp/ldm-skill
mkdir -p .claude/skills
cp -r /tmp/ldm-skill/skills/ldm-memory-system .claude/skills/ldm-memory-system
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ldm Memory System in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ldm Memory System on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ldm Memory System is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

认知资产治理

目标是让重要信息放在合适的层级,只有一个可维护的真源,仍然准确并且找得到。

先确定任务模式

  • 诊断或体检:只读检查,给出证据和候选清单。
  • 搭建或重构:先了解现有项目与入口,再提出可审查的结构方案。
  • 执行整理:按用户明确授权的范围修改;涉及范围不明的删除或批量移动时,先给具体清单。
  • 单条写入:判断应写入 Memory、文档、Skill 还是配置,不必运行全套扫描。

用户明确指定了某条内容的保留、移动或删除方式时,以当前指令为准。不要用 Skill 的默认流程覆盖用户选择。

四问

对 Memory 条目、文档、Skill 和指针统一判断:

  • 住哪层:这是长期偏好、项目事实、可复用流程还是环境配置?
  • 真源在哪:哪个位置负责更新?其他位置是否只是索引或过时副本?
  • 还准吗:路径、链接、数字、版本和项目状态能否当场验证?
  • 找得到吗:入口是否足够让人和 Agent 快速定位?只有存在真实导航困难时才补索引。

分层原则

  • Skill:可重复执行的方法、领域规则和工具流程。
  • 项目文档:项目事实、决策、素材、产出和历史。
  • Memory:跨会话经常需要的偏好、当前状态和短指针。
  • 配置文件或密钥存储:凭证、运行参数和环境事实。

一条信息只设一个真源。其他层可留简短指针,但不要复制正文。Memory 的容量应由检索价值决定,不把它当完整数据库。

维护流程

目录或知识库体检时:

  1. 明确扫描范围和当前任务,不默认扩大到全部工作区。

  2. 对目录运行只读扫描:

    bash
    python3 scripts/scan.py <目标目录> [--depth 2] [--compact]
  3. 结合实际内容解释候选项。脚本发现同名、缺 README 或散落文件,不等于必须删除或移动。

  4. 输出需要处理的候选项:重复或僵尸、应迁移的信息、失效指针。每项说明证据、目标位置和风险。

  5. 执行已明确授权的修改;范围不明的删除、覆盖或批量迁移需等用户确认具体清单。

  6. 修改后重新验证指针、入口和真源,不为凑流程重复全量扫描。

详细维护步骤见 references/scan-workflow.md。只有任务涉及目录结构时才读 references/folder-rules.md。

搭建流程

从零搭建或大幅重构时,读取 references/setup-guide.md。先利用已有 README、目录和 Memory 推断结构;只有缺失信息会改变方案时再提问。

不要强迫每个目录拥有 README,也不要按固定行数决定文档是否需要章节。索引和分层的复杂度应与实际查找成本相称。

安全与真实性

  • 不把完整密钥、Token 或敏感凭证写进 Memory、文档或报告。
  • 项目完结状态不能仅凭不活跃、离职或停更推断;若处置依赖该状态,列为待确认事实。
  • “降级”是把详情移到合适真源并保留必要指针,不是让仍有价值的信息消失。
  • 删除已有内容前确认目标和真源;用户已经明确点名并授权删除时,不重复索要相同确认。
  • 外部链接、云文档和定时任务优先用只读方式验证。

经验与评测

需要追查历史事故或维护本 Skill 时再读 references/pitfalls.md,不要把案例库全部加载进普通治理任务。

完成标准:用户能说明重要信息在哪里更新;重复规则减少;关键指针有效;未经授权的内容未被移动或删除;报告没有泄露凭证。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ldm Memory System AI skill do?

设计、审查和整理由 Memory、项目文档、Skill 与索引组成的长期认知资产系统。用户说“搭建记忆系统”“清理 memory”“memory 体检”“整理知识库”“检查真源或失效指针”“Skill 太多了”时使用;不处理普通文件归档、会话交接、代码部署或一般项目清理。 Design, audit, and maintain a long-term cognitive asset system composed of Memory, project docs, Skills, and pointers. Triggered when the user says "build memory system," "clean up memory," "memory health check," "organize knowledge base," "check source of truth or stale pointers," or "too many skills"; not used for ordinary file archiving, session handoff, code deployment, or general project cleanup.

Why use Ldm Memory System on TypingMind?

Because you install it once and use it with any model. Ldm Memory System is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ldm Memory System in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Holden323/ldm-skill/tree/main/skills/ldm-memory-system. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ldm Memory System?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ldm Memory System?

As many as you like. As long as a model supports skills, you can use Ldm Memory System with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ldm Memory System AI skill free?

Yes. It is published on GitHub by Holden323 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇