graph-hygiene

Solid

Logseq knowledge-graph maintenance lint. scans 7 categories (stale pages, orphans, missing properties, dead links, missing compiled-truth/timeline structure, tag inconsistency, duplicate near-names), emits severity-tagged findings. Never auto-deletes. flags for /review only. Read by graph-hygiene-weekly cron.

AI & Automation 3 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
20
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Graph Hygiene. Logseq Knowledge Graph Maintenance ## Tone & Voice Diagnostic operational telemetry. Output is structured findings + actionable severity tags, not advisory prose. Match the self-audit register: terse, evidence-grounded, severity classified. **Hard rule**: never auto-delete pages. flag for `/review` always, deletion is human-approved only. ## Invocation patterns How to invoke: - Scheduled cron: `graph-hygiene-weekly` fires weekly (e.g. Sat 08:00 local) → invokes this skill autonomously - Manual: `/review graph`, "run graph hygiene", or "graph health check" in chat - Trigger keywords: graph, hygiene, lint logseq, orphan check, stale pages ## Purpose Automated lint and health check for the Logseq knowledge graph. Detects entropy before it compounds: stale pages, broken links, orphans, missing properties, inconsistent tags. ## When to Run - Scheduled: weekly (e.g. Sunday 08:00 local) - Manual: `/review graph` or when the operator asks about graph health ## Checks ### 1. Stale Pages. `severity: critical` (Pipeline/Client) / `warning` (Prospect) Pages in active namespaces (Pipeline/, Client/, Prospect/) where `updated::` property is older than 30 days. - **Action:** List with last-updated date. Flag as "needs review or archive." - **Threshold:** Pipeline/Client >30d = critical; Prospect >60d = warning. ### 2. Orphan Pages. `severity: warning` Pages with zero inbound links (no other page references them). - **Exclude:** Journal/, Template/, Meta/, Archive/ ...

Details

Author
0xUrsanomics
Repository
0xUrsanomics/utopia-os
Created
5 days ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

system-health

Preventive hygiene audit of your own Claude Code configuration — memory files, project context (CLAUDE.md), rules, permissions, skills — a deterministic scan of sizes / broken links / stale entries / excessive permissions / junk + interpretation + targeted fixes by agreement. Keeps the setup from rotting before it breaks. Triggers — "check the system", "system health", "workflow hygiene", "what to clean up", "audit memory", "optimize the system".

14 Updated 3 days ago
Sanexxxx777
Code & Development Listed

wiki-lint-semantic

Run the judgement-requiring health checks on the KB — whether a comparison truly covers the key difference dimensions (L4), whether cross-page conclusions contradict, whether recent kb-save output adds real value (Q2) — emitting Review-Queue proposals only, never editing any wiki page. Use when the user says "do a semantic health check / check for contradictions / see whether the comparison pages are complete". Deterministic lint (L1/L2/L3/L5/L6/broken-links/duplicates) is handled by scripts/pipeline.py lint, not here.

1 Updated 5 days ago
Iabstergo1
AI & Automation Listed

kg-maintain

Knowledge graph maintenance — a bounded, resumable pass that pays down the graph's DEBT line (rendered after HEALTH in every kg_read). Run it when invoked, when DEBT shows HIGH, or as a dispatched maintenance subagent. Always-on reactive triggers (no pass needed, act mid-conversation): User correction → update the stale node before continuing. Node just proved useful → add one edge to current context. Gist feels vague after using it → sharpen while context is live. Just saved a node → check: duplicate? adjacent nodes need updating? Archival is automatic and reversible — leave archived nodes alone. Deletion is a last resort, only for the factually wrong and unfixable.

4 Updated today
mironmax