lenz-cli
v1.0.0
Published
CLI + agent skill for Lenz verified claims fact-checking API
Maintainers
Readme
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-cliOr via the CLI itself:
npx lenz-cli --skill export lenz | npx skillflag installInstall the CLI
npm install -g lenz-cliOr 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 --jsonGet a full verification report
lenz get <claim_id>
lenz get <claim_id> --jsonReturns 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" --jsonList domains
lenz domainsList podcast episodes
lenz podcastsSubmit 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 historyManage your claims
lenz my-claims
lenz my-claim <claim_id>
lenz delete <claim_id>
lenz visibility <claim_id> publicGlobal Options
| Flag | Description |
|------|-------------|
| --token <token> | Auth token (or set LENZ_TOKEN env var) |
| --json | Output raw JSON |
License
MIT
