Skip to content
Skills Library
AI & agents · Automation

maintain

/maintain

This skill should be used when wiki-curator needs to apply auto-fixes for structural violations (orphans, missing fields, hot.md updates) and propose semantic fixes (contradictions, supersession, hub splits) with user confirmation. Triggers on "fix wiki issues", "auto-resolve", "split hubs", "promote drafts", "update hot.md".

Licence
MIT
Last repository change
28.05.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 28.05.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

This skill should be used when wiki-curator needs to apply auto-fixes for structural violations (orphans, missing fields, hot.md updates) and propose semantic fixes (contradictions, supersession, hub splits) with user confirmation. Triggers on "fix wiki issues", "auto-resolve", "split hubs", "promote drafts", "update hot.md".

Triggers from the description

fix wiki issuesauto-resolvesplit hubspromote draftsupdate hot.md
Original author description

This skill should be used when wiki-curator needs to apply auto-fixes for structural violations (orphans, missing fields, hot.md updates) and propose semantic fixes (contradictions, supersession, hub splits) with user confirmation. Triggers on "fix wiki issues", "auto-resolve", "split hubs", "promote drafts", "update hot.md".

How it works

  1. Purpose
  2. Trigger phrases
  3. Inputs
  4. Outputs
  5. Workflow
  6. Quality gate
  7. Anti-patterns
  8. Scripts used
Original SKILL.md headings · 99 lines, 373 words
SKILL.md preview
---
name: maintain
description: This skill should be used when wiki-curator needs to apply auto-fixes for structural violations (orphans, missing fields, hot.md updates) and propose semantic fixes (contradictions, supersession, hub splits) with user confirmation. Triggers on "fix wiki issues", "auto-resolve", "split hubs", "promote drafts", "update hot.md".
---

# Maintain — Proactive Wiki Hygiene (Write)

## Purpose

Apply fixes from audit findings. Structural violations auto-fix; semantic violations propose with rationale and ask.

Used by wiki-curator.

## Trigger phrases

- "fix wiki issues"
- "auto-resolve P0 violations"
- "split hub X"
- "mark Y superseded by Z"
- "promote drafts"
- "update hot.md"

## Inputs

- Audit findings (from `audit` skill output) OR specific issue
- Mode: `auto` (apply structural fixes immediately) or `ask` (confirm each)

## Outputs

- Edits to `wiki/` (supersession links, hub splits, hot.md updates, promotion)
- Append entry to `wiki/_logs/maintain-<date>.md`

## Workflow

For each finding:

1. **Classify**:
   - **Structural** (auto-fixable): orphan-link suggestion, missing required frontmatter field, hot.md update, schema field, regenerate index/hubs
   - **Semantic** (needs review): contradictory key_claims, page merge candidates, supersession proposals

2. **Structural fix flow**:
   - Apply via appropriate script:
     - `update-hot.sh` for session cache
     - `regenerate.sh` for index regen
     - `update-hubs.sh` for hub regen
     - `promote-draft.sh` for `wiki/_drafts/<slug>.md` → published
   - Log to `_logs/maintain-<date>.md`

3. **Semantic fix flow**:
   - Propose with rationale: "X contradicts Y on claim Z. Recommend: mark Y as superseded by X, with note `<why>`."
   - Wait for user confirmation
   - On confirm: invoke `supersede-page.sh --vault $V --old Y --new X`
   - Log

4. **Hub split** (when audit reports hub >15):
   - Dry-run first: `split-hub.sh --vault $V --hub <slug> --dry-run`
   - Show proposal
   - On confirm: re-run with `--apply`
   - Update domain hub references

5. **After all fixes**: re-run `audit` skill. Verify P0 count is 0.

6. **Append log entry** to `wiki/_logs/maintain-YYYY-MM-DD.md`:

```markdown
## Maintain run YYYY-MM-DD HH:MM

### Auto-fixed (structural)
- [X]
- [Y]

### Confirmed by user (semantic)
- [Z]: rationale

### Skipped (declined)
- [W]: reason
```

## Quality gate

- 0 P0 findings after maintain run (verified by post-audit)
- Every semantic edit has logged rationale
- Backup not strictly required (git is the rollback)

## Anti-patterns

- DO NOT capture new sources (Scribe/Researcher)
- DO NOT synthesize new knowledge (Researcher)
- DO NOT answer questions (Advisor)
- DO NOT silently apply semantic fixes — always ask
- DO NOT write outside wiki/ (especially never to raw/)

## Scripts used

- `${CLAUDE_PLUGIN_ROOT}/scripts/update-hot.sh`
- `${CLAUDE_PLUGIN_ROOT}/scripts/supersede-page.sh`
- `${CLAUDE_PLUGIN_ROOT}/scripts/split-hub.sh`
- `${CLAUDE_PLUGIN_ROOT}/scripts/promote-draft.sh`
- `${CLAUDE_PLUGIN_ROOT}/scripts/regenerate.sh`
- `${CLAUDE_PLUGIN_ROOT}/scripts/update-index.sh`
- `${CLAUDE_PLUGIN_ROOT}/scripts/update-hubs.sh`
- `${CLAUDE_PLUGIN_ROOT}/scripts/wiki-health.sh` (post-fix verification)

Versions

RepositoryScoreLicence
This page · ignromanov/llm-obsidian-wiki100MIT
noobnooc/searchkeep100MIT
exmergo/dex100Apache-2.0
Kirbo/claude-progress-panel100MIT
kernel64/claude-shared-memory100MIT
jamesm-dev/payday-dev100MIT
voxtechnologies/transmute-framework100MIT
garrytan/gbrain95MIT
exmergo/dex95Apache-2.0

Database snapshot: 13.11.2026 · package version ccdddacaf9f1 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100audit
    This skill should be used when wiki-curator needs to perform a read-only health check of the vault, scanning for orphans, stale pages, source drift, contradictions, and tree-topology violations. Triggers on "audit wiki", "check health", "find issues", "wiki diagnostic".
  • 90llm-wiki-lint
    Run a structural and logical health check of the LLM Wiki OKF bundle against SPEC.md and AGENTS.md. Use whenever the operator asks to lint the wiki, check for schema violations, contradictions, stale claims, orphan pages, broken wikilinks, or health-check the wiki after ingests.
  • 100wiki-maintain
    Runs non-interactive maintenance on an Obsidian-based LLM knowledge wiki — deterministic validation, semantic health checks, trivial auto-fixes, and a written report. Built to be scheduled (cron/launchd). Triggers when the user runs /wiki:maintain, asks to "run wiki…
  • 100curator
    Use when ingesting memory into the wiki, running wiki_curator.py (run/report/validate/lint/search), or linting wiki structure.
  • 100lint
    This skill is used when the project wiki needs a health check. Triggers include 'lint the wiki', 'check wiki health', 'run field-guide lint', 'are there stale wiki pages', 'find orphaned pages', 'check for contradictions in the wiki'.
  • 100mindbase
    Maintain a persistent AI-tended research wiki. Activates when the user wants to ingest a source (PDF, URL, article, paste), capture a thought, build the wiki context, query what's already known, lint for orphans/contradictions, or maintain page conventions. Phrases include "add…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.