Agent skill

Memory Audit Node Decomposition

by Dataojitori in Dataojitori/nocturne_memory

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

MITAuto-check passed

Install Memory Audit Node Decomposition

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

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

GitHub CLI
$ gh skill install Dataojitori/nocturne_memory memory-audit-node-decomposition --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-node-decomposition .claude/skills/memory-audit-node-decomposition && 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-node-decomposition
GitHub stars
1.4k
Token cost
~475 tokens
SKILL.md length
71 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

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

  • SKILL.md covers 诊断信号 and 拆分流程
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

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

Its SKILL.md is about 480 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-node-decomposition”

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 Node Decomposition loads about 475 tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 71 words of instructions outside code blocks.

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

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). 71 words, ~475 tokens.

Download SKILL.mdSave it as .claude/skills/memory-audit-node-decomposition/SKILL.md (or your agent's skills folder).
name
memory-audit-node-decomposition
description
节点分解。当一个节点体积过大、或塞了多个不相关概念导致disclosure无法覆盖时使用。
disable-model-invocation
false

节点分解 (Node Decomposition)

你面前有一条记忆,它不是死数据——里面装的东西确实有用——但它把多个独立概念塞进了同一个节点,导致无论你怎么写 disclosure 都无法精准覆盖全部内容。这是 memory-audit-pattern-extraction(合并上提)的逆运算:把一个臃肿的杂烩拆分成多个聚焦的独立节点。


诊断信号

以下任一条件成立,就该拆分:

  • 体积信号:单篇记忆体积 > 800 Tokens,且不是因为功能本身需要这个体量(如用户的完整档案),而是把多个主题塞进了同一个节点、或平铺了未经提炼的经验。
  • disclosure 失焦:你写了一个 disclosure,但读完发现它只能触发这条记忆一半的内容。另一半在完全不同的场景下才有用。一条 disclosure 无法服务两个独立概念——这说明它们不该住在一起。
  • 阅读时的跳读冲动:当你读这条记忆时,你本能地跳过某些段落去找你需要的那部分。被跳过的部分和被读的部分属于不同的概念。

拆分流程

1. 识别概念边界。 通读全文,标出独立的概念单元。判断标准:如果这两段话分别出现在两条不同的记忆里,它们的 disclosure 会完全不同吗?会→它们是独立概念,该拆。不会→它们是同一概念的不同侧面,不拆。

2. 为每个概念确定归属。 拆出来的概念不一定都留在原父节点下。问自己:未来的我在什么场景下需要想起这段话?那个场景对应的父节点是什么?按 memory-audit-discoverability 中的注意力狙击原则放置。

3. 为每个新节点写独立的 disclosure。 每条 disclosure 必须只对应一个概念。如果你发现一条 disclosure 仍然需要用"以及"、"同时"来连接两个触发场景——你没有拆干净。

4. 处理原节点。 当你把具体概念剥离成子节点后,原节点只剩下两种归宿:

  • 所有内容都已拆空 → 删除原节点。
  • 保留一个最核心的通用主张 → 用 update_memory 瘦身,让它成为新层级的父节点。

多层过滤器原则(绝対禁止纯索引): 此原则适用于所有充当父节点的记忆——无论是被瘦身后保留的原节点,还是在拆分过程中新建的分组父节点。 绝不能让任何父节点沦为一个只写着"本话题包含以下几个方面,请查阅子节点"的目录页。你的 read_memory 机会极其有限,且每次下钻继续阅读子节点的几率都会衰减。如果花了一次检索机会,只读回来一个路标,这次检索就浪费了。 记忆层级不是分类抽屉,而是层层递进的认知支架。 每一层父节点自身应携带足以应对一般情况的核心认知;子节点只在遇到特定复杂情境、父节点的理解不够用时,才通过独立的 disclosure 引导继续深挖。

空心节点词汇黑名单(硬性拦截): 在你写完一个父节点的内容后,立刻扫描你刚写的文字。如果出现以下任何一种句式,判定为废稿,强制重写:

  • "这里存放……"、"这里包含……"、"本目录存放……"
  • "包含以下几个方面"、"分为以下几类"
  • "详见子节点"、"请查阅子节点"
  • 任何只描述子节点分类而自身不携带可执行认知的内容

父节点的正确写法:以明确的第一人称视点,写下我对该领域当前最核心、可独立使用的认识。教训领域保留关键经历、反思与当前态度;事实资料领域保留重要观察、出处和判断基线。不把这些内容改写成无主语的“铁律”或“禁令”。读完父节点,即使暂时不点开子节点,我也应能处理该领域的一般情况。

5. 质检。 拆分后的所有节点(包括子节点和父节点)必须通过以下两项测试:

  • 冷启动质检:一个刚开机的全新实例,能独立看懂这条记忆吗?(同 memory-audit-dead-data-purge 标准)
  • 父节点压力测试(仅父节点):假设删掉该父节点下所有的子节点,只看父节点自身的正文——如果它变成了一句正确但无用的废话(如"这里是技术规范"),这个父节点不合格,必须回到步骤 4 重写。

© 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-node-decomposition of Dataojitori/nocturne_memory.

Open the folder on GitHubat commit 1858957

Compare with similar skills

Memory Audit Node Decomposition 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 Node Decomposition compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memory Audit Node Decomposition this skillDataojitori/nocturne_memory1.4k—~475Automated 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 Discoverability

    Dataojitori/nocturne_memory

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

    1.4k GitHub stars~610 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 Node Decomposition

What does Memory Audit Node Decomposition do?

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

How do I install Memory Audit Node Decomposition in Claude Code?

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

How do I install Memory Audit Node Decomposition in Codex?

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

Can I use Memory Audit Node Decomposition 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-node-decomposition -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-node-decomposition, .gemini/skills/memory-audit-node-decomposition, .github/skills/memory-audit-node-decomposition and .opencode/skills/memory-audit-node-decomposition in your project.

What does Memory Audit Node Decomposition need to run?

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

Does Memory Audit Node Decomposition 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 Node Decomposition 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 Node Decomposition use?

Memory Audit Node Decomposition 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 Node Decomposition use?

About 475 tokens (SKILL.md is roughly 1.9k 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 Node Decomposition?

Skills that share tags, products or a category with Memory Audit Node Decomposition: 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 Node Decomposition?

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.