citation-fixer

Scan brain pages and repair malformed inline [Source: ...] citations.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Citation errors break trust and make downstream synthesis unreliable, so this Skill audits brain pages and repairs citation formatting so every asserted fact is properly sourced.

Core Features & Use Cases

  • Citation Compliance Scan: Walks all brain pages, detects missing or malformed inline [Source: ...] citations, and flags the remaining gaps.
  • Deterministic Citation Fixes: Rewrites citation markup to match the canonical citation convention without inventing sources.
  • Tweet/Posts URL Resolution (v0.25.1): Finds tweet/post references that lack x.com URLs and resolves them via the host’s X/Twitter API integration, then patches deterministic links.

Quick Start

Run the citation-fixer skill to audit all your brain pages and automatically fix malformed or missing citations, including resolving tweet references that lack x.com URLs.

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 inline citations in my knowledge base pages?

Scan your knowledge base pages to detect missing or malformed [Source: ...] markup and automatically rewrite them to match the standard citation convention without inventing sources.

What's the best way to resolve tweet references that lack x.com URLs in my content?

Resolve tweet references lacking x.com URLs by using the host's configured X/Twitter API integration to fetch deterministic links, then patching those links directly into your page citations.

How does a citation compliance scan work for bulk page cleanup?

A citation compliance scan works by walking all brain pages, detecting formatting issues in inline [Source: ...] citations, and producing a report with counts of pages scanned, issues fixed, and remaining gaps.

Does the citation repair process require an X/Twitter API integration?

An X/Twitter API integration is only required if you need to resolve tweet or post references that lack deterministic x.com URLs; standard citation formatting fixes do not require it.

Will the citation fixer invent sources for unverified facts?

No, the citation fixer will not invent sources; it only repairs citation formatting to match the canonical convention and flags remaining gaps for manual review.