Skip to content
Skillpedia
Agents81k · #1617

deepseek-chat

What it does

This skill sends a single request to DeepSeek's chat model and returns the answer as data. It is for people who want a fast, low-cost model for simple, one-step tasks.

When to use it

  • ✓When you want a short summary of a text from a fast, non-reasoning model.
  • ✓When you need a quick classification or extraction job done in one request.
  • ✓When you want to compare a DeepSeek answer with another model on a simple task.

Skill link

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-deepseek-harness/skills/deepseek-chat/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-deepseek-harness/skills/deepseek-chat/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Use DeepSeek to summarize this paragraph in two sentences.”

5 new skills a week. 1 minute to read.

How it works

The skill sends your prompt to DeepSeek over the internet, using a key kept in your shell, then returns the reply and usage numbers. If the key is missing or the service cannot be reached, it reports a degraded status instead of failing.

Technical content (original SKILL.md)

Original text by the author, straight from 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-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 }
}
FAQ

Is my text private?

No. The prompt is sent to DeepSeek, a third party, so do not include secrets or private data you are not allowed to share.

Where does the API key go?

It is read from an environment variable in your shell. It should never be pasted into a prompt or a file.

When should I use the reasoning version instead?

For multi-step thinking such as planning or hard debugging, the separate deepseek-reason skill is the better fit.

Details

Original description by the author

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

Popularity

GitHub stars
81k
Ranking position
#1617
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills