| name | scholar-citation-verify |
| disable-model-invocation | true |
| description | Four-layer citation verification for academic papers. Scans LaTeX/BibTeX files, verifies every citation via WebSearch and Google Scholar, generates verification report with fix suggestions. Triggers on "verify citations", "check references", "citation verification", "prevent fake citations", "ๅผ็จ้ช่ฏ". |
| allowed-tools | ["Bash","Edit","Glob","Grep","Read","WebFetch","WebSearch","Write","request_user_input","update_plan"] |
| session-mode | none |
| version | 0.5.55 |
Plan tracking: codex ๆ TaskCreate/TaskUpdate/TodoWrite ไปปๅกๆฟใ่ฟๅบฆๆธ
ๅ็จ update_plan({ explanation?, plan: [{ step, status }] }) ็ปดๆค๏ผๆดไฝๆไบคๆญฅ้ชคๆฐ็ป๏ผstatus: pending | in_progress | completed๏ผ๏ผๆๅจ็ถๆๅง็ปๅจ session ๅทฅไปถไธญ๏ผไพ่ต/่ฎค้ข๏ผaddBlockedBy/owner๏ผๆฏๅทฅไปถๅญๆฎต๏ผไธๆฏๅทฅๅ
ทๅๆฐใ
Scholar Citation Verify
Four-layer citation verification workflow for academic papers. Scans paper files, verifies every citation through WebSearch/Google Scholar/APIs, and produces a verification report with actionable fixes.
Pre-load (before execution)
- Codebase docs: If
.workflow/codebase/ARCHITECTURE.md exists, read for project context
- Specs:
maestro load --type spec --category coding โ load coding conventions
- Wiki knowledge:
maestro search "academic writing research paper" --json โ top 5 entries as prior context
- All optional โ proceed without if unavailable
Architecture Overview
User: "Verify citations in my paper"
|
v
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ SKILL.md (Orchestrator) โ
โ Collect preferences โ Dispatch phases โ Track progress โ
โโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
โโโโโโโโโผโโโโโโโโโโโโฌโโโโโโโโโโโโโโโ
v v v v
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ P1 โโ P2 โโ P3 โ
โ Scan โโ Verify โโ Report โ
โ & โโ 4-Layer โโ & Fix โ
โExtractโโ โโ โ
โโโโฌโโโโโโโโโโฌโโโโโโโโโโโโโโฌโโโโโโโโ
โ โ โ
v v v
citation verified report.md
entries results + fixed .bib
Key Design Principles
- Never trust AI-generated citations: AI citations have ~40% error rate. Every single citation must be verified via external search.
- Verify during writing, not after: Proactive verification integrated into the writing process.
- Four-layer verification: Format โ Existence โ Information Matching โ Content Validation.
- Clear failure marking: Unverifiable citations marked as
[CITATION NEEDED], never silently skipped.
Interactive Preference Collection
Before dispatching to any phase, collect these preferences:
Questions to ask the user:
1. Paper Location
"Where are the paper files? (directory path)"
โ paperDir
2. Verification Mode
Options: Full (all citations) | Incremental (new/changed only) | Spot Check (random sample)
โ verificationMode
3. Strictness Level
Options: Strict (for submission) | Normal (for draft) | Lenient (quick check)
โ strictness
4. Auto-fix
Options: Yes (auto-fix format issues) | No (report only)
โ autoFix
Store responses as verifyPreferences context for all phases.
Auto Mode Defaults
When workflowPreferences.autoYes === true:
- Detect paper directory from cwd
- Full verification mode, Normal strictness
- Auto-fix enabled
- Skip confirmation prompts
Execution Flow
COMPACT DIRECTIVE: Context compression MUST check update_plan phase status.
The phase currently marked in_progress is the active execution phase โ preserve its FULL content.
Only compress phases marked completed or pending.
update_plan Setup
Citation Verification:
- [ ] Phase 1: Scan & Extract โ find .tex/.bib files, extract all citations
- [ ] Phase 2: 4-Layer Verify โ format, existence, matching, content checks
- [ ] Phase 3: Report & Fix โ generate report, apply fixes
Phase Sequence
Phase 1: Scan & Extract
โโ Ref: phases/01-scan-extract.md
โโ Input: paperDir, verificationMode
โโ Output: citationEntries (list of all citations with metadata)
Phase 2: 4-Layer Verify
โโ Ref: phases/02-verify.md
โโ Input: citationEntries, strictness
โโ Output: verificationResults (per-citation status + details)
Phase 3: Report & Fix
โโ Ref: phases/03-report-fix.md
โโ Input: verificationResults, autoFix
โโ Output: report.md + optionally fixed .bib file
Phase Reference Documents (read on-demand when phase executes):
Compact Rules:
- update_plan
in_progress โ preserve full content, do not compress
- update_plan
completed โ may compress to summary
- sentinel fallback โ phases marked with sentinel contain compact sentinel; if only sentinel remains, must immediately
Read() to recover
Core Rules
- Every citation must be checked: No citation passes without at least existence verification.
- Use real APIs: Verify via WebSearch, Google Scholar, Semantic Scholar, CrossRef, arXiv โ never trust memory.
- Mark failures clearly: Use
[CITATION NEEDED] for unverifiable references.
- Preserve user's formatting choices: When auto-fixing, only fix errors, don't restyle.
- Report honestly: Show verification confidence levels, don't hide partial matches.
Data Flow
Phase 1 โโcitationEntriesโโโ Phase 2
Phase 2 โโverificationResultsโโโ Phase 3
Data persistence: Results written to paperDir/.verify/
paperDir/.verify/
โโโ citations-extracted.json (Phase 1 output)
โโโ verification-results.json (Phase 2 output)
โโโ verification-report.md (Phase 3 output)
โโโ references-fixed.bib (Phase 3 output, if autoFix)
Error Handling
| Error | Action |
|---|
| No .tex/.bib files found | Ask user for correct directory |
| API rate limit hit | Wait and retry with exponential backoff |
| Citation not found in any API | Mark as [CITATION NEEDED], continue |
| BibTeX parse error | Report unparseable entry, skip and continue |
| Network unavailable | Fall back to format-only verification |
Related Skills
- scholar-writing: Phase 4 (Citation Management) uses these verification principles
- scholar-review: References verification as part of paper quality check