forked from smallcloudai/refact
-
-
Notifications
You must be signed in to change notification settings - Fork 4
AI Toolbox Explain Code
refact-planner edited this page Jun 7, 2026
·
1 revision
Explain selected code with the default toolbox command.
The default /explain toolbox command asks the model to explain the selected code. It includes the current file and cursor location so the explanation can use nearby context.
Use it when:
- A function, branch, or expression is hard to follow.
- You want a concise explanation without starting a broader investigation.
- You are reviewing unfamiliar code and need a quick summary.
If the answer needs dependencies, call sites, or runtime behavior, use Explore or Learn mode so Refact can inspect more of the project.
Refact on GitHub: https://github.com/JegernOUTT/refact
- Agent Modes
- Agent Tools
- Task Planner & Cards
- Worktrees
- Subagents
- Memory & Knowledge
- Hidden Roles & Plans
- Context Compression
- Scheduler & Cron
- Processes & PTY
- Buddy
- MCP
- Skills, Commands & Hooks
- Marketplace
- Chat System
- Providers
- Caps & Models
- Code Completion (FIM)
- AST
- VecDB
- Exec Runtime
- HTTP API
- Checkpoints & Git
- Voice