deepseek

deepseek is a skill for Claude Code, Codex from ashish7802/awesome-api-skills. It costs 0 tokens per session (697 once invoked), scanned A, original, MIT.

An API for DeepSeek's conversational and reasoning language models, using the same general request style as the OpenAI API. It supports ordinary chat and streamed reasoning responses.

In plain words
What is it for?
Use it for chat features, explanations, reasoning tasks, and streamed model output.
Why use it?
It gives an application a way to request generated answers or model-assisted reasoning without building model-serving infrastructure. Its OpenAI-compatible interface can reduce integration changes for existing clients.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it for chat features, explanations, reasoning tasks, and streamed model output.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ashish7802/awesome-api-skills/deepseek
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ashish7802/awesome-api-skills --skill deepseek
Clone the repo
git clone --depth 1 https://github.com/ashish7802/awesome-api-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deepseek

README.md
[![agentmods](https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/deepseek/github.svg)](https://agentmods.dev/skills/ashish7802/awesome-api-skills/deepseek)
Your own site
<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/deepseek"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/deepseek/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for deepseek

Your own site · 80×15
<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/deepseek"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/deepseek.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 697 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00697
Opus 5 $0.00000 $0.00349
Sonnet 5 $0.00000 $0.00139
Haiku 4.5 $0.00000 $0.00070

Measured yesterday against content hash 5437b5549c78, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

deepseek scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/deepseek/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DeepSeek API Skill

Overview

DeepSeek provides state-of-the-art open reasoning and conversational language models via an OpenAI-compatible REST API. Key models include deepseek-chat (DeepSeek-V3) and deepseek-reasoner (DeepSeek-R1).

Installation

npm install openai
pip install openai

Authentication & Client Setup

import OpenAI from 'openai';

const deepseek = new OpenAI({
  apiKey: process.env.DEEPSEEK_API_KEY,
  baseURL: 'https://api.deepseek.com',
});

Core API Operations

1. General Conversational Chat (DeepSeek-V3)

const response = await deepseek.chat.completions.create({
  model: 'deepseek-chat',
  messages: [
    { role: 'system', content: 'You are an expert software architect.' },
    { role: 'user', content: 'Explain transaction isolation levels in PostgreSQL.' },
  ],
  temperature: 0.7,
  max_tokens: 2048,
});

console.log(response.choices[0].message.content);

2. Deep Reasoning Stream (DeepSeek-R1 with Chain-of-Thought)

const stream = await deepseek.chat.completions.create({
  model: 'deepseek-reasoner',
  messages: [
    { role: 'user', content: 'Prove that the square root of 2 is irrational.' },
  ],
  stream: true,
});

for await (const chunk of stream) {
  // Reasoning chain tokens
  const reasoning = (chunk.choices[0]?.delta as any)?.reasoning_content;
  if (reasoning) {
    process.stdout.write(reasoning);
  }
  // Final output content tokens
  const content = chunk.choices[0]?.delta?.content;
  if (content) {
    process.stdout.write(content);
  }
}

3. Structured JSON Output

const response = await deepseek.chat.completions.create({
  model: 'deepseek-chat',
  messages: [
    { role: 'system', content: 'Extract entities and output valid JSON.' },
    { role: 'user', content: 'John bought 3 apples from Whole Foods for $4.50' },
  ],
  response_format: { type: 'json_object' },
});

AI Pitfalls & Anti-Hallucination Guidelines

  • Custom SDK Hallucination: There is no official @deepseek/sdk npm package. Always use the official openai package with baseURL: 'https://api.deepseek.com'.
  • Reasoning Content Ingestion: On deepseek-reasoner, reasoning thoughts arrive under delta.reasoning_content, not delta.content.
  • System Prompt Restrictions: deepseek-reasoner discourages heavy system prompt steering that constrains reasoning chains.

Read the full file on GitHub · 87 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 87 lines · 0 tokens per session scan A 5437b5549c78

Subscribe to this mod's changes

deepseek is a skill published in the GitHub repository ashish7802/awesome-api-skills (13 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 697 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-10.

Related

Other skills, from other repositories

gemini-api-dev

Use when build applications using Google Gemini API. Handle chat completions, multimodal inputs, function calling, streaming, and grounding with Google Search. Use when building applications using google gemini api. handle chat completions, multimodal.

oyi77/1ai-skills · 52 tokens

dify-workflow

Use when dify AI workflow platform — LLM apps, knowledge bases, agents, workflow orchestration, API deployment. Use when working with dify workflow.

oyi77/1ai-skills · 37 tokens

ai-expertise-engine

Comprehensive AI/ML expertise covering prompt engineering, LLM architecture, AI agent design, RAG systems, fine-tuning, AI safety, and cutting-edge AI research for building and leveraging AI systems.

onfire7777/universal-ai-skills-library · 46 tokens

openai

Templates designed for or comparing OpenAI models (GPT-4o, future GPT models).

conectlens/lenserfight · 21 tokens

prompt-engineer

Use this skill when the user explicitly asks to create, write, improve, or optimize a prompt for use with an AI. Trigger on phrases like "write me a prompt", "improve this prompt", "create a system prompt", "how do I ask ChatGPT/Claude to...", or "quero um prompt para...". Do NOT trigger for direct task requests where…

ericgandrade/claude-superskills · 89 tokens

Prompting

Meta-prompting standard library for generating, optimizing, and composing prompts programmatically via Standards, Handlebars Templates, and Tools; output is always a prompt to use elsewhere, not final content. USE WHEN meta-prompting, template generation, prompt optimization, prompt engineering, write a prompt, create…

DorShaer/Husk · 90 tokens