跳到正文
Skillpedia
其他54k · #3367

deeptutor-cli

它能做什么

这个技能让 AI 智能体通过命令行配置和使用 DeepTutor,这是一个智能学习平台。适合希望搭建辅导工具并使用其学习功能的人。

适用场景

  • ✓当你想在电脑上设置或配置 DeepTutor 的时候。
  • ✓当你想在 DeepTutor 中创建或搜索知识库的时候。
  • ✓当你想启动 DeepTutor 服务器或其网页应用的时候。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/HKUDS/DeepTutor/blob/main/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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; 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
常见问题

我需要安装什么?

你需要 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能