memory-index-sync

Synchronize filesystem memory indexes with actual file presence in index.md.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/bketelsen/truenas-mcp --skill memory-index-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-index-sync
Source: https://github.com/bketelsen/truenas-mcp/tree/main/.gaai/core/skills/cross/memory-index-sync
Command: npx skills add https://github.com/bketelsen/truenas-mcp --skill memory-index-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that your AI's memory index (index.md) accurately reflects all existing knowledge files on disk, preventing data inconsistencies and ensuring reliable memory recall.

Core Features & Use Cases

  • Detects and registers files on disk that are missing from index.md.
  • Flags missing files that are registered in index.md but no longer exist on disk.
  • Reconciles supersession information between files and the index.
  • Updates file counts in the index.
  • Use Case: After a batch of memory files were created or deleted, run this skill to automatically update index.md and confirm data integrity before further operations.

Quick Start

Run the memory-index-sync skill to ensure the memory index is up-to-date with all files on disk.

Frequently Asked Questions about memory-index-sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix memory index drift when files on disk don't match index.md?

To fix memory index drift, synchronize the filesystem-based memory index with actual file presence. This skill detects unlisted files and registers them, while flagging missing files registered in index.md but no longer existing on disk.

How does memory index synchronization detect unregistered knowledge files?

Memory index synchronization scans specified directories to compare actual files against index.md entries. It identifies knowledge files present on disk but missing from the index, automatically registering them to ensure reliable memory recall.

What's the best way to update index.md after deleting multiple memory files?

The best way to update index.md after file deletion is running a synchronization process. It flags missing files registered in the index but no longer on disk, and updates file counts to maintain index integrity.

Can I reconcile supersession status between memory files and a knowledge index?

Yes, you can reconcile supersession information between files and the index. This skill manages supersession status alongside decision registries and summary files to ensure complete index integrity.

When should I run a memory index sync to heal filesystem knowledge drift?

You should run a memory index sync after a batch of memory files are created or deleted. This proactively heals drift, updates index.md, and confirms data integrity before further operations.

Does memory index synchronization require external dependencies to operate?

Memory index synchronization operates directly on index.md and associated memory files within specified directories using included scripts and references, requiring no external dependencies to heal drift.