Logo di Factcheck Guard

Factcheck Guard

Community
vibeeval
factcheck-guard

Use this skill when making any factual claim about the codebase — existence, absence, or behavior. Converts the claim-verification rule into a systematic action protocol that prevents false assertions from grep-only results.

Panoramica

Pubblicato davibeeval
Repositoryvibecosystem
Nome della skillfactcheck-guard
Stelle
533
Fork
44
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da vibeeval su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Factcheck Guard in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/vibeeval/vibecosystem/tree/main/skills/factcheck-guard
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vibeeval/vibecosystem.git /tmp/vibecosystem
mkdir -p .claude/skills
cp -r /tmp/vibecosystem/skills/factcheck-guard .claude/skills/factcheck-guard
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Factcheck Guard in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Factcheck Guard non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Factcheck Guard non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

FactCheck Guard — Runtime Claim Verification

Prevents false claims about the codebase. Grep results are hypotheses, not proof. Every assertion about "what the code does" must be verified by reading the actual code.

Why This Exists

An 80% false claim rate was observed when agents trusted grep results without reading files. The pattern repeats: grep finds a string, agent asserts behavior, behavior is wrong. This skill converts the claim-verification guidelines into an actionable protocol.

Confidence Markers (MANDATORY)

Every factual claim about the codebase MUST carry one of these markers:

MarkerMeaningRequirements
[VERIFIED]Read the file, traced the logicMust cite file:line
[INFERRED]Based on grep or file nameMust verify before asserting to others
[UNCERTAIN]Not yet checkedMust investigate before making the claim

Never promote an [INFERRED] claim to a statement of fact. Never let [UNCERTAIN] appear in a response to the user — investigate first.


Verification Protocol

Level 1: Existence Claims

When asserting "X exists in the codebase":

Step 1 — Search (produces [INFERRED])

Grep/Glob for the pattern.
Result: "X appears at path/to/file.ts:42" [INFERRED]

Step 2 — Read the file (required to reach [VERIFIED])

Read path/to/file.ts, locate line 42.
Confirm the match is actual code, not a comment or string literal.

Step 3 — Check context

Is the code in a live code path, or inside a dead branch / disabled block?
Is it imported and actually used?
Does the function name match what you expected, or is it a different concept?

Step 4 — State the claim with citation

"Error handling exists at src/api/handler.ts:67 — try/catch wraps the database call" [VERIFIED]

Level 2: Absence Claims

When asserting "X does NOT exist" — absence claims are the most dangerous. A single missed search term invalidates the entire claim.

Step 1 — Primary search

Grep for the primary term. No results found.
Status: [INFERRED ABSENT] — not yet VERIFIED

Step 2 — Alternative terms (minimum 3)

Different naming conventions, abbreviations, synonyms.

Example: Searching for "rate limiting"
Try: "rateLimit", "rate_limit", "throttle", "throttling", "requestLimit", "limiter"
If any match: investigate that file before concluding

Step 3 — Check likely locations manually

Where would X logically live if it existed?
Read those files directly — grep may miss dynamically constructed patterns.

Example: Checking for auth middleware
Read: src/middleware/, app/middleware.ts, server.ts, app.ts
Even if grep found nothing, scan these files for auth-related logic.

Step 4 — Only then claim VERIFIED ABSENT

"Rate limiting does not exist. Searched: rateLimit, rate_limit, throttle, throttling,
requestLimit, limiter. Checked: src/middleware/index.ts, server.ts, app.ts. None found." [VERIFIED ABSENT]

Level 3: Behavior Claims

When asserting "the system does X" — the most subtle failure mode. Finding a function name does not tell you what the function actually does.

Step 1 — Locate the function

Grep/Glob finds the function name.
Status: [INFERRED] — you know it exists, not what it does

Step 2 — Read the full function body

Read the file. Read the entire function, not just the signature.
Look for: branches, early returns, side effects, what it actually returns.

Step 3 — Trace the logic path

Follow the execution path relevant to your claim.
If the function calls other functions, read those too (one level deep minimum).
Check: what happens in the error path? What are the edge cases?

Step 4 — State behavior with evidence

"processPayment() validates card number via Luhn check (payment.ts:34),
then calls Stripe API (payment.ts:41), and on failure rolls back the DB
transaction (payment.ts:58) — it does NOT charge the card on validation failure." [VERIFIED]

Common False Claim Patterns

PatternWhy It FailsCorrect Approach
grep found "try.*catch"Could be in comment, string, or test mockRead the file, confirm it wraps real code
grep found nothingWrong term, wrong directory, different namingTry 3+ alternative terms
File named auth.ts existsDoesn't mean auth is implementedRead the file
Type definition has a fieldDoesn't mean the field is set or usedGrep for field assignment and usage
Function is called somewhereDoesn't mean it does what the name impliesRead the function body
Found in tests directoryTest mocks are not real implementationsConfirm the actual source file
grep -L returned filesThose files lack the pattern — but pattern might exist under a different nameTry alternative terms before concluding
Found in commented-out blockNot active codeCheck if block is enabled

Two-Pass Audit Protocol

For system audits, security reviews, and architecture reviews:

Pass 1: Generate Hypotheses

Go through each area systematically. Produce hypothesis statements only:

"Input validation might be missing from the /api/upload route" [INFERRED]
"The auth token might not be refreshed on expiry" [INFERRED]
"Database queries might not use parameterized statements" [INFERRED]

Do not state these as facts. Do not include them in the user-facing summary.

Pass 2: Verify Each Hypothesis

For every [INFERRED] hypothesis:

Hypothesis: "Input validation missing from /api/upload" [INFERRED]

Action: Read src/app/api/upload/route.ts
Found: Zod schema validation at line 18, applied before file processing.
Result: "Input validation exists at api/upload/route.ts:18" [VERIFIED]
Hypothesis was wrong.
Hypothesis: "Database queries might not be parameterized" [INFERRED]

Action: Search for raw SQL patterns (string interpolation in queries)
Grep: `db.query(\`.*\${`, `db.execute(\`.*\${`
Read: src/lib/db.ts, src/repositories/*.ts
Found: All queries use prepared statements. One raw query at analytics.ts:89.
Result: "Raw SQL injection risk at src/analytics.ts:89" [VERIFIED]

Only after Pass 2 are claims safe to report.


Quick Checklist

Before making any codebase claim, confirm:

  • Have I read the actual file, not just grep results?
  • Is the code in a live path (not commented out, not test-only)?
  • For absence claims: did I try 3+ alternative search terms?
  • For absence claims: did I manually check the likely locations?
  • For behavior claims: did I read the full function, not just the name?
  • Does my claim include a file:line citation?
  • Is my marker accurate: [VERIFIED] / [INFERRED] / [UNCERTAIN]?

Integration Points

claim-verification.md — the rule file provides guidelines; this skill provides the action protocol.

Agents that must use this skill:

  • code-reviewer: before asserting "the code lacks X"
  • security-reviewer: before asserting "vulnerability exists/doesn't exist"
  • architect: before asserting "pattern is/isn't used"
  • sleuth: before asserting "root cause is X"
  • coroner: before asserting "same bug exists elsewhere"

Hook integration (optional): After every Grep tool result, the epistemic-reminder hook injects a warning. That warning is this skill's Level 1 trigger — search results are [INFERRED], not [VERIFIED].


Examples: Wrong vs Right

Existence claim — WRONG

Grep found "authMiddleware" in 3 files.
Claim: "Auth middleware is applied to all routes."

Existence claim — RIGHT

Grep found "authMiddleware" in 3 files.
Read server.ts: middleware applied only to /api/* routes, not /public/*.
Read admin/router.ts: authMiddleware missing from /admin/health endpoint.
Claim: "Auth middleware applied to /api/* (server.ts:23) but missing from
/admin/health (admin/router.ts:8)." [VERIFIED]

Absence claim — WRONG

Grep "rate limit" returned no results.
Claim: "No rate limiting implemented."

Absence claim — RIGHT

Grep "rate limit" → no results.
Grep "rateLimit", "throttle", "limiter", "requestLimit" → no results.
Read: src/middleware/index.ts, server.ts, next.config.js.
Confirmed none contain request throttling logic.
Claim: "No rate limiting found after searching 6 term variants and
reading 3 likely files." [VERIFIED ABSENT]

Domande frequenti

Cosa fa la skill IA Factcheck Guard?

Use this skill when making any factual claim about the codebase — existence, absence, or behavior. Converts the claim-verification rule into a systematic action protocol that prevents false assertions from grep-only results.

Perché usare Factcheck Guard su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Factcheck Guard è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Factcheck Guard in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/vibeeval/vibecosystem/tree/main/skills/factcheck-guard. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Factcheck Guard?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Factcheck Guard?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Factcheck Guard: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Factcheck Guard è gratuita?

Sì. È pubblicata su GitHub da vibeeval con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇