Learning Commands · Assessment
/exercise command
Generate exercises from knowledge context — DIY (write + grade + solution) or Show (hints + solution)
1 min read
Generate exercises from knowledge context — DIY (write + grade + solution) or Show (hints + solution)
At a glance
| Field | Value |
|---|---|
| Command | /exercise |
| Usage | `/exercise [--scope=pok |
| Category | assessment |
| Execution | server |
| Context | pok |
| Response type | chat-flow |
| Active PoK required | yes |
Examples
/exercise
/exercise --mode=diy
/exercise --type=calculation --difficulty=hard
/exercise --scope=unit --type=code --mode=diy
/exercise --scope=free What is the time complexity of merge sort?
/exercise --type=case-study --difficulty=very-hard --hint=3
How it works
The exercise command generates new exercises from your learning material's knowledge context.
Unlike /solve (which extracts existing exercises from PoK), /exercise creates original practice problems tailored to your specified scope, type, difficulty, and mode.
Two modes:
- DIY (
--mode=diy): Write your own answer → get AI-graded → see step-by-step solution - Show (
--mode=show): View the exercise → reveal hints → see solution (with optional countdown)
18 exercise types across 4 categories:
- Knowledge: conceptual, theoretical, comparison, fill-in-blank
- Application: calculation, application, code, debugging, diagram
- Higher-Order: case-study, real-world, problem-solving, analysis, design, proof, evaluation
- Special: math
- Meta: mixed (AI auto-selects)
4 difficulty levels: easy, medium, hard, very-hard
4 scopes: pok (current topic), unit (current unit), all (full session), free (custom topic)
Hints: 0-3 progressive hints with timed unlocks (5/10/15 minutes)
Was this article helpful?