Slash Commands

Command Reference

Master CodeEx AI's powerful slash commands for enhanced productivity and specialized tasks.

Quick Reference

The three essential commands you'll use most often

/solve

Math, coding, quiz problems

Example: x² + 5x + 6 = 0

/search

Web search with citations

Example: latest AI news

/summarize

Condense long texts

Example: [paste article]

Detailed Command Guide

/solve

Solve mathematical equations, coding problems, quiz questions, and logical puzzles with step-by-step explanations.

Syntax

/solve [your problem or question]

Examples

Quadratic equation solving
/solve x² + 5x + 6 = 0

Result: Step-by-step algebraic solution with factoring

Calculus problem
/solve What is the derivative of sin(x)?

Result: Mathematical explanation with rules applied

Coding challenge
/solve Write a binary search algorithm in Python

Result: Complete code with explanation and complexity analysis

Word problem
/solve If a train travels 60 mph for 2 hours, how far does it go?

Result: Solution with formula and calculation steps

Tips

  • Math problems are automatically routed to math-optimized models
  • Include "step-by-step" for detailed explanations
  • Works with algebra, calculus, statistics, and discrete math
  • Coding problems get routed to programming-specialized models

/search

Search the web for current information using DuckDuckGo with Google fallback. Results include source citations and AI synthesis.

Syntax

/search [your search query]

Examples

Current events search
/search latest developments in artificial intelligence

Result: Recent AI news with sources and summary

Real-time information
/search weather in Tokyo today

Result: Current weather conditions with forecast

Technical tutorial search
/search how to deploy Next.js to Netlify 2026

Result: Up-to-date deployment guides and best practices

Financial data
/search stock price Apple AAPL

Result: Current stock information and recent performance

Tips

  • Great for current events and real-time data
  • Results include clickable source links
  • AI synthesizes information from multiple sources
  • Use specific keywords for better results

/summarize

Condense long articles, documents, or texts into concise summaries while preserving key information and main points.

Syntax

/summarize [paste your text here]

Examples

Academic paper summary
/summarize [long research paper]

Result: Key findings, methodology, and conclusions

News article condensation
/summarize [news article]

Result: Main points, key facts, and implications

Meeting notes summary
/summarize [meeting transcript]

Result: Action items, decisions, and key discussions

Documentation overview
/summarize [technical documentation]

Result: Essential information and important details

Tips

  • Works best with structured text content
  • Preserves important technical details
  • Extracts actionable items and key decisions
  • Maintains context and relationships between ideas

Advanced Usage Tips

Get the most out of CodeEx AI commands

Command Chaining

Use multiple commands in sequence for complex workflows

First "/search latest React features", then "/summarize" the results

Context Awareness

Commands understand conversation context and previous messages

Follow up with clarifying questions without repeating context

Model Selection

Commands automatically route to the best model for the task

/solve uses math models, /search uses general models

Natural Language

You can also ask naturally without using slash commands

"Solve this equation" works the same as "/solve equation"

💡 Pro Tips

  • • Commands are case-insensitive: /SOLVE works the same as /solve
  • • Use code blocks (```) when sharing code for better formatting
  • • Be specific in your queries for more accurate results
  • • Combine commands with specific model selection for specialized tasks
  • • Use follow-up questions to dive deeper into results

When to Use Each Command

/solve

✅ Best for:

  • Mathematical equations
  • Coding problems
  • Logic puzzles
  • Step-by-step solutions
  • Educational content

❌ Not ideal for:

  • Current events
  • Real-time data
  • Long text processing

/search

✅ Best for:

  • Current information
  • Real-time data
  • News and events
  • Technical tutorials
  • Fact checking

❌ Not ideal for:

  • Math calculations
  • Code generation
  • Text summarization

/summarize

✅ Best for:

  • Long articles
  • Research papers
  • Meeting notes
  • Documentation
  • Content analysis

❌ Not ideal for:

  • Short texts
  • Real-time searches
  • Mathematical problems

🎯 Real-World Examples

See how commands work in practical scenarios

Student Studying Calculus

1/solve What is the integral of x² + 3x + 2?
2Follow up: "Can you explain the power rule?"
3/solve Practice problem: ∫(2x³ - 5x + 1)dx

Developer Learning New Framework

1/search Next.js 14 new features 2026
2/summarize [paste documentation]
3/solve Write a Next.js component with server actions

Researcher Analyzing Papers

1/search recent machine learning papers 2026
2/summarize [paste abstract and findings]
3/solve Explain the mathematical concepts in this paper