deeptutor-cli
它能做什么
这个技能让 AI 智能体通过命令行配置和使用 DeepTutor,这是一个智能学习平台。适合希望搭建辅导工具并使用其学习功能的人。
适用场景
- ✓当你想在电脑上设置或配置 DeepTutor 的时候。
- ✓当你想在 DeepTutor 中创建或搜索知识库的时候。
- ✓当你想启动 DeepTutor 服务器或其网页应用的时候。
技能链接
https://github.com/HKUDS/DeepTutor/blob/main/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我在电脑上设置 DeepTutor,并启动网页应用,我想试一试。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体运行 DeepTutor 命令行工具,设置服务提供方、知识库和会话,然后启动服务器或网页应用。它还可以检查设置中是否存在问题。
技术内容(原始 SKILL.md)
作者在 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; baredeeptutor(or thedeeptutor-clicompatibility alias) installs core CLI/SDK only. For development, use source or local wheels. Source installs requirepip install -r requirements/full.txtfollowed bypip install -e . --no-deps; add Node.js 22 LTS andnpm ci --legacy-peer-depsinweb/for the Web UI. See the setup guide for upgrading from 1.6.15 without changing the runtime home. - Run
deeptutor initfor first-time interactive setup. It walks a guided wizard (ports → LLM → embedding → search → review) and writes the same settings as the Web Settings page underdata/user/settings. Add--clito 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
常见问题
我需要安装什么?
你需要 Python 3.11 至 3.14;如果从源代码运行网页界面,还需要 Node.js 22 LTS。
设置过程会一步一步引导我吗?
会。init 命令会运行引导向导,涵盖端口、语言模型、嵌入和搜索等设置。
它可以执行哪些学习任务?
该技能列出了深度求解、测验生成、深度研究和可视化等功能。
详情
作者的原始描述
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
热度
- GitHub 星标
- 54k
- 排名
- #3367
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
docx
54k帮你的智能体读取、创建和编辑 Word .docx 文件,包括报告、表格、查找替换,以及带批注的修订记录。
帮你的智能体阅读、合并、拆分、填写和创建 PDF 文件,包括从中提取文字和表格。
pptx
54k帮你的智能体创建、读取和编辑 PowerPoint 演示文稿,包括幻灯片文字、演讲者备注、图表和图片。
skill-creator
54k教你的智能体编写或改进 DeepTutor 技能,即教 AI 完成特定任务的简短指令包。