baohonf/awa-samples/deepseek-chat

Claude Code and agent skill by baohonf/awa-samples

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

One-shot chat completion against DeepSeek's `deepseek-chat` model via the OpenAI-compatible /v1/chat/completions endpoint. Reads DEEPSEEK_API_KEY from the environment; degrades gracefully (exit 0 with a JSON status:degraded envelope) when the key is missing or the API is unreachable. Use for non-reasoning tasks — summarization, extraction, quick classification — where deepseek-reasoner would be overkill.

Install

npx vskill@latest install baohonf/awa-samples/deepseek-chat

SKILL.md

The same SKILL.md was published earlier as gabrielmoreira/agent-skills-mirror/deepseek-chat.

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.

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).

  1. POST to https://api.deepseek.com/v1/chat/completions with

{ model, messages, temperature?, max_tokens? }. 60s hard timeout.

  1. Extract choices[0].message.content and usage counters.
  2. --format table prints only the content (for piping); --format json

(default) returns the full envelope.

  1. --alert-on-error exits 1 on any degraded/error status (CI-friendly).

Example

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

Sample output:

json
{
"status": "ok",
"model": "deepseek-chat",
"content": "HNSW is a graph-based approximate nearest neighbor …",
"finishReason": "stop",
"usage": { "promptTokens": 12, "completionTokens": 34, "totalTokens": 46 }
}

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/baohonf/awa-samples/deepseek-chat/badge)](https://verified-skill.com/skills/baohonf/awa-samples/deepseek-chat)

Something wrong with this skill or its page? Tell us.