Chuyển đến nội dung
Skillpedia
Agent81k · #1617

deepseek-chat

Skill này làm gì

Skill này gửi một yêu cầu duy nhất tới model chat của DeepSeek và trả về câu trả lời dưới dạng dữ liệu. Nó dành cho người muốn một model nhanh, chi phí thấp cho các tác vụ đơn giản một bước.

Khi nào nên dùng

  • ✓Khi bạn muốn một bản tóm tắt ngắn của một đoạn văn từ model nhanh không suy luận.
  • ✓Khi bạn cần một việc phân loại hoặc trích xuất nhanh trong một yêu cầu.
  • ✓Khi bạn muốn so sánh câu trả lời của DeepSeek với model khác trên một tác vụ đơn giản.

Liên kết skill

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-deepseek-harness/skills/deepseek-chat/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/ruvnet/ruflo/blob/main/plugins/ruflo-deepseek-harness/skills/deepseek-chat/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 DeepSeek để tóm tắt đoạn văn này trong hai câu.”

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

Cách hoạt động

Skill gửi prompt của bạn tới DeepSeek qua internet, dùng một key được giữ trong shell của bạn, rồi trả về câu trả lời và số liệu sử dụng. Nếu thiếu key hoặc không kết nối được dịch vụ, nó báo trạng thái suy giảm thay vì bị lỗi.

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.

Wraps DeepSeek's chat/completions endpoint in the same subprocess-invocation shape as the other ruflo-*-harness skills (see ruflo-metaharness's harness-score for the reference). No library import on ruflo's boot path.

When to use

  • You want a cheap, fast completion from a non-reasoning model.
  • The task fits in a single request/response — no multi-turn context.
  • You want the raw content back as JSON so downstream tooling can consume it.
  • For reasoning-heavy tasks (proofs, multi-step planning, hard debugging), use deepseek-reason instead — same plugin, different model.

Data handling

The prompt and any --system text are sent over the network to api.deepseek.com, a third party. Do not put secrets, credentials, personal data or proprietary code you are not allowed to share into them. The API key is read from DEEPSEEK_API_KEY in your shell only; never paste it into a prompt, a file or a command line.

Algorithm

Implementation: scripts/chat.mjs.

  1. Read DEEPSEEK_API_KEY from env. If missing, emit { status: 'degraded', reason: 'DEEPSEEK_API_KEY is not set', ... } and exit 0 (ADR-150-style graceful degradation).
  2. POST to https://api.deepseek.com/v1/chat/completions with { model, messages, temperature?, max_tokens? }. 60s hard timeout.
  3. Extract choices[0].message.content and usage counters.
  4. --format table prints only the content (for piping); --format json (default) returns the full envelope.
  5. --alert-on-error exits 1 on any degraded/error status (CI-friendly).

Example

node plugins/ruflo-deepseek-harness/scripts/chat.mjs \
  --prompt "In one sentence: what is HNSW?" \
  --temperature 0.2

Sample output:

{
  "status": "ok",
  "model": "deepseek-chat",
  "content": "HNSW is a graph-based approximate nearest neighbor …",
  "finishReason": "stop",
  "usage": { "promptTokens": 12, "completionTokens": 34, "totalTokens": 46 }
}
Câu hỏi thường gặp

Văn bản của tôi có riêng tư không?

Không. Prompt được gửi tới DeepSeek, một bên thứ ba, nên đừng đưa vào bí mật hay dữ liệu riêng tư mà bạn không được phép chia sẻ.

Key API để đâu?

Nó được đọc từ một biến môi trường trong shell của bạn. Không bao giờ nên dán nó vào prompt hay file.

Khi nào nên dùng phiên bản suy luận?

Với các việc nhiều bước như lập kế hoạch hoặc gỡ lỗi khó, skill deepseek-reason phù hợp hơn.

Chi tiết

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

One-shot chat completion against DeepSeek's `deepseek-chat` model. Use for non-reasoning tasks such as summarization, extraction or quick classification. Reads DEEPSEEK_API_KEY; returns status:degraded when the key is missing or the API is unreachable.

repo: ruvnet/ruflo

Độ phổ biến

Sao GitHub
81k
Vị trí xếp hạng
#1617
Giấy phép
MIT
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ự