CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

citation-fixer

Audit and fix citation formatting across brain pages. Ensures every fact has an inline [Source: ...] citation matching the standard format. Extended in v0.25.1: scans for broken tweet/post references that lack actual URLs and resolves them via the host's X / Twitter API integration.

Quality

74%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./plugin/skills/citation-fixer/SKILL.md

The canonical home for this skill is citation-fixer in garrytan/gbrain

SKILL.md
Quality
Evals
Security

Quality

Content

81%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is a strongly operational skill: concrete search queries, executable batch tooling, deterministic link rules, explicit validation, and real error-recovery loops make it directly executable. Its main weaknesses are token waste — leftover template sections, a Contract/Phases redundancy, and repeated time-sensitive version markers — and slightly inconsistent external reference paths.

Suggestions

Delete the vestigial trailing "## Output Format" section (lines 215–217); it is template filler that duplicates the real Output format section and adds no information.

Consolidate the six scattered "(v0.25.1)" markers into a single note (or a changelog/deprecated section) and reconcile them with the frontmatter's version 1.1.0 — per the rubric, scattered version/date references penalize conciseness.

Merge the "Contract" section into "Phases" (they restate the same guarantees) and normalize reference paths so all conventions links use the same "../conventions/" prefix.

DimensionReasoningScore

Conciseness

The body is mostly dense and non-pedagogical, but it carries avoidable tokens: a vestigial trailing "## Output Format" section that is pure template filler ("documented inline in the body sections above (see 'Output', 'Brain page format', or equivalent)"), "(v0.25.1)" version markers repeated roughly six times (time-sensitive version info that also drifts from the frontmatter's version 1.1.0), and a Contract section that restates the Phases. This matches "mostly efficient but could be tightened" rather than the minor-trim anchor 4.

3 / 5

Actionability

Guidance is copy-paste ready throughout: an executable bash candidate-finding script, exact X search query strings ("from:<handle> \"<exact quote fragment>\"", "\"<exact quote>\" -is:retweet"), a deterministic URL construction pattern, before/after patch examples, a fixed report format, a JSON state-file schema, and specific error-code handling. The only abstraction — routing API calls through "whatever X integration the host has configured" — is explicitly justified as host-dependent, satisfying the flexibility exception.

5 / 5

Workflow Clarity

Phases 1–5 are clearly sequenced with explicit validation (Step 4: "Confirm the text matches the quoted fragment"), batch safeguards (batch-commit every 10–20 pages, ~50 pages per run, rate-limit respect), and genuine feedback loops for error recovery in "When it fails" (revision_conflict → re-read and re-apply only the fix; interrupted commit → resume from the last committed page). The batch-operation cap at 3 does not apply because validation and recovery checkpoints are present.

5 / 5

Progressive Disclosure

A single ~190-line file with clear, well-ordered section headers and one-level-deep, clearly linked references (conventions/quality.md, _output-rules.md, agent-operator-protocol.md). Minor gaps keep it below anchor 5: referenced paths are inconsistent ("conventions/test-before-bulk.md" lacks the "../" prefix the other references carry) and none are verifiable within the bundle since no bundle files exist, and the dangling duplicate "Output Format" section at the end confuses navigation.

4 / 5

Total

17

/

20

Passed

Description

58%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description communicates a concrete, distinctive capability set but reads as a changelog-style capability list rather than a routing description: it buries the newest extension (v0.25.1 tweet resolution) in half its text while omitting any use-when guidance and the natural trigger phrases that live only in the frontmatter triggers. Folding the trigger phrasing into the description itself and trimming the version-history framing would lift both completeness and trigger-term quality.

Suggestions

Add an explicit "Use when..." clause to the description itself (e.g., "Use when the user asks to fix citations, audit sources, or repair broken tweet/post links on brain pages") so the description field is self-sufficient for routing.

Include the natural user phrases already present in the triggers list ("fix citations", "citation audit", "check citations") and common synonyms ("sources", "attributions", "broken links") directly in the description text.

Replace the "Extended in v0.25.1:" changelog framing with a plain capability statement (version history belongs in a changelog, not the routing description) and lead with the core citation-audit purpose.

DimensionReasoningScore

Specificity

Lists several concrete actions — "Audit and fix citation formatting", "scans for broken tweet/post references that lack actual URLs and resolves them via the host's X / Twitter API integration" — but "Ensures every fact has an inline [Source: ...] citation" is a guarantee statement rather than an action and reporting behavior is uncovered, so it falls short of the comprehensive anchor 5.

4 / 5

Completeness

It clearly answers "what" (audit/fix citation format, resolve broken tweet references via X API) but contains no "Use when..." clause or equivalent trigger guidance within the description field, which per the rubric caps completeness at 3; not 2 because the "what" is concrete and multi-part.

3 / 5

Trigger Term Quality

The description contains relevant keywords ("citation formatting", "tweet/post references", "X / Twitter") but omits natural phrases users would actually say ("fix citations", "check sources", "broken links", "attributions") — those appear only in the frontmatter triggers/when_to_use, not in the description text itself, matching the "missing common variations or synonyms" anchor.

3 / 5

Distinctiveness Conflict Risk

Scoped to a clear niche — citation format compliance on "brain pages" plus tweet resolution via the X API — but "fix citation formatting" could still mildly overlap with generic formatting or link-checking skills, placing it at "mostly distinct; minor overlap risk" rather than the minimal-conflict anchor 5.

4 / 5

Total

14

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

relative_links

Relative link issues: 3 suspicious

Warning

Total

14

/

16

Passed

Repository

garrytan/gbrain

Path

plugin/skills/citation-fixer/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.