一键导入
wopr
Complete WOPR CLI reference for session management, skills, plugins, providers, middleware, cron jobs, security, and sandbox isolation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Complete WOPR CLI reference for session management, skills, plugins, providers, middleware, cron jobs, security, and sandbox isolation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Installation, configuration, and deployment guide for WOPR - the self-sovereign AI session management system.
Comprehensive P2P networking plugin for WOPR using Hyperswarm, identity management, topic-based discovery, and secure peer communication
WOPR security configuration reference covering trust levels, capabilities, sandbox isolation, access patterns, and session security.
| name | wopr |
| description | Complete WOPR CLI reference for session management, skills, plugins, providers, middleware, cron jobs, security, and sandbox isolation. |
WOPR is a self-sovereign AI session management system with P2P capabilities. This is the complete command reference.
wopr onboard # Interactive onboarding wizard
wopr configure # Re-run configuration wizard
wopr auth # Show auth status
wopr auth login # Login with Claude Max/Pro (OAuth)
wopr auth api-key <key> # Use API key instead
wopr auth logout # Clear credentials
wopr session list # List all sessions
wopr session create <name> [context] # Create session with optional context
wopr session create <name> --provider <id> [--fallback chain] # Create with provider
wopr session show <name> [--limit N] # Show details and conversation history
wopr session delete <name> # Delete a session
wopr session set-provider <name> <id> [--model name] [--fallback chain] # Update provider
wopr session init-docs <name> # Initialize SOUL.md, AGENTS.md, USER.md
wopr session inject <name> <message> # Inject message, get AI response
wopr session log <name> <message> # Log message (no AI response)
wopr skill list # List installed skills
wopr skill search <query> # Search registries for skills
wopr skill install <source> [name] # Install from registry or URL
wopr skill create <name> [description] # Create a new skill
wopr skill remove <name> # Remove a skill
wopr skill cache clear # Clear registry cache
wopr skill registry list # List configured registries
wopr skill registry add <name> <url> # Add a skill registry
wopr skill registry remove <name> # Remove a registry
wopr plugin list # List installed plugins
wopr plugin install <source> # Install (npm pkg, github:u/r, ./local)
wopr plugin remove <name> # Remove a plugin
wopr plugin enable <name> # Enable a plugin
wopr plugin disable <name> # Disable a plugin
wopr plugin search <query> # Search npm for plugins
wopr plugin registry list # List plugin registries
wopr plugin registry add <name> <url> # Add a plugin registry
wopr plugin registry remove <name> # Remove a plugin registry
wopr providers list # List all providers and status
wopr providers add <id> [credential] # Add/update provider credential
wopr providers remove <id> # Remove provider credential
wopr providers health-check # Check health of all providers
wopr providers default <id> [options] # Set global provider defaults
--model <name> # Default model for this provider
--reasoning-effort <level> # For Codex: minimal/low/medium/high/xhigh
wopr providers show-defaults [id] # Show global provider defaults
anthropic - Claude models via Agent SDKcodex - OpenAI Codex agent for coding taskswopr cron list # List scheduled jobs
wopr cron add <name> <sched> <sess> <msg> # Add cron [--now] [--once]
wopr cron once <time> <session> <message> # One-time job (now, +5m, +1h, 09:00)
wopr cron now <session> <message> # Run immediately (no scheduling)
wopr cron remove <name> # Remove a cron job
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
wopr config get [key] # Show config (all or specific key)
wopr config set <key> <value> # Set config value
wopr config list # List all config values
wopr config reset # Reset to defaults
wopr middleware list # List all middleware
wopr middleware chain # Show execution order
wopr middleware show <name> # Show middleware details
wopr middleware enable <name> # Enable middleware
wopr middleware disable <name> # Disable middleware
wopr middleware priority <name> <n> # Set middleware priority
wopr context list # List all context providers
wopr context show <name> # Show context provider details
wopr context enable <name> # Enable context provider
wopr context disable <name> # Disable context provider
wopr context priority <name> <n> # Set context provider priority
wopr daemon start # Start the daemon
wopr daemon stop # Stop the daemon
wopr daemon status # Check if daemon is running
wopr daemon logs # Show daemon logs
wopr security status # Show security status and enforcement mode
wopr security enforcement <mode> # Set enforcement mode (off|warn|enforce)
wopr security sessions # List all session security configs
wopr security session <name> # Show session security config
wopr security session <name> <prop> <val> # Set session property
wopr security session main indexable "*" # See all transcripts
wopr security session p2p-alice indexable self # Only own transcripts
wopr security session gateway access "trust:untrusted" # Allow untrusted
wopr security session main capabilities "*" # Full capabilities
wopr security p2p # Show P2P security settings
wopr security p2p discovery-trust <level> # Set trust for discovered peers
wopr security p2p auto-accept <true|false> # Enable/disable auto-accept
wopr security audit # Show audit settings
wopr security audit enable # Enable audit logging
wopr security audit disable # Disable audit logging
wopr security sources # List source-specific configs
wopr security defaults # Show default security policy
wopr sandbox status # Show sandbox status and containers
wopr sandbox list # List all sandbox containers
wopr sandbox create <session> # Create sandbox for a session
wopr sandbox destroy <session> # Destroy sandbox for a session
wopr sandbox exec <session> <command> # Execute command in sandbox
wopr sandbox prune # Remove all idle containers
wopr sandbox recreate <session> # Recreate container (apply config changes)
wopr session inject other-session "Hello from this session"
wopr session create helper "You are a research assistant"
wopr session inject helper "Research quantum computing advances in 2025"
# ... use the response ...
wopr session delete helper
wopr cron add daily-standup "0 9 * * *" main "Good morning! What's the plan for today?"
wopr cron once +30m main "Reminder: Check on the build status"
wopr skill registry add wopr github:TSavo/wopr-skills/skills
wopr skill search git
wopr skill install github:TSavo/wopr-skills/skills/git-essentials
wopr session set-provider my-session anthropic --model claude-sonnet-4-20250514
These tools are available to agents within WOPR sessions:
sessions_list - List all sessionssessions_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_schedule - Schedule a recurring cron jobcron_once - Schedule a one-time jobcron_list - List all scheduled cron jobscron_cancel - Cancel a scheduled cron jobcron_history - View cron execution history with filtering and paginationmemory_read - Read from persistent memorymemory_write - Write to persistent memorymemory_search - Search memorymemory_get - Get specific memory entryidentity_get - Get agent identityidentity_update - Update agent identitysoul_get - Get agent soul/personasoul_update - Update agent soul/personaself_reflect - Self-reflection and memory updateevent_emit - Emit a custom eventevent_list - List event subscriptionshttp_fetch - Make HTTP requests (requires inject.network capability)exec_command - Execute shell commands (requires inject.exec capability)config_get - Read configurationconfig_set - Modify configuration (requires config.write capability)config_provider_defaults - Manage provider defaultssecurity_whoami - Show current trust level and capabilitiessecurity_check - Check if a specific capability is availablenotify - Send notificationsWOPR_HOME # Base directory (default: ~/.wopr)
ANTHROPIC_API_KEY # API key for Claude (Anthropic)
OPENAI_API_KEY # API key for Codex (OpenAI)
WOPR_DAEMON_PORT # Daemon port (default: 7437)
WOPR_DAEMON_HOST # Daemon host (default: 127.0.0.1)
For P2P networking capabilities, install the P2P plugin:
wopr plugin install wopr-plugin-p2p
See the wopr-p2p skill for complete P2P documentation.