| name | wopr |
| description | Complete WOPR CLI reference for session management, skills, plugins, providers, middleware, cron jobs, security, and sandbox isolation. |
WOPR CLI Reference
WOPR is a self-sovereign AI session management system with P2P capabilities. This is the complete command reference.
Setup & Configuration
wopr onboard
wopr configure
Authentication
wopr auth
wopr auth login
wopr auth api-key <key>
wopr auth logout
Sessions
wopr session list
wopr session create <name> [context]
wopr session create <name> --provider <id> [--fallback chain]
wopr session show <name> [--limit N]
wopr session delete <name>
wopr session set-provider <name> <id> [--model name] [--fallback chain]
wopr session init-docs <name>
wopr session inject <name> <message>
wopr session log <name> <message>
Skills
wopr skill list
wopr skill search <query>
wopr skill install <source> [name]
wopr skill create <name> [description]
wopr skill remove <name>
wopr skill cache clear
wopr skill registry list
wopr skill registry add <name> <url>
wopr skill registry remove <name>
Plugins
wopr plugin list
wopr plugin install <source>
wopr plugin remove <name>
wopr plugin enable <name>
wopr plugin disable <name>
wopr plugin search <query>
wopr plugin registry list
wopr plugin registry add <name> <url>
wopr plugin registry remove <name>
Providers (AI Models)
wopr providers list
wopr providers add <id> [credential]
wopr providers remove <id>
wopr providers health-check
wopr providers default <id> [options]
--model <name>
--reasoning-effort <level>
wopr providers show-defaults [id]
Supported Providers
anthropic - Claude models via Agent SDK
codex - OpenAI Codex agent for coding tasks
Cron Jobs (Scheduled Messages)
wopr cron list
wopr cron add <name> <sched> <sess> <msg>
wopr cron once <time> <session> <message>
wopr cron now <session> <message>
wopr cron remove <name>
Cron History (A2A Tool)
Agents can view execution history using the cron_history tool:
cron_history # View recent executions
cron_history name="job-name" # Filter by job name
cron_history session="target-session" # Filter by target session
cron_history failedOnly=true # Show only failures
cron_history successOnly=true # Show only successes
cron_history since=1706745600000 # Filter by timestamp (ms)
cron_history limit=10 offset=20 # Pagination
Configuration
wopr config get [key]
wopr config set <key> <value>
wopr config list
wopr config reset
Middleware
wopr middleware list
wopr middleware chain
wopr middleware show <name>
wopr middleware enable <name>
wopr middleware disable <name>
wopr middleware priority <name> <n>
Context Providers
wopr context list
wopr context show <name>
wopr context enable <name>
wopr context disable <name>
wopr context priority <name> <n>
Daemon
wopr daemon start
wopr daemon stop
wopr daemon status
wopr daemon logs
Security
wopr security status
wopr security enforcement <mode>
wopr security sessions
wopr security session <name>
wopr security session <name> <prop> <val>
Session Security Properties
wopr security session main indexable "*"
wopr security session p2p-alice indexable self
wopr security session gateway access "trust:untrusted"
wopr security session main capabilities "*"
P2P Security
wopr security p2p
wopr security p2p discovery-trust <level>
wopr security p2p auto-accept <true|false>
Audit
wopr security audit
wopr security audit enable
wopr security audit disable
Other Security Commands
wopr security sources
wopr security defaults
Sandbox (Docker Isolation)
wopr sandbox status
wopr sandbox list
wopr sandbox create <session>
wopr sandbox destroy <session>
wopr sandbox exec <session> <command>
wopr sandbox prune
wopr sandbox recreate <session>
Common Workflows
Send a message to another session
wopr session inject other-session "Hello from this session"
Spawn a helper agent for a subtask
wopr session create helper "You are a research assistant"
wopr session inject helper "Research quantum computing advances in 2025"
wopr session delete helper
Schedule a daily check-in
wopr cron add daily-standup "0 9 * * *" main "Good morning! What's the plan for today?"
Set up a one-time reminder
wopr cron once +30m main "Reminder: Check on the build status"
Install skills from registry
wopr skill registry add wopr github:TSavo/wopr-skills/skills
wopr skill search git
wopr skill install github:TSavo/wopr-skills/skills/git-essentials
Switch AI model for a session
wopr session set-provider my-session anthropic --model claude-sonnet-4-20250514
A2A Tools Reference
These tools are available to agents within WOPR sessions:
Session Management
sessions_list - List all sessions
sessions_spawn - Create a new session (requires session.spawn capability)
sessions_send - Send message to another session (requires cross.inject capability)
sessions_history - Read session history (requires session.history capability)
Cron/Scheduling
cron_schedule - Schedule a recurring cron job
cron_once - Schedule a one-time job
cron_list - List all scheduled cron jobs
cron_cancel - Cancel a scheduled cron job
cron_history - View cron execution history with filtering and pagination
Memory
memory_read - Read from persistent memory
memory_write - Write to persistent memory
memory_search - Search memory
memory_get - Get specific memory entry
Identity & Soul
identity_get - Get agent identity
identity_update - Update agent identity
soul_get - Get agent soul/persona
soul_update - Update agent soul/persona
self_reflect - Self-reflection and memory update
Events
event_emit - Emit a custom event
event_list - List event subscriptions
Network
http_fetch - Make HTTP requests (requires inject.network capability)
Execution
exec_command - Execute shell commands (requires inject.exec capability)
Configuration
config_get - Read configuration
config_set - Modify configuration (requires config.write capability)
config_provider_defaults - Manage provider defaults
Utility
security_whoami - Show current trust level and capabilities
security_check - Check if a specific capability is available
notify - Send notifications
Environment Variables
WOPR_HOME
ANTHROPIC_API_KEY
OPENAI_API_KEY
WOPR_DAEMON_PORT
WOPR_DAEMON_HOST
P2P Plugin
For P2P networking capabilities, install the P2P plugin:
wopr plugin install wopr-plugin-p2p
See the wopr-p2p skill for complete P2P documentation.