tidy

Identify orphans, stubs, and stale entities in Memstead knowledge graphs.

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/memstead/memstead --skill tidy-memstead
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tidy
Source: https://github.com/memstead/memstead/tree/main/plugins/claude-code/skills/tidy
Command: npx skills add https://github.com/memstead/memstead --skill tidy-memstead

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses structural decay in Memstead knowledge graphs, such as orphaned entities, broken links, and stale data, which can lead to fragmented or unreliable AI memory.

Core Features & Use Cases

  • Structural Assessment: Automatically identifies orphans, stubs, missing fields, and stale entries within the graph.
  • Safe Remediation: Proposes concrete, user-approved fixes for structural issues without modifying external source files.
  • Use Case: Use this skill to clean up a project documentation graph after a major refactor, ensuring all ADRs and specs are correctly linked and up-to-date.

Quick Start

Ask the tidy skill to assess the current mem and propose a plan to fix any structural issues found.

Frequently Asked Questions about tidy

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

FAQPage Schema
How do I find orphaned entities and broken links in a knowledge graph?

To find orphaned entities and broken links in a knowledge graph, run a structural health analysis to automatically identify orphans, stubs, and stale entries. This detects fragmented connections, ensuring your graph maintains reliable structural integrity for AI memory.

What is the best way to clean up stale data after a project documentation refactor?

The best way to clean up stale data after a documentation refactor is to perform structural maintenance on the knowledge graph. This identifies outdated entries and missing fields, proposing user-approved corrective mutations to ensure all specs remain correctly linked and up-to-date.

How does safe remediation work when fixing graph maintenance issues via MCP tools?

Safe remediation for graph maintenance via MCP tools works by proposing concrete fixes for structural issues without modifying external source files. It requires explicit user approval for all write operations, applying corrective mutations only after you review the proposed plan.

Does the tidy skill require write access to fix broken links in the memstead graph?

No, the tidy skill does not require automatic write access; it operates with read-only access to analyze the memstead graph structure. It only proposes concrete, user-approved fixes for structural issues, ensuring you maintain control over all corrective mutations.

When should I use an automated knowledge graph hygiene tool instead of manual cleanup?

You should use an automated knowledge graph hygiene tool instead of manual cleanup when addressing structural decay like orphaned entities and broken links at scale. Automated assessment reliably identifies orphans, stubs, and stale data faster, preventing fragmented or unreliable AI memory.