install
source · Clone the upstream repo
git clone https://github.com/HKUDS/DeepTutor
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/HKUDS/DeepTutor "$T" && mkdir -p ~/.claude/skills && cp -r "$T/deeptutor/tutorbot/skills/deep-solve" ~/.claude/skills/hkuds-deeptutor-deep-solve && rm -rf "$T"
manifest:
deeptutor/tutorbot/skills/deep-solve/SKILL.mdsource content
Deep Solve
Use the
exec tool to invoke DeepTutor's multi-stage solver for complex math, science, or engineering problems.
When to Use
- User asks to prove something, derive a formula, or solve a hard problem
- The problem requires structured multi-step reasoning
- A direct answer would be insufficient or unreliable
Command
deeptutor run deep_solve "<problem description>" --format json -l <lang>
Options
| Flag | Description |
|---|---|
| Response language: or |
| Enable RAG to ground in knowledge base |
| Enable web search |
| Enable code verification |
| Enable dedicated reasoning |
| Knowledge base to use with RAG |
| Return a concise answer |
Examples
Prove a theorem:
deeptutor run deep_solve "Prove that for any positive integer n, n³ - n is divisible by 6" --format json -l en
Solve with knowledge base:
deeptutor run deep_solve "Derive the Euler-Lagrange equation" --format json -l en -t rag --kb physics-textbook
Solve with code verification:
deeptutor run deep_solve "Find all roots of x⁴ - 5x² + 4 = 0" --format json -l en -t code_execution
Important
- Deep solve can take over a minute — use
with thetimeout=300
tool.exec - The
flag outputs NDJSON stream events. Parse the--format json
field from lines withcontent
to get the final answer. Concatenate all content events for the full response."type": "content"