maintain

Run automated health checks for stale pages, orphan pages, and dead links.

1|Updated May 12, 2026
One-click install
npx skills add https://github.com/ltdrew/Agent-brain-2 --skill maintain-ltdrew
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: maintain
Source: https://github.com/ltdrew/Agent-brain-2/tree/main/skills/maintain
Command: npx skills add https://github.com/ltdrew/Agent-brain-2 --skill maintain-ltdrew

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Maintains brain health and data integrity by performing automated checks like backlinks, citations, stale content, and orphan pages, and by auditing and repairing the knowledge graph.

Core Features & Use Cases

  • Periodic health checks: detect stale pages, orphan pages, dead links, and missing cross-references.
  • Backlink enforcement and citation audits: ensure proper references and provenance across the timeline.
  • Graph maintenance: populate/update the link graph and timeline to keep memory fresh and trustworthy.
  • Use Case: Run a full maintenance cycle to refresh the brain's memory and fix inconsistencies after large imports.

Quick Start

Run gbrain maintain to perform a full health check and fix identified issues.

Frequently Asked Questions about maintain

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

FAQPage Schema
How do I detect orphan pages and stale content in my knowledge base?

To detect orphan pages and stale content in your knowledge base, run an automated health check that scans frontmatter metadata to flag isolated notes lacking inbound connections and outdated information. This process identifies stale pages and orphans during scheduled audits.

What is backlink enforcement and citation audit for data integrity?

Backlink enforcement and citation audit for data integrity is the process of verifying that timeline references and provenance links exist across your graph. It ensures proper cross-references are maintained, preventing broken references and dead links within the knowledge base.

How do I populate and update a link graph and timeline automatically?

Populate and update a link graph and timeline automatically by running a structured maintenance workflow that scans cross-references and frontmatter triggers. This refreshes the brain's memory, populating missing links and updating the timeline graph across the knowledge base.

Does this knowledge graph maintenance approach work after large data imports?

Yes, this knowledge graph maintenance approach works after large data imports by running a full maintenance cycle to refresh memory and fix inconsistencies. It repairs the link graph, enforces backlinks, and audits citations to restore data integrity.

What are the limitations of automated brain maintenance for stale pages?

Limitations of automated brain maintenance for stale pages include its reliance on structured frontmatter metadata, defined triggers, and tools to load context. Without proper metadata inputs, the automated checks for dead links and cross-references cannot execute effectively.