Skip to content
Skillpedia
Misc54k · #3367

deeptutor-cli

What it does

This skill lets an AI agent configure and use DeepTutor, an intelligent learning platform, from the command line. It is for people who want to set up tutoring tools and use their learning features.

When to use it

  • ✓When you want to set up or configure DeepTutor on your computer.
  • ✓When you want to create or search a knowledge base in DeepTutor.
  • ✓When you want to start the DeepTutor server or its web app.

Skill link

https://github.com/HKUDS/DeepTutor/blob/main/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/HKUDS/DeepTutor/blob/main/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Set up DeepTutor on my computer and start the web app so I can try it.”

5 new skills a week. 1 minute to read.

How it works

The agent runs the DeepTutor command line tool to set up providers, knowledge bases, and sessions, then starts the server or web app. It can also check a setup for problems.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

DeepTutor CLI Skill

Teach your AI agent to configure, manage, and use DeepTutor — an intelligent learning platform — entirely through the command line.

When to Use

Use this skill when the user wants to:

  • Set up or configure DeepTutor
  • Diagnose problems in an existing DeepTutor installation
  • Chat with DeepTutor or run a capability (deep solve, quiz generation, deep research, visualize, math animation, mastery path)
  • Create, manage, or search knowledge bases
  • Create, manage, or run Partners (IM-connected companions)
  • Search, install, or manage skills from a hub (EduHub or ClawHub)
  • Inspect or maintain interactive Books
  • View or manage learning memory, sessions, or notebooks
  • Start the DeepTutor API server or the full Web app

Prerequisites

  • Python 3.11–3.14
  • For the 1.7.0 modular release, pip install "deeptutor[full]" installs the packaged Web app; bare deeptutor (or the deeptutor-cli compatibility alias) installs core CLI/SDK only. For development, use source or local wheels. Source installs require pip install -r requirements/full.txt followed by pip install -e . --no-deps; add Node.js 22 LTS and npm ci --legacy-peer-deps in web/ for the Web UI. See the setup guide for upgrading from 1.6.15 without changing the runtime home.
  • Run deeptutor init for first-time interactive setup. It walks a guided wizard (ports → LLM → embedding → search → review) and writes the same settings as the Web Settings page under data/user/settings. Add --cli to skip the ports step for CLI-only use, or --home <path> to target a specific workspace.

Agent Setup

Start with the developer and agent handbook to find the relevant setup, architecture, development, testing, or feature guide. When the user asks you to install, configure, or troubleshoot DeepTutor, follow docs-for-dev/AGENT_SETUP.md. It covers cloning, environment preparation, credential sources, optional RAG/search, startup, and verification, plus a troubleshooting approach for existing installations. Read it before changing settings; reuse existing checkouts and preserve the user's files. Keep DEEPTUTOR_HOME consistent for all commands.

deeptutor init --non-interactive          # Create missing defaults; no model selected
deeptutor config providers               # Discover supported providers as JSON
deeptutor config apply setup.json --check # Validate without settings writes/network
deeptutor config apply setup.json         # Apply complete setup profiles from JSON
deeptutor config show                    # Inspect configuration with credentials redacted
deeptutor doctor --format json           # Check local readiness
deeptutor doctor --online --format json  # Small live LLM request (provider usage)

Use the guide's setup JSON schema, with api_key_env referencing a credential in the CLI process's environment. Never print keys or place literal keys in the setup JSON. For missing credentials/model choices, ask the user for the source/selection; continue independent preparation. Use the installed CLI's --help to confirm commands when working with an older release. Saving settings is not proof of readiness: report actual verification and any unfinished step.

Commands

Examples below cover the full installation and optional add-ons. Core provides chat and ask_questions; other capabilities and resource commands require their owning modules. Check deeptutor module list for installed/enabled/ready states and deeptutor plugin list for registered capabilities and tools. Stop DeepTutor before changing modules. Source checkouts use module enable/disable and python scripts/install_extras.py <extra> for optional dependencies; wheel installations also support module install/uninstall. For local builds, pass --wheelhouse /path/to/wheels to module install (see Modules).

Chat & Capabilities

# Interactive REPL
deeptutor chat
deeptutor chat --capability deep_solve --kb my-kb --tool web_search

# One-shot capability execution
deeptutor run chat "Explain Fourier transform"
deeptutor run deep_solve "Solve x^2 = 4" --kb textbook
deeptutor run deep_question "Linear algebra" --config num_questions=5
deeptutor run deep_research "Attention mechanisms" --kb papers --config mode=report --config depth=standard
deeptutor run visualize "Plot the unit circle"
deeptutor run math_an
FAQ

What do I need installed?

You need Python 3.11 to 3.14, and for the Web UI from source, Node.js 22 LTS.

Does setup walk me through each step?

Yes. The init command runs a guided wizard covering ports, the language model, embeddings, and search.

What learning tasks can it run?

The skill lists capabilities such as deep solve, quiz generation, deep research, and visualization.

Details

Original description by the author

Configure, manage, and use DeepTutor through its CLI, including capabilities, knowledge bases, partners, memory, sessions, notebooks, providers, skills, and the server or Web app.

repo: HKUDS/DeepTutor

Popularity

GitHub stars
54k
Ranking position
#3367
License
Apache-2.0
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills