Skip to content

mslavov/lenz-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lenz-cli

CLI + Claude Code skill for the Lenz verified claims fact-checking platform.

Search a library of verified claims, submit new claims for verification, explore detailed reports with sources, expert assessments, and debates — from the terminal or as an AI agent skill.

Install the Agent Skill

Works with Claude Code, Cursor, Codex, and 40+ other agents:

npx skills add mslavov/lenz-cli

Or via the CLI itself:

npx lenz-cli --skill export lenz | npx skillflag install

Install the CLI

npm install -g lenz-cli

Or use directly with npx:

npx lenz-cli search "climate change"

Setup

Get your API token from lenz.io (Account > API Integration), then:

lenz config <your-token>

Or set the LENZ_TOKEN environment variable:

export LENZ_TOKEN=lenz_...

Public commands (search, get, domains, podcasts, browse) work without a token.

Usage

Search verified claims

lenz search "vaccine safety"
lenz search "AI" --domain Tech --sort popular --json

Get a full verification report

lenz get <claim_id>
lenz get <claim_id> --json

Returns the complete report: verdict, score, sources, pro/con debate, panel assessments, and consensus.

Browse claims

lenz browse --domain Health --sort recent
lenz browse --entity "OpenAI" --json

List domains

lenz domains

List podcast episodes

lenz podcasts

Submit a claim for verification

lenz submit "The Great Wall of China is visible from space"
lenz submit "Electric cars pollute more" --source-url "https://example.com/article"

Check submission status

lenz status <task_id>

Chat with AI expert about a claim

lenz ask <claim_id> "What are the weaknesses in the sources?"
lenz chat <claim_id>          # view chat history
lenz reset-chat <claim_id>   # clear chat history

Manage your claims

lenz my-claims
lenz my-claim <claim_id>
lenz delete <claim_id>
lenz visibility <claim_id> public

Global Options

Flag Description
--token <token> Auth token (or set LENZ_TOKEN env var)
--json Output raw JSON

License

MIT

About

CLI + agent skill for Lenz verified claims fact-checking API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors