notebook-llmgraph-update-pattern

Community

Prevent missing LLM graph updates

Authortransreal
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents a subtle consistency bug where newly added or updated NotebookLLMGraph nodes are not visible immediately after being saved by external packages, due to stale in-memory cache behavior.

Core Features & Use Cases

  • Cache-correct update pattern: Ensures the LLM graph is written to both the in-memory cache and the notebook TaggingRules via the correct flush sequence.
  • Guided implementation blueprint: Provides a ready-to-adapt Mathematica-style example for recording state graph runtime nodes into NotebookLLMGraph.
  • Debugging and test validation: Offers test patterns (dynamic key detection and cache dump helpers) to quickly diagnose cache/flush mismatches and context resolution issues.

Quick Start

Use this Skill’s cache-first-then-flush order to update NotebookLLMGraph from an external package so that NotebookLLMGraphNodes immediately reflects the new nodes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: notebook-llmgraph-update-pattern
Download link: https://github.com/transreal/claudecode/archive/main.zip#notebook-llmgraph-update-pattern

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.