ldm-memory-system

ldm-memory-system is a skill for Claude Code, Codex from Holden323/ldm-skill. It costs 175 tokens per session (1,136 once invoked), scanned A, original, MIT.

A system for organizing an AI project's memories, documents, skills, and reference links. It assigns each kind of information a proper place and keeps one file as the authoritative source.

In plain words
What is it for?
Use it to audit and整理 memory entries, documentation, skills, and pointers across a project.
Why use it?
Project knowledge can become duplicated, outdated, or difficult to find. This system checks where information belongs, whether its source is current, and whether it is indexed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to audit and整理 memory entries, documentation, skills, and pointers across a project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/holden323/ldm-skill/ldm-memory-system
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Holden323/ldm-skill --skill ldm-memory-system
Clone the repo
git clone --depth 1 https://github.com/Holden323/ldm-skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ldm-memory-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/holden323/ldm-skill/ldm-memory-system/github.svg)](https://agentmods.dev/skills/holden323/ldm-skill/ldm-memory-system)
Your own site
<a href="https://agentmods.dev/skills/holden323/ldm-skill/ldm-memory-system"><img src="https://agentmods.dev/badge/skills/holden323/ldm-skill/ldm-memory-system/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ldm-memory-system

Your own site · 80×15
<a href="https://agentmods.dev/skills/holden323/ldm-skill/ldm-memory-system"><img src="https://agentmods.dev/badge/skills/holden323/ldm-skill/ldm-memory-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 175 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,136 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00175 $0.01136
Opus 5.5 $0.00070 $0.00454
Sonnet 5.5 $0.00035 $0.00227
Haiku 4.5 $0.00017 $0.00114

Measured 1mo ago against content hash d062eee8ee5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ldm-memory-system scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/scan.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ldm-memory-system/SKILL.md · 76 lines

What it actually says

认知资产治理

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

先确定任务模式

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

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

四问

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

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

分层原则

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

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

维护流程

目录或知识库体检时:

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

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

    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,不要把案例库全部加载进普通治理任务。

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

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -79 lines · -20 tokens per session d062eee8ee5e
  2. 1mo ago Changed · +8 lines 7bc17ef57220
  3. 1mo ago First seen · 147 lines · 195 tokens per session scan A 528fe226ba1b

Subscribe to this mod's changes

ldm-memory-system is a skill published in the GitHub repository Holden323/ldm-skill (43 stars, last pushed 1mo ago), licensed MIT. It adds 175 tokens to every session and 1,136 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

knowledge-ingest

Ingest documents, articles, conversations, or supplied text into Knowledge with retained originals, sourced claims, entity updates, timelines, and cross-links; also learn durable lessons from a set of conversations, transcripts, or past sessions (/learn), including the Learn from conversations and Learn from Memory…

openclaw/openclaw · 79 tokens

forget

Remove a personal fact, preference, relationship detail, topic, or prior event from Muse's active memory and stop existing copies or automations from bringing it back. Use for explicit requests such as 'forget that', 'don't remember this about me', or 'remove that from your memory'. Do not use when 'forget it' merely…

asgeirtj/system_prompts_leaks · 74 tokens

mem0-oss-to-platform

Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…

mem0ai/mem0 · 217 tokens

Cortex

LifeOS memory, prior-session recall, and learning capture. USE WHEN capture this learning, document this learning, what did we learn recently, recent learnings, cortex, knowledge, knowledge base, search knowledge, what do we know about, archive, harvest, knowledge status, develop note, add to knowledge, add a people…

danielmiessler/LifeOS · 184 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens