本文へスキップ
Skillpedia
エージェント81k · #1617

deepseek-chat

できること

このスキルは、DeepSeek のチャットモデルに1回のリクエストを送り、その回答をデータとして返します。単純で一段階の作業に、速くて低コストのモデルがほしい人向けです。

使う場面

  • ✓推論を行わない高速なモデルで、文章の短い要約がほしいとき。
  • ✓1回のリクエストで、簡単な分類や抽出を済ませたいとき。
  • ✓単純な作業について、DeepSeek の回答をほかのモデルと比べたいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-deepseek-harness/skills/deepseek-chat/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“DeepSeek を使って、この段落を2文で要約してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

スキルは、シェルに保存されたキーを使って、あなたのプロンプトを 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-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 }
}
よくある質問

私のテキストは非公開ですか?

いいえ。プロンプトは第三者である DeepSeek に送られるため、共有が許されていない秘密情報や非公開データを含めないでください。

APIキーはどこに置きますか?

シェルの環境変数から読み込まれます。プロンプトやファイルに貼り付けるべきではありません。

推論版のモデルはどうすればよいですか?

計画立案や難しいデバッグなど、複数段階の思考が必要な場合は、別の 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

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル