citation-fixer

Audit brain pages and repair malformed inline source citations.

5|1|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/GYF0311/lorekit --skill citation-fixer-gyf0311
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: citation-fixer
Source: https://github.com/GYF0311/lorekit/tree/main/brain/skills/citation-fixer
Command: npx skills add https://github.com/GYF0311/lorekit --skill citation-fixer-gyf0311

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It fixes incorrect, incomplete, or broken source citations so your brain pages reliably reference verifiable material in a consistent format.

Core Features & Use Cases

  • Citation compliance audit: scans pages for missing citations, wrong citation structure, and missing required fields like date and source type.
  • Deterministic formatting repairs: rewrites malformed citations to match the canonical citation convention instead of guessing.
  • (v0.25.1) Tweet/post URL resolution: detects X/Twitter references that lack an x.com URL and resolves them via the host’s X API integration to patch deterministic status links.
  • Batch reporting: produces a clear audit report with counts for pages scanned, citations found/fixed, tweets resolved, and remaining gaps.

Quick Start

Ask your AI to fix citations on your brain pages and return an audit report of scanned pages, fixed citation issues, and any tweet links it could resolve.

Frequently Asked Questions about citation-fixer

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

FAQPage Schema
How do I fix missing or malformed inline citations in markdown wiki pages?

To fix missing or malformed inline citations in markdown wiki pages, run an audit to scan for wrong citation structures and missing required fields, then apply deterministic formatting repairs to rewrite them into the standard convention.

How do I repair broken X Twitter links that are missing x.com URLs in my wiki?

To repair broken X Twitter references missing x.com URLs, the citation audit resolves them via the host's X API integration to patch deterministic status links, ensuring verifiable tweet metadata without guessing URLs.

Can I perform a batch citation cleanup across multiple brain pages at once?

Yes, you can perform a batch citation cleanup across multiple brain pages by running a bulk sweep that audits citations, applies deterministic formatting repairs, and produces a report with counts for scanned pages and fixed issues.

What is data provenance citation auditing and when do I need it for wiki maintenance?

Data provenance citation auditing scans wiki pages to find missing or incomplete source references, ensuring your brain pages reliably point to verifiable material in a consistent format during wiki maintenance.

Does the citation formatting repair process work without external dependencies?

Yes, the citation formatting repair process works without external dependencies for standard citations, though resolving broken X/Twitter references into deterministic status links specifically requires the host-provided X API integration.