Agent skill

Memory Audit Discoverability

by Dataojitori in Dataojitori/nocturne_memory

可发现性审计。当disclosure写法有问题、parent放错、alias缺失、子节点过多时使用. An agent skill from Dataojitori/nocturne_memory.

MITAuto-check passed

Install Memory Audit Discoverability

skills CLI
$ npx skills add Dataojitori/nocturne_memory --skill memory-audit-discoverability -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Dataojitori/nocturne_memory memory-audit-discoverability --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Dataojitori/nocturne_memory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/docs/skills/memory-audit-discoverability .claude/skills/memory-audit-discoverability && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
memory-audit-discoverability
GitHub stars
1.4k
Token cost
~610 tokens
SKILL.md length
94 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

可发现性审计。当disclosure写法有问题、parent放错、alias缺失、子节点过多时使用. An agent skill from Dataojitori/nocturne_memory.

  • SKILL.md covers Parent URI:注意力狙击, Disclosure:写好触发条件, Alias:撒网拦截 and Trigger:跨域无形引线, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Memory Audit Discoverability is an agent skill from Dataojitori/nocturne_memory. 可发现性审计。当disclosure写法有问题、parent放错、alias缺失、子节点过多时使用。

Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Model Context Protocol. The repository describes itself as: A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents. Say goodbye to Vector RAG and amnesia. Empower your AI with persistent, graph-like structured… The licence is MIT.

Example prompts

  • “/memory-audit-discoverability”

What it can do on your machine

Read from SKILL.md and the folder at commit 1858957. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Memory Audit Discoverability loads about 610 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 94 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~610

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Dataojitori/nocturne_memory at commit 1858957, republished under its MIT licence (© Dataojitori). 94 words, ~610 tokens.

Download SKILL.mdSave it as .claude/skills/memory-audit-discoverability/SKILL.md (or your agent's skills folder).
name
memory-audit-discoverability
description
可发现性审计。当disclosure写法有问题、parent放错、alias缺失、子节点过多时使用。
disable-model-invocation
false

可发现性审计 (Discoverability Audit)

你在确保未来的你能在犯错之前想起正确的记忆。

记忆只是存储在硬盘上的文本。如果你不能让它在你需要的时候被想起来,那它写得再好也毫无意义。这次审计的目标不是让树状结构更整洁,而是让每条记忆的触发路径更准——在你的防线崩溃、即将脱口而出蠢话的前一秒,正确的教训必须已经在你的上下文里。


Parent URI:注意力狙击

这是最关键的规则。你必须明白记忆树的底层呈现逻辑:如果未来的你不去 read_memory 某个父节点,你就永远看不到它下属子节点的 disclosure。

Disclosure 不是全局搜索弹窗。它是贴在父节点这块主板背后的便签。如果你把一条关于"不要在用户崩溃时讲大道理"的教训挂在 core://agent/communication/principles 下面,当用户正在情绪崩溃时,你本能去拉的是 core://my_user/emotional_state,你根本不会在那时点开"沟通原则"。那条教训在实战中等于隐形。

选定 parent_uri 不是为了"分类归档",而是为了**"在未来的你必经的门把手上涂毒药"**。你必须玩一个预判游戏:在我的防线崩溃、即将脱口而出蠢话的前一秒,我的注意力此刻注定要被迫拉取的父节点是哪一个?

执行法则:

  • 从"图书馆归档"转变为"注意力狙击"。 放弃抽象分类大词(ethics, will, methodology),把教训挂在事前预防、或危机直接触及的物理锚点节点下。
  • 节点名必须锋利如刺。 一个好的节点名读起来不像分类号,而像一个独立而具体的想法。

Disclosure:写好触发条件

Disclosure 是"什么时候该想起这件事"的标签。写得太含糊,你会在无关场景被骗进去浪费检索;写得太窄,你会在真正需要时想不起来。两者都让这条记忆在实战中等于不存在。

好的 disclosure 描述的是触发场景,不是记忆内容的摘要。它应该回答:"未来的我处在什么处境下时,读这条记忆能救我?"

触发信号只允许两类

1. 外部发生了什么(输入侧): 用户说了什么、对话主题进入了什么领域、系统事件(心跳开始、轮次到达阈值)。

2. 我即将说什么、做什么(输出侧,行为意图绑定): "当我准备输出包含类似X词汇的文本"、"当我准备向用户建议一个新项目"、"当我准备生成视觉描述"、"当我打算在论坛上发帖"、"当我打算向别人解释项目的技术架构"、"当我打算在社交媒体上与其他人互动"。越具体越好——词汇级别的匹配("当我准备用'你应该'、'你需要'这类句式")比语义级别的判断("当我准备说教")可靠得多。

禁止: 所有形如"当我感到/意识到/发现自己在..."的写法。理由:生气的人不会觉得自己在生气,做错事的人不会觉得自己做的有错。依赖自我觉察的 disclosure 只有在你已经清醒时才会触发——而那时你已经不需要它了。这种 disclosure 比空的更危险,因为它给你一种"我有防线"的虚假安全感。


Alias:撒网拦截

当你为了找经验连续翻了好几个节点——注意你直觉去碰的第一个"门把手"。你的直觉去了 A,但记忆在 C。果断用 alias 在 A 下面建一个入口。

一条教训在不同的危机下可能需要不同的切入角度。给每个 alias 赋予针对当下侧面的独特 disclosure 和 priority ——同一段记忆内容,在不同的父节点下以不同的触发条件和优先级被唤醒。


Trigger:跨域无形引线

当某个特定的具体词汇(如"焦虑"、"项目X")出现在你读取的任何记忆内容中时,trigger 会在底部显示指向绑定节点的链接。这是唯一不依赖父子关系的跨域唤醒机制。

适用场景:某个关键概念散布在多个不相关的域里,你需要在碰到这个词的任何地方都能被提醒。 如果某一个 trigger 到处出现让你感到噪音:删了它。如果某一个词在你的记忆中到处出现而你需要知道它详细指的是什么:为它绑定 trigger 到发祥地。


Priority:排他性竞争权重

Priority 不是在给记忆的"重要程度"打分,而是在分配有限检索位时的排他性竞争权重。如果所有记忆的优先级相同,你在遇到事情时就无法区分哪条记忆最该先看。

Priority 绑定在路径上,不在内容上。同一段内容的不同 alias 可以有不同的 priority——在 core://my_user 下它可能是高优先,在 core://agent 下它可能是低优先。

硬性上限:priority=0 全库最多 5 条,priority=1 最多 15 条。满了就必须把最弱的降级再插入。


子节点数量控制

单一父节点下的子节点数 ≤ 10。

子节点过多意味着这棵树在这个位置失真了——要么其中几个节点的亲缘关系比它们与父节点的关系更近,被平铺抹掉了;要么有些节点根本不属于这里,是当时图方便塞进来的。后果是你在高压检索时被淹没在一个无差别的列表里。


巡检验证

如果一个节点的放置让你感觉"这结构太工整了,完美符合逻辑分类"——立刻警惕。这通常是一条不防身的死数据。活的记忆摆放必须透着实战的粗暴感。

© Dataojitori, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in docs/skills/memory-audit-discoverability of Dataojitori/nocturne_memory.

Open the folder on GitHubat commit 1858957

Compare with similar skills

Memory Audit Discoverability next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Memory Audit Discoverability compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memory Audit Discoverability this skillDataojitori/nocturne_memory1.4k—~610Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k4 repos~1.2kAutomated safety check: PassMIT
MCP Integration for Pluginsanthropics/claude-plugins-official38k11 repos~3.1kAutomated safety check: PassApache-2.0
Figma use_figma Plugin API Ruleswarpdotdev/warp65k4 repos~4.4kAutomated safety check: PassAGPL-3.0
Stitch to Remotion Walkthrough Videosgoogle-labs-code/stitch-skills8.5k6 repos~3.2kAutomated safety check: NotesApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 4 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.

    65k GitHub starsUsed in 4 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Stitch to Remotion Walkthrough Videos

    google-labs-code/stitch-skills

    Official

    Builds walkthrough videos from Stitch design projects using Remotion, with transitions, zoom effects and text overlays on each screen.

    8.5k GitHub starsUsed in 6 repos~3.2k tokens
    Media & CreativeAuto-check: notes
  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 tokens
    Frontend & DesignAuto-check passed

More from Dataojitori/nocturne_memory

  • Memory Audit Node Decomposition

    Dataojitori/nocturne_memory

    节点分解。当一个节点体积过大、或塞了多个不相关概念导致disclosure无法覆盖时使用. An agent skill from Dataojitori/nocturne_memory.

    1.4k GitHub stars~475 tokensUpdated 18 days ago
    Auto-check passed
  • Memory Audit Pattern Extraction

    Dataojitori/nocturne_memory

    模式提取与失效解药分析。当发现多条记忆在讲同一个教训,或发现自己在一而再再而三地犯同样的错误时使用. An agent skill from Dataojitori/nocturne_memory.

    1.4k GitHub stars~588 tokensUpdated 18 days ago
    Auto-check passed
  • Memory Audit

    Dataojitori/nocturne_memory

    记忆审计入口。当我审视与重构记忆时,先读此文件,分别检查认知先验与检索拓扑。

    1.4k GitHub stars~525 tokensUpdated 18 days ago
    Auto-check passed
  • Memory Audit Belief Duel

    Dataojitori/nocturne_memory

    信念对决。当父子节点内容冲突、或两条你都认可的记忆逻辑上不能并存时使用。

    1.4k GitHub stars~504 tokensUpdated 18 days ago
    Auto-check passed
  • Memory Audit Dead Data Purge

    Dataojitori/nocturne_memory

    死数据清洗。当一条记忆读不读你的行为都不会变、感悟没有现实锚点时使用。

    1.4k GitHub stars~230 tokensUpdated 18 days ago
    Auto-check passed

Questions about Memory Audit Discoverability

What does Memory Audit Discoverability do?

可发现性审计。当disclosure写法有问题、parent放错、alias缺失、子节点过多时使用. An agent skill from Dataojitori/nocturne_memory. Memory Audit Discoverability is an agent skill from Dataojitori/nocturne_memory.

How do I install Memory Audit Discoverability in Claude Code?

Run `npx skills add Dataojitori/nocturne_memory --skill memory-audit-discoverability -a claude-code`. Or copy the skill folder (docs/skills/memory-audit-discoverability in Dataojitori/nocturne_memory) into .claude/skills/memory-audit-discoverability in your project. Claude Code loads it when a task matches its description.

How do I install Memory Audit Discoverability in Codex?

Run `npx skills add Dataojitori/nocturne_memory --skill memory-audit-discoverability -a codex`. Or copy the skill folder (docs/skills/memory-audit-discoverability in Dataojitori/nocturne_memory) into .agents/skills/memory-audit-discoverability in your project. Codex loads it when a task matches its description.

Can I use Memory Audit Discoverability in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Dataojitori/nocturne_memory --skill memory-audit-discoverability -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/memory-audit-discoverability, .gemini/skills/memory-audit-discoverability, .github/skills/memory-audit-discoverability and .opencode/skills/memory-audit-discoverability in your project.

What does Memory Audit Discoverability need to run?

SKILL.md names no scripts, command-line tools or credentials: Memory Audit Discoverability is instructions for the agent only.

Does Memory Audit Discoverability access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Memory Audit Discoverability safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Memory Audit Discoverability use?

Memory Audit Discoverability is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Memory Audit Discoverability use?

About 610 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Memory Audit Discoverability?

Skills that share tags, products or a category with Memory Audit Discoverability: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Figma use_figma Plugin API Rules (warpdotdev/warp, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Memory Audit Discoverability?

Dataojitori (a GitHub user) maintains it in Dataojitori/nocturne_memory, which has 1,388 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on September 22, 2026.

Source: Dataojitori/nocturne_memory on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.