跳到正文
Skillpedia
智能体6.4k · #14229

deepchat-cli

它能做什么

它介绍 AI 如何通过随附的 DeepChat 命令行工具运行受支持的操作,并对引号和输出有明确的规则。适用于使用 DeepChat 应用、并希望在终端中使用其功能的人员。

适用场景

  • ✓当用户要求通过 DeepChat 自带的工具生成图片或转写音频时。
  • ✓当用户希望使用 DeepChat 对两个模型在同一任务上进行比较时。
  • ✓当用户希望从命令行检查 DeepChat 的运行状态时。

技能链接

https://github.com/ThinkInAIXYZ/deepchat/blob/dev/resources/skills/deepchat-cli/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请用 DeepChat 转写这个音频文件,并把文字内容给我。”

每周 5 个新技能,1 分钟读完。

工作原理

该技能告诉 AI 每次只运行一条明确的 DeepChat 命令,参数加引号,并可选择 JSON 输出,同时等待应用要求的任何批准。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

DeepChat CLI

Use the bundled deepchat command to ask the running DeepChat main process to perform supported operations. The main process remains the sole owner of providers, credentials, Skills, MCP servers, artifacts, Agent runs, and approvals.

Command rules

  • Every command must begin exactly with deepchat <domain> <verb>. Put --json, --jsonl, --timeout, and all domain options after the domain and verb.
  • Execute one standalone command per exec call. Do not use pipes, redirection, command separators, command substitution, environment assignments, or shell wrappers around deepchat.
  • Quote every user-controlled argument for the current shell. Never interpolate untrusted text into an unquoted command.
  • Prefer --json for one result and --jsonl for streaming or benchmark collection. Use text mode only when its output will be returned directly to the user.
  • Do not inspect authentication environment variables or DeepChat's local descriptor. Authorization is injected only after the command has passed the normal shell permission check.
  • A shell approval authorizes command execution. Sensitive mutations can additionally pause for a renderer approval; wait for that decision and never attempt to manufacture confirmation data.
  • Use deepchat help or deepchat <domain> <verb> --help only when the options below are insufficient. Do not probe undocumented routes.

Agent file and recursion boundaries

  • Agent callers may consume a DeepChat-owned artifact with --artifact <id> and inspect metadata with artifact describe.
  • Do not use --file, --out, --overwrite, artifact get, or artifact delete. Agent callers cannot upload arbitrary local bytes, download artifact bytes, or choose output paths.
  • Do not call agent run or run watch. An Agent cannot recursively create a detached Agent run, and waiting on its own currently executing run would deadlock it. Use run get for a nonblocking snapshot or run cancel to request cancellation.
  • Generated media remains in DeepChat's artifact spool. Return the artifact metadata or ID so the application can render or reuse it.

Discovery and model calls

deepchat system status --json
deepchat system capabilities --json
deepchat system doctor --json
deepchat provider list --enabled-only --json
deepchat model list --provider <provider-id> --json
deepchat model config-get --provider <provider-id> --model <model-id> --json
deepchat model invoke --provider <provider-id> --model <model-id> --prompt <quoted-text> --jsonl

Always discover provider and model IDs rather than guessing them. model invoke is a raw provider call: it does not create a chat session, run tools, or start an Agent loop.

Media, transcription, and OCR

deepchat image generate --provider <provider-id> --model <model-id> --prompt <quoted-text> --jsonl
deepchat video generate --provider <provider-id> --model <model-id> --prompt <quoted-text> --jsonl
deepchat audio speak --provider <provider-id> --model <model-id> --text <quoted-text> --jsonl
deepchat audio transcribe --provider <provider-id> --model <model-id> --artifact <artifact-id> --json
deepchat ocr status --json
deepchat ocr extract --artifact <artifact-id> --json
deepchat artifact describe --id <artifact-id> --json

Use the provider/model lists to choose a compatible runtime. OCR is local and does not require a provider. OCR text is returned inline and is not written to the artifact spool.

Public configuration and management

Read-only operations:

deepchat settings get --json
deepchat skill list --json
deepchat mcp list --json

Agent callers may request renderer approval for preference-only settings, query-free HTTPS Skill installation, and adding a new disabled HTTPS remote MCP configuration. Only perform one when it directly satisfies the user's request:

deepchat settings set --key <public-key> --value <json-scalar> --json
deepchat skill install --url <https-url> --json
deepchat mcp add --name <server-name> --stdin --json

The Agent setting allowlist is limited to presentation preferences such as font size/family, artifact effects, auto-scroll, notifications, and copy-with-reasoning. Agent Skill URLs cannot carry credentials, query parameters, or fragments. The main process classifies MCP input before approval and rejects stdio commands, non-HTTPS endpoints, headers, authorization bindings, or configurations too large to review safely. Provid

常见问题

它能在一步中运行多条命令吗?

不能。该技能说明,每次调用只运行一条独立的命令,不使用管道或链式调用。

它会显示我的登录信息吗?

不会。该技能说明,不得检查身份验证相关的环境变量或本地描述文件。

如果应用要求批准怎么办?

该技能说明应等待对方的决定,绝不尝试伪造批准。

详情

作者的原始描述

Use DeepChat's bundled CLI control plane for model inference, image/video/speech generation, transcription, OCR, artifact inspection, public configuration, Skills, and MCP operations. Activate when a user asks to invoke DeepChat capabilities that are not already exposed as a more specific tool, compare models, run a benchmark, inspect DeepChat runtime state, or manage DeepChat through the CLI.

repo: ThinkInAIXYZ/deepchat

热度

GitHub 星标
6.4k
排名
#14229
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能