maintain

Audit GBrain knowledge bases for stale pages, dead links, and citation gaps.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill audits a GBrain knowledge base for freshness, integrity, and quality so your agent can trust citations, links, and graph structure.

Core Features & Use Cases

  • Back-link enforcement & repair: Detects missing wikilinks/backlinks and adds the required connections.
  • Citation audit & validation: Flags pages with missing or invalid source citations and helps bring them back into compliance.
  • Stale, orphan, and link-graph maintenance: Finds stale compiled truth, orphan pages, dead links, missing cross-references, and repopulates link/timeline data when needed.
  • Benchmark testing & reporting: Runs Tier 1–4 quality checks and produces a structured maintenance report with per-dimension counts.

Quick Start

Ask to "check brain health and fix maintenance issues," then run the maintenance workflow with remediation enabled and a target quality score.

Frequently Asked Questions about maintain

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

FAQPage Schema
How do I run a knowledge graph health check to find stale content and dead links?

Run a knowledge graph health check to detect stale pages, orphan content, and dead links. The maintenance process identifies missing cross-references and repopulates link or timeline data to restore overall graph integrity.

How does backlink enforcement work for wikilinks in a knowledge base?

Backlink enforcement detects missing wikilinks and backlink violations across the knowledge base. It automatically adds the required connections to ensure the graph structure remains compliant and fully interconnected.

What is the best way to validate citations and fix missing source references?

The best way to validate citations is running a citation audit that flags pages with missing or invalid source citations. This helps bring non-compliant pages back into alignment with quality benchmarking standards.

Does the maintenance workflow support automated remediation for RLS security checks?

Yes, the maintenance workflow supports automated remediation for RLS security checks. It executes remediation actions with validation while producing a dimension-by-dimension health report with counts.

When should I perform brain health maintenance on my knowledge base?

Perform brain health maintenance during periodic checks, post-import verification, or when quality scores and coverage metrics degrade across search, graph, and timeline layers to ensure data freshness and integrity.

Can I manually walkthrough specific maintenance dimensions instead of automated remediation?

Yes, you can perform a manual dimension walkthrough instead of automated remediation. The workflow supports either an automated remediation-plan loop or a manual walkthrough to address schema health and embedding staleness.