AI
Pass

AI Fact Checker Agent Skill - AI Pass API

AI Fact Checker Agent Skill

Add fact checking to your agent. Verify claims instantly with AI.

Usage

fact-check <claim>

Python Implementation

import os, requests

def check_fact(claim):
    url = "https://aipass.one/apikey/v1/chat/completions"
    
    prompt = f"Fact-check this claim thoroughly: {claim}. Provide verdict, evidence, and sources. Be objective and cite specific references."
    
    r = requests.post(url, headers={"Authorization": f"Bearer {os.environ[AIPASS_API_KEY]}"}, json={
        "model": "google/gemini-2.5-flash-lite",
        "messages": [{"role": "user", "content": prompt}]
    })
    
    return r.json()["choices"][0]["message"]["content"]

Get API key: Developer Dashboard

Skill File

---
name: fact-checker
description: Verify claims with AI
version: 1.0.0
---

# AI Fact Checker

```
fact-check <claim>
```

## Setup
```bash
export AIPASS_API_KEY="your-key"
```

## Implementation
```python
def check_fact(claim):
    prompt = f"Fact-check: {claim}. Provide verdict and evidence."
    return call_ai(prompt, model="gemini-2.5-flash-lite")
```
Download Skill File