SKILL.md--- name: deeptutor-cli description: Configure, manage, and use DeepTutor through its CLI, including capabilities, knowledge bases, partners, memory, sessions, notebooks, providers, skills, and the server or Web app. --- # 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](docs-for-dev/README.md) 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](docs-for-dev/AGENT_SETUP.md). It covers cloning, environment preparation, credential sources, optional RAG/search, startup, and verification, plus a [troubleshooting approach](docs-for-dev/AGENT_SETUP.md#6-troubleshooting) for existing installations. Read it before changing settings; reuse existing checkouts and preserve the user's files. Keep `DEEPTUTOR_HOME` consistent for all commands. ```bash 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 # C