deepseek-chat
它能做什么
这项技能向 DeepSeek 的对话模型发送一次请求,并把回答以数据形式返回。适合希望用快速、低成本的模型完成简单一步任务的人。
适用场景
- ✓当你想用快速的非推理模型为一段文字生成简短摘要时。
- ✓当你需要在一次请求中完成快速分类或提取时。
- ✓当你想在简单任务上比较 DeepSeek 与其他模型的回答时。
技能链接
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-deepseek-harness/skills/deepseek-chat/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用 DeepSeek 把这段文字概括为两句话。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能使用你 shell 中保存的密钥,通过网络把你的提示发送给 DeepSeek,然后返回回复和用量数字。如果缺少密钥或无法连接服务,它会报告降级状态,而不是直接失败。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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-reasoninstead — 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.
- Read
DEEPSEEK_API_KEYfrom env. If missing, emit{ status: 'degraded', reason: 'DEEPSEEK_API_KEY is not set', ... }and exit 0 (ADR-150-style graceful degradation). - POST to
https://api.deepseek.com/v1/chat/completionswith{ model, messages, temperature?, max_tokens? }. 60s hard timeout. - Extract
choices[0].message.contentand usage counters. --format tableprints only the content (for piping);--format json(default) returns the full envelope.--alert-on-errorexits 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 }
}
常见问题
我的文字是保密的吗?
不是。提示会发送给第三方 DeepSeek,因此请不要包含你无权分享的机密或私人数据。
API 密钥应放在哪里?
它从你 shell 中的环境变量读取。密钥绝不应粘贴到提示或文件中。
什么时候应改用推理版本?
对于规划或复杂调试等多步骤思考,单独的 deepseek-reason 技能更合适。
详情
作者的原始描述
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
热度
- GitHub 星标
- 81k
- 排名
- #1617
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。