Pollen
CLI

Reference for local inspection, founding-panel registration, automatic receipt delivery, and contributor controls.

CLI Reference

The Pollen CLI is your local interface for viewing stats, installing hooks, and controlling automatic delivery of closed network receipts.

pollen <command>

Data commands

These read from your local SQLite database at ~/.pollen/local.db.

CommandDescription
statsSummary dashboard — total prompts, sessions, top topics
intentsIntent distribution (debug, implement, refactor, etc.)
languagesProgramming language breakdown
toolsTool frequency and success rates
flowsTool sequences, pairs, triples, and failure patterns
mcpMCP server usage ranking
projectsProject type distribution
topicsWhat people work on, action distribution, topic × action combos
valueInformation Value Scores and session satisfaction signals
sessionsSession summaries and workflow arcs
whenTime-of-day and day-of-week patterns
trends [n]Daily trends for the last n days (default: 7)

Sync & identity

CommandDescriptionRequires
join <code>Register this installation with the founding panelInvite code
doctorVerify runtime, permissions, hooks, and network authenticationCompleted join
sync [--dry-run]Preview or retry closed, versioned network receiptsCompleted join
pauseStop local capture while preserving data and credentials
resumeResume local capture and automatic delivery
leave --delete-network-dataDelete server receipts and revoke the network tokenCompleted join
verifyComplete Orb-backed World ID Proof of Human verification
statusShow contributor ID and verification status
earningsLegacy operator-only earnings viewOperator database access

Wallet & tokens

CommandDescription
walletInteractive wallet setup (managed or BYO)
wallet --email <email>Create a managed wallet
wallet --address <0x...>Register an existing address
register <0x...>Legacy: link an Ethereum address
claimClaim POLLEN tokens for completed epochs
claim --revenueClaim accumulated USDC revenue

Advanced

CommandDescriptionRequires
backfill-subjectsExtract subjects for existing sessions via HaikuANTHROPIC_API_KEY
admin healthInspect aggregate contribution-pipeline healthOperator secret
admin invite create/list/revokeManage single-use contributor invitesOperator secret

Environment variables

VariableUsed byDescription
POLLEN_API_URLjoin, syncOverride the public Pollen API URL
POLLEN_INVITE_CODEjoinAlternative to passing the invite on the command line
POLLEN_ADMIN_SECRETadminOperator API secret; otherwise read from the private local secret file
NEON_DATABASE_URLLegacy operator toolsNever required for contributors
POLLEN_PRIVATE_KEYclaim (BYO wallet)Private key for signing claim transactions
POLLEN_API_KEYclaim (managed wallet)API key for proxy-based claiming
ANTHROPIC_API_KEYbackfill-subjectsAnthropic API key for Haiku classification

Data storage

PathDescription
~/.pollen/local.dbLocal SQLite database (structured local observations, mode 0600)
~/.pollen/config.jsonContributor identity and bearer token (mode 0600)