Chuyển đến nội dung
Skillpedia
Agent6.4k · #14229

deepchat-cli

Skill này làm gì

Skill giải thích cách AI có thể chạy các thao tác DeepChat được hỗ trợ qua công cụ dòng lệnh đi kèm, với quy tắc rõ ràng về trích dẫn và đầu ra. Dành cho người dùng ứng dụng DeepChat muốn dùng các tính năng của nó từ terminal.

Khi nào nên dùng

  • ✓Khi người dùng yêu cầu tạo ảnh hoặc phiên âm âm thanh bằng công cụ riêng của DeepChat.
  • ✓Khi người dùng muốn so sánh hai mô hình trên cùng một tác vụ bằng DeepChat.
  • ✓Khi người dùng muốn kiểm tra trạng thái chạy của DeepChat từ dòng lệnh.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/ThinkInAIXYZ/deepchat/blob/dev/resources/skills/deepchat-cli/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Dùng DeepChat để phiên âm file âm thanh này và đưa cho tôi văn bản.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill yêu cầu AI chạy một lệnh DeepChat rõ ràng mỗi lần, với đối số có trích dẫn và tùy chọn đầu ra JSON, rồi chờ mọi phê duyệt mà ứng dụng yêu cầu.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

Câu hỏi thường gặp

Nó có chạy nhiều lệnh trong một bước không?

Không. Skill nói chỉ chạy một lệnh độc lập mỗi lần gọi, không dùng pipe hay nối chuỗi.

Nó có hiển thị thông tin đăng nhập của tôi không?

Không. Skill nói không được kiểm tra biến môi trường xác thực hoặc file mô tả cục bộ.

Nếu ứng dụng yêu cầu phê duyệt thì sao?

Skill nói phải chờ quyết định đó và không bao giờ cố giả mạo việc phê duyệt.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
6.4k
Vị trí xếp hạng
#14229
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự