Skip to main content

Browse Commands

NikCLI provides comprehensive web browsing capabilities through automated browser sessions, intelligent web search, and AI-powered content analysis. These commands enable web research, content extraction, and browser automation.

Core Browse Commands

/browse-session [action]

Manage browser sessions for web automation and research. Syntax:
Available Actions:
  • start - Start new browser session
  • stop - Stop browser session
  • list - List active sessions
  • switch - Switch between sessions
  • status - Show session status
Options:
  • --headless - Run in headless mode
  • --profile <profile> - Use browser profile
  • --viewport <size> - Set viewport size
  • --timeout <seconds> - Set timeout
Examples:
Browser Session Features:
  • Persistent cookies and state
  • Multiple tab support
  • Screenshot capabilities
  • Network monitoring
  • Performance metrics
  • Security scanning

/browse-search [query]

Perform intelligent web search with AI-powered result analysis. Syntax:
Parameters:
  • search-query - Search terms or question
Options:
  • --engine <engine> - Search engine (google, bing, duckduckgo)
  • --results <count> - Number of results to analyze
  • --deep - Deep analysis of top results
  • --summarize - Summarize findings
  • --save - Save results to session
Examples:
Search Result Analysis:

/browse-visit [url]

Visit a specific webpage and analyze its content. Syntax:
Parameters:
  • url - Website URL to visit
Options:
  • --analyze - Analyze page content
  • --screenshot - Take screenshot
  • --extract <selector> - Extract specific elements
  • --wait <selector> - Wait for element
  • --mobile - Use mobile viewport
Examples:
Page Analysis Output:

/browse-chat [message]

Chat with AI about the currently loaded webpage content. Syntax:
Parameters:
  • message - Question or instruction about the page
Options:
  • --context - Include page context
  • --deep - Deep content analysis
  • --extract - Extract relevant information
Examples:

/browse-sessions

List and manage all browser sessions. Syntax:
Options:
  • --active - Show only active sessions
  • --detailed - Show detailed information
  • --cleanup - Clean up inactive sessions
Examples:
Session List Output:

Advanced Browse Commands

/browse-info [session]

Get detailed information about browser session or current page. Syntax:
Parameters:
  • session-id - Specific session to inspect
Options:
  • --performance - Show performance metrics
  • --security - Show security analysis
  • --accessibility - Show accessibility report
Examples:

/browse-close [session]

Close browser session or specific tabs. Syntax:
Parameters:
  • session-id - Session to close
Options:
  • --tab <index> - Close specific tab
  • --all - Close all sessions
  • --save-state - Save session state before closing
Examples:

/browse-cleanup

Clean up inactive browser sessions and temporary data. Syntax:
Options:
  • --force - Force cleanup without confirmation
  • --keep-recent <hours> - Keep sessions from last N hours
  • --clear-cache - Clear browser cache
  • --clear-cookies - Clear cookies
Examples:

/browse-quick [query]

Quick search and summarize workflow for rapid research. Syntax:
Parameters:
  • query - Research query or topic
Options:
  • --sources <count> - Number of sources to check
  • --format <format> - Output format (summary, bullets, detailed)
  • --save <filename> - Save results to file
Examples:

Browser Automation

Page Interaction

Navigate and Interact:

Data Extraction

Extract Page Data:

Screenshots and Recording

Capture Content:

Content Analysis

AI-Powered Analysis

Intelligent Content Processing:

Content Monitoring

Monitor Page Changes:

Research Workflows

Academic Research

Research Assistant Features:

Market Research

Business Intelligence:

Technical Research

Developer Research:

Integration Examples

Development Workflow

Content Creation

Competitive Analysis

Security and Privacy

Secure Browsing

Privacy Features:

Security Analysis

Website Security Checks:

Performance Monitoring

Page Performance

Performance Analysis:

Monitoring and Alerts

Performance Monitoring:

Troubleshooting

Common Issues

Browser Session Problems:
Connection Issues:

Debug Commands

Best Practices

Efficient Browsing

  • Use headless mode for automated tasks
  • Close unused sessions regularly
  • Monitor resource usage
  • Use appropriate timeouts
  • Cache frequently accessed content

Research Best Practices

  • Start with broad searches, then narrow down
  • Verify information from multiple sources
  • Save important findings immediately
  • Use structured note-taking
  • Regular cleanup of research data

Security Considerations

  • Use private browsing for sensitive research
  • Regularly clear browsing data
  • Monitor for malicious websites
  • Use secure connections (HTTPS)
  • Be cautious with downloads

Performance Optimization

  • Limit concurrent sessions
  • Use appropriate viewport sizes
  • Monitor memory usage
  • Optimize screenshot settings
  • Regular performance audits