Receber por email
← Voltar para o catálogo

verification-engine

Activate when the user needs to verify citations, check source accuracy, or validate that referenced papers actually support the claims attributed to them. Retrieves source abstracts and full text (for open-access papers), compares each citation claim against actual source content, and produces a structured verification report with classifications (VERIFIED, PLAUSIBLE, MISMATCH, UNVERIFIABLE, NOT

13estrelas
Atualizado há 6 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add TobiasBlask/open-paper-machine

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/verification-engine-tobiasblask/svg)](https://www.skillteca.com.br/skills/verification-engine-tobiasblask)

Skills relacionadas

Ver todas de Pesquisa e Web →

Alerta por categoria

Receba novas skills de Pesquisa e Web toda segunda

1 email curto, só com as skills novas de Pesquisa e Web. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa
Orchestration Log: When this skill is activated, append a log entry to outputs/orchestration_log.md:
```
### Skill Activation: Verification Engine
Timestamp: [current date/time]
Actor: AI Agent (verification-engine)
Input: [brief description of the verification request]
Output: [brief description of results — e.g., "Verified 42 citations: 35 VERIFIED, 5 PLAUSIBLE, 2 MISMATCH"]
```

Verification Engine

Core Principle

A citation is only as good as its accuracy. This engine systematically checks whether the papers you cite actually say what you claim they say. It fetches real source material — abstracts at minimum, full text when available — and compares each attribution claim against the actual content.

This addresses the dominant failure mode of LLM-generated academic writing: citation hallucination and misattribution. Even when citations point to real papers (no fabricated DOIs), the attributed claims may not match what the source actually says.

When to Activate

  • User says "verify citations", "check my references", "validate sources"
  • Before final submission of any paper with 20+ references
  • After major revisions that added new citations
  • When a reviewer questions citation accuracy
  • As Phase 7 in the paper-machine pipeline (optional quality gate)

Step 1: Extract Citation Claims

From LaTeX (paper.tex)

Scan the .tex file for all citation commands and extract the surrounding context:

\citep{key}         → parenthetical: "... as shown previously (Author, Year)."
\citet{key}         → textual: "Author (Year) demonstrated that ..."
\citeauthor{key}    → author name reference
\citeyear{key}      → year reference

For each citation occurrence, extract:

  1. Citation key (the BibTeX key)
  2. Claim context — the full sentence containing the citation, plus the preceding

sentence if needed for meaning. This is the "attributed claim."

  1. Section — which section of the paper contains this citation
  2. Claim type — classify as:
  3. Specific finding ("X found that Y increases Z by 78%") — highest verification priority
  4. General attribution ("X surveys this space") — medium priority
  5. Methodological reference ("following X's framework") — lower priority
  6. Existence citation ("see X for a review") — lowest priority

From Markdown (draft.md)

Same logic, but scan for (Author, Year) and Author (Year) patterns instead of LaTeX citation commands.

Group by Source

Multiple citations of the same paper should be grouped. One paper may be cited 5 times with 5 different claims — each claim needs independent verification.

Output: A list of {key, claim, section, claim_type, priority} tuples.

Step 2: Match to BibTeX Entries

For each citation key, look up the entry in references.bib:

  1. Extract: title, author, year, doi, journal, note
  2. If DOI exists: this is the primary lookup key for Step 3
  3. If no DOI: use title + first author as search query
  4. Flag any citation keys that have NO matching BibTeX entry (orphan citations)

Output: Enriched list with DOI and metadata for each citation.

Step 3: Fetch Source Material (3-Tier Retrieval)

For each unique referenced paper (not each citation — deduplicate by BibTeX key):

Tier A — Abstract Retrieval (always attempt)

This is the baseline. Fast, reliable, works for any paper with a DOI or indexed title.

Strategy (try in order, stop at first success):

  1. Search Semantic Scholar by title (use academic_search_semantic_scholar MCP tool):
  2. Set max_results: 3 (to find best match)
  3. Set full abstract retrieval to get complete abstract text
  4. Semantic Scholar also provides TLDR summaries — use both
  5. Search OpenAlex by title (use academic_search_openalex MCP tool):
  6. Broader coverage (474M+ works), good for non-CS papers
  7. CC0 data, reliable abstracts
  8. Search CrossRef by title (use academic_search_crossref MCP tool):
  9. Best for DOI verification
  10. Abstracts sometimes available

What you get: Title confirmation, abstract (50-300 words), TLDR (1-2 sentences), citation count, open access status, and PDF URL if available.

Tier B — Full-Text Retrieval (when available)

For open-access papers, go beyond the abstract:

  1. Check for open-access PDF URL in the API response metadata
  2. Semantic Scholar: openAccessPdf.url field
  3. OpenAlex: open_access.oa_url field
  4. arXiv preprints: If DOI starts with 10.48550/arxiv. or BibTeX key suggests arXiv,

construct the PDF URL: https://arxiv.org/pdf/{arxiv_id}

  1. Fetch the PDF:
  2. Use WebFetch with the PDF URL to get content, OR
  3. Download to /tmp/verify_papers/{bib_key}.pdf and use the Read tool

(supports PDFs up to 100 pages)

  1. Extract relevant sections: Don't read the entire paper. Search for:
  2. The abstract (always)
  3. The introduction (usually contains the paper's key claims)
  4. The results/findings section (for empirical papers)
  5. The conclusion

When to use Tier B:

  • Paper is a load-bearing citation (Tier 1 priority)
  • Abstract alone is insufficient to verify the specific claim
  • Paper is open-access (arXiv, DOAJ, PLoS, MDPI, Frontiers, etc.)

Tier C — Extension Point (Future)

For large-scale verification (100+ papers) or complex documents with tables/figures:

  • LlamaParse MCP: Add llamacloud-mcp server to plugin.json for high-fidelity

PDF parsing with table extraction and semantic chunking

  • SemTools CLI: Install semtools for parse and search commands over local

PDF collections

  • Local vector store: Index all retrieved papers for semantic search across the

entire reference corpus

Not implemented in v5.1.0 — documented here as the upgrade path.

Step 4: Verify Claims Against Sources

For each {claim, source_content} pair, perform the comparison:

Classification Rubric

| Status | Criteria | Evidence Required | |--------|----------|-------------------| | VERIFIED | Claim directly supported by source | Quote or close paraphrase found in abstract/text | | PLAUSIBLE | Abstract consistent, claim reasonable | Topic match, no contradiction, but specific claim not explicit | | MISMATCH | Claim contradicts or misrepresents source | Source says something different from what's attributed | | UNVERIFIABLE | Couldn't access source content | No abstract found, paywalled, API returned nothing | | NOT FOUND | Paper doesn't appear to exist | DOI doesn't resolve, title search returns nothing |

Verification Process

For each citation claim:

  1. Read the claim carefully. What exactly is being attributed to this source?
  2. A specific number or statistic? → must match exactly
  3. A general finding or argument? → abstract should clearly support it
  4. A methodological approach? → source should describe that method
  5. A classification or taxonomy? → source should contain it
  1. Read the source material. What does the paper actually say?
  2. Start with TLDR/abstract
  3. For specific claims, search full text if available (Tier B)
  1. Compare. Does the claim match the source?
  2. VERIFIED: "Asai et al. found GPT-4o fabricates citations 78-90% of the time"

→ Abstract states: "Without retrieval, GPT-4o generates citations that are 78-90% fabricated" → Direct match

  • PLAUSIBLE: "Wang et al. survey autonomous agents"

→ Abstract is about LLM-based autonomous agents → Topic matches, general claim

  • MISMATCH: "Smith et al. found productivity increased by 55%"

→ Abstract states: "14% increase in productivity" → Wrong number

  1. Record evidence. For each classification, note:
  2. The specific claim text
  3. The relevant source quote (from abstract or full text)
  4. Brief justification for the classification

Batch Processing

Process citations in order of priority tier (see Prioritization Strategy below). After com

Compartilhar X LinkedIn